// File: /workspace/github_cpp_makefile_star2_O1/allasandeep[P]LocationBoundaryFinder/prog1.cc
// Function: processNameFiles(std::basic_ifstream<char, std::char_traits<char>>&, pg_conn*)
void processNameFiles(ifstream& is, PGconn *db)
{
	//Required Variable declarations
	string line = "";
	string state_id = "";
	string county_id = "";
	string place_id = "";
	string region_type = "";
	string name = "";
	string year = "";
	int Id = 0;
	string type = "";
	bool insert_flag = false;
	char r_type;

	//Reading data from file line by line 
	while(std::getline(is,line))
	{
		//Getting the substrings and putting them into the respective variables
		insert_flag = false;
		state_id = line.substr(5,2);
		county_id = state_id + line.substr(7,3);
		year = line.substr(10,4);
		place_id = state_id + line.substr(14,5);
		region_type = line.substr(24,1); 
		name = line.substr(52,60);
		r_type = region_type[0];

		if( year == "2000" || year == "    ")
		{
			//Depending upon the type of region the ID and type variables are set and setting the insert_flag to true
			switch(r_type)
			{
				case 'S':
					type = "State";
					//checking whether the state length is 2
					if(state_id.length() == 2)
					{
						Id = stoi(state_id);
						insert_flag = true;
					}
					break;
				case 'C':
					type = "County";
					//checking whether the countyid length is 5
					if(county_id.length() == 5)
					{
						Id = stoi(county_id);
						insert_flag = true;
					}
					break;
				case 'M':
					type = "Subcounty";
					//checking whether the subcounty length is 7
					if(place_id.length() == 7)
					{
						Id = stoi(place_id);
						insert_flag = true;	      
					}
				case 'P':
					type = "Place";
					//checking whether the placeid length is 5
					if(place_id.length() == 7)
					{
						Id = stoi(place_id);
						insert_flag = true;
					}
			}

			PGresult * result = nullptr;
			//Psql Query by concatinating with c++ variables
			string query = "select id from region;";
			//Executing the query and storing the result in result.
			result = PQexec(db,query.c_str());
			//Number of tuples in the result
			int nrows = PQntuples(result);
			bool alreadyExits = false;

			if(nrows > 0)
			{
				for(int r = 0; r < nrows; r++)
				{
					if(PQgetvalue(result, r, 0) == to_string(Id))
					{
						alreadyExits = true;
					}
				}
			}	
					
			//Clearing the result
			PQclear(result);

			//If the insert flag is true then insert the data into database region
			if(insert_flag && !alreadyExits)
			{
				char query[100];
				char c_name[name.length()+1];
				strcpy(c_name, name.c_str());
				delSpaces(c_name);
				char c_type[type.length()+1];
				strcpy(c_type, type.c_str());

				//Psql Query by concatinating with c++ variables
				sprintf(query,"insert into region(id,iname,rtype) values(%d,'%s','%s');", Id, c_name, c_type);
				//Executing the query and storing the result in result.
				result = PQexec(db,query);

				//Clearing the result
				PQclear(result);			
			}
		}	
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rsi, -0x140(%rbp)
movq %rdi, %r14
leaq -0x1d8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x19c8(%rip), %rbx      # 0x41b7
leaq -0x1e8(%rbp), %rdi
movq %rbx, %rsi
movq %rbx, %rdx
callq 0x39de
leaq -0x98(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0xa8(%rbp), %rdi
movq %rbx, %rsi
movq %rbx, %rdx
callq 0x39de
leaq -0x178(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1987(%rip), %rdx      # 0x41b7
leaq -0x188(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x120(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1966(%rip), %rdx      # 0x41b7
leaq -0x130(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x1b8(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1945(%rip), %rdx      # 0x41b7
leaq -0x1c8(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x158(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1924(%rip), %rdx      # 0x41b7
leaq -0x168(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x198(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1903(%rip), %rdx      # 0x41b7
leaq -0x1a8(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x70(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x18e5(%rip), %rdx      # 0x41b7
leaq -0x80(%rbp), %rdi
movq %rdx, %rsi
callq 0x39de
leaq -0x100(%rbp), %r13
leaq -0x60(%rbp), %r12
movq $0x0, -0x38(%rbp)
movq %r14, -0x138(%rbp)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2290
leaq -0x1e8(%rbp), %rbx
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2030
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x30f1
movl $0x5, %edx
movl $0x2, %ecx
leaq -0x110(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq -0xa8(%rbp), %rdi
movq %r15, %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2979
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movl $0x7, %edx
movl $0x3, %ecx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2240
movq -0xa8(%rbp), %rcx
movq -0xa0(%rbp), %r8
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2090
movq %r13, -0x110(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x29d1
movq %rdx, -0x110(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x100(%rbp)
jmp 0x29d9
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x108(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x188(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2a21
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x2a3a
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2070
movl $0xa, %edx
movl $0x4, %ecx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq -0x1a8(%rbp), %rdi
movq %r15, %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2a79
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movl $0xe, %edx
movl $0x5, %ecx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2240
movq -0xa8(%rbp), %rcx
movq -0xa0(%rbp), %r8
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2090
movq %r13, -0x110(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2ad1
movq %rdx, -0x110(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x100(%rbp)
jmp 0x2ad9
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x108(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x130(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2b21
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x2b3a
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2070
movl $0x18, %edx
movl $0x1, %ecx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq -0x1c8(%rbp), %rdi
movq %r15, %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2b79
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movl $0x34, %edx
movl $0x3c, %ecx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2240
leaq -0x168(%rbp), %rdi
movq %r15, %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
cmpq %r13, %rdi
je 0x2bb8
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1c8(%rbp), %rax
movzbl (%rax), %ebx
leaq -0x1a8(%rbp), %r15
movq %r15, %rdi
leaq 0x15db(%rip), %rsi      # 0x41ae
callq 0x2220
testl %eax, %eax
je 0x2bf3
movq %r15, %rdi
leaq 0x15cd(%rip), %rsi      # 0x41b3
callq 0x2220
testl %eax, %eax
jne 0x28f8
movl $0x0, -0x2c(%rbp)
cmpl $0x4f, %ebx
jg 0x2cb4
cmpl $0x43, %ebx
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
je 0x2d5c
cmpl $0x4d, %ebx
jne 0x2d53
movq -0x78(%rbp), %rdx
movl $0x9, %r8d
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
leaq 0x1593(%rip), %rcx      # 0x41c5
callq 0x2110
movq -0x38(%rbp), %rbx
cmpq $0x7, -0x128(%rbp)
jne 0x2df1
movq -0x130(%rbp), %rbx
callq 0x2270
movq %rax, %r14
movl (%rax), %r15d
movl $0x0, (%rax)
movq %rbx, %rdi
leaq -0x110(%rbp), %rsi
movl $0xa, %edx
callq 0x2200
cmpq %rbx, -0x110(%rbp)
je 0x3237
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x324f
movq %rax, %rbx
movl (%r14), %eax
cmpl $0x22, %eax
je 0x324f
testl %eax, %eax
jne 0x2ca4
movl %r15d, (%r14)
movb $0x1, %al
movl %eax, -0x2c(%rbp)
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
jmp 0x2df8
cmpl $0x50, %ebx
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
je 0x2ddf
cmpl $0x53, %ebx
jne 0x2d53
movq -0x78(%rbp), %rdx
movl $0x5, %r8d
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
leaq 0x14d5(%rip), %rcx      # 0x41b8
callq 0x2110
movq -0x38(%rbp), %rbx
cmpq $0x2, -0xa0(%rbp)
jne 0x2de5
movq -0xa8(%rbp), %rbx
callq 0x2270
movq %rax, %r14
movl (%rax), %r15d
movl $0x0, (%rax)
movq %rbx, %rdi
leaq -0x110(%rbp), %rsi
movl $0xa, %edx
callq 0x2200
cmpq %rbx, -0x110(%rbp)
je 0x3243
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x325b
movq %rax, %rbx
movl (%r14), %eax
cmpl $0x22, %eax
jne 0x2e72
jmp 0x325b
movq -0x38(%rbp), %rbx
jmp 0x2e84
movq -0x78(%rbp), %rdx
movl $0x6, %r8d
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
leaq 0x144b(%rip), %rcx      # 0x41be
callq 0x2110
movq -0x38(%rbp), %rbx
cmpq $0x5, -0x180(%rbp)
jne 0x2de5
movq -0x188(%rbp), %rbx
callq 0x2270
movq %rax, %r14
movl (%rax), %r15d
movl $0x0, (%rax)
movq %rbx, %rdi
leaq -0x110(%rbp), %rsi
movl $0xa, %edx
callq 0x2200
cmpq %rbx, -0x110(%rbp)
je 0x321f
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x322b
movq %rax, %rbx
movl (%r14), %eax
cmpl $0x22, %eax
jne 0x2e72
jmp 0x322b
movq -0x38(%rbp), %rbx
jmp 0x2df8
movl $0x0, -0x2c(%rbp)
jmp 0x2e84
movl $0x0, -0x2c(%rbp)
movq -0x78(%rbp), %rdx
movl $0x5, %r8d
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
leaq 0x13c0(%rip), %rcx      # 0x41cf
callq 0x2110
cmpq $0x7, -0x128(%rbp)
jne 0x2e84
movq -0x130(%rbp), %rbx
callq 0x2270
movq %rax, %r14
movl (%rax), %r15d
movl $0x0, (%rax)
movq %rbx, %rdi
leaq -0x110(%rbp), %rsi
movl $0xa, %edx
callq 0x2200
cmpq %rbx, -0x110(%rbp)
je 0x3207
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x3213
movq %rax, %rbx
movl (%r14), %eax
cmpl $0x22, %eax
je 0x3213
testl %eax, %eax
jne 0x2e79
movl %r15d, (%r14)
movb $0x1, %al
movl %eax, -0x2c(%rbp)
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq %r12, %rdi
leaq 0x133f(%rip), %rsi      # 0x41d5
leaq 0x134e(%rip), %rdx      # 0x41eb
callq 0x39de
movq -0x60(%rbp), %rsi
movq -0x140(%rbp), %rdi
callq 0x22a0
movq %rax, %r15
movq %rax, %rdi
callq 0x21c0
testl %eax, %eax
movq %rbx, -0x38(%rbp)
jle 0x2ffd
movl %eax, -0x84(%rbp)
movq %r15, -0x148(%rbp)
movl %ebx, %eax
negl %eax
cmovsl %ebx, %eax
movl %eax, -0x3c(%rbp)
shrl $0x1f, %ebx
movq %rbx, -0x1f0(%rbp)
xorl %ebx, %ebx
xorl %esi, %esi
movq %r13, %r15
movq -0x148(%rbp), %rdi
movl %esi, -0x88(%rbp)
xorl %edx, %edx
callq 0x20b0
movl $0x1, %r13d
cmpl $0xa, -0x3c(%rbp)
jb 0x2f56
movl $0x4, %r13d
movl -0x3c(%rbp), %edx
cmpl $0x63, %edx
jbe 0x2f4d
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x2f53
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x2f56
movl %edx, %ecx
imulq %r14, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %ecx, %edx
ja 0x2f1a
addl $-0x3, %r13d
jmp 0x2f56
addl $-0x2, %r13d
jmp 0x2f56
decl %r13d
movq %rax, -0x1f8(%rbp)
movq -0x1f0(%rbp), %r14
leal (%r14,%r13), %esi
movq %r15, -0x110(%rbp)
leaq -0x110(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x2170
movq -0x110(%rbp), %rdi
addq %r14, %rdi
movl %r13d, %esi
movl -0x3c(%rbp), %edx
callq 0x396b
movq %r12, %rdi
movq -0x1f8(%rbp), %rsi
callq 0x2220
movl %eax, %r12d
movq -0x110(%rbp), %rdi
cmpq %r15, %rdi
movq %r15, %r13
je 0x2fc8
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2070
testl %r12d, %r12d
movzbl %bl, %ebx
movl $0x1, %eax
cmovel %eax, %ebx
movl -0x88(%rbp), %esi
incl %esi
cmpl -0x84(%rbp), %esi
leaq -0x60(%rbp), %r12
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
jne 0x2eee
movq -0x148(%rbp), %r15
jmp 0x2fff
xorl %ebx, %ebx
movq %r15, %rdi
callq 0x2120
movl -0x2c(%rbp), %eax
notb %al
orb %bl, %al
testb $0x1, %al
movq -0x138(%rbp), %r14
jne 0x30cf
movq %rsp, %r15
movq -0x160(%rbp), %rax
movq %rsp, %rbx
addq $0x10, %rax
andq $-0x10, %rax
subq %rax, %rbx
movq %rbx, %rsp
movq -0x168(%rbp), %rsi
movq %rbx, %rdi
callq 0x20f0
xorl %eax, %eax
movq %rbx, %rcx
movzbl (%rcx), %edx
cmpl $0x20, %edx
je 0x3060
testl %edx, %edx
je 0x3065
movslq %eax, %rsi
incl %eax
movb %dl, (%rbx,%rsi)
incq %rcx
jmp 0x304c
cltq
movb $0x0, (%rbx,%rax)
movq -0x78(%rbp), %rax
movq %rsp, %r14
addq $0x10, %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
movq -0x80(%rbp), %rsi
movq %r14, %rdi
callq 0x20f0
leaq -0x110(%rbp), %rdi
leaq 0x1152(%rip), %rsi      # 0x41ec
movq -0x38(%rbp), %rdx
movq %rbx, %rcx
movq %rdi, %rbx
movq %r14, %r8
xorl %eax, %eax
callq 0x2280
movq -0x140(%rbp), %rdi
movq %rbx, %rsi
callq 0x22a0
movq %rax, %rdi
callq 0x2120
movq %r15, %rsp
movq -0x138(%rbp), %r14
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x28f8
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2070
jmp 0x28f8
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x310a
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1a8(%rbp), %rdi
leaq -0x198(%rbp), %rax
cmpq %rax, %rdi
je 0x312c
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x314e
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1c8(%rbp), %rdi
leaq -0x1b8(%rbp), %rax
cmpq %rax, %rdi
je 0x3170
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x130(%rbp), %rdi
leaq -0x120(%rbp), %rax
cmpq %rax, %rdi
je 0x3192
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x31b4
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x31d6
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1e8(%rbp), %rdi
leaq -0x1d8(%rbp), %rax
cmpq %rax, %rdi
je 0x31f8
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x2070
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1017(%rip), %rdi      # 0x4225
callq 0x2080
leaq 0x100b(%rip), %rdi      # 0x4225
callq 0x2180
leaq 0xfff(%rip), %rdi       # 0x4225
callq 0x2080
leaq 0xff3(%rip), %rdi       # 0x4225
callq 0x2180
leaq 0xfe7(%rip), %rdi       # 0x4225
callq 0x2080
leaq 0xfdb(%rip), %rdi       # 0x4225
callq 0x2080
leaq 0xfcf(%rip), %rdi       # 0x4225
callq 0x2180
leaq 0xfc3(%rip), %rdi       # 0x4225
callq 0x2180
jmp 0x326d
jmp 0x326d
jmp 0x326d
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x32f2
movl %r15d, (%r14)
jmp 0x32f2
movq %rax, %rbx
jmp 0x330b
movq %rax, %rbx
jmp 0x332d
movq %rax, %rbx
jmp 0x334f
movq %rax, %rbx
jmp 0x3371
movq %rax, %rbx
jmp 0x3393
movq %rax, %rbx
jmp 0x33b5
movq %rax, %rbx
jmp 0x33d7
jmp 0x32ef
jmp 0x32d1
jmp 0x32d1
jmp 0x32d1
jmp 0x32d1
jmp 0x32ef
jmp 0x32ef
jmp 0x32ef
jmp 0x32ef
jmp 0x32d1
jmp 0x32ef
jmp 0x32d1
jmp 0x32ef
jmp 0x32ef
jmp 0x32d1
movq %rax, %rbx
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x32f2
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2070
jmp 0x32f2
movq %rax, %rbx
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x330b
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1a8(%rbp), %rdi
leaq -0x198(%rbp), %rax
cmpq %rax, %rdi
je 0x332d
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x334f
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1c8(%rbp), %rdi
leaq -0x1b8(%rbp), %rax
cmpq %rax, %rdi
je 0x3371
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x130(%rbp), %rdi
leaq -0x120(%rbp), %rax
cmpq %rax, %rdi
je 0x3393
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x33b5
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x33d7
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x2070
movq -0x1e8(%rbp), %rdi
leaq -0x1d8(%rbp), %rax
cmpq %rax, %rdi
je 0x33f9
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x2070
movq %rbx, %rdi
callq 0x21a0