// File: /workspace/github_cpp_makefile_star2_O1/martinda3[P]Compiler/src/JVM/JVMgenUtils.cpp
// Function: toyc::JVMgenUtils::gen_OR(toyc::TCtoken, toyc::JVMtargetCode*)
void JVMgenUtils::gen_OR(TCtoken tok, JVMtargetCode *tc) {
    label *l0 = new label(), *l1 = new label(), *l2 = new label();
    tc->add(new SWAP());
    tc->add(new IFEQ(l0));
    tc->add(new POP());
    tc->add(new ICONST_1());
    tc->add(new GOTO(l2));
    tc->add(new codeLabel(l0->toString()));
    tc->add(new IFEQ(l1));
    tc->add(new ICONST_1());
    tc->add(new GOTO(l2));
    tc->add(new codeLabel(l1->toString()));
    tc->add(new ICONST_0());
    tc->add(new codeLabel(l2->toString()));
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movl $0x30, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
callq 0x1c6a8
movl $0x30, %edi
callq 0x8250
movq %rax, %r15
movq %rax, %rdi
callq 0x1c6a8
movl $0x30, %edi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x1c6a8
movl $0x10, %edi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x1f024
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
movl $0x18, %edi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x1f25c
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
movl $0x10, %edi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x1dff4
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
movl $0x10, %edi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x1ed28
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
movl $0x18, %edi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
callq 0x1e6d4
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
movl $0x30, %edi
callq 0x8250
movq %rax, %r13
movq (%r12), %rax
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
callq *(%rax)
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
movq %r13, %rdi
callq 0x1c988
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21c7b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x18, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x1f25c
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
movl $0x10, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
callq 0x1ed28
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
movl $0x18, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
callq 0x1e6d4
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
movl $0x30, %edi
callq 0x8250
movq %rax, %r12
movq (%r15), %rax
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq *(%rax)
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x1c988
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21d3f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x10, %edi
callq 0x8250
movq %rax, %r15
movq %rax, %rdi
callq 0x1e0b0
addq $0x8, %r15
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *(%rax)
movl $0x30, %edi
callq 0x8250
movq %rax, %r15
movq (%r14), %rax
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq *(%rax)
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x1c988
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r15, %rsi
callq *(%rax)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21db5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x8260
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x21e66
movq %rax, %rbx
movl $0x10, %esi
jmp 0x21e70
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x21e93
jmp 0x21df6
movq %rax, %rbx
movl $0x10, %esi
jmp 0x21e9d
movq %rax, %rbx
movl $0x18, %esi
jmp 0x21e9d
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x21ec0
jmp 0x21e14
jmp 0x21e21
jmp 0x21e21
movq %rax, %rbx
movl $0x18, %esi
jmp 0x21eca
movq %rax, %rbx
movl $0x10, %esi
jmp 0x21eca
movq %rax, %rbx
movl $0x30, %esi
movq %r14, %rdi
jmp 0x21ecd
movq %rax, %rbx
jmp 0x21e6b
movq %rax, %rbx
jmp 0x21e98
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21e66
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x21ed2
movl $0x30, %esi
movq %r15, %rdi
jmp 0x21ecd
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21e93
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x21ed2
movl $0x30, %esi
movq %r12, %rdi
jmp 0x21ecd
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21ec0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8260
testb %bpl, %bpl
je 0x21ed2
movl $0x30, %esi
movq %r13, %rdi
callq 0x8260
movq %rbx, %rdi
callq 0x8420