// File: /workspace/github_cpp_makefile_star2_O3/sighingnow[P]compile-pascal/pl0_tac_gen.cpp
// Function: pl0_tac_cond_stmt(pl0_ast_cond_stmt const*)
void pl0_tac_cond_stmt(pl0_ast_cond_stmt const *stmt) {
    cout << __func__;

    int thenlabel = irb.makelabel(), elselabel, endlabel = irb.makelabel();
    
    auto lhs = pl0_tac_expr(stmt->cond->lhs);
    auto rhs = pl0_tac_expr(stmt->cond->rhs);
    // if (lhs.second != rhs.second) {
    //     pl0_ast_error(stmt->cond->loc, "compare two expressions with different types.");
    // }
    irb.emit("cmp", new Value(thenlabel, "integer"), lhs.first, rhs.first);

    if (stmt->else_block == nullptr) {
        elselabel = endlabel;
    }
    else {
        elselabel = irb.makelabel();
    }
    // reference: http://unixwiz.net/techtips/x86-jumps.html
    // +--------+------------------------------+-------------+--------------------+
    // |Instr   | Description                  | signed-ness | Flags              |
    // +--------+------------------------------+-------------+--------------------+
    // | JL/    | Jump if less                 | signed      | SF <> OF           |
    // | JNGE   | Jump if not greater or equal |             |                    |
    // +--------+------------------------------+-------------+--------------------+
    // | JGE/   | Jump if greater or equal     | signed      | SF = OF            |
    // | JNL    | Jump if not less             |             |                    |
    // +--------+------------------------------+-------------+--------------------+
    // | JLE/   | Jump if less or equal        | signed      | ZF = 1 or SF <> OF |
    // | JNG    | Jump if not greater          |             |                    |
    // +--------+------------------------------+-------------+--------------------+
    // | JG/    | Jump if greater              | signed      | ZF = 0 and SF = OF |
    // | JNLE   | Jump if not less or equal    |             |                    |
    // +--------+------------------------------+-------------+--------------------+
    if (stmt->cond->op->op == "<") {
        irb.emit("goto", new Value("jge", "string"), new Value(elselabel, "integer"));
    }
    else if (stmt->cond->op->op == "<=") {
        irb.emit("goto", new Value("jg", "string"), new Value(elselabel, "integer"));
    }
    else if (stmt->cond->op->op == ">") {
        irb.emit("goto", new Value("jle", "string"), new Value(elselabel, "integer"));
    }
    else if (stmt->cond->op->op == ">=") {
        irb.emit("goto", new Value("jl", "string"), new Value(elselabel, "integer"));
    }
    else if (stmt->cond->op->op == "=") {
        irb.emit("goto", new Value("jne", "string"), new Value(elselabel, "integer"));
    }
    else if (stmt->cond->op->op == "<>") {
        irb.emit("goto", new Value("je", "string"), new Value(elselabel, "integer"));
    }
    irb.emitlabel(thenlabel);
    pl0_tac_stmt(stmt->then_block);
    irb.emit("goto", new Value("jmp", "string"), new Value(endlabel, "integer"));
    if (stmt->else_block != nullptr) {
        irb.emitlabel(elselabel);
        pl0_tac_stmt(stmt->else_block);
        irb.emit("goto", new Value("jmp", "string"), new Value(endlabel, "integer"));
    }
    irb.emitlabel(endlabel);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4b8, %rsp            # imm = 0x4B8
movq %rdi, %r13
movq 0x4eb56(%rip), %rdi     # 0xb9fd8
leaq 0x28086(%rip), %rsi     # 0x9350f
xorl %edx, %edx
callq 0x52e0
leaq 0x50111(%rip), %rbx     # 0xbb5a8
movq %rbx, %rdi
callq 0x632aa
movl %eax, %r14d
movq %rbx, %rdi
callq 0x632aa
movl %eax, 0x8(%rsp)
movq 0x18(%r13), %rax
movq 0x8(%rax), %rsi
leaq 0x490(%rsp), %rdi
callq 0x71f89
movq 0x18(%r13), %rax
movq 0x18(%rax), %rsi
leaq 0x468(%rsp), %rdi
callq 0x71f89
leaq 0x398(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x275b3(%rip), %rsi     # 0x92a9e
leaq 0x275af(%rip), %rdx     # 0x92aa1
leaq 0x388(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0x378(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x25bf0(%rip), %rsi     # 0x9110f
leaq 0x25bf0(%rip), %rdx     # 0x91116
leaq 0x368(%rsp), %rdi
callq 0x253d0
movb $0x1, %bpl
leaq 0x368(%rsp), %rdx
movq %r12, %rdi
movl %r14d, %esi
callq 0x75d42
movq 0x490(%rsp), %rcx
xorl %ebp, %ebp
movq 0x468(%rsp), %r8
leaq 0x50046(%rip), %rdi     # 0xbb5a8
leaq 0x388(%rsp), %rsi
movq %r12, %rdx
callq 0x75c2c
movq 0x368(%rsp), %rdi
cmpq %r15, %rdi
je 0x6b58f
movq 0x378(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x388(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6b5ac
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x5260
cmpq $0x0, 0x28(%r13)
movl 0x8(%rsp), %eax
movl %eax, 0x14(%rsp)
je 0x6b5cb
leaq 0x4ffe6(%rip), %rdi     # 0xbb5a8
callq 0x632aa
movl %eax, 0x14(%rsp)
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25b45(%rip), %rsi     # 0x91123
callq 0x50c0
testl %eax, %eax
movq %r13, 0x18(%rsp)
movl %r14d, 0x24(%rsp)
je 0x6b7fd
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25b12(%rip), %rsi     # 0x9111a
callq 0x50c0
testl %eax, %eax
je 0x6b977
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25af6(%rip), %rsi     # 0x9111e
callq 0x50c0
testl %eax, %eax
je 0x6baf1
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25ad8(%rip), %rsi     # 0x91120
callq 0x50c0
testl %eax, %eax
je 0x6bc6b
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25ab0(%rip), %rsi     # 0x91118
callq 0x50c0
testl %eax, %eax
je 0x6bde5
movq 0x18(%r13), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
leaq 0x25a95(%rip), %rsi     # 0x9111d
callq 0x50c0
testl %eax, %eax
jne 0x6bf6a
leaq 0x3b8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x273fa(%rip), %rsi     # 0x92aa2
leaq 0x273f7(%rip), %rdx     # 0x92aa6
leaq 0x3a8(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x273e0(%rip), %rsi     # 0x92ab9
leaq 0x273db(%rip), %rdx     # 0x92abb
leaq 0x68(%rsp), %rdi
callq 0x253d0
leaq 0x218(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x27b7b(%rip), %rsi     # 0x93278
leaq 0x27b7a(%rip), %rdx     # 0x9327e
leaq 0x208(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0x68(%rsp), %rsi
leaq 0x208(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x1f8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x259c5(%rip), %rsi     # 0x9110f
leaq 0x259c5(%rip), %rdx     # 0x91116
leaq 0x1e8(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x1e8(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4fe29(%rip), %rdi     # 0xbb5a8
leaq 0x3a8(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x1e8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6b7b2
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x208(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0x78(%rsp), %rbx
je 0x6b7d9
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x68(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6b7f0
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x3a8(%rsp), %rdi
jmp 0x6bf5a
leaq 0x458(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x27292(%rip), %rsi     # 0x92aa2
leaq 0x2728f(%rip), %rdx     # 0x92aa6
leaq 0x448(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0x118(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x27263(%rip), %rsi     # 0x92aa7
leaq 0x2725f(%rip), %rdx     # 0x92aaa
leaq 0x108(%rsp), %rdi
callq 0x253d0
leaq 0x358(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x27a0d(%rip), %rsi     # 0x93278
leaq 0x27a0c(%rip), %rdx     # 0x9327e
leaq 0x348(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0x108(%rsp), %rsi
leaq 0x348(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x338(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x25854(%rip), %rsi     # 0x9110f
leaq 0x25854(%rip), %rdx     # 0x91116
leaq 0x328(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x328(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4fcb8(%rip), %rdi     # 0xbb5a8
leaq 0x448(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x328(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6b923
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x348(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0x118(%rsp), %rbx
je 0x6b94d
movq 0x358(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x108(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6b96a
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x448(%rsp), %rdi
jmp 0x6bf5a
leaq 0x438(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x27118(%rip), %rsi     # 0x92aa2
leaq 0x27115(%rip), %rdx     # 0x92aa6
leaq 0x428(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0xf8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x270ed(%rip), %rsi     # 0x92aab
leaq 0x270e8(%rip), %rdx     # 0x92aad
leaq 0xe8(%rsp), %rdi
callq 0x253d0
leaq 0x318(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x27893(%rip), %rsi     # 0x93278
leaq 0x27892(%rip), %rdx     # 0x9327e
leaq 0x308(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0xe8(%rsp), %rsi
leaq 0x308(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x2f8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x256da(%rip), %rsi     # 0x9110f
leaq 0x256da(%rip), %rdx     # 0x91116
leaq 0x2e8(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x2e8(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4fb3e(%rip), %rdi     # 0xbb5a8
leaq 0x428(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x2e8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6ba9d
movq 0x2f8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x308(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0xf8(%rsp), %rbx
je 0x6bac7
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xe8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bae4
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x428(%rsp), %rdi
jmp 0x6bf5a
leaq 0x418(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x26f9e(%rip), %rsi     # 0x92aa2
leaq 0x26f9b(%rip), %rdx     # 0x92aa6
leaq 0x408(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0xd8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x26f76(%rip), %rsi     # 0x92aae
leaq 0x26f72(%rip), %rdx     # 0x92ab1
leaq 0xc8(%rsp), %rdi
callq 0x253d0
leaq 0x2d8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x27719(%rip), %rsi     # 0x93278
leaq 0x27718(%rip), %rdx     # 0x9327e
leaq 0x2c8(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0xc8(%rsp), %rsi
leaq 0x2c8(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x2b8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x25560(%rip), %rsi     # 0x9110f
leaq 0x25560(%rip), %rdx     # 0x91116
leaq 0x2a8(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x2a8(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4f9c4(%rip), %rdi     # 0xbb5a8
leaq 0x408(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x2a8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bc17
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x2c8(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0xd8(%rsp), %rbx
je 0x6bc41
movq 0x2d8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xc8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bc5e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x408(%rsp), %rdi
jmp 0x6bf5a
leaq 0x3f8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x26e24(%rip), %rsi     # 0x92aa2
leaq 0x26e21(%rip), %rdx     # 0x92aa6
leaq 0x3e8(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x26e00(%rip), %rsi     # 0x92ab2
leaq 0x26dfb(%rip), %rdx     # 0x92ab4
leaq 0xa8(%rsp), %rdi
callq 0x253d0
leaq 0x298(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x2759f(%rip), %rsi     # 0x93278
leaq 0x2759e(%rip), %rdx     # 0x9327e
leaq 0x288(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0xa8(%rsp), %rsi
leaq 0x288(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x278(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x253e6(%rip), %rsi     # 0x9110f
leaq 0x253e6(%rip), %rdx     # 0x91116
leaq 0x268(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x268(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4f84a(%rip), %rdi     # 0xbb5a8
leaq 0x3e8(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x268(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bd91
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x288(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0xb8(%rsp), %rbx
je 0x6bdbb
movq 0x298(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bdd8
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x3e8(%rsp), %rdi
jmp 0x6bf5a
leaq 0x3d8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x26caa(%rip), %rsi     # 0x92aa2
leaq 0x26ca7(%rip), %rdx     # 0x92aa6
leaq 0x3c8(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x26c89(%rip), %rsi     # 0x92ab5
leaq 0x26c85(%rip), %rdx     # 0x92ab8
leaq 0x88(%rsp), %rdi
callq 0x253d0
leaq 0x258(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x27425(%rip), %rsi     # 0x93278
leaq 0x27424(%rip), %rdx     # 0x9327e
leaq 0x248(%rsp), %rdi
callq 0x253d0
movb $0x1, %bl
leaq 0x88(%rsp), %rsi
leaq 0x248(%rsp), %rdx
movq %r12, %rdi
callq 0x7653e
xorl %ebx, %ebx
movl $0x48, %edi
callq 0x5250
movq %rax, %r13
leaq 0x238(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x2526c(%rip), %rsi     # 0x9110f
leaq 0x2526c(%rip), %rdx     # 0x91116
leaq 0x228(%rsp), %rdi
callq 0x253d0
movb $0x1, %r15b
leaq 0x228(%rsp), %rdx
movq %r13, %rdi
movl 0x14(%rsp), %esi
callq 0x75d42
xorl %r15d, %r15d
leaq 0x4f6d0(%rip), %rdi     # 0xbb5a8
leaq 0x3c8(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x228(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bf0b
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x248(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x18(%rsp), %r13
leaq 0x98(%rsp), %rbx
je 0x6bf35
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x88(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bf52
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x3c8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6bf6a
movq (%r14), %rsi
incq %rsi
callq 0x5260
leaq 0x4f637(%rip), %rdi     # 0xbb5a8
movl 0x24(%rsp), %esi
callq 0x75eb0
movq 0x20(%r13), %rdi
callq 0x6a1cc
leaq 0x1d8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x26b0c(%rip), %rsi     # 0x92aa2
leaq 0x26b09(%rip), %rdx     # 0x92aa6
leaq 0x1c8(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r15
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x26af5(%rip), %rsi     # 0x92abc
leaq 0x26af1(%rip), %rdx     # 0x92abf
leaq 0x48(%rsp), %rdi
callq 0x253d0
leaq 0x1b8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x2728d(%rip), %rsi     # 0x93278
leaq 0x2728c(%rip), %rdx     # 0x9327e
leaq 0x1a8(%rsp), %rdi
callq 0x253d0
movb $0x1, %r13b
leaq 0x48(%rsp), %rsi
leaq 0x1a8(%rsp), %rdx
movq %r15, %rdi
callq 0x7653e
xorl %r13d, %r13d
movl $0x48, %edi
callq 0x5250
movq %rax, %r12
leaq 0x198(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x250d5(%rip), %rsi     # 0x9110f
leaq 0x250d5(%rip), %rdx     # 0x91116
leaq 0x188(%rsp), %rdi
callq 0x253d0
movb $0x1, %r14b
leaq 0x188(%rsp), %rdx
movq %r12, %rdi
movl 0x8(%rsp), %esi
callq 0x75d42
xorl %r14d, %r14d
leaq 0x4f539(%rip), %rdi     # 0xbb5a8
leaq 0x1c8(%rsp), %rsi
movq %r15, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x188(%rsp), %rdi
cmpq %r13, %rdi
je 0x6c0a2
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x1a8(%rsp), %rdi
cmpq %rbx, %rdi
movq 0x18(%rsp), %rbx
leaq 0x58(%rsp), %r14
je 0x6c0c9
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x6c0e0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x1c8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c0fd
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x5260
cmpq $0x0, 0x28(%rbx)
je 0x6c295
leaq 0x4f499(%rip), %rdi     # 0xbb5a8
movl 0x14(%rsp), %esi
callq 0x75eb0
movq 0x28(%rbx), %rdi
callq 0x6a1cc
leaq 0x178(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2696e(%rip), %rsi     # 0x92aa2
leaq 0x2696b(%rip), %rdx     # 0x92aa6
leaq 0x168(%rsp), %rdi
callq 0x253d0
movl $0x48, %edi
callq 0x5250
movq %rax, %r14
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x26957(%rip), %rsi     # 0x92abc
leaq 0x26953(%rip), %rdx     # 0x92abf
leaq 0x28(%rsp), %rdi
callq 0x253d0
leaq 0x158(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x270ef(%rip), %rsi     # 0x93278
leaq 0x270ee(%rip), %rdx     # 0x9327e
leaq 0x148(%rsp), %rdi
callq 0x253d0
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
leaq 0x148(%rsp), %rdx
movq %r14, %rdi
callq 0x7653e
xorl %ebp, %ebp
movl $0x48, %edi
callq 0x5250
movq %rax, %r15
leaq 0x138(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x24f38(%rip), %rsi     # 0x9110f
leaq 0x24f38(%rip), %rdx     # 0x91116
leaq 0x128(%rsp), %rdi
callq 0x253d0
movb $0x1, %r12b
leaq 0x128(%rsp), %rdx
movq %r15, %rdi
movl 0x8(%rsp), %esi
callq 0x75d42
xorl %r12d, %r12d
leaq 0x4f39c(%rip), %rdi     # 0xbb5a8
leaq 0x168(%rsp), %rsi
movq %r14, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x75c2c
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c23f
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x148(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x38(%rsp), %rbx
je 0x6c261
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c278
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x168(%rsp), %rdi
cmpq %r13, %rdi
je 0x6c295
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x4f30c(%rip), %rdi     # 0xbb5a8
movl 0x8(%rsp), %esi
callq 0x75eb0
leaq 0x480(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c2c6
movq 0x480(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x4a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c2e7
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x5260
addq $0x4b8, %rsp            # imm = 0x4B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x8(%rsp)
jmp 0x6c3c3
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x6c416
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c416
movq %rax, 0x8(%rsp)
jmp 0x6c416
movq %rax, 0x8(%rsp)
jmp 0x6c423
jmp 0x6cb55
movq %rax, 0x8(%rsp)
jmp 0x6c4be
movq %rax, 0x8(%rsp)
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x6c51a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c51a
movq %rax, 0x8(%rsp)
jmp 0x6c51a
movq %rax, 0x8(%rsp)
jmp 0x6c527
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x1e8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c3be
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c3d0
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c3d9
movq %rax, 0x8(%rsp)
movq 0x208(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c3f6
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x6c412
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c423
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x3a8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x3b8(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6c5c2
movq %rax, 0x8(%rsp)
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c61e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c61e
movq %rax, 0x8(%rsp)
jmp 0x6c61e
movq %rax, 0x8(%rsp)
jmp 0x6c62b
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x228(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c4b9
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c4cb
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c4d4
movq %rax, 0x8(%rsp)
movq 0x248(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c4f1
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x6c516
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c527
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x3c8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x3d8(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6c6c6
movq %rax, 0x8(%rsp)
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c722
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c722
movq %rax, 0x8(%rsp)
jmp 0x6c722
movq %rax, 0x8(%rsp)
jmp 0x6c72f
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x268(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c5bd
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c5cf
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c5d8
movq %rax, 0x8(%rsp)
movq 0x288(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c5f5
movq 0x298(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c61a
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c62b
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x3e8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x3f8(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6c7ca
movq %rax, 0x8(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c826
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c826
movq %rax, 0x8(%rsp)
jmp 0x6c826
movq %rax, 0x8(%rsp)
jmp 0x6c833
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x2a8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c6c1
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c6d3
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c6dc
movq %rax, 0x8(%rsp)
movq 0x2c8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c6f9
movq 0x2d8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c71e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c72f
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x408(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x418(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6c8c5
movq %rax, 0x8(%rsp)
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x6c921
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6c921
movq %rax, 0x8(%rsp)
jmp 0x6c921
movq %rax, 0x8(%rsp)
jmp 0x6c92e
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x2e8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c7c5
movq 0x2f8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c7d7
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c7e0
movq %rax, 0x8(%rsp)
movq 0x308(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c7fd
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c822
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c833
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x428(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x438(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6c9e3
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6ca37
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6ca37
movq %rax, 0x8(%rsp)
jmp 0x6ca37
movq %rax, 0x8(%rsp)
jmp 0x6ca44
jmp 0x6cb55
movq %rax, 0x8(%rsp)
movq 0x328(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6c8c0
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r15b, %r15b
je 0x6c8d2
movl $0x48, %esi
movq %r13, %rdi
callq 0x5260
xorl %ebx, %ebx
jmp 0x6c8db
movq %rax, 0x8(%rsp)
movq 0x348(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c8f8
movq 0x358(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x6c91d
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bl, %bl
je 0x6c92e
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x448(%rsp), %rdi
cmpq %r14, %rdi
je 0x6cb5a
movq 0x458(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
jmp 0x6ca89
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x6cade
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6cade
movq %rax, 0x8(%rsp)
jmp 0x6cade
movq %rax, 0x8(%rsp)
jmp 0x6caeb
jmp 0x6cb55
movq %rax, 0x8(%rsp)
jmp 0x6cb29
movq %rax, 0x8(%rsp)
jmp 0x6cb36
jmp 0x6cb55
movq %rax, 0x8(%rsp)
jmp 0x6cb7b
movq %rax, 0x8(%rsp)
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c9de
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r12b, %r12b
je 0x6c9f0
movl $0x48, %esi
movq %r15, %rdi
callq 0x5260
xorl %ebp, %ebp
jmp 0x6c9f9
movq %rax, 0x8(%rsp)
movq 0x148(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6ca16
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6ca32
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bpl, %bpl
je 0x6ca44
movl $0x48, %esi
movq %r14, %rdi
callq 0x5260
movq 0x168(%rsp), %rdi
cmpq %r13, %rdi
je 0x6cb5a
movq 0x178(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
movq 0x188(%rsp), %rdi
cmpq %r13, %rdi
je 0x6ca84
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r14b, %r14b
je 0x6ca96
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
xorl %r13d, %r13d
jmp 0x6caa0
movq %rax, 0x8(%rsp)
movq 0x1a8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6cabd
movq 0x1b8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x6cad9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
testb %r13b, %r13b
je 0x6caeb
movl $0x48, %esi
movq %r15, %rdi
callq 0x5260
movq 0x1c8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6cb5a
movq 0x1d8(%rsp), %rsi
jmp 0x6cb4b
movq %rax, 0x8(%rsp)
movq 0x368(%rsp), %rdi
cmpq %r15, %rdi
je 0x6cb24
movq 0x378(%rsp), %rsi
incq %rsi
callq 0x5260
testb %bpl, %bpl
je 0x6cb36
movl $0x48, %esi
movq %r12, %rdi
callq 0x5260
movq 0x388(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6cb5a
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x6cb5a
movq %rax, 0x8(%rsp)
leaq 0x480(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6cb7b
movq 0x480(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x4a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6cb9c
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
callq 0x53d0