// File: /workspace/github_cpp_makefile_star2_O3/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 %ecx, 0xac(%rsp)
movl %edx, 0x70(%rsp)
movq %rdi, %rbx
cmpb $0x0, 0x330(%rsi)
je 0x14e63
movl %r9d, %ebp
movq %rsi, %r14
movl %r8d, 0xa8(%rsp)
movq %rbx, 0xf0(%rsp)
movb 0x230(%rsp), %al
leaq 0xe0(%rsp), %rdx
movq %rdx, -0x10(%rdx)
xorl %ecx, %ecx
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x108(%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 0x128(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x5e25(%rip), %rdx      # 0x1a9d1
leaq 0x5e17(%rip), %rcx      # 0x1a9ca
testb %al, %al
cmovneq %rdx, %rcx
leaq 0x118(%rsp), %rdi
movl $0x6, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x22e0
movq %r14, 0x68(%rsp)
movl 0xa8(%rsp), %eax
cmpl $0x1, %eax
adcl $0x0, %eax
cmpl $0x1, %ebp
adcl $0x0, %ebp
movl %ebp, 0x98(%rsp)
movl %eax, 0xa0(%rsp)
testl %eax, %eax
jle 0x14cce
leaq 0x168(%rsp), %rbp
movq 0x68(%rsp), %rax
leaq 0x180(%rax), %r13
leaq 0x8(%rsp), %rbx
leaq 0xd0(%rsp), %r12
leaq 0x158(%rsp), %r15
movl 0xa0(%rsp), %r14d
movq %rbx, %rdi
movq 0x68(%rsp), %rsi
movl $0x45, %edx
movl 0x70(%rsp), %ecx
callq 0x11a5e
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x14c6c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbp, 0x158(%rsp)
movq 0xd0(%rsp), %rsi
movq 0xd8(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x3bac
movq 0x68(%rsp), %rax
cmpb $0x1, 0x330(%rax)
jne 0x14ca8
movq %r13, %rdi
movq %r15, %rsi
callq 0x17610
movq 0x158(%rsp), %rdi
cmpq %rbp, %rdi
je 0x14cc5
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
decl %r14d
jne 0x14c2f
cmpb $0x0, 0x220(%rsp)
je 0x14e84
movq 0x68(%rsp), %r12
cmpb $0x0, 0x2b6(%r12)
jne 0x14d32
movq 0xd2e5(%rip), %rbx      # 0x21fd8
leaq 0x628c(%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 0xd2b3(%rip), %rdi      # 0x21fd8
callq 0x2030
movq %rax, %rdi
callq 0x2140
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
movl $0x52, %edx
movl 0x70(%rsp), %ecx
callq 0x11a5e
movl 0x228(%rsp), %ebx
leaq 0xd0(%rsp), %rdi
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x2270
movq (%r15), %rdi
leaq 0x18(%rsp), %r14
cmpq %r14, %rdi
je 0x14d7e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
movl $0x45, %edx
movl %ebx, %ecx
callq 0x11a5e
leaq 0x138(%rsp), %rdi
leaq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x14dbc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x6158(%rip), %rsi      # 0x1af1b
leaq 0x1b8(%rsp), %rdi
leaq 0x138(%rsp), %rdx
callq 0xdcc7
movq 0x308(%r12), %rdi
leaq 0x1c8(%rsp), %rbx
movq -0x10(%rbx), %rdx
leaq 0x5c2c(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x14e13
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r12), %rdi
movq 0x118(%rsp), %rdx
leaq 0x60ff(%rip), %rsi      # 0x1af29
movl 0x210(%rsp), %ecx
xorl %eax, %eax
callq 0x22a0
movq 0x308(%r12), %rdi
movq 0x138(%rsp), %rdx
movq 0xd0(%rsp), %rcx
leaq 0x6144(%rip), %rsi      # 0x1af9b
xorl %eax, %eax
callq 0x22a0
jmp 0x15a29
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x5aec(%rip), %rdx      # 0x1a95d
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x3c42
movq %rbx, %rax
jmp 0x15ae3
cmpb $0x0, 0x218(%rsp)
movq 0x68(%rsp), %r14
je 0x14ee1
leaq 0x1a8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x610f(%rip), %rsi      # 0x1afb5
leaq 0x6122(%rip), %rdx      # 0x1afcf
leaq 0x198(%rsp), %rdi
callq 0x3c42
movq 0x308(%r14), %rdi
movq 0x198(%rsp), %rdx
leaq 0x5b4f(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x198(%rsp), %rdi
jmp 0x14f2d
leaq 0x188(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x60c8(%rip), %rsi      # 0x1afbc
leaq 0x60d4(%rip), %rdx      # 0x1afcf
leaq 0x178(%rsp), %rdi
callq 0x3c42
movq 0x308(%r14), %rdi
movq 0x178(%rsp), %rdx
leaq 0x5b01(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x178(%rsp), %rdi
cmpq %rbx, %rdi
je 0x14f3d
movq (%rbx), %rsi
incq %rsi
callq 0x2200
movl 0xa0(%rsp), %ecx
cmpl $0x2, %ecx
setl %al
cmpl 0x98(%rsp), %ecx
setne %cl
orb %al, %cl
jne 0x154a8
leaq 0x18(%rsp), %r15
leaq 0x58(%rsp), %r14
cmpl $0x10b, 0xac(%rsp) # imm = 0x10B
leaq 0x5fe9(%rip), %rax      # 0x1af61
leaq 0x5f01(%rip), %rcx      # 0x1ae80
cmoveq %rax, %rcx
movq %rcx, 0x98(%rsp)
leaq 0x8(%rsp), %rdi
xorl %r12d, %r12d
movq 0x68(%rsp), %rbx
movq %rdi, %r13
movq %rbx, %rsi
movl $0x52, %edx
movl 0x70(%rsp), %ecx
callq 0x11a5e
movq %rbx, %rbp
leaq 0xd0(%rsp), %rdi
movq %r13, %rsi
callq 0x2270
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x14fd6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
cmpb $0x0, 0x218(%rsp)
je 0x1504e
movl 0x210(%rsp), %eax
leal (%r12,%rax), %r14d
movl %r14d, %r15d
negl %r15d
cmovsl %r14d, %r15d
movl $0x1, %ebx
cmpl $0xa, %r15d
jb 0x15137
movl $0x4, %ebx
movl %r15d, %eax
cmpl $0x63, %eax
jbe 0x15128
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x15135
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x15137
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1500c
addl $-0x3, %ebx
jmp 0x15137
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x5ef9(%rip), %rsi      # 0x1af59
leaq 0x118(%rsp), %rdx
callq 0xdcc7
movq %rbx, %rdi
leaq 0x5ee6(%rip), %rsi      # 0x1af5d
callq 0x2380
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1509f
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x150a6
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x210(%rsp), %eax
leal (%r12,%rax), %r14d
movl %r14d, %r15d
negl %r15d
cmovsl %r14d, %r15d
movl $0x1, %ebx
cmpl $0xa, %r15d
jb 0x15283
movl $0x4, %ebx
movl %r15d, %eax
cmpl $0x63, %eax
jbe 0x1512d
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x15281
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x15283
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x150ea
addl $-0x3, %ebx
jmp 0x15283
addl $-0x2, %ebx
jmp 0x15137
addl $-0x2, %ebx
jmp 0x15283
decl %ebx
shrl $0x1f, %r14d
leal (%rbx,%r14), %esi
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
leaq 0x48(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x48(%rsp), %rdi
movl %ebx, %esi
movl %r15d, %edx
callq 0xdf80
movl $0x3, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x5dd8(%rip), %rcx      # 0x1af59
callq 0x2220
leaq 0x38(%rsp), %rbx
movq %rbx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x58(%rsp), %r14
leaq 0x18(%rsp), %r15
je 0x151b8
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x151be
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x3ee4(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r15, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x8(%rsp), %rsi
je 0x1520f
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x15216
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf8(%rsp), %rdi
callq 0x2270
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x15252
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x15269
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x15464
movq 0x58(%rsp), %rsi
jmp 0x1545c
decl %ebx
shrl $0x1f, %r14d
leal (%rbx,%r14), %esi
leaq 0x88(%rsp), %rax
movq %rax, 0x78(%rsp)
leaq 0x78(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x78(%rsp), %rdi
movl %ebx, %esi
movl %r15d, %edx
callq 0xdf80
movq 0x48(%rsp), %rcx
movl $0xf, %edi
leaq 0x58(%rsp), %r14
cmpq %r14, %rcx
je 0x152d2
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %r8
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x38(%rsp), %rbx
leaq 0x18(%rsp), %r15
jbe 0x15316
movl $0xf, %edi
leaq 0x88(%rsp), %r9
cmpq %r9, %rsi
je 0x15311
movq 0x88(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x15322
leaq 0x48(%rsp), %rdi
callq 0x20c0
jmp 0x15330
leaq 0x78(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %rbx, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x15350
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x15356
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x28(%rsp), %rdi
leaq 0x3d47(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r15, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x8(%rsp), %rsi
je 0x153ac
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x153b3
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf8(%rsp), %rdi
callq 0x2270
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x153ef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x15406
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x15428
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x1543f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x15464
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%rbp), %rdi
movq 0xf8(%rsp), %rdx
movq 0xd0(%rsp), %rcx
movq 0x98(%rsp), %rsi
xorl %eax, %eax
callq 0x22a0
incl %r12d
cmpl 0xa0(%rsp), %r12d
movq %rbp, %rbx
leaq 0x8(%rsp), %rdi
jne 0x14f98
jmp 0x15a29
cmpl $0x1, 0xa8(%rsp)
movq 0x68(%rsp), %rsi
ja 0x15a29
leaq 0x8(%rsp), %rdi
movl $0x52, %edx
movl 0x70(%rsp), %ecx
callq 0x11a5e
leaq 0xd0(%rsp), %rdi
leaq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x154fd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
cmpl $0x0, 0x98(%rsp)
jle 0x15a29
leaq 0x58(%rsp), %rbp
cmpl $0x10b, 0xac(%rsp) # imm = 0x10B
leaq 0x5a3f(%rip), %rax      # 0x1af61
leaq 0x5957(%rip), %rcx      # 0x1ae80
cmoveq %rax, %rcx
movq %rcx, 0xa0(%rsp)
leaq 0xf8(%rsp), %rbx
leaq 0x8(%rsp), %r15
leaq 0xb0(%rsp), %r14
xorl %r12d, %r12d
cmpb $0x0, 0x218(%rsp)
movq %r12, 0x70(%rsp)
je 0x155ce
movl 0x210(%rsp), %eax
leal (%r12,%rax), %r14d
movl %r14d, %r13d
negl %r13d
cmovsl %r14d, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
jb 0x156b6
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x156a4
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x156b3
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x156b6
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1558a
addl $-0x3, %r12d
jmp 0x156b6
movq %r14, %rdi
leaq 0x5981(%rip), %rsi      # 0x1af59
leaq 0x118(%rsp), %rdx
callq 0xdcc7
movq %r14, %rdi
leaq 0x596e(%rip), %rsi      # 0x1af5d
callq 0x2380
movq %rbp, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15617
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1561e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x210(%rsp), %eax
leal (%r12,%rax), %r14d
movl %r14d, %r13d
negl %r13d
cmovsl %r14d, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
jb 0x15807
movl $0x4, %r12d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x156aa
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x15804
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x15807
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x15664
addl $-0x3, %r12d
jmp 0x15807
addl $-0x2, %r12d
jmp 0x156b6
addl $-0x2, %r12d
jmp 0x15807
decl %r12d
shrl $0x1f, %r14d
leal (%r12,%r14), %esi
movq %rbp, 0x48(%rsp)
leaq 0x48(%rsp), %rbp
movq %rbp, %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x48(%rsp), %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0xdf80
movl $0x3, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x585d(%rip), %rcx      # 0x1af59
callq 0x2220
leaq 0x38(%rsp), %r12
movq %r12, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x18(%rsp), %r14
leaq 0x58(%rsp), %rbp
je 0x15733
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1573b
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x3967(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15787
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1578e
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2270
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x157c8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
leaq 0xb0(%rsp), %r14
je 0x157e7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
movq 0x70(%rsp), %r12
je 0x159ed
movq 0x58(%rsp), %rsi
jmp 0x159e5
decl %r12d
shrl $0x1f, %r14d
leal (%r12,%r14), %esi
leaq 0x88(%rsp), %rax
movq %rax, 0x78(%rsp)
leaq 0x78(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %r14d, %edi
addq 0x78(%rsp), %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0xdf80
movq 0x48(%rsp), %rcx
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x15852
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %r8
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x18(%rsp), %r14
leaq 0x38(%rsp), %r12
leaq 0x48(%rsp), %rdi
jbe 0x1589c
movl $0xf, %r10d
leaq 0x88(%rsp), %r9
cmpq %r9, %rsi
je 0x15897
movq 0x88(%rsp), %r10
cmpq %r10, %rax
jbe 0x158a3
callq 0x20c0
jmp 0x158b1
leaq 0x78(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %r12, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x158d1
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x158d9
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x28(%rsp), %rdi
leaq 0x37c4(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1592a
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x15931
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2270
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1596b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
leaq 0xb0(%rsp), %r14
je 0x1598a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
movq 0x70(%rsp), %r12
je 0x159b1
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x159c8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x159ed
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x68(%rsp), %rax
movq 0x308(%rax), %rdi
movq 0xf8(%rsp), %rdx
movq 0xd0(%rsp), %rcx
movq 0xa0(%rsp), %rsi
xorl %eax, %eax
callq 0x22a0
incl %r12d
cmpl 0x98(%rsp), %r12d
jne 0x1554d
movq 0xf0(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x4f1e(%rip), %rdx      # 0x1a95d
movq %rdx, %rsi
callq 0x3c42
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x15a6c
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x15a91
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x15ab6
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15adb
movq 0xe0(%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 0x15c86
jmp 0x15c86
jmp 0x15c86
jmp 0x15c86
jmp 0x15c86
jmp 0x15c86
jmp 0x15c86
movq %rax, %r14
jmp 0x15b68
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x15b46
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15b46
jmp 0x15bc1
jmp 0x15bc9
movq %rax, %r14
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x15b68
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x15c02
jmp 0x15c0f
jmp 0x15c86
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
jne 0x15c3d
jmp 0x15c4a
jmp 0x15c86
jmp 0x15c86
movq %rax, %r14
jmp 0x15bf3
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x15bd1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15bd1
movq %rax, %r14
jmp 0x15c4a
movq %rax, %r14
jmp 0x15c0f
movq %rax, %r14
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x15bf3
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x15c0f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x15c89
movq 0xc0(%rsp), %rsi
jmp 0x15c7a
jmp 0x15c86
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x15c4a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x15c89
movq 0x58(%rsp), %rsi
jmp 0x15c7a
jmp 0x15c86
movq %rax, %r14
movq 0x158(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15c89
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x15c89
jmp 0x15c86
movq %rax, %r14
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x15cae
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x15cd3
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x15cf8
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x15d1d
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq %r14, %rdi
callq 0x2330
nop