// File: /workspace/github_cpp_makefile_star2_O3/AndrewAlbert[P]Compiler-Theory/SourceCode/codeGenerator.cpp
// Function: codeGenerator::mm2reg[abi:cxx11](int, int, int, bool, int, bool, int, bool)
string codeGenerator::mm2reg(int memType, int memSize, int FPoffset, bool isGlobal, int index, bool indirect, int indirect_type, bool useSP){
	if( !ShouldGenerate() ) return "";
	string reg, mem, pointer;
	
	// Set comment to indicate if this is Global/Local MM to Reg
	if( isGlobal ) comment("Global MM to Reg");
	else comment("Local MM to Reg");

	// Get either the FP or SP register based on 
	if(useSP) pointer = "SP_reg";
	else pointer = "FP_reg";

	// Ensure source size is at least 1 for loops
	if( memSize == 0 ) memSize++;

	// Indirect off of the top register
	if( indirect ){
		string indirect_reg = popStack('E', indirect_type);
		comment("indirect off " + indirect_reg);
		fprintf( oFile, "   TP_reg = %s + %d;\n", pointer.c_str(), FPoffset );
		
		reg = newRegister(memType);
		pushStack(reg, 'E', memType);
		fprintf( oFile, "   %s = MM[TP_reg + %s];\n", reg.c_str(), indirect_reg.c_str() );
	} 
	else{
		if( index < 0){
			for( index = 0; index < memSize; index++ ){
				reg = newRegister(memType);
				pushStack(reg, 'E', memType);
			
				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", reg.c_str(), mem.c_str() );
				else fprintf( oFile, "   %s = %s;\n", reg.c_str(), mem.c_str() );
			}
		}
		else{
			reg = newRegister(memType);
			pushStack(reg, 'E', memType);
		
			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", reg.c_str(), mem.c_str() );
			else fprintf( oFile, "   %s = %s;\n", reg.c_str(), mem.c_str() );
		}
	}
	return "";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %r8, 0x90(%rsp)
movl %edx, 0x4(%rsp)
movq %rdi, %rbx
cmpb $0x0, 0x330(%rsi)
je 0x139dd
movl %ecx, %r12d
movq %rsi, %r14
leaq 0xb0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xf8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x118(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
testb %r9b, %r9b
movq %rbx, 0x68(%rsp)
movl %r9d, 0x9c(%rsp)
je 0x139fe
leaq 0x1c8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x7558(%rip), %rsi      # 0x1aefa
leaq 0x7561(%rip), %rdx      # 0x1af0a
leaq 0x1b8(%rsp), %rdi
callq 0x3c42
movq 0x308(%r14), %rdi
movq 0x1b8(%rsp), %rdx
leaq 0x7053(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x1b8(%rsp), %rdi
jmp 0x13a4a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x6f72(%rip), %rdx      # 0x1a95d
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x3c42
movq %rbx, %rax
jmp 0x14860
leaq 0x1a8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x74fa(%rip), %rsi      # 0x1af0b
leaq 0x7502(%rip), %rdx      # 0x1af1a
leaq 0x198(%rsp), %rdi
callq 0x3c42
movq 0x308(%r14), %rdi
movq 0x198(%rsp), %rdx
leaq 0x6fe4(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq 0x198(%rsp), %rdi
cmpq %rbx, %rdi
je 0x13a5a
movq (%rbx), %rsi
incq %rsi
callq 0x2200
leaq 0x108(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x6f64(%rip), %rax      # 0x1a9d1
leaq 0x6f56(%rip), %rcx      # 0x1a9ca
cmpb $0x0, 0x248(%rsp)
cmovneq %rax, %rcx
movl $0x6, %r8d
xorl %esi, %esi
callq 0x22e0
cmpl $0x1, %r12d
adcl $0x0, %r12d
cmpb $0x0, 0x238(%rsp)
je 0x13bdc
movl 0x240(%rsp), %ecx
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
movl $0x45, %edx
callq 0x11a5e
leaq 0x7458(%rip), %rsi      # 0x1af1b
leaq 0x1d8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xdcc7
movq 0x308(%r14), %rdi
leaq 0x1e8(%rsp), %rbx
movq -0x10(%rbx), %rdx
leaq 0x6f30(%rip), %rsi      # 0x1aa1f
xorl %eax, %eax
callq 0x22a0
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x13b0f
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r14), %rdi
movq 0x108(%rsp), %rdx
leaq 0x7404(%rip), %rsi      # 0x1af29
movq 0x90(%rsp), %rcx
xorl %eax, %eax
callq 0x22a0
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
callq 0x12baa
leaq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x13b74
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x188(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
callq 0x3bac
cmpb $0x1, 0x330(%r14)
jne 0x14291
leaq 0x130(%r14), %rdi
leaq 0x178(%rsp), %rsi
callq 0x17610
cmpl $0x10b, 0x4(%rsp)       # imm = 0x10B
jne 0x1428a
incl 0x124(%r14)
jmp 0x14291
movl 0x230(%rsp), %ebp
testl %ebp, %ebp
movq 0x68(%rsp), %r15
js 0x13c98
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
callq 0x12baa
leaq 0xa0(%rsp), %rdi
leaq 0x48(%rsp), %rbx
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x13c30
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x168(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x158(%rsp), %rdi
callq 0x3bac
cmpb $0x1, 0x330(%r14)
jne 0x142ff
leaq 0x130(%r14), %rdi
leaq 0x158(%rsp), %rsi
callq 0x17610
cmpl $0x10b, 0x4(%rsp)       # imm = 0x10B
jne 0x142f8
incl 0x124(%r14)
jmp 0x142ff
movl %r12d, 0xc4(%rsp)
testl %r12d, %r12d
jle 0x147d5
leaq 0x130(%r14), %rax
movq %rax, 0x128(%rsp)
cmpl $0x10b, 0x4(%rsp)       # imm = 0x10B
leaq 0x38(%rsp), %rbp
leaq 0x7295(%rip), %rax      # 0x1af61
leaq 0x71ad(%rip), %rcx      # 0x1ae80
cmoveq %rax, %rcx
movq %rcx, 0x130(%rsp)
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
xorl %r12d, %r12d
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
callq 0x12baa
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
callq 0x2270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
movl 0x9c(%rsp), %ebx
leaq 0x148(%rsp), %r15
je 0x13d37
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq %r15, 0x138(%rsp)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x3bac
cmpb $0x1, 0x330(%r14)
jne 0x13d98
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rsi
callq 0x17610
cmpl $0x10b, 0x4(%rsp)       # imm = 0x10B
jne 0x13d91
incl 0x124(%r14)
jmp 0x13d98
incl 0x120(%r14)
movq 0x138(%rsp), %rdi
cmpq %r15, %rdi
je 0x13db5
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2200
testb %bl, %bl
je 0x13e22
movq 0x90(%rsp), %rax
leal (%r12,%rax), %ebp
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x13f09
movl $0x4, %r15d
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x13ef7
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x13f06
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x13f09
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x13de3
addl $-0x3, %r15d
jmp 0x13f09
leaq 0xc8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x7125(%rip), %rsi      # 0x1af59
leaq 0x108(%rsp), %rdx
callq 0xdcc7
movq %rbx, %rdi
leaq 0x7112(%rip), %rsi      # 0x1af5d
callq 0x2380
movq %rbp, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x13e73
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x13e7a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x90(%rsp), %rax
leal (%r12,%rax), %ebp
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x14066
movl $0x4, %r15d
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x13efd
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x14063
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x14066
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x13ebc
addl $-0x3, %r15d
jmp 0x14066
addl $-0x2, %r15d
jmp 0x13f09
addl $-0x2, %r15d
jmp 0x14066
decl %r15d
movq %r14, %r13
shrl $0x1f, %ebp
leal (%r15,%rbp), %esi
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movl $0x2d, %edx
callq 0x2240
movl %ebp, %edi
addq 0x28(%rsp), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0xdf80
movl $0x3, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x7005(%rip), %rcx      # 0x1af59
callq 0x2220
leaq 0x18(%rsp), %rbx
movq %rbx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x68(%rsp), %r15
leaq 0x38(%rsp), %rbp
movq %r13, %r14
je 0x13f8e
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x13f94
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8(%rsp), %rdi
leaq 0x510e(%rip), %rsi      # 0x190c6
callq 0x2380
leaq 0x58(%rsp), %r13
movq %r13, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x13fe5
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x13fed
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x2270
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x1402e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
je 0x1404b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1424e
movq 0x38(%rsp), %rsi
jmp 0x14246
decl %r15d
shrl $0x1f, %ebp
leal (%r15,%rbp), %esi
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x70(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %ebp, %edi
addq 0x70(%rsp), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0xdf80
movq 0x28(%rsp), %rcx
movl $0xf, %edi
leaq 0x38(%rsp), %rbp
cmpq %rbp, %rcx
je 0x140b3
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %r8
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movq 0x68(%rsp), %r15
leaq 0x18(%rsp), %rbx
jbe 0x140f4
movl $0xf, %edi
leaq 0x80(%rsp), %r9
cmpq %r9, %rsi
je 0x140ef
movq 0x80(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x14100
leaq 0x28(%rsp), %rdi
callq 0x20c0
jmp 0x1410e
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %rbx, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1412e
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x14134
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x8(%rsp), %rdi
leaq 0x4f69(%rip), %rsi      # 0x190c6
callq 0x2380
leaq 0x58(%rsp), %r13
movq %r13, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1418a
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x14192
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x2270
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x141d3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
je 0x141f0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x14212
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x14229
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x1424e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r14), %rdi
movq 0xa0(%rsp), %rdx
movq 0xe8(%rsp), %rcx
movq 0x130(%rsp), %rsi
xorl %eax, %eax
callq 0x22a0
incl %r12d
cmpl 0xc4(%rsp), %r12d
jne 0x13ce8
jmp 0x147d5
incl 0x120(%r14)
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x142ae
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r14), %rdi
movq 0xa0(%rsp), %rdx
leaq 0x58(%rsp), %rbx
movq -0x10(%rbx), %rcx
leaq 0x6c72(%rip), %rsi      # 0x1af3f
xorl %eax, %eax
callq 0x22a0
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
movq 0x68(%rsp), %r15
je 0x147d5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x147d5
incl 0x120(%r14)
movq 0x158(%rsp), %rdi
cmpq %r15, %rdi
je 0x1431c
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
cmpb $0x0, 0x9c(%rsp)
je 0x14392
addl 0x90(%rsp), %ebp
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x14483
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x14471
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x14480
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x14483
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x14350
addl $-0x3, %r15d
jmp 0x14483
leaq 0x6bc0(%rip), %rsi      # 0x1af59
leaq 0xc8(%rsp), %rdi
leaq 0x108(%rsp), %rdx
callq 0xdcc7
leaq 0x6ba8(%rip), %rsi      # 0x1af5d
leaq 0xc8(%rsp), %rdi
callq 0x2380
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x143e9
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x143f1
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addl 0x90(%rsp), %ebp
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x145ce
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x14477
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x145cb
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x145ce
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x14433
addl $-0x3, %r15d
jmp 0x145ce
addl $-0x2, %r15d
jmp 0x14483
addl $-0x2, %r15d
jmp 0x145ce
decl %r15d
shrl $0x1f, %ebp
leal (%r15,%rbp), %esi
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x28(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %ebp, %edi
leaq 0x28(%rsp), %r12
addq (%r12), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0xdf80
leaq 0x6a9b(%rip), %rcx      # 0x1af59
movl $0x3, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x58(%rsp), %r12
je 0x144fc
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x14503
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4ba0(%rip), %rsi      # 0x190c6
callq 0x2380
movq %r12, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1454e
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x14556
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rbx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x14597
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x145ae
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
movq 0x68(%rsp), %r15
je 0x1479d
movq 0x38(%rsp), %rsi
jmp 0x14795
decl %r15d
shrl $0x1f, %ebp
leal (%r15,%rbp), %esi
leaq 0x80(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x70(%rsp), %rdi
movl $0x2d, %edx
callq 0x2240
movl %ebp, %edi
addq 0x70(%rsp), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0xdf80
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
movq %r13, %rbp
cmpq %r13, %rcx
je 0x14627
movq 0x38(%rsp), %rdi
movq 0x70(%rsp), %rsi
cmpq %rdi, %rax
movq 0x68(%rsp), %r15
leaq 0x58(%rsp), %r13
jbe 0x14652
movl $0xf, %edi
cmpq %r12, %rsi
je 0x1464d
movq 0x80(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1465e
leaq 0x28(%rsp), %rdi
callq 0x20c0
jmp 0x1466c
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x14690
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x14696
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x4a0c(%rip), %rsi      # 0x190c6
leaq 0x8(%rsp), %rdi
callq 0x2380
movq %r13, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x146e7
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x146ef
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rbx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
movq %rbx, %rsi
callq 0x2270
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x14730
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1474b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x14765
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1477c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1479d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x308(%r14), %rdi
movq 0xa0(%rsp), %rdx
movq 0xe8(%rsp), %rcx
cmpl $0x10b, 0x4(%rsp)       # imm = 0x10B
jne 0x147c7
leaq 0x679c(%rip), %rsi      # 0x1af61
jmp 0x147ce
leaq 0x66b2(%rip), %rsi      # 0x1ae80
xorl %eax, %eax
callq 0x22a0
leaq 0x10(%r15), %rax
movq %rax, (%r15)
leaq 0x617a(%rip), %rdx      # 0x1a95d
movq %r15, %rdi
movq %rdx, %rsi
callq 0x3c42
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x14813
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x14838
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x1485d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2200
movq %r15, %rax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14895
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x14895
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x148b7
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x148b7
movq %r13, %rbp
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x14905
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x14905
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x148ef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x148ef
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
jne 0x14a87
jmp 0x14a9b
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x14a4a
jmp 0x14a98
jmp 0x14a98
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r15, %rdi
je 0x14a9b
movq 0x168(%rsp), %rsi
jmp 0x14a8c
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x14981
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x14981
jmp 0x14a98
jmp 0x1497e
jmp 0x14a98
jmp 0x14a98
jmp 0x14a98
jmp 0x14a98
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14a9b
movq 0x58(%rsp), %rsi
jmp 0x14a8c
jmp 0x14a98
jmp 0x14a98
movq %rax, %rbx
jmp 0x14a1e
movq %rbx, %rcx
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rcx, %rdi
je 0x149fc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x149fc
movq %rax, %rbx
jmp 0x14a78
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r15, %rdi
je 0x14a9b
movq 0x148(%rsp), %rsi
jmp 0x14a8c
movq %rax, %rbx
jmp 0x14a3a
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x14a1e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x14a3a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x14a9b
movq 0xd8(%rsp), %rsi
jmp 0x14a8c
jmp 0x14a98
movq %rbx, %rcx
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rcx, %rdi
je 0x14a78
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x14a9b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x14a9b
jmp 0x14a98
movq %rax, %rbx
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x14ac0
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x14ae5
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x14b0a
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x2330