// File: /workspace/github_cpp_makefile_star2_O1/AndrewAlbert[P]Compiler-Theory/SourceCode/codeGenerator.cpp
// Function: codeGenerator::reg2mm[abi:cxx11](int, int, int, int, int, bool, bool, int, bool)
string codeGenerator::reg2mm(int regType, int memType, int regSize, int memSize, int FPoffset, bool isGlobal, bool indirect, int indirect_type, bool useSP ){
	if( !ShouldGenerate() ) return "";
	int index;
	string reg, mem, indirect_reg, pointer;

	if( useSP ) pointer = "SP_reg";
	else pointer = "FP_reg";
	
	if( regSize == 0 ) regSize++;
	if( memSize == 0 ) memSize++;
	
	for( index = 0; index < regSize; index++ ){
		reg = popStack('E', regType);
		pushStack( reg, 'R', regType );
	}

	if( indirect ){
		if(savedArgument.set == false) cout << "not a saved argument" << endl;
		reg = popStack('R', regType);
		indirect_reg = popStack('E', indirect_type);
		comment("indirect off " + indirect_reg);
		fprintf( oFile, "   TP_reg = %s + %d;\n", pointer.c_str(), FPoffset );
		fprintf( oFile, "   MM[TP_reg + %s] = %s;\n", indirect_reg.c_str(), reg.c_str() );
	}
	else{
		if( isGlobal ) comment("Global Variable: Reg to MM");
		else comment("Variable: Reg to MM");
		
		if( regSize > 1 && regSize == memSize ){
			for( index = 0; index < memSize; index++ ){
				reg = popStack('R', regType);
				if( isGlobal ){
					mem = "MM[" + to_string(FPoffset + index) + "]";
				}
				else{
					mem = "MM[" + pointer + " + " + to_string(FPoffset + index) + "]";
				}
				if( memType == TYPE_FLOAT) fprintf( oFile, "   memcpy( &%s, &%s, sizeof(int) );\n", mem.c_str(), reg.c_str() );
				else fprintf( oFile, "   %s = %s;\n", mem.c_str(), reg.c_str() );
			}
		}
		else if ( regSize == 1 ){
			reg = popStack('R', regType);
			for( index = 0; index < memSize; index++ ){
				if( isGlobal ){
					mem = "MM[" + to_string(FPoffset + index) + "]";
				}
				else{
					mem = "MM[" + pointer + " + " + to_string(FPoffset + index) + "]";
				}
				if( memType == TYPE_FLOAT) fprintf( oFile, "   memcpy( &%s, &%s, sizeof(int) );\n", mem.c_str(), reg.c_str() );
				else fprintf( oFile, "   %s = %s;\n", mem.c_str(), reg.c_str() );
			}
		}
	}
	return "";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movl %r8d, 0x60(%rsp)
movl %ecx, 0xa8(%rsp)
movl %edx, 0x78(%rsp)
movq %rdi, %rbx
cmpb $0x0, 0x330(%rsi)
je 0x14f39
movl %r9d, %ebp
movq %rsi, %r14
movq %rbx, 0xf0(%rsp)
movb 0x230(%rsp), %al
leaq 0xc0(%rsp), %rdx
movq %rdx, -0x10(%rdx)
xorl %ecx, %ecx
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x128(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x148(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x108(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x5d3e(%rip), %rdx      # 0x1a9d1
leaq 0x5d30(%rip), %rcx      # 0x1a9ca
testb %al, %al
cmovneq %rdx, %rcx
leaq 0xf8(%rsp), %rdi
movl $0x6, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x22e0
movq %r14, 0x68(%rsp)
movl 0x60(%rsp), %eax
cmpl $0x1, %eax
adcl $0x0, %eax
cmpl $0x1, %ebp
adcl $0x0, %ebp
movl %ebp, 0x74(%rsp)
movl %eax, 0xa4(%rsp)
testl %eax, %eax
jle 0x14dac
leaq 0x168(%rsp), %r12
movq 0x68(%rsp), %rax
leaq 0x180(%rax), %rbx
movq %rsp, %r15
leaq 0xb0(%rsp), %rbp
leaq 0x158(%rsp), %r13
movl 0xa4(%rsp), %r14d
movq %r15, %rdi
movq 0x68(%rsp), %rsi
movl $0x45, %edx
movl 0x78(%rsp), %ecx
callq 0x11b40
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2270
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x14d4a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq %r12, 0x158(%rsp)
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x3ba4
movq 0x68(%rsp), %rax
cmpb $0x1, 0x330(%rax)
jne 0x14d86
movq %rbx, %rdi
movq %r13, %rsi
callq 0x176d0
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x14da3
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
decl %r14d
jne 0x14d0e
cmpb $0x0, 0x220(%rsp)
je 0x14f5a
movq 0x68(%rsp), %r12
cmpb $0x0, 0x2b6(%r12)
jne 0x14e10
movq 0xd207(%rip), %rbx      # 0x21fd8
leaq 0x61ae(%rip), %rsi      # 0x1af86
movl $0x14, %edx
movq %rbx, %rdi
callq 0x2230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0xd1d5(%rip), %rdi      # 0x21fd8
callq 0x2030
movq %rax, %rdi
callq 0x2140
movq %rsp, %rdi
movq %r12, %rsi
movl $0x52, %edx
movl 0x78(%rsp), %ecx
callq 0x11b40
movl 0x228(%rsp), %ebx
leaq 0xb0(%rsp), %rdi
movq %rsp, %r15
movq %r15, %rsi
callq 0x2270
movq (%r15), %rdi
leaq 0x10(%rsp), %r14
cmpq %r14, %rdi
je 0x14e58
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rsp, %rdi
movq %r12, %rsi
movl $0x45, %edx
movl %ebx, %ecx
callq 0x11b40
leaq 0x138(%rsp), %rdi
movq %rsp, %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x14e92
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x6082(%rip), %rsi      # 0x1af1b
leaq 0x1b8(%rsp), %rdi
leaq 0x138(%rsp), %rdx
callq 0xddc7
movq 0x308(%r12), %rdi
leaq 0x1c8(%rsp), %rbx
movq -0x10(%rbx), %rdx
leaq 0x5b56(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x14ee9
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r12), %rdi
movq 0xf8(%rsp), %rdx
leaq 0x6029(%rip), %rsi      # 0x1af29
movl 0x210(%rsp), %ecx
xorl %eax, %eax
callq 0x22a0
movq 0x308(%r12), %rdi
movq 0x138(%rsp), %rdx
movq 0xb0(%rsp), %rcx
leaq 0x606e(%rip), %rsi      # 0x1af9b
xorl %eax, %eax
callq 0x22a0
jmp 0x15af2
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x5a16(%rip), %rdx      # 0x1a95d
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x3c34
movq %rbx, %rax
jmp 0x15bac
cmpb $0x0, 0x218(%rsp)
movq 0x68(%rsp), %r14
je 0x14fb7
leaq 0x1a8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x6039(%rip), %rsi      # 0x1afb5
leaq 0x604c(%rip), %rdx      # 0x1afcf
leaq 0x198(%rsp), %rdi
callq 0x3c34
movq 0x308(%r14), %rdi
movq 0x198(%rsp), %rdx
leaq 0x5a79(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x198(%rsp), %rdi
jmp 0x15003
leaq 0x188(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x5ff2(%rip), %rsi      # 0x1afbc
leaq 0x5ffe(%rip), %rdx      # 0x1afcf
leaq 0x178(%rsp), %rdi
callq 0x3c34
movq 0x308(%r14), %rdi
movq 0x178(%rsp), %rdx
leaq 0x5a2b(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x178(%rsp), %rdi
cmpq %rbx, %rdi
je 0x15013
movq (%rbx), %rsi
incq %rsi
callq 0x2200
movl 0xa4(%rsp), %ecx
cmpl $0x2, %ecx
setl %al
movl 0x74(%rsp), %edx
cmpl %edx, %ecx
setne %cl
orb %al, %cl
jne 0x15594
testl %edx, %edx
jle 0x15af2
leaq 0x10(%rsp), %rbx
leaq 0x50(%rsp), %r12
cmpl $0x10b, 0xa8(%rsp) # imm = 0x10B
leaq 0x5f0c(%rip), %rax      # 0x1af61
leaq 0x5e24(%rip), %rcx      # 0x1ae80
cmoveq %rax, %rcx
movq %rcx, 0xa8(%rsp)
movq %rsp, %rbp
leaq 0x118(%rsp), %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq $0x0, 0x60(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
movl $0x52, %edx
movl 0x78(%rsp), %ecx
callq 0x11b40
leaq 0xb0(%rsp), %rdi
movq %rbp, %rsi
callq 0x2270
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x150bc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
cmpb $0x0, 0x218(%rsp)
je 0x15131
movl 0x210(%rsp), %eax
movq 0x60(%rsp), %rcx
leal (%rcx,%rax), %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x15218
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x15209
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x15216
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x15218
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x150f4
addl $-0x3, %ebp
jmp 0x15218
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x5e16(%rip), %rsi      # 0x1af59
leaq 0xf8(%rsp), %rdx
callq 0xddc7
movq %rbx, %rdi
leaq 0x5e03(%rip), %rsi      # 0x1af5d
callq 0x2380
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15182
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x1518a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x210(%rsp), %eax
movq 0x60(%rsp), %rcx
leal (%rcx,%rax), %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x15363
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x1520e
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x15361
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x15363
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x151d0
addl $-0x3, %ebp
jmp 0x15363
addl $-0x2, %ebp
jmp 0x15218
addl $-0x2, %ebp
jmp 0x15363
decl %ebp
shrl $0x1f, %r14d
leal (%r14,%rbp), %esi
movq %r12, %r13
movq %r12, 0x40(%rsp)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x40(%rsp), %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0xe072
movl $0x3, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x5cfa(%rip), %rcx      # 0x1af59
callq 0x2220
leaq 0x30(%rsp), %rbp
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x68(%rsp), %r14
leaq 0x10(%rsp), %rbx
movq %r13, %r12
je 0x15299
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x152a0
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
leaq 0x3e02(%rip), %rsi      # 0x190c6
callq 0x2380
movq %rbx, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x152ea
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x152f0
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
movq %rsp, %rsi
callq 0x2270
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1532f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15346
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
movq %rsp, %rbp
je 0x15553
movq 0x50(%rsp), %rsi
jmp 0x1554b
decl %ebp
shrl $0x1f, %r14d
leal (%r14,%rbp), %esi
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x80(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x80(%rsp), %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0xe072
movq 0x40(%rsp), %rcx
movl $0xf, %esi
cmpq %r12, %rcx
je 0x153b5
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %r8
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
movq 0x68(%rsp), %r14
leaq 0x30(%rsp), %rbp
leaq 0x10(%rsp), %rbx
jbe 0x153fe
movl $0xf, %esi
leaq 0x90(%rsp), %rdi
cmpq %rdi, 0x80(%rsp)
je 0x153f9
movq 0x90(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x15412
movq 0x80(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x20c0
jmp 0x15423
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x15443
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x1544a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x20(%rsp), %rdi
leaq 0x3c53(%rip), %rsi      # 0x190c6
callq 0x2380
movq %rbx, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15499
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1549f
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
movq %rsp, %rsi
callq 0x2270
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x154d8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x154ef
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
movq %rsp, %rbp
je 0x15517
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x1552e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15553
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x118(%rsp), %rdx
movq 0xb0(%rsp), %rcx
movq 0x308(%r14), %rdi
movq 0xa8(%rsp), %rsi
xorl %eax, %eax
callq 0x22a0
movq 0x60(%rsp), %rax
incl %eax
movq %rax, 0x60(%rsp)
cmpl 0x74(%rsp), %eax
jne 0x15082
jmp 0x15af2
cmpl $0x1, 0x60(%rsp)
ja 0x15af2
movq %rsp, %rdi
movq %r14, %rsi
movl $0x52, %edx
movl 0x78(%rsp), %ecx
callq 0x11b40
leaq 0xb0(%rsp), %rdi
movq %rsp, %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x155e0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
cmpl $0x0, 0x74(%rsp)
jle 0x15af2
leaq 0x50(%rsp), %r13
cmpl $0x10b, 0xa8(%rsp) # imm = 0x10B
leaq 0x595f(%rip), %rax      # 0x1af61
leaq 0x5877(%rip), %rcx      # 0x1ae80
cmoveq %rax, %rcx
movq %rcx, 0x60(%rsp)
leaq 0x118(%rsp), %r15
movq %rsp, %r12
leaq 0xd0(%rsp), %rbx
xorl %r14d, %r14d
cmpb $0x0, 0x218(%rsp)
movq %r14, 0x78(%rsp)
je 0x156a1
movl 0x210(%rsp), %eax
addl %eax, %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x1577f
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x15770
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x1577d
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1577f
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1565f
addl $-0x3, %ebp
jmp 0x1577f
movq %rbx, %rdi
leaq 0x58ae(%rip), %rsi      # 0x1af59
leaq 0xf8(%rsp), %rdx
callq 0xddc7
movq %rbx, %rdi
leaq 0x589b(%rip), %rsi      # 0x1af5d
callq 0x2380
movq %r13, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x156ea
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x156f2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x210(%rsp), %eax
addl %eax, %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x158c6
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x15775
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x158c4
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x158c6
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x15732
addl $-0x3, %ebp
jmp 0x158c6
addl $-0x2, %ebp
jmp 0x1577f
addl $-0x2, %ebp
jmp 0x158c6
decl %ebp
shrl $0x1f, %r14d
leal (%r14,%rbp), %esi
movq %r13, 0x40(%rsp)
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x40(%rsp), %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0xe072
movl $0x3, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x5796(%rip), %rcx      # 0x1af59
callq 0x2220
leaq 0x30(%rsp), %rbp
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x68(%rsp), %rbx
leaq 0x10(%rsp), %r14
leaq 0x50(%rsp), %r13
je 0x157ff
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x15806
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
leaq 0x389c(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r14, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15850
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x15857
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2270
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x15890
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x78(%rsp), %r14
je 0x158ac
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x15ab9
movq 0x50(%rsp), %rsi
jmp 0x15ab1
decl %ebp
shrl $0x1f, %r14d
leal (%r14,%rbp), %esi
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x80(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x80(%rsp), %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0xe072
movq 0x40(%rsp), %rcx
movl $0xf, %esi
cmpq %r13, %rcx
je 0x15918
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %r8
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
movq 0x68(%rsp), %rbx
leaq 0x10(%rsp), %r14
leaq 0x30(%rsp), %rbp
jbe 0x15961
movl $0xf, %esi
leaq 0x90(%rsp), %rdi
cmpq %rdi, 0x80(%rsp)
je 0x1595c
movq 0x90(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x15975
movq 0x80(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x20c0
jmp 0x15986
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x159a6
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x159ad
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x20(%rsp), %rdi
leaq 0x36f0(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r14, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x159fc
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x15a03
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2270
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x15a3c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x78(%rsp), %r14
je 0x15a58
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x15a7d
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x15a94
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15ab9
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x118(%rsp), %rdx
movq 0xb0(%rsp), %rcx
movq 0x308(%rbx), %rdi
movq 0x60(%rsp), %rsi
xorl %eax, %eax
callq 0x22a0
incl %r14d
cmpl 0x74(%rsp), %r14d
leaq 0xd0(%rsp), %rbx
jne 0x15628
movq 0xf0(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x4e55(%rip), %rdx      # 0x1a95d
movq %rdx, %rsi
callq 0x3c34
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x15b35
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x15b5a
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x15b7f
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x15ba4
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xf0(%rsp), %rax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x15d64
jmp 0x15d64
jmp 0x15d64
jmp 0x15d64
jmp 0x15d64
jmp 0x15d64
jmp 0x15d64
movq %rax, %rbx
jmp 0x15c34
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15c0f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15c0f
movq %rax, %rbx
jmp 0x15c66
jmp 0x15cae
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x15c34
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
jne 0x15ce5
jmp 0x15cf2
jmp 0x15d64
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15c66
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
jne 0x15d37
jmp 0x15d67
jmp 0x15d64
jmp 0x15d64
movq %rax, %rbx
jmp 0x15cdb
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15cb6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15cb6
movq %rax, %rbx
jmp 0x15d2d
movq %rax, %rbx
jmp 0x15cf2
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x15cdb
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x15cf2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15d67
movq 0xe0(%rsp), %rsi
jmp 0x15d58
jmp 0x15d64
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15d2d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x15d67
movq 0x50(%rsp), %rsi
jmp 0x15d58
jmp 0x15d64
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x15d67
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15d67
jmp 0x15d64
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x15d8c
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x15db1
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x15dd6
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x15dfb
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x2330
nop