// File: /workspace/github_cpp_makefile_star2_O3/superyuan[P]refeditor/DiploidConstructor.cpp
// Function: main
int main(int argc, char *argv[])
{	
	string chrName = "", chrNameB = "";
	CLineFields inputReferenceGenomeFile;
	CLineFields genotypesFile;

	if (parseParameters (argc, argv) == false) 	{
		cerr << "Version: 1.0-r7" << endl;
		cerr << "Contact: shuaiyuan.emory@gmail.com" << endl << endl;		
		cerr << "Usage: " << argv[0] <<" -r haploid.fa -g genotypes -l length -o diploid.fa" << endl << endl;
		cerr << "Convert haploid reference genome to diploid reference genome according to the genotypes and sequencing read length" << endl << endl;
		cerr << "Example: " << argv[0] << " -r hg19.fa -g known.genotypes -l 36 -o diploid.fa" << endl;
		cerr << endl << "Parameters (mandatory): " << endl;
		cerr << "  -r\t\thaploid reference genome file " << endl;
		cerr << "  -g\t\tgenotypes file" << endl;
		cerr << "  -l\t\tread length" << endl;
		cerr << "  -o\t\toutput diploid reference genome file " << endl;
		cerr << endl << "Parameters (optional): " << endl;
		cerr << "  -d\t\tmaximal deletion in a read and mapped to alternative alleles [default=0]" << endl;
		cerr << "  -s\t\tsex of the individual [default=\"m\"]" << endl;
		exit(-1);
	}
	
	if (inputReferenceGenomeFile.openFile(inputReferenceGenomeFileName)==false) {
		cerr << "Can not open file: " << inputReferenceGenomeFileName << endl;
		exit (-1);
	}

	if (genotypesFile.openFile(genotypesFileName)==false) {
		cerr << "Can not open file: " << genotypesFileName << endl;
		exit (-1);
	}	

	// step 1: read haploid reference genome file, double the total number of chromosomes.
	bool readin = false;
	inputReferenceGenomeFile.readline();
	while (inputReferenceGenomeFile.endofFile()==false) {
		if (inputReferenceGenomeFile.line[0]=='>') {
			chrName = inputReferenceGenomeFile.line.substr(1);
			chrNameB = chrName+"b";
			if (chrName != "chrY" || gender=='m') {
				chrMap[chrName] = "";
				chrMap[chrNameB] = "";
				chrNameList.push_back(chrName);			
				chrNameList.push_back(chrNameB);
				readin = true;
			} else {
				readin = false;  // skip chromosome Y for female individuals.
			}
		} else if (readin){
			
			chrMap[chrName] += inputReferenceGenomeFile.line;
			chrMap[chrNameB] += inputReferenceGenomeFile.line;
		}
		inputReferenceGenomeFile.readline();
	}	
	inputReferenceGenomeFile.closeFile();

	// step 2: use genotype file to modify the chromosomes. double the chromosome numbers.
	if (genotypesFile.isOpen()) {
		int refColumn = -1, altColumn=-1;
		genotypesFile.readline();
		while(genotypesFile.endofFile()==false) {

			if ((genotypesFile.field.size()>=5) && (genotypesFile.field[3].length()==1) && (genotypesFile.field[4].length()==1))
			{
				unsigned int pos = atoi(genotypesFile.field[2].c_str());
				chrName = genotypesFile.field[1];
				chrNameB = chrName+"b";
			
				if (chrMap[chrName].length()<pos) {
					cerr << "Warning!!! genotype is out of range at: " << chrName << ": " << genotypesFile.field[2] << endl;
				} else {
					// decide which is ref and which is non-ref
					if (toupper(chrMap[chrName][pos-1]) == toupper(genotypesFile.field[4][0])) {
						refColumn = 4;
						altColumn = 3;
					}
					else {
						refColumn = 3;
						altColumn = 4;
					}

					// if genotype is alt/alt, then we still need to change reference allele.
					if (chrMap[chrName][pos-1] >='A' && chrMap[chrName][pos-1] <='Z') {
						chrMap[chrName][pos-1] = toupper(genotypesFile.field[refColumn][0]);
						chrMap[chrNameB][pos-1] = toupper(genotypesFile.field[altColumn][0]);
					}
					else {
						chrMap[chrName][pos-1] = tolower(genotypesFile.field[refColumn][0]);
						chrMap[chrNameB][pos-1] = tolower(genotypesFile.field[altColumn][0]);
					}
				}
			}
			genotypesFile.readline();
		}
		genotypesFile.closeFile();
	} 
	contextLength = 2*readLength - 1 + 2*maxDeletion;
	outputReferenceGenomeFile.open(outputReferenceGenomeFileName);
	dipmapFile.open(dipmapFileName);

	// step 3: create mini chromosomes and append them to the end of reference allele.
	for (int i=0; i<(int)chrNameList.size(); i++) {
		chrName = chrNameList[i];		
		if (chrName[chrName.length()-1] == 'b')
			extendFromDiploid(chrName);
	}

	// step 4: print out the reference allele, which has already been extended by mini chromosomes.
	for (int i=0; i<(int)chrNameList.size(); i++) {
		chrName = chrNameList[i];		
		if (chrName[chrName.length()-1] != 'b')
			printHaploid(chrName);
	}
	outputReferenceGenomeFile << endl;
	dipmapFile.close();
	outputReferenceGenomeFile.close();
	
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3ba8(%rip), %r14      # 0x727a
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x563a
leaq 0x108(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xf8(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x563a
leaq 0x208(%rsp), %rdi
callq 0x5fa8
leaq 0x180(%rsp), %rdi
callq 0x5fa8
leaq 0x3b89(%rip), %r13      # 0x72ab
movq 0x688f(%rip), %r15      # 0x9fb8
leaq 0x38d4(%rip), %r12      # 0x7004
movl %ebp, 0xa8(%rsp)
movl %ebp, %edi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x3080
cmpl $0x66, %eax
jle 0x376a
leal -0x6c(%rax), %ecx
cmpl $0x7, %ecx
ja 0x377f
movslq (%r12,%rcx,4), %rax
addq %r12, %rax
jmpq *%rax
movq (%r15), %rdi
callq 0x3320
movl %eax, 0x6ef8(%rip)      # 0xa660
jmp 0x3737
cmpl $0x64, %eax
jne 0x3795
movq (%r15), %rdi
callq 0x3320
movl %eax, 0x6ee7(%rip)      # 0xa664
jmp 0x3737
cmpl $0x67, %eax
jne 0x3737
movq (%r15), %rsi
leaq 0x6dd2(%rip), %rdi      # 0xa560
callq 0x3200
jmp 0x3737
cmpl $-0x1, %eax
je 0x3824
cmpl $0x3f, %eax
jne 0x3737
jmp 0x4a18
movq (%r15), %rsi
leaq 0x6aae(%rip), %rdi      # 0xa260
callq 0x3200
jmp 0x3737
movq (%r15), %rax
movb (%rax), %al
movb %al, 0x6a59(%rip)       # 0xa220
jmp 0x3737
movq %r12, %rbp
movq (%r15), %r12
leaq 0x6b87(%rip), %rdi      # 0xa360
movq %r12, %rsi
callq 0x3200
movq %r15, %r14
movq %rbx, %r15
leaq 0x6c72(%rip), %rbx      # 0xa460
movq %rbx, %rdi
movq %r12, %rsi
movq %rbp, %r12
movl 0xa8(%rsp), %ebp
callq 0x3200
movq %rbx, %rdi
callq 0x3100
movabsq $0x70616d7069642e, %rcx # imm = 0x70616D7069642E
movq %rcx, (%rax,%rbx)
movq %r15, %rbx
movq %r14, %r15
jmp 0x3737
cmpb $0x0, 0x6a35(%rip)      # 0xa260
je 0x4a18
cmpb $0x0, 0x6d28(%rip)      # 0xa560
je 0x4a18
cmpb $0x0, 0x6b1b(%rip)      # 0xa360
je 0x4a18
cmpl $0x0, 0x6e0e(%rip)      # 0xa660
je 0x4a18
leaq 0x6a01(%rip), %rsi      # 0xa260
leaq 0x208(%rsp), %rdi
callq 0x5efa
testb %al, %al
je 0x4c99
leaq 0x6ce5(%rip), %rsi      # 0xa560
leaq 0x180(%rsp), %rdi
callq 0x5efa
testb %al, %al
je 0x4ce0
leaq 0x298(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x39d6(%rip), %rsi      # 0x7279
leaq 0x39d0(%rip), %rdx      # 0x727a
leaq 0x288(%rsp), %rdi
callq 0x563a
leaq 0x208(%rsp), %rdi
leaq 0x288(%rsp), %rdx
movl $0x1, %esi
callq 0x5fdc
movq 0x288(%rsp), %rdi
cmpq %r14, %rdi
je 0x38ee
movq 0x298(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x278(%rsp), %r13
xorl %ebp, %ebp
leaq 0x208(%rsp), %r14
leaq 0x20(%rsp), %r15
leaq 0x40(%rsp), %r12
leaq 0x268(%rsp), %rbx
movq %r14, %rdi
callq 0x5fc8
testb %al, %al
jne 0x3b1f
movq 0x228(%rsp), %rax
cmpb $0x3e, (%rax)
jne 0x3a6b
movl $0x1, %edx
movq %r15, %rdi
leaq 0x228(%rsp), %rsi
movq $-0x1, %rcx
callq 0x3250
movq %r12, %rdi
movq %r15, %rsi
callq 0x32a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3976
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x55a4
movq %r15, %rdi
leaq 0x38dc(%rip), %rsi      # 0x727b
callq 0x3410
leaq 0xf8(%rsp), %rdi
movq %r15, %rsi
callq 0x32a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x39d0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
movq %r12, %rdi
leaq 0x38a3(%rip), %rsi      # 0x727d
callq 0x30b0
testl %eax, %eax
jne 0x39f0
cmpb $0x6d, 0x6836(%rip)     # 0xa220
jne 0x3ac9
leaq 0x7079(%rip), %rdi      # 0xaa70
movq %r12, %rsi
callq 0x507c
movq 0x8(%rax), %rdx
movq %rax, %rdi
xorl %esi, %esi
leaq 0x386b(%rip), %rcx      # 0x727a
xorl %r8d, %r8d
callq 0x3310
leaq 0x7052(%rip), %rdi      # 0xaa70
leaq 0xf8(%rsp), %rsi
callq 0x507c
movq 0x8(%rax), %rdx
movq %rax, %rdi
xorl %esi, %esi
leaq 0x383f(%rip), %rcx      # 0x727a
xorl %r8d, %r8d
callq 0x3310
leaq 0x7056(%rip), %rdi      # 0xaaa0
movq %r12, %rsi
callq 0x50f8
movb $0x1, %bpl
leaq 0x7044(%rip), %rdi      # 0xaaa0
leaq 0xf8(%rsp), %rsi
callq 0x50f8
jmp 0x3acb
testb $0x1, %bpl
je 0x3ac9
leaq 0x6ff8(%rip), %rdi      # 0xaa70
movq %r12, %rsi
callq 0x507c
movq 0x228(%rsp), %rsi
movq 0x230(%rsp), %rdx
movq %rax, %rdi
callq 0x30c0
leaq 0x6fd1(%rip), %rdi      # 0xaa70
leaq 0xf8(%rsp), %rsi
callq 0x507c
movb $0x1, %bpl
movq 0x228(%rsp), %rsi
movq 0x230(%rsp), %rdx
movq %rax, %rdi
callq 0x30c0
jmp 0x3acb
xorl %ebp, %ebp
movq %r13, 0x268(%rsp)
movq %rbx, %rdi
leaq 0x379c(%rip), %rsi      # 0x7279
leaq 0x3796(%rip), %rdx      # 0x727a
callq 0x563a
movq %r14, %rdi
movl $0x1, %esi
movq %rbx, %rdx
callq 0x5fdc
movq 0x268(%rsp), %rdi
cmpq %r13, %rdi
je 0x3912
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x3240
jmp 0x3912
leaq 0x208(%rsp), %rdi
callq 0x5f50
leaq 0x180(%rsp), %rdi
callq 0x5f5a
testb %al, %al
je 0x3ee5
leaq 0x258(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3725(%rip), %rsi      # 0x7279
leaq 0x371f(%rip), %rdx      # 0x727a
leaq 0x248(%rsp), %rdi
callq 0x563a
leaq 0x180(%rsp), %rdi
leaq 0x248(%rsp), %rdx
movl $0x1, %esi
callq 0x5fdc
movq 0x248(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b9f
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x20(%rsp), %rbx
leaq 0x1c0(%rsp), %r15
leaq 0x180(%rsp), %rdi
callq 0x5fc8
testb %al, %al
jne 0x3ed8
movq 0x180(%rsp), %r14
movq 0x188(%rsp), %rax
subq %r14, %rax
cmpq $0x81, %rax
jb 0x3e6f
cmpq $0x1, 0x68(%r14)
jne 0x3e6f
cmpq $0x1, 0x88(%r14)
jne 0x3e6f
movq 0x40(%r14), %rdi
callq 0x3320
movl %eax, %ebp
addq $0x20, %r14
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x3130
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %r14
movq %rbx, %rdi
callq 0x55a4
movq %r14, %rdi
leaq 0x363a(%rip), %rsi      # 0x727b
callq 0x3410
leaq 0xf8(%rsp), %rdi
movq %r14, %rsi
callq 0x32a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3c72
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x6df7(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
movl %ebp, %ecx
cmpq %rcx, 0x8(%rax)
jae 0x3d1b
movl $0x28, %edx
movq 0x6355(%rip), %rdi      # 0x9ff0
leaq 0x35e0(%rip), %rsi      # 0x7282
callq 0x3270
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x6338(%rip), %rdi      # 0x9ff0
callq 0x3270
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
leaq 0x351a(%rip), %rsi      # 0x71e9
callq 0x3270
movq 0x180(%rsp), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %r14, %rdi
callq 0x3270
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
jmp 0x3e6f
leaq 0x6d4e(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
decl %ebp
movq (%rax), %rax
movsbl (%rax,%rbp), %edi
callq 0x33f0
movl %eax, %r14d
movq 0x180(%rsp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %edi
callq 0x33f0
xorl %r12d, %r12d
cmpl %eax, %r14d
sete %r14b
leaq 0x6d0b(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
movb %r14b, %r12b
movl $0x4, %r13d
subq %r12, %r13
addq $0x3, %r12
movq (%rax), %rax
cmpb $0x41, (%rax,%rbp)
jl 0x3e06
leaq 0x6ce1(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
movq (%rax), %rax
cmpb $0x5a, (%rax,%rbp)
jg 0x3e06
movq 0x180(%rsp), %rax
shll $0x5, %r12d
movq (%rax,%r12), %rax
movsbl (%rax), %edi
callq 0x33f0
movl %eax, %r14d
leaq 0x6cac(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
movq (%rax), %rax
movb %r14b, (%rax,%rbp)
movq 0x180(%rsp), %rax
shll $0x5, %r13d
movq (%rax,%r13), %rax
movsbl (%rax), %edi
callq 0x33f0
movl %eax, %r14d
leaq 0x6c79(%rip), %rdi      # 0xaa70
leaq 0xf8(%rsp), %rsi
callq 0x507c
jmp 0x3e68
movq 0x180(%rsp), %rax
shll $0x5, %r12d
movq (%rax,%r12), %rax
movsbl (%rax), %edi
callq 0x32e0
movl %eax, %r14d
leaq 0x6c48(%rip), %rdi      # 0xaa70
leaq 0x40(%rsp), %rsi
callq 0x507c
movq (%rax), %rax
movb %r14b, (%rax,%rbp)
movq 0x180(%rsp), %rax
shll $0x5, %r13d
movq (%rax,%r13), %rax
movsbl (%rax), %edi
callq 0x32e0
movl %eax, %r14d
leaq 0x6c15(%rip), %rdi      # 0xaa70
leaq 0xf8(%rsp), %rsi
callq 0x507c
movq (%rax), %rax
movb %r14b, (%rax,%rbp)
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq %r15, %rdi
leaq 0x33f0(%rip), %rsi      # 0x7279
leaq 0x33ea(%rip), %rdx      # 0x727a
callq 0x563a
leaq 0x180(%rsp), %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0x5fdc
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3bac
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x3240
jmp 0x3bac
leaq 0x180(%rsp), %rdi
callq 0x5f50
movl 0x6779(%rip), %eax      # 0xa664
addl 0x676f(%rip), %eax      # 0xa660
leal -0x1(,%rax,2), %eax
movl %eax, 0x6b6a(%rip)      # 0xaa68
leaq 0x6963(%rip), %rdi      # 0xa868
leaq 0x6454(%rip), %rsi      # 0xa360
movl $0x10, %edx
callq 0x3050
leaq 0x674b(%rip), %rdi      # 0xa668
leaq 0x653c(%rip), %rsi      # 0xa460
movl $0x10, %edx
callq 0x3050
movq 0x6b73(%rip), %rcx      # 0xaaa8
movq 0x6b64(%rip), %rax      # 0xaaa0
subq %rax, %rcx
shrq $0x5, %rcx
testl %ecx, %ecx
jle 0x491c
leaq 0x6b1e(%rip), %r13      # 0xaa70
leaq 0x160(%rsp), %rbp
movq %rsp, %r12
xorl %esi, %esi
movq %rsi, 0x1e0(%rsp)
shlq $0x5, %rsi
addq %rax, %rsi
leaq 0x40(%rsp), %rdi
callq 0x3130
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
cmpb $0x62, -0x1(%rsi,%rdx)
jne 0x46e8
addq %rsi, %rdx
leaq 0x128(%rsp), %rax
movq %rax, 0x118(%rsp)
leaq 0x118(%rsp), %rdi
callq 0x55a4
movq 0x118(%rsp), %rax
movq 0x120(%rsp), %rcx
cmpb $0x62, -0x1(%rax,%rcx)
jne 0x4c5b
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x4e4e4e4e, 0x30(%rsp) # imm = 0x4E4E4E4E
movq $0x4, 0x28(%rsp)
movb $0x0, 0x34(%rsp)
movq %r13, %rdi
leaq 0x118(%rsp), %rsi
callq 0x507c
leaq 0xc0(%rsp), %rcx
movq %rcx, 0xb0(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0xb0(%rsp), %rdi
callq 0x55a4
movq 0x120(%rsp), %rcx
decq %rcx
movq %rbp, %rdi
leaq 0x118(%rsp), %rsi
xorl %edx, %edx
callq 0x3250
movq %r13, %rdi
movq %rbp, %rsi
callq 0x507c
leaq 0x148(%rsp), %rcx
movq %rcx, 0x138(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x55a4
movq 0xb8(%rsp), %r15
testl %r15d, %r15d
jle 0x4638
movl 0x65df(%rip), %eax      # 0xa664
addl 0x65d5(%rip), %eax      # 0xa660
movl %r15d, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movl $0x1, %esi
xorl %edi, %edi
movq %rax, 0xa0(%rsp)
movl %eax, %r8d
movq %r15, 0x1f0(%rsp)
movq %rdx, 0x1e8(%rsp)
cmpl %r15d, %r8d
movl %r15d, %ebx
cmovll %r8d, %ebx
movq 0xb0(%rsp), %rax
movb (%rax,%rdi), %al
movq 0x138(%rsp), %rcx
cmpb (%rcx,%rdi), %al
jne 0x40e0
incq %rdi
jmp 0x4629
movl %r8d, 0xd4(%rsp)
movq %rsi, 0x158(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
xorl %eax, %eax
movq %rax, 0x70(%rsp)
movq %rax, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq %rdi, %rcx
movl %ecx, %r14d
subl 0xa0(%rsp), %r14d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovsl %eax, %r14d
leal 0x1(%r14), %edx
movq %rdi, %r13
movl %ecx, %eax
subl %edx, %eax
movslq %eax, %rcx
movq %r12, %rdi
leaq 0x138(%rsp), %rsi
callq 0x3250
leaq 0x60(%rsp), %rdi
movq %r12, %rsi
callq 0x51f8
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x416c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
addl $0x2, %r14d
movl %r14d, (%rsp)
movq 0x88(%rsp), %rsi
cmpq 0x90(%rsp), %rsi
je 0x4197
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x88(%rsp)
jmp 0x41a7
leaq 0x80(%rsp), %rdi
movq %r12, %rdx
callq 0x5468
movq 0xb0(%rsp), %rax
movsbl (%rax,%r13), %esi
movq 0x60(%rsp), %rdi
callq 0x31e0
movq 0xa0(%rsp), %rax
addl %r13d, %eax
cmpl %r15d, %eax
cmovgel %r15d, %eax
incq %r13
cltq
movq %r13, 0x1f8(%rsp)
cmpq %rax, %r13
jge 0x4492
movl %ebx, %eax
movq %rax, 0x200(%rsp)
movq 0x158(%rsp), %r15
movq 0x68(%rsp), %rbx
subq 0x60(%rsp), %rbx
shrq $0x5, %rbx
movq 0xb0(%rsp), %rax
movb (%rax,%r15), %al
movq 0x138(%rsp), %rcx
cmpb (%rcx,%r15), %al
jne 0x42b4
testl %ebx, %ebx
jle 0x4481
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
xorl %r14d, %r14d
movq 0x60(%rsp), %rax
movq 0x138(%rsp), %rcx
movb (%rcx,%r15), %bpl
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x55a4
movq 0x8(%rsp), %rsi
movsbl %bpl, %r8d
movl $0x1, %ecx
movq %r12, %rdi
xorl %edx, %edx
callq 0x3400
movq 0x60(%rsp), %rdi
addq %r14, %rdi
movq %r12, %rsi
callq 0x32a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x42a6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
addq $0x20, %r14
decq %rbx
jne 0x4235
jmp 0x4481
testl %ebx, %ebx
jle 0x4481
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
movq %rbx, %r14
shlq $0x5, %r14
xorl %ebp, %ebp
xorl %r13d, %r13d
movq %rbx, 0xa8(%rsp)
movq 0x60(%rsp), %rsi
movq %r12, %rbx
movl 0x8(%rsi,%rbp), %r12d
addq %rbp, %rsi
subl 0xa0(%rsp), %r12d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovsl %eax, %r12d
incl %r12d
movq %rbx, %rdi
movq %r12, %rdx
movq $-0x1, %rcx
callq 0x3250
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0x51f8
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x4334
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x80(%rsp), %rax
addl (%rax,%r13,4), %r12d
movq 0x88(%rsp), %rsi
movl %r12d, (%rsp)
cmpq 0x90(%rsp), %rsi
je 0x436a
movl %r12d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x88(%rsp)
movq %rsp, %rbx
jmp 0x437d
leaq 0x80(%rsp), %rdi
movq %rsp, %rbx
movq %rbx, %rdx
callq 0x5468
movq 0x60(%rsp), %rax
movq 0x138(%rsp), %rcx
movb (%rcx,%r15), %r12b
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x55a4
movq 0x8(%rsp), %rsi
movsbl %r12b, %r8d
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3400
movq 0x60(%rsp), %rdi
addq %rbp, %rdi
movq %rbx, %rsi
callq 0x32a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x43ee
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x60(%rsp), %rax
movq 0xb0(%rsp), %rcx
movb (%rcx,%r15), %r12b
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x55a4
movq 0x8(%rsp), %rsi
movsbl %r12b, %r8d
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3400
movq %rbx, %r12
movq 0x60(%rsp), %rdi
addq %r14, %rdi
movq %rbx, %rsi
callq 0x32a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x4465
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
incq %r13
addq $0x20, %r14
addq $0x20, %rbp
movq 0xa8(%rsp), %rbx
cmpq %r13, %rbx
jne 0x42d6
incq %r15
cmpq 0x200(%rsp), %r15
jne 0x41f8
movq 0x68(%rsp), %rbx
subq 0x60(%rsp), %rbx
shrq $0x5, %rbx
testl %ebx, %ebx
leaq 0x65c7(%rip), %r13      # 0xaa70
leaq 0x160(%rsp), %rbp
jle 0x45d7
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
xorl %r14d, %r14d
movq 0x160(%rsp), %rsi
movq 0x168(%rsp), %rdx
leaq 0x6191(%rip), %rdi      # 0xa668
callq 0x3270
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2d8b(%rip), %rsi      # 0x7279
callq 0x3270
movq %r13, %rdi
movq %rbp, %rsi
callq 0x507c
movq 0x8(%rax), %rsi
incq %rsi
movq %r12, %rdi
callq 0x3160
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2d5a(%rip), %rsi      # 0x7279
callq 0x3270
movq 0x60(%rsp), %rax
movq 0x8(%rax,%r14,8), %rsi
movq %r12, %rdi
callq 0x3160
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2d34(%rip), %rsi      # 0x7279
callq 0x3270
movq 0x60(%rsp), %r15
movq %r13, %rdi
movq %rbp, %rsi
callq 0x507c
movq (%r15,%r14,8), %rsi
movq 0x8(%r15,%r14,8), %rdx
movq %rax, %rdi
callq 0x30c0
movq %r13, %rdi
movq %rbp, %rsi
callq 0x507c
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rax, %rdi
callq 0x30c0
movq 0x80(%rsp), %rax
movl (%rax,%r14), %esi
leaq 0x60cd(%rip), %rdi      # 0xa668
callq 0x3380
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
movq %r12, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
addq $0x4, %r14
decq %rbx
jne 0x44c0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x45f4
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x3240
leaq 0x60(%rsp), %rdi
callq 0x501e
movq %rsp, %r12
movq 0x1f0(%rsp), %r15
movq 0x1e8(%rsp), %rdx
movq 0x158(%rsp), %rsi
movq 0x1f8(%rsp), %rdi
movl 0xd4(%rsp), %r8d
incq %rsi
incl %r8d
cmpq %rdx, %rdi
jne 0x40b6
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x465d
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x4682
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x46a7
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x46c3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x46e8
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x1e0(%rsp), %rsi
incq %rsi
movq 0x63ae(%rip), %rcx      # 0xaaa8
movq 0x639f(%rip), %rax      # 0xaaa0
subq %rax, %rcx
shrq $0x5, %rcx
movslq %ecx, %rdx
cmpq %rdx, %rsi
jl 0x3f5f
testl %ecx, %ecx
jle 0x491c
leaq 0xe8(%rsp), %r14
xorl %r12d, %r12d
leaq 0x40(%rsp), %r15
leaq 0x6135(%rip), %r13      # 0xa868
movl $0x88888889, %ebx       # imm = 0x88888889
leaq 0xb0(%rsp), %rbp
movq %r12, %rsi
shlq $0x5, %rsi
addq %rax, %rsi
movq %r15, %rdi
callq 0x3130
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
cmpb $0x62, -0x1(%rsi,%rdx)
je 0x48ec
addq %rsi, %rdx
movq %r14, 0xd8(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x55a4
movb 0x6353(%rip), %al       # 0xaad8
testb %al, %al
je 0x4912
movq 0xd8(%rsp), %rax
movq 0xe0(%rsp), %rcx
cmpb $0x62, -0x1(%rax,%rcx)
je 0x4c7a
leaq 0x62c1(%rip), %rdi      # 0xaa70
leaq 0xd8(%rsp), %rsi
callq 0x507c
leaq 0x30(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x55a4
movq 0x62d7(%rip), %rsi      # 0xaab8
movq 0x62d8(%rip), %rdx      # 0xaac0
movq %r13, %rdi
callq 0x3270
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2b68(%rip), %rsi      # 0x736a
callq 0x3270
movq 0xd8(%rsp), %rsi
movq 0xe0(%rsp), %rdx
movq %r15, %rdi
callq 0x3270
movq 0x629a(%rip), %rdx      # 0xaac0
movl $0x1, %r8d
leaq 0x6285(%rip), %rdi      # 0xaab8
xorl %esi, %esi
leaq 0x2b30(%rip), %rcx      # 0x736c
callq 0x3310
movq 0x28(%rsp), %r15
testl %r15d, %r15d
jle 0x48a6
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %r14d, %r14d
movl %r14d, %eax
imulq %rbx, %rax
shrq $0x25, %rax
imull $-0x3c, %eax, %eax
addl %r14d, %eax
jne 0x487e
movq 0x6249(%rip), %rsi      # 0xaab8
movq 0x624a(%rip), %rdx      # 0xaac0
movq %r13, %rdi
callq 0x3270
movq 0x20(%rsp), %rax
movb (%rax,%r14), %al
movb %al, 0xb0(%rsp)
movl $0x1, %edx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3270
incq %r14
cmpq %r14, %r15
jne 0x4855
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x48c2
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %r14
cmpq %r14, %rdi
leaq 0x40(%rsp), %r15
je 0x48ec
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3240
incq %r12
movq 0x61b2(%rip), %rcx      # 0xaaa8
movq 0x61a3(%rip), %rax      # 0xaaa0
subq %rax, %rcx
shrq $0x5, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r12
jl 0x4740
jmp 0x491c
callq 0x3430
jmp 0x478d
movq 0x5f45(%rip), %rax      # 0xa868
leaq 0x5f3e(%rip), %rdi      # 0xa868
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %esi
leaq 0x5f26(%rip), %rdi      # 0xa868
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0x5d12(%rip), %rdi      # 0xa668
callq 0x32d0
leaq 0x5f06(%rip), %rdi      # 0xa868
callq 0x32d0
leaq 0x1b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4988
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x180(%rsp), %rdi
callq 0x501e
leaq 0x238(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49b6
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x208(%rsp), %rdi
callq 0x501e
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x49e8
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x4a04
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3240
xorl %eax, %eax
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x55d1(%rip), %rdi      # 0x9ff0
leaq 0x25fe(%rip), %rsi      # 0x7024
movl $0xf, %edx
callq 0x3270
movq 0x55b9(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x55ad(%rip), %rdi      # 0x9ff0
leaq 0x25ea(%rip), %rsi      # 0x7034
movl $0x22, %edx
callq 0x3270
movq 0x5595(%rip), %rdi      # 0x9ff0
callq 0x3110
movq %rax, %rdi
callq 0x3110
movq 0x5581(%rip), %rdi      # 0x9ff0
leaq 0x25e1(%rip), %rsi      # 0x7057
movl $0x7, %edx
callq 0x3270
movq (%rbx), %rsi
movq 0x5566(%rip), %rdi      # 0x9ff0
callq 0x3220
movq %rax, %r14
leaq 0x25c6(%rip), %rsi      # 0x705f
movl $0x33, %edx
movq %rax, %rdi
callq 0x3270
movq %r14, %rdi
callq 0x3110
movq %rax, %rdi
callq 0x3110
movq 0x5533(%rip), %rdi      # 0x9ff0
leaq 0x25cf(%rip), %rsi      # 0x7093
movl $0x72, %edx
callq 0x3270
movq 0x551b(%rip), %rdi      # 0x9ff0
callq 0x3110
movq %rax, %rdi
callq 0x3110
movq 0x5507(%rip), %rdi      # 0x9ff0
leaq 0x2616(%rip), %rsi      # 0x7106
movl $0x9, %edx
callq 0x3270
movq (%rbx), %rsi
movq 0x54ec(%rip), %rdi      # 0x9ff0
callq 0x3220
movq %rax, %rbx
leaq 0x25fd(%rip), %rsi      # 0x7110
movl $0x32, %edx
movq %rax, %rdi
callq 0x3270
movq %rbx, %rdi
callq 0x3110
movq 0x54c1(%rip), %rdi      # 0x9ff0
callq 0x3110
movq %rax, %rbx
leaq 0x2605(%rip), %rsi      # 0x7143
movl $0x18, %edx
movq %rax, %rdi
callq 0x3270
movq %rbx, %rdi
callq 0x3110
movq 0x5496(%rip), %rdi      # 0x9ff0
leaq 0x25fb(%rip), %rsi      # 0x715c
movl $0x24, %edx
callq 0x3270
movq 0x547e(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x5472(%rip), %rdi      # 0x9ff0
leaq 0x25fc(%rip), %rsi      # 0x7181
movl $0x14, %edx
callq 0x3270
movq 0x545a(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x544e(%rip), %rdi      # 0x9ff0
leaq 0x25ed(%rip), %rsi      # 0x7196
movl $0x11, %edx
callq 0x3270
movq 0x5436(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x542a(%rip), %rdi      # 0x9ff0
leaq 0x25db(%rip), %rsi      # 0x71a8
movl $0x2b, %edx
callq 0x3270
movq 0x5412(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x5406(%rip), %rdi      # 0x9ff0
callq 0x3110
movq %rax, %rbx
leaq 0x25db(%rip), %rsi      # 0x71d4
movl $0x17, %edx
movq %rax, %rdi
callq 0x3270
movq %rbx, %rdi
callq 0x3110
movq 0x53db(%rip), %rdi      # 0x9ff0
leaq 0x25d0(%rip), %rsi      # 0x71ec
movl $0x4e, %edx
callq 0x3270
movq 0x53c3(%rip), %rdi      # 0x9ff0
callq 0x3110
movq 0x53b7(%rip), %rdi      # 0x9ff0
leaq 0x25fb(%rip), %rsi      # 0x723b
movl $0x29, %edx
callq 0x3270
movq 0x539f(%rip), %rdi      # 0x9ff0
callq 0x3110
jmp 0x4d25
leaq 0x2656(%rip), %rdi      # 0x72b8
leaq 0x2676(%rip), %rsi      # 0x72df
leaq 0x2686(%rip), %rcx      # 0x72f6
movl $0x59, %edx
callq 0x3150
leaq 0x26ad(%rip), %rdi      # 0x732e
leaq 0x2657(%rip), %rsi      # 0x72df
leaq 0x26c2(%rip), %rcx      # 0x7351
movl $0x4b, %edx
callq 0x3150
movq 0x5350(%rip), %rdi      # 0x9ff0
leaq 0x25be(%rip), %rsi      # 0x7265
movl $0x13, %edx
callq 0x3270
leaq 0x55a8(%rip), %rbx      # 0xa260
movq %rbx, %rdi
callq 0x3100
movq 0x5329(%rip), %rdi      # 0x9ff0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x3270
movq 0x5317(%rip), %rdi      # 0x9ff0
callq 0x3110
jmp 0x4d25
movq 0x5309(%rip), %rdi      # 0x9ff0
leaq 0x2577(%rip), %rsi      # 0x7265
movl $0x13, %edx
callq 0x3270
leaq 0x5861(%rip), %rbx      # 0xa560
movq %rbx, %rdi
callq 0x3100
movq 0x52e2(%rip), %rdi      # 0x9ff0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x3270
movq 0x52d0(%rip), %rdi      # 0x9ff0
callq 0x3110
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x3290
jmp 0x4e5e
movq %rax, %rbx
movq 0x248(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fb5
movq 0x258(%rsp), %rsi
jmp 0x4fad
jmp 0x4e5e
movq %rax, %rbx
movq 0x288(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fb5
movq 0x298(%rsp), %rsi
jmp 0x4fad
jmp 0x4e5e
movq %rax, %rbx
jmp 0x4fc2
movq %rax, %rbx
jmp 0x4fcf
movq %rax, %rbx
jmp 0x4ff4
jmp 0x4df6
jmp 0x4e5e
movq %rax, %rbx
jmp 0x4f4f
jmp 0x4e5e
movq %rax, %rbx
leaq 0xe8(%rsp), %r14
jmp 0x4e8d
jmp 0x4e5e
jmp 0x4e5e
jmp 0x4e5e
movq %rax, %rbx
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x4fb5
movq 0x1d0(%rsp), %rsi
jmp 0x4fad
jmp 0x4e5e
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4fb5
movq 0x30(%rsp), %rsi
jmp 0x4fad
jmp 0x4e5e
jmp 0x4e5e
movq %rax, %rbx
jmp 0x4f74
movq %rax, %rbx
jmp 0x4f2a
jmp 0x4e66
jmp 0x4e5e
jmp 0x4edb
jmp 0x4e5e
movq %rax, %rbx
movq 0x268(%rsp), %rdi
cmpq %r13, %rdi
je 0x4fb5
movq 0x278(%rsp), %rsi
jmp 0x4fad
jmp 0x4e5e
jmp 0x4eb9
jmp 0x4edb
jmp 0x4edb
movq %rax, %rbx
jmp 0x4fb5
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
leaq 0xe8(%rsp), %r14
je 0x4e8d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0xd8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fb5
movq 0xe8(%rsp), %rsi
jmp 0x4fad
jmp 0x4edb
jmp 0x4edb
jmp 0x4eb9
jmp 0x4eb9
jmp 0x4edb
jmp 0x4eb9
jmp 0x4edb
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x4ede
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3240
jmp 0x4ede
jmp 0x4edb
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x4efb
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x3240
leaq 0x60(%rsp), %rdi
callq 0x501e
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x4f2a
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x4f4f
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x4f74
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4f90
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x4fb5
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x180(%rsp), %rdi
callq 0x5136
leaq 0x208(%rsp), %rdi
callq 0x5136
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x4ff4
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3240
leaq 0x50(%rsp), %rax
movq 0x40(%rsp), %rdi
cmpq %rax, %rdi
je 0x5010
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3240
movq %rbx, %rdi
callq 0x33a0