section .text

.globl main
main:
entry:
    push rbp
    mov rbp, rsp
    push rbx
    sub rsp, 40
    mov r10, 0
    mov rbx, 0
    mov [rbp+1], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+2], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+3], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+4], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+2], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+3], rbx
    mov r10, 0
    mov rbx, 0
    mov [rbp+4], rbx
    mov r10, 1
    cmp r10, 0
    mov r10, 0
    mov rbx, 0
    mov r10, 0
    setne r10
    mov rbx, r10
    cmp rbx, 0
    jne pb_if_then_0
    jmp pb_if_else_1
pb_if_then_0:
    mov rbx, 0
    mov [rbp+1], rbx
    jmp pb_if_end_2
pb_if_else_1:
    mov rbx, 1
    mov [rbp+1], rbx
    jmp pb_if_end_2
pb_if_end_2:
    mov r10, [rbp+1]
    mov rbx, [rbp+1]
    mov rax, [rbp+1]
    add rsp, 40
    pop rbx
    pop rbp
    ret _

