// File: /workspace/github_cpp_makefile_star2_O3/suhasjains[P]AMR-Solver/src/input.cpp
// Function: std::read_vector_field_Bc(std::basic_ifstream<char, std::char_traits<char>>&, int)
void read_vector_field_Bc(ifstream& file, int number) {

	int blocknumber;	
	string line, str;
	string eastbc, westbc, northbc, southbc, topbc, bottombc;
	
	myOctree::FieldBc **xbc;
	myOctree::FieldBc **ybc;
	myOctree::FieldBc **zbc;
	double **xbcval;
	double **ybcval;
	double **zbcval;
	xbc = new myOctree::FieldBc* [3];
	ybc = new myOctree::FieldBc* [3];
	zbc = new myOctree::FieldBc* [3];
	xbcval = new double* [3];
	ybcval = new double* [3];
	zbcval = new double* [3];
	for(int i = 0; i < 3; i++) {
     		xbc[i] = new myOctree::FieldBc [2];	
     		ybc[i] = new myOctree::FieldBc [2];	
     		zbc[i] = new myOctree::FieldBc [2];	
     		xbcval[i] = new double [2];	
     		ybcval[i] = new double [2];	
     		zbcval[i] = new double [2];	
	}

	myOctree::FieldBc east_bc, west_bc, north_bc, south_bc, top_bc, bottom_bc;
	double eastbcval, westbcval, northbcval, southbcval, topbcval, bottombcval;
	
	//Skips if a line is empty		
	getline(file, line);
	while(line.empty()) {
		getline(file, line);
	}

	if(line=="vector_field_boundary_conditions") {

		file >> str;
	        if(str != "{") {
	                cerr << "Expected an opening bracket" <<endl;
	                exit(1);
	        }
		
		cerr << "\nSetting vector field boundary conditions " << endl;

		while(file) { 
	
		
			if(file >> str && str == "}") break;
	                //else    myOctree::vector_fields.push_back(str);
			cerr << str << endl;	
			
			for(int i = 0; i < number ; ++i) {
		
				file >> blocknumber; 
			
			
				file >> eastbc >> westbc >> northbc >> southbc >> topbc >> bottombc;
				file >> xbcval[0][0] >> xbcval[0][1] >> xbcval[1][0] >> xbcval[1][1] >> xbcval[2][0] >> xbcval[2][1];
				
				xbc[myOctree::XDIR][myOctree::RIGHT] = string_to_FieldBc(eastbc);		
				xbc[myOctree::XDIR][myOctree::LEFT] = string_to_FieldBc(westbc);		
				xbc[myOctree::YDIR][myOctree::RIGHT] = string_to_FieldBc(northbc);		
				xbc[myOctree::YDIR][myOctree::LEFT] = string_to_FieldBc(southbc);		
				xbc[myOctree::ZDIR][myOctree::RIGHT] = string_to_FieldBc(topbc);		
				xbc[myOctree::ZDIR][myOctree::LEFT] = string_to_FieldBc(bottombc);		

				//cerr << blocknumber << eastbc << westbc << northbc << southbc << topbc << bottombc << endl;

				file >> eastbc >> westbc >> northbc >> southbc >> topbc >> bottombc;
				file >> ybcval[0][0] >> ybcval[0][1] >> ybcval[1][0] >> ybcval[1][1] >> ybcval[2][0] >> ybcval[2][1];
				
				ybc[myOctree::XDIR][myOctree::RIGHT] = string_to_FieldBc(eastbc);		
				ybc[myOctree::XDIR][myOctree::LEFT] = string_to_FieldBc(westbc);		
				ybc[myOctree::YDIR][myOctree::RIGHT] = string_to_FieldBc(northbc);		
				ybc[myOctree::YDIR][myOctree::LEFT] = string_to_FieldBc(southbc);		
				ybc[myOctree::ZDIR][myOctree::RIGHT] = string_to_FieldBc(topbc);		
				ybc[myOctree::ZDIR][myOctree::LEFT] = string_to_FieldBc(bottombc);		

				//cerr << blocknumber << eastbc << westbc << northbc << southbc << topbc << bottombc << endl;

				file >> eastbc >> westbc >> northbc >> southbc >> topbc >> bottombc;
				file >> zbcval[0][0] >> zbcval[0][1] >> zbcval[1][0] >> zbcval[1][1] >> zbcval[2][0] >> zbcval[2][1];
				
				zbc[myOctree::XDIR][myOctree::RIGHT] = string_to_FieldBc(eastbc);		
				zbc[myOctree::XDIR][myOctree::LEFT] = string_to_FieldBc(westbc);		
				zbc[myOctree::YDIR][myOctree::RIGHT] = string_to_FieldBc(northbc);		
				zbc[myOctree::YDIR][myOctree::LEFT] = string_to_FieldBc(southbc);		
				zbc[myOctree::ZDIR][myOctree::RIGHT] = string_to_FieldBc(topbc);		
				zbc[myOctree::ZDIR][myOctree::LEFT] = string_to_FieldBc(bottombc);		

				//cerr << blocknumber << eastbc << westbc << northbc << southbc << topbc << bottombc << endl;


				/*add a function here which sets boundary condition and boundary values*/
				myOctree::set_VecFieldBc_VecFieldBcVal(blocknumber, str, xbc, ybc, zbc, xbcval, ybcval, zbcval);
			}
		}	
	}

	delete 	[] xbc;
      	delete	[] ybc;
      	delete	[] zbc;
	delete 	[] xbcval;
	delete 	[] ybcval;
	delete 	[] zbcval;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x398, %rsp            # imm = 0x398
movl %esi, -0x4c(%rbp)
movq %rdi, %r14
leaq -0x148(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x128(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x100(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0xe0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0xc0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0xa0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x80(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x60(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movl $0x18, %edi
callq 0x2030
movq %rax, -0x40(%rbp)
movl $0x18, %edi
callq 0x2030
movq %rax, -0x38(%rbp)
movl $0x18, %edi
callq 0x2030
movq %rax, -0x30(%rbp)
movl $0x18, %edi
callq 0x2030
movq %rax, -0x48(%rbp)
movl $0x18, %edi
callq 0x2030
movq %rax, %r15
movl $0x18, %edi
callq 0x2030
movq %rax, %r12
xorl %ebx, %ebx
movl $0x8, %edi
callq 0x2030
movq -0x40(%rbp), %rcx
movq %rax, (%rcx,%rbx)
movl $0x8, %edi
callq 0x2030
movq -0x38(%rbp), %rcx
movq %rax, (%rcx,%rbx)
movl $0x8, %edi
callq 0x2030
movq -0x30(%rbp), %rcx
movq %rax, (%rcx,%rbx)
movl $0x10, %edi
callq 0x2030
movq -0x48(%rbp), %rcx
movq %rax, (%rcx,%rbx)
movl $0x10, %edi
callq 0x2030
movq %rax, (%r15,%rbx)
movl $0x10, %edi
callq 0x2030
movq %rax, (%r12,%rbx)
addq $0x8, %rbx
cmpq $0x18, %rbx
jne 0xc482
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %edx
leaq -0x158(%rbp), %rsi
movq %r14, %rdi
callq 0x2380
leaq -0x158(%rbp), %rbx
cmpq $0x0, -0x150(%rbp)
jne 0xc54b
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2380
jmp 0xc51d
leaq 0x4fcf(%rip), %rsi      # 0x11521
leaq -0x158(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xc6ad
movq -0x40(%rbp), %rdi
callq 0x2290
movq -0x38(%rbp), %rdi
callq 0x2290
movq -0x30(%rbp), %rdi
callq 0x2290
movq -0x48(%rbp), %rdi
callq 0x2290
movq %r15, %rdi
callq 0x2290
movq %r12, %rdi
callq 0x2290
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xc5b3
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xc5cf
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0xc5f1
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xc613
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0xc635
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0xc657
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0xc679
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rax
cmpq %rax, %rdi
je 0xc69b
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2210
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x138(%rbp), %rsi
movq %r14, %rdi
callq 0x2280
leaq 0x4dad(%rip), %rsi      # 0x11470
leaq -0x138(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
jne 0xd151
movq 0x8912(%rip), %r13      # 0x14ff0
leaq 0x4e5d(%rip), %rsi      # 0x11542
movl $0x2a, %edx
movq %r13, %rdi
callq 0x2240
movq (%r13), %rax
addq -0x18(%rax), %r13
movq %r13, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x88df(%rip), %rdi      # 0x14ff0
callq 0x2040
movq %rax, %rdi
callq 0x2160
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r14,%rax)
jne 0xc566
movq %r14, %rdi
leaq -0x138(%rbp), %rsi
callq 0x2280
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xc769
leaq -0x138(%rbp), %rdi
leaq 0x4d4e(%rip), %rsi      # 0x114aa
callq 0x20a0
testl %eax, %eax
je 0xc566
movq -0x138(%rbp), %rsi
movq -0x130(%rbp), %rdx
movq 0x8872(%rip), %rdi      # 0x14ff0
callq 0x2240
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2160
cmpl $0x0, -0x4c(%rbp)
jle 0xc71e
movl -0x4c(%rbp), %ebx
movq %r14, %rdi
leaq -0x114(%rbp), %rsi
callq 0x2140
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2280
movq -0x48(%rbp), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq 0x2150
movq -0x48(%rbp), %rcx
movq (%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rcx
movq 0x8(%rcx), %rsi
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rcx
movq 0x8(%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rcx
movq 0x10(%rcx), %rsi
movq %rax, %rdi
callq 0x2150
movq -0x48(%rbp), %rcx
movq 0x10(%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
leaq -0x3a8(%rbp), %rax
movq %rax, -0x3b8(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x3b8(%rbp), %rdi
callq 0x39ba
leaq -0x3b8(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x3b8(%rbp), %rdi
leaq -0x3a8(%rbp), %rax
cmpq %rax, %rdi
je 0xc8ec
movq -0x3a8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x388(%rbp), %rax
movq %rax, -0x398(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x398(%rbp), %rdi
callq 0x39ba
leaq -0x398(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x398(%rbp), %rdi
leaq -0x388(%rbp), %rax
cmpq %rax, %rdi
je 0xc94f
movq -0x388(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x368(%rbp), %rax
movq %rax, -0x378(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x378(%rbp), %rdi
callq 0x39ba
leaq -0x378(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x378(%rbp), %rdi
leaq -0x368(%rbp), %rax
cmpq %rax, %rdi
je 0xc9b2
movq -0x368(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x348(%rbp), %rax
movq %rax, -0x358(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x358(%rbp), %rdi
callq 0x39ba
leaq -0x358(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x358(%rbp), %rdi
leaq -0x348(%rbp), %rax
cmpq %rax, %rdi
je 0xca16
movq -0x348(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x328(%rbp), %rax
movq %rax, -0x338(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x338(%rbp), %rdi
callq 0x39ba
leaq -0x338(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x338(%rbp), %rdi
leaq -0x328(%rbp), %rax
cmpq %rax, %rdi
je 0xca79
movq -0x328(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x308(%rbp), %rax
movq %rax, -0x318(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x318(%rbp), %rdi
callq 0x39ba
leaq -0x318(%rbp), %rdi
callq 0xaf25
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x318(%rbp), %rdi
leaq -0x308(%rbp), %rax
cmpq %rax, %rdi
je 0xcad7
movq -0x308(%rbp), %rsi
incq %rsi
callq 0x2210
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2280
movq (%r15), %rsi
movq %r14, %rdi
callq 0x2150
movq (%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq 0x8(%r15), %rsi
movq %rax, %rdi
callq 0x2150
movq 0x8(%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq 0x10(%r15), %rsi
movq %rax, %rdi
callq 0x2150
movq 0x10(%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
leaq -0x2e8(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2f8(%rbp), %rdi
callq 0x39ba
leaq -0x2f8(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x2f8(%rbp), %rdi
leaq -0x2e8(%rbp), %rax
cmpq %rax, %rdi
je 0xcbe2
movq -0x2e8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x2c8(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2d8(%rbp), %rdi
callq 0x39ba
leaq -0x2d8(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x2d8(%rbp), %rdi
leaq -0x2c8(%rbp), %rax
cmpq %rax, %rdi
je 0xcc45
movq -0x2c8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x2a8(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2b8(%rbp), %rdi
callq 0x39ba
leaq -0x2b8(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x2b8(%rbp), %rdi
leaq -0x2a8(%rbp), %rax
cmpq %rax, %rdi
je 0xcca8
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x288(%rbp), %rax
movq %rax, -0x298(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x298(%rbp), %rdi
callq 0x39ba
leaq -0x298(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x298(%rbp), %rdi
leaq -0x288(%rbp), %rax
cmpq %rax, %rdi
je 0xcd0c
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x268(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x278(%rbp), %rdi
callq 0x39ba
leaq -0x278(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x278(%rbp), %rdi
leaq -0x268(%rbp), %rax
cmpq %rax, %rdi
je 0xcd6f
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x248(%rbp), %rax
movq %rax, -0x258(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x258(%rbp), %rdi
callq 0x39ba
leaq -0x258(%rbp), %rdi
callq 0xaf25
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x258(%rbp), %rdi
leaq -0x248(%rbp), %rax
cmpq %rax, %rdi
je 0xcdcd
movq -0x248(%rbp), %rsi
incq %rsi
callq 0x2210
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2280
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2280
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2150
movq (%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq 0x8(%r12), %rsi
movq %rax, %rdi
callq 0x2150
movq 0x8(%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
movq 0x10(%r12), %rsi
movq %rax, %rdi
callq 0x2150
movq 0x10(%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2150
leaq -0x228(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x238(%rbp), %rdi
callq 0x39ba
leaq -0x238(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x238(%rbp), %rdi
leaq -0x228(%rbp), %rax
cmpq %rax, %rdi
je 0xcede
movq -0x228(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x208(%rbp), %rax
movq %rax, -0x218(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x218(%rbp), %rdi
callq 0x39ba
leaq -0x218(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x218(%rbp), %rdi
leaq -0x208(%rbp), %rax
cmpq %rax, %rdi
je 0xcf41
movq -0x208(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x1e8(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x39ba
leaq -0x1f8(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x1f8(%rbp), %rdi
leaq -0x1e8(%rbp), %rax
cmpq %rax, %rdi
je 0xcfa4
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x1c8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x39ba
leaq -0x1d8(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x1d8(%rbp), %rdi
leaq -0x1c8(%rbp), %rax
cmpq %rax, %rdi
je 0xd008
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x1a8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1b8(%rbp), %rdi
callq 0x39ba
leaq -0x1b8(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
je 0xd06b
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x188(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x198(%rbp), %rdi
callq 0x39ba
leaq -0x198(%rbp), %rdi
callq 0xaf25
movq -0x30(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x198(%rbp), %rdi
leaq -0x188(%rbp), %rax
cmpq %rax, %rdi
je 0xd0c9
movq -0x188(%rbp), %rsi
incq %rsi
callq 0x2210
movl -0x114(%rbp), %r13d
leaq -0x168(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x138(%rbp), %rsi
movq -0x130(%rbp), %rdx
addq %rsi, %rdx
leaq -0x178(%rbp), %rdi
callq 0x39ba
movl %r13d, %edi
leaq -0x178(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %r8
movq -0x48(%rbp), %r9
pushq %r12
pushq %r15
callq 0x6ff2
addq $0x10, %rsp
movq -0x178(%rbp), %rdi
leaq -0x168(%rbp), %rax
cmpq %rax, %rdi
je 0xd144
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2210
decl %ebx
jne 0xc7ba
jmp 0xc71e
movq 0x7e98(%rip), %rdi      # 0x14ff0
leaq 0x4313(%rip), %rsi      # 0x11472
movl $0x1b, %edx
callq 0x2240
movq 0x7e80(%rip), %rdi      # 0x14ff0
callq 0x2100
movl $0x1, %edi
callq 0x2260
jmp 0xd1b0
jmp 0xd1b0
jmp 0xd1b0
jmp 0xd1b0
movq %rax, %rbx
movq -0x178(%rbp), %rdi
leaq -0x168(%rbp), %rax
cmpq %rax, %rdi
je 0xd1b3
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0xd1b3
jmp 0xd1b0
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xd1cc
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xd1e8
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0xd20a
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xd22c
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0xd24e
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0xd270
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0xd292
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rax
cmpq %rax, %rdi
je 0xd2b4
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2350