// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x30
popq %rdi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
callq 0x143ac
pushq $0x30
popq %rdi
callq 0x8250
movq %rax, %r15
movq %rax, %rdi
callq 0x143ac
pushq $0x30
popq %rdi
callq 0x8250
movq %rax, %r14
movq %rax, %rdi
callq 0x143ac
pushq $0x10
popq %rdi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x15c34
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
pushq $0x18
popq %rdi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x15d48
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
pushq $0x10
popq %rdi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x151ec
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
pushq $0x10
popq %rdi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
callq 0x15a10
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
pushq $0x18
popq %rdi
callq 0x8250
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
callq 0x155b4
addq $0x8, %r13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
pushq $0x30
popq %rdi
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 0x14524
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r13, %rsi
callq *(%rax)
leaq 0x48(%rsp), %rdi
callq 0x8478
pushq $0x18
popq %rdi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x15d48
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
pushq $0x10
popq %rdi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
callq 0x15a10
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
pushq $0x18
popq %rdi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
callq 0x155b4
addq $0x8, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
pushq $0x30
popq %rdi
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 0x14524
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r12, %rsi
callq *(%rax)
leaq 0x28(%rsp), %rdi
callq 0x8478
pushq $0x10
popq %rdi
callq 0x8250
movq %rax, %r15
movq %rax, %rdi
callq 0x1527c
addq $0x8, %r15
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *(%rax)
pushq $0x30
popq %rdi
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 0x14524
movq (%rbx), %rax
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r15, %rsi
callq *(%rax)
leaq 0x8(%rsp), %rdi
callq 0x8478
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x17bf2
movq %rax, %rbx
pushq $0x10
jmp 0x17c10
jmp 0x17bf7
jmp 0x17bc7
movq %rax, %rbx
pushq $0x10
jmp 0x17c2a
movq %rax, %rbx
pushq $0x18
jmp 0x17c2a
movq %rax, %rbx
jmp 0x17c42
jmp 0x17bd9
jmp 0x17be0
jmp 0x17be0
movq %rax, %rbx
pushq $0x18
jmp 0x17c44
movq %rax, %rbx
pushq $0x10
jmp 0x17c44
movq %rax, %rbx
pushq $0x30
popq %rsi
movq %r14, %rdi
jmp 0x17c48
movq %rax, %rbx
jmp 0x17c0e
movq %rax, %rbx
jmp 0x17c28
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x8478
testb %bpl, %bpl
je 0x17c4d
pushq $0x30
popq %rsi
movq %r15, %rdi
jmp 0x17c48
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x8478
testb %bpl, %bpl
je 0x17c4d
pushq $0x30
popq %rsi
movq %r12, %rdi
jmp 0x17c48
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x8478
testb %bpl, %bpl
je 0x17c4d
pushq $0x30
popq %rsi
movq %r13, %rdi
callq 0x8260
movq %rbx, %rdi
callq 0x8400
nop