// File: /workspace/github_cpp_makefile_star2_O3/taurheim[P]AgNES/codeGenerator.cpp
// Function: CodeGenerator::generateCodeFromTAC(TAC)
void CodeGenerator::generateCodeFromTAC(TAC tac) {
    switch (tac.op) {
        case IR_DECLARATION: {
            allocateGlobal(tac.first, "type");
            break;
        }
        case IR_NEWLABEL: {
            if (!jumpedToMain) {
                code << "JMP main" << nl;
                jumpedToMain = true;
            }
            code.seekp(-1, code.cur);
            code << tac.first << ":" << nl;
            break;
        } 
        case IR_BEGINFUNC: {
            generateBeginFunc(tac);
            break;
        }
        case IR_ASSIGN: {
            generateAssign(tac);
            break;
        }
        case IR_ADD: {
            generateAddition(tac);
            break;
        }
        case IR_SUBTRACT: {
            generateSubtraction(tac);
            break;
        }
        case IR_IFTRUEGOTO: {
            generateBranchOnCondition(tac, true);
            break;
        }
        case IR_IFFALSEGOTO: {
            generateBranchOnCondition(tac, false);
            break;
        }
        case IR_GOTO: {
            generateJump(tac);
            break;
        }
        case IR_PUSHPARAM: {
            generatePushParam(tac);
            break;
        }
        case IR_POPPARAMS: {
            generatePopParams(tac);
            break;
        }
        case IR_CALL: {
            generateSubroutineCall(tac);
            break;
        }
        case IR_RETURN: {
            code << "RTS" << nl;
            break;
        }
        case IR_ENDFUNC: {
            generateEndFunc(tac);
            break;
        }
        case IR_NES_WAITFORFRAME: {
            code << ";;;;;; NESWAITFORFRAME ;;;;;;" << nl;
            code << "INC 99" << nl;
            code << "wait_for_frame:" << nl;
            code << "LDA 99" << nl;
            code << "BNE wait_for_frame" << nl;
            break;
        }
        case IR_NES_SETSPRITEX: {
            code << ";;;;;; NESSETSPRITEX ;;;;;;" << nl;
            int offset = globalToAddressMap[tac.first];
            loadGlobalIntoA(offset);
            code << "STA $0203" << nl;
            break;
        }
        case IR_NES_SETSPRITEY: {
            code << ";;;;;; NESSETSPRITEY ;;;;;;" << nl;
            int offset = globalToAddressMap[tac.first];
            loadGlobalIntoA(offset);
            code << "STA $0200" << nl;
            break;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4b8, %rsp            # imm = 0x4B8
movl (%rsi), %eax
cmpq $0x10, %rax
ja 0xf408
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3de5(%rip), %rcx      # 0x1280c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x3e8(%rbp), %rdi
movl $0x0, -0x8(%rdi)
leaq -0x3d8(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x3c8(%rbp), %rdi
leaq -0x3b8(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x3a8(%rbp), %rdi
leaq -0x398(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x3f0(%rbp), %rsi
movq %rbx, %rdi
callq 0xfd4a
movq -0x3a8(%rbp), %rdi
cmpq %r13, %rdi
je 0xeabe
callq 0x3250
movq -0x3c8(%rbp), %rdi
cmpq %r12, %rdi
je 0xeacf
callq 0x3250
movq -0x3e8(%rbp), %rdi
jmp 0xf3fe
leaq 0x80(%rbx), %r15
leaq 0x3e14(%rip), %rsi      # 0x128fd
movl $0x1b, %edx
movq %r15, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0x32d0
leaq 0x1f8(%rbx), %rdi
addq $0x8, %r14
movq %r14, %rsi
callq 0x111ba
movl (%rax), %esi
movq %rbx, %rdi
callq 0x1089e
leaq 0x3df0(%rip), %rsi      # 0x12919
jmp 0xef33
leaq 0x80(%rbx), %r14
leaq 0x3d4c(%rip), %rsi      # 0x12888
movl $0x1d, %edx
movq %r14, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x32d0
leaq 0x3d47(%rip), %rsi      # 0x128a6
movl $0x6, %edx
movq %r14, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x32d0
leaq 0x3d2b(%rip), %rsi      # 0x128ad
movl $0xf, %edx
movq %r14, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x32d0
leaq 0x3d18(%rip), %rsi      # 0x128bd
movl $0x6, %edx
movq %r14, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x32d0
leaq 0x3cfc(%rip), %rsi      # 0x128c4
movl $0x12, %edx
jmp 0xf1e4
leaq -0x178(%rbp), %rdi
movl $0xb, -0x8(%rdi)
leaq -0x168(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x180(%rbp), %rsi
movq %rbx, %rdi
callq 0x1056e
movq -0x138(%rbp), %rdi
cmpq %r13, %rdi
je 0xec60
callq 0x3250
movq -0x158(%rbp), %rdi
cmpq %r12, %rdi
je 0xec71
callq 0x3250
movq -0x178(%rbp), %rdi
jmp 0xf3fe
leaq -0x248(%rbp), %rdi
movl $0x4, -0x8(%rdi)
leaq -0x238(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x228(%rbp), %rdi
leaq -0x218(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x208(%rbp), %rdi
leaq -0x1f8(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x250(%rbp), %rsi
movq %rbx, %rdi
callq 0x1041e
movq -0x208(%rbp), %rdi
cmpq %r13, %rdi
je 0xed0b
callq 0x3250
movq -0x228(%rbp), %rdi
cmpq %r12, %rdi
je 0xed1c
callq 0x3250
movq -0x248(%rbp), %rdi
jmp 0xf3fe
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x6906
leaq -0x4d0(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x3b20(%rip), %rsi      # 0x12876
leaq 0x3b1d(%rip), %rdx      # 0x1287a
leaq -0x4e0(%rbp), %rdi
callq 0x82f0
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0xf6a0
movq -0x4e0(%rbp), %rdi
cmpq %r14, %rdi
je 0xed86
callq 0x3250
movq -0x48(%rbp), %rdi
jmp 0xf3fe
leaq -0x110(%rbp), %rdi
movl $0x9, -0x8(%rdi)
leaq -0x100(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x118(%rbp), %rsi
movq %rbx, %rdi
callq 0x1065a
movq -0xd0(%rbp), %rdi
cmpq %r13, %rdi
je 0xee1d
callq 0x3250
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0xee2e
callq 0x3250
movq -0x110(%rbp), %rdi
jmp 0xf3fe
leaq -0x450(%rbp), %rdi
movl $0x2, -0x8(%rdi)
leaq -0x440(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x430(%rbp), %rdi
leaq -0x420(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x410(%rbp), %rdi
leaq -0x400(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x458(%rbp), %rsi
movq %rbx, %rdi
callq 0xfa76
movq -0x410(%rbp), %rdi
cmpq %r13, %rdi
je 0xeec8
callq 0x3250
movq -0x430(%rbp), %rdi
cmpq %r12, %rdi
je 0xeed9
callq 0x3250
movq -0x450(%rbp), %rdi
jmp 0xf3fe
leaq 0x80(%rbx), %r15
leaq 0x39e4(%rip), %rsi      # 0x128d7
movl $0x1b, %edx
movq %r15, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0x32d0
leaq 0x1f8(%rbx), %rdi
addq $0x8, %r14
movq %r14, %rsi
callq 0x111ba
movl (%rax), %esi
movq %rbx, %rdi
callq 0x1089e
leaq 0x39c0(%rip), %rsi      # 0x128f3
movl $0x9, %edx
movq %r15, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
jmp 0xf1f6
cmpb $0x0, 0x290(%rbx)
jne 0xef89
leaq 0x80(%rbx), %r15
leaq 0x3915(%rip), %rsi      # 0x1287b
movl $0x8, %edx
movq %r15, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0x32d0
movb $0x1, 0x290(%rbx)
leaq 0x80(%rbx), %r15
movq %r15, %rdi
movq $-0x1, %rsi
movl $0x1, %edx
callq 0x3280
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
movq %r15, %rdi
callq 0x32d0
movq %rax, %r14
leaq 0x38fd(%rip), %rsi      # 0x128bb
movl $0x1, %edx
movq %rax, %rdi
jmp 0xf1e7
leaq -0x4b8(%rbp), %rdi
movl $0x7, -0x8(%rdi)
leaq -0x4a8(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x498(%rbp), %rdi
leaq -0x488(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x478(%rbp), %rdi
leaq -0x468(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x4c0(%rbp), %rsi
movq %rbx, %rdi
callq 0xf728
movq -0x478(%rbp), %rdi
cmpq %r13, %rdi
je 0xf059
callq 0x3250
movq -0x498(%rbp), %rdi
cmpq %r12, %rdi
je 0xf06a
callq 0x3250
movq -0x4b8(%rbp), %rdi
jmp 0xf3fe
leaq -0x380(%rbp), %rdi
movl $0x1, -0x8(%rdi)
leaq -0x370(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x360(%rbp), %rdi
leaq -0x350(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x340(%rbp), %rdi
leaq -0x330(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x388(%rbp), %rsi
movq %rbx, %rdi
callq 0x1000c
movq -0x340(%rbp), %rdi
cmpq %r13, %rdi
je 0xf104
callq 0x3250
movq -0x360(%rbp), %rdi
cmpq %r12, %rdi
je 0xf115
callq 0x3250
movq -0x380(%rbp), %rdi
jmp 0xf3fe
leaq -0x318(%rbp), %rdi
movl $0x5, -0x8(%rdi)
leaq -0x308(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x2f8(%rbp), %rdi
leaq -0x2e8(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x2d8(%rbp), %rdi
leaq -0x2c8(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x320(%rbp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x102ce
movq -0x2d8(%rbp), %rdi
cmpq %r13, %rdi
je 0xf1b4
callq 0x3250
movq -0x2f8(%rbp), %rdi
cmpq %r12, %rdi
je 0xf1c5
callq 0x3250
movq -0x318(%rbp), %rdi
jmp 0xf3fe
leaq 0x80(%rbx), %r14
leaq 0x36a5(%rip), %rsi      # 0x12884
movl $0x3, %edx
movq %r14, %rdi
callq 0x32d0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
addq $0x4b8, %rsp            # imm = 0x4B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x32d0
leaq -0x2b0(%rbp), %rdi
movl $0x6, -0x8(%rdi)
leaq -0x2a0(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x290(%rbp), %rdi
leaq -0x280(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x2b8(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x102ce
movq -0x270(%rbp), %rdi
cmpq %r13, %rdi
je 0xf29c
callq 0x3250
movq -0x290(%rbp), %rdi
cmpq %r12, %rdi
je 0xf2ad
callq 0x3250
movq -0x2b0(%rbp), %rdi
jmp 0xf3fe
leaq -0x1e0(%rbp), %rdi
movl $0xa, -0x8(%rdi)
leaq -0x1d0(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x1c0(%rbp), %rdi
leaq -0x1b0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x1a0(%rbp), %rdi
leaq -0x190(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x1e8(%rbp), %rsi
movq %rbx, %rdi
callq 0x104a6
movq -0x1a0(%rbp), %rdi
cmpq %r13, %rdi
je 0xf347
callq 0x3250
movq -0x1c0(%rbp), %rdi
cmpq %r12, %rdi
je 0xf358
callq 0x3250
movq -0x1e0(%rbp), %rdi
jmp 0xf3fe
leaq -0xa8(%rbp), %rdi
movl $0x8, -0x8(%rdi)
leaq -0x98(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
addq %rsi, %rdx
callq 0x6906
leaq -0xb0(%rbp), %rsi
movq %rbx, %rdi
callq 0x107aa
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0xf3e6
callq 0x3250
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xf3f7
callq 0x3250
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0xf408
callq 0x3250
addq $0x4b8, %rsp            # imm = 0x4B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x1e8(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x2b8(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x320(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x388(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x4c0(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x3f0(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x458(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x118(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x250(%rbp), %rdi
jmp 0xf49c
movq %rax, %rbx
leaq -0x180(%rbp), %rdi
callq 0xe1ce
jmp 0xf697
movq %rax, %rbx
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0xf605
callq 0x3250
jmp 0xf605
movq %rax, %rbx
movq -0x1c0(%rbp), %rdi
cmpq %r12, %rdi
je 0xf611
callq 0x3250
jmp 0xf611
movq %rax, %rbx
movq -0x290(%rbp), %rdi
cmpq %r12, %rdi
je 0xf61d
callq 0x3250
jmp 0xf61d
movq %rax, %rbx
movq -0x2f8(%rbp), %rdi
cmpq %r12, %rdi
je 0xf629
callq 0x3250
jmp 0xf629
movq %rax, %rbx
movq -0x360(%rbp), %rdi
cmpq %r12, %rdi
je 0xf635
callq 0x3250
jmp 0xf635
movq %rax, %rbx
movq -0x498(%rbp), %rdi
cmpq %r12, %rdi
je 0xf641
callq 0x3250
jmp 0xf641
movq %rax, %rbx
movq -0x430(%rbp), %rdi
cmpq %r12, %rdi
je 0xf64d
callq 0x3250
jmp 0xf64d
movq %rax, %rbx
movq -0x3c8(%rbp), %rdi
cmpq %r12, %rdi
je 0xf659
callq 0x3250
jmp 0xf659
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0xf665
callq 0x3250
jmp 0xf665
movq %rax, %rbx
movq -0x4e0(%rbp), %rdi
cmpq %r14, %rdi
je 0xf671
callq 0x3250
jmp 0xf671
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r12, %rdi
je 0xf67a
callq 0x3250
jmp 0xf67a
movq %rax, %rbx
movq -0x158(%rbp), %rdi
cmpq %r12, %rdi
je 0xf686
callq 0x3250
jmp 0xf686
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x1e0(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x2b0(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x318(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x380(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x4b8(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x450(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x3e8(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x110(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x48(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x248(%rbp), %rdi
jmp 0xf68d
movq %rax, %rbx
movq -0x178(%rbp), %rdi
cmpq %r15, %rdi
je 0xf697
callq 0x3250
movq %rbx, %rdi
callq 0x3420
nop