// File: /workspace/github_cpp_makefile_star2_O1/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 0xc47e
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
leaq -0x158(%rbp), %rsi
movq %r14, %rdi
callq 0x2370
leaq -0x158(%rbp), %rbx
cmpq $0x0, -0x150(%rbp)
jne 0xc547
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2370
jmp 0xc519
leaq 0x4fa5(%rip), %rsi      # 0x114f3
leaq -0x158(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xc6a9
movq -0x40(%rbp), %rdi
callq 0x2280
movq -0x38(%rbp), %rdi
callq 0x2280
movq -0x30(%rbp), %rdi
callq 0x2280
movq -0x48(%rbp), %rdi
callq 0x2280
movq %r15, %rdi
callq 0x2280
movq %r12, %rdi
callq 0x2280
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xc5af
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xc5cb
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0xc5ed
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xc60f
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0xc631
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0xc653
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0xc675
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rax
cmpq %rax, %rdi
je 0xc697
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2200
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 0x2270
leaq 0x4d83(%rip), %rsi      # 0x11442
leaq -0x138(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
jne 0xd14d
movq 0x8916(%rip), %r13      # 0x14ff0
leaq 0x4e33(%rip), %rsi      # 0x11514
movl $0x2a, %edx
movq %r13, %rdi
callq 0x2230
movq (%r13), %rax
addq -0x18(%rax), %r13
movq %r13, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x88e3(%rip), %rdi      # 0x14ff0
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%r14,%rax)
jne 0xc562
movq %r14, %rdi
leaq -0x138(%rbp), %rsi
callq 0x2270
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xc765
leaq -0x138(%rbp), %rdi
leaq 0x4d24(%rip), %rsi      # 0x1147c
callq 0x20a0
testl %eax, %eax
je 0xc562
movq -0x138(%rbp), %rsi
movq -0x130(%rbp), %rdx
movq 0x8876(%rip), %rdi      # 0x14ff0
callq 0x2230
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
cmpl $0x0, -0x4c(%rbp)
jle 0xc71a
movl -0x4c(%rbp), %ebx
movq %r14, %rdi
leaq -0x114(%rbp), %rsi
callq 0x2130
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2270
movq -0x48(%rbp), %rax
movq (%rax), %rsi
movq %r14, %rdi
callq 0x2140
movq -0x48(%rbp), %rcx
movq (%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq -0x48(%rbp), %rcx
movq 0x8(%rcx), %rsi
movq %rax, %rdi
callq 0x2140
movq -0x48(%rbp), %rcx
movq 0x8(%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq -0x48(%rbp), %rcx
movq 0x10(%rcx), %rsi
movq %rax, %rdi
callq 0x2140
movq -0x48(%rbp), %rcx
movq 0x10(%rcx), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
leaq -0x3a8(%rbp), %rax
movq %rax, -0x3b8(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x3b8(%rbp), %rdi
callq 0x391e
leaq -0x3b8(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x3b8(%rbp), %rdi
leaq -0x3a8(%rbp), %rax
cmpq %rax, %rdi
je 0xc8e8
movq -0x3a8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x388(%rbp), %rax
movq %rax, -0x398(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x398(%rbp), %rdi
callq 0x391e
leaq -0x398(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x398(%rbp), %rdi
leaq -0x388(%rbp), %rax
cmpq %rax, %rdi
je 0xc94b
movq -0x388(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x368(%rbp), %rax
movq %rax, -0x378(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x378(%rbp), %rdi
callq 0x391e
leaq -0x378(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x378(%rbp), %rdi
leaq -0x368(%rbp), %rax
cmpq %rax, %rdi
je 0xc9ae
movq -0x368(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x348(%rbp), %rax
movq %rax, -0x358(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x358(%rbp), %rdi
callq 0x391e
leaq -0x358(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x358(%rbp), %rdi
leaq -0x348(%rbp), %rax
cmpq %rax, %rdi
je 0xca12
movq -0x348(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x328(%rbp), %rax
movq %rax, -0x338(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x338(%rbp), %rdi
callq 0x391e
leaq -0x338(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x338(%rbp), %rdi
leaq -0x328(%rbp), %rax
cmpq %rax, %rdi
je 0xca75
movq -0x328(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x308(%rbp), %rax
movq %rax, -0x318(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x318(%rbp), %rdi
callq 0x391e
leaq -0x318(%rbp), %rdi
callq 0xaf21
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x318(%rbp), %rdi
leaq -0x308(%rbp), %rax
cmpq %rax, %rdi
je 0xcad3
movq -0x308(%rbp), %rsi
incq %rsi
callq 0x2200
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2270
movq (%r15), %rsi
movq %r14, %rdi
callq 0x2140
movq (%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq 0x8(%r15), %rsi
movq %rax, %rdi
callq 0x2140
movq 0x8(%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq 0x10(%r15), %rsi
movq %rax, %rdi
callq 0x2140
movq 0x10(%r15), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
leaq -0x2e8(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2f8(%rbp), %rdi
callq 0x391e
leaq -0x2f8(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x2f8(%rbp), %rdi
leaq -0x2e8(%rbp), %rax
cmpq %rax, %rdi
je 0xcbde
movq -0x2e8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x2c8(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2d8(%rbp), %rdi
callq 0x391e
leaq -0x2d8(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x2d8(%rbp), %rdi
leaq -0x2c8(%rbp), %rax
cmpq %rax, %rdi
je 0xcc41
movq -0x2c8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x2a8(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x2b8(%rbp), %rdi
callq 0x391e
leaq -0x2b8(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x2b8(%rbp), %rdi
leaq -0x2a8(%rbp), %rax
cmpq %rax, %rdi
je 0xcca4
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x288(%rbp), %rax
movq %rax, -0x298(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x298(%rbp), %rdi
callq 0x391e
leaq -0x298(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x298(%rbp), %rdi
leaq -0x288(%rbp), %rax
cmpq %rax, %rdi
je 0xcd08
movq -0x288(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x268(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x278(%rbp), %rdi
callq 0x391e
leaq -0x278(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x278(%rbp), %rdi
leaq -0x268(%rbp), %rax
cmpq %rax, %rdi
je 0xcd6b
movq -0x268(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x248(%rbp), %rax
movq %rax, -0x258(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x258(%rbp), %rdi
callq 0x391e
leaq -0x258(%rbp), %rdi
callq 0xaf21
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x258(%rbp), %rdi
leaq -0x248(%rbp), %rax
cmpq %rax, %rdi
je 0xcdc9
movq -0x248(%rbp), %rsi
incq %rsi
callq 0x2200
movq %r14, %rdi
leaq -0x110(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x90(%rbp), %rsi
callq 0x2270
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
callq 0x2270
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2140
movq (%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq 0x8(%r12), %rsi
movq %rax, %rdi
callq 0x2140
movq 0x8(%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
movq 0x10(%r12), %rsi
movq %rax, %rdi
callq 0x2140
movq 0x10(%r12), %rsi
addq $0x8, %rsi
movq %rax, %rdi
callq 0x2140
leaq -0x228(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x110(%rbp), %rsi
movq -0x108(%rbp), %rdx
addq %rsi, %rdx
leaq -0x238(%rbp), %rdi
callq 0x391e
leaq -0x238(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx)
movq -0x238(%rbp), %rdi
leaq -0x228(%rbp), %rax
cmpq %rax, %rdi
je 0xceda
movq -0x228(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x208(%rbp), %rax
movq %rax, -0x218(%rbp)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x218(%rbp), %rdi
callq 0x391e
leaq -0x218(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq (%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x218(%rbp), %rdi
leaq -0x208(%rbp), %rax
cmpq %rax, %rdi
je 0xcf3d
movq -0x208(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x1e8(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1f8(%rbp), %rdi
callq 0x391e
leaq -0x1f8(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, (%rcx)
movq -0x1f8(%rbp), %rdi
leaq -0x1e8(%rbp), %rax
cmpq %rax, %rdi
je 0xcfa0
movq -0x1e8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x1c8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x391e
leaq -0x1d8(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x1d8(%rbp), %rdi
leaq -0x1c8(%rbp), %rax
cmpq %rax, %rdi
je 0xd004
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x1a8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1b8(%rbp), %rdi
callq 0x391e
leaq -0x1b8(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, (%rcx)
movq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %rax
cmpq %rax, %rdi
je 0xd067
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x2200
leaq -0x188(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0x198(%rbp), %rdi
callq 0x391e
leaq -0x198(%rbp), %rdi
callq 0xaf21
movq -0x30(%rbp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x4(%rcx)
movq -0x198(%rbp), %rdi
leaq -0x188(%rbp), %rax
cmpq %rax, %rdi
je 0xd0c5
movq -0x188(%rbp), %rsi
incq %rsi
callq 0x2200
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 0x391e
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 0x6f6a
addq $0x10, %rsp
movq -0x178(%rbp), %rdi
leaq -0x168(%rbp), %rax
cmpq %rax, %rdi
je 0xd140
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2200
decl %ebx
jne 0xc7b6
jmp 0xc71a
movq 0x7e9c(%rip), %rdi      # 0x14ff0
leaq 0x42e9(%rip), %rsi      # 0x11444
movl $0x1b, %edx
callq 0x2230
movq 0x7e84(%rip), %rdi      # 0x14ff0
callq 0x2100
movl $0x1, %edi
callq 0x2250
jmp 0xd1ac
jmp 0xd1ac
jmp 0xd1ac
jmp 0xd1ac
movq %rax, %rbx
movq -0x178(%rbp), %rdi
leaq -0x168(%rbp), %rax
cmpq %rax, %rdi
je 0xd1af
movq -0x168(%rbp), %rsi
incq %rsi
callq 0x2200
jmp 0xd1af
jmp 0xd1ac
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xd1c8
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xd1e4
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0xd206
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xd228
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0xd24a
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0xd26c
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0xd28e
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rax
cmpq %rax, %rdi
je 0xd2b0
movq -0x148(%rbp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x2340