// File: /workspace/github_cpp_makefile_star2_O3/TBody[P]atomicpp/atomicpp/Spline/BicubicSpline.cpp
// Function: atomicpp::BicubicSpline::calculate_alpha_coeff()
std::vector<std::vector<grid_matrix>> BicubicSpline::calculate_alpha_coeff()
	{
	// For storing the value and derivative data at each grid-point
	// Have to use vector since the array size is non-constant
	int Lx = x_values.size();
	int Ly = y_values.size();

	grid_coeff = calculate_grid_coeff();

	std::vector<std::vector<grid_matrix>>
	alpha_coeff(Lx-1,std::vector<grid_matrix>(Ly-1,default_grid_matrix));

	const grid_matrix prematrix = {{
			{+1, +0, +0, +0},
			{+0, +0, +1, +0},
			{-3, +3, -2, -1},
			{+2, -2, +1, +1},
		}};
	const grid_matrix postmatrix = {{
			{+1, +0, -3, +2},
			{+0, +0, +3, -2},
			{+0, +1, -2, +1},
			{+0, +0, -1, +1},
		}};

	for(int x=0; x<Lx - 1; ++x){ //iterator over temperature dimension of grid, which is of length x_values.size()-1
		for(int y=0; y<Ly - 1; ++y){ //iterator over density dimension of grid, which is of length y_values.size()-1

			// double xs = grid_coeff[x+1][y+0].datapoint.first - grid_coeff[x+0][y+0].datapoint.first;
			// double ys = grid_coeff[x+0][y+1].datapoint.second - grid_coeff[x+0][y+0].datapoint.second;

			grid_matrix f_sub = {{
				{grid_coeff[x+0][y+0].f,   grid_coeff[x+0][y+1].f,   grid_coeff[x+0][y+0].fdy,   grid_coeff[x+0][y+1].fdy},
				{grid_coeff[x+1][y+0].f,   grid_coeff[x+1][y+1].f,   grid_coeff[x+1][y+0].fdy,   grid_coeff[x+1][y+1].fdy},
				{grid_coeff[x+0][y+0].fdx, grid_coeff[x+0][y+1].fdx, grid_coeff[x+0][y+0].fdxdy, grid_coeff[x+0][y+1].fdxdy},
				{grid_coeff[x+1][y+0].fdx, grid_coeff[x+1][y+1].fdx, grid_coeff[x+1][y+0].fdxdy, grid_coeff[x+1][y+1].fdxdy},
			}};


			// grid_coeff submatrix
			grid_matrix alpha_sub = default_grid_matrix;
			
			//Matrix multiply prematrix * f_sub * postmatrix to find alpha_sub
			//As per https://en.wikipedia.org/wiki/Bicubic_interpolation
			for (int i=0; i<4; ++i){
				for(int j=0; j<4; ++j){
					for(int k=0; k<4; ++k){
						for(int l=0; l<4; ++l){
							alpha_sub[i][j] += prematrix[i][l] * f_sub[l][k] * postmatrix[k][j];
						}
					}
				}
			}
			alpha_coeff[x][y] = alpha_sub;
			// if((x==0)and(y==0)){
			// std::printf("f_sub(%d, %d)\n [%f, %f, %f, %f;...\n%f, %f, %f, %f;...\n%f, %f, %f, %f;...\n%f, %f, %f, %f]\n\n",
			// 	x, y, 
			// 	grid_coeff[x+0][y+0].f,      grid_coeff[x+0][y+1].f,      grid_coeff[x+0][y+0].fdy,        grid_coeff[x+0][y+1].fdy,
			// 	grid_coeff[x+1][y+0].f,      grid_coeff[x+1][y+1].f,      grid_coeff[x+1][y+0].fdy,        grid_coeff[x+1][y+1].fdy,
			// 	grid_coeff[x+0][y+0].fdx, grid_coeff[x+0][y+1].fdx, grid_coeff[x+0][y+0].fdxdy, grid_coeff[x+0][y+1].fdxdy,
			// 	grid_coeff[x+1][y+0].fdx, grid_coeff[x+1][y+1].fdx, grid_coeff[x+1][y+0].fdxdy, grid_coeff[x+1][y+1].fdxdy);
			// std::printf("alpha_sub(%d, %d)\n [%f, %f, %f, %f;...\n%f, %f, %f, %f;...\n%f, %f, %f, %f;...\n%f, %f, %f, %f]\n\n",
			// 	x, y, 
			// 	alpha_sub[0][0], alpha_sub[0][1], alpha_sub[0][2], alpha_sub[0][3],
			// 	alpha_sub[1][0], alpha_sub[1][1], alpha_sub[1][2], alpha_sub[1][3],
			// 	alpha_sub[2][0], alpha_sub[2][1], alpha_sub[2][2], alpha_sub[2][3],
			// 	alpha_sub[3][0], alpha_sub[3][1], alpha_sub[3][2], alpha_sub[3][3]);
			// };	
		}
	}
	return alpha_coeff;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %r13
movq %rdi, %r12
movq %rsi, %rdi
callq 0x12b22
movq %rax, %rbx
leaq 0x18(%r13), %rdi
callq 0x12b22
movq %rax, %r15
leaq -0xe0(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x179bc
addq $0x60, %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x18404
movq %r14, %rdi
callq 0x18314
movq %r15, -0x150(%rbp)
leal -0x1(%r15), %eax
movl %eax, -0x40(%rbp)
movslq %eax, %r14
leaq -0x140(%rbp), %r15
movq %r15, %rdi
callq 0x11660
leaq 0x24c4b(%rip), %rdx     # 0x3b388
leaq -0xe0(%rbp), %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x180f2
leal -0x1(%rbx), %eax
movl %eax, -0x48(%rbp)
movslq %eax, %r14
leaq -0x120(%rbp), %r15
movq %r15, %rdi
callq 0x1814c
leaq -0xe0(%rbp), %rdx
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x18156
movq %r13, -0x80(%rbp)
movq %r12, -0x38(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x1883c
leaq -0xe0(%rbp), %rdi
callq 0x1146c
leaq -0x140(%rbp), %r14
movq %r14, %rdi
callq 0x143f2
movups 0xe246(%rip), %xmm0     # 0x249f8
movaps %xmm0, 0x10(%r14)
movupd 0xe229(%rip), %xmm0     # 0x249e8
movapd %xmm0, (%r14)
leaq -0xf8(%rbp), %r15
movq %r15, %rdi
callq 0x533c
leaq -0xe0(%rbp), %r14
leaq -0x140(%rbp), %rsi
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rcx
callq 0x1841c
leaq -0xc8(%rbp), %r15
movups 0xe219(%rip), %xmm0     # 0x24a18
leaq -0x120(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe1f4(%rip), %xmm0     # 0x24a08
movapd %xmm0, (%r12)
leaq -0x70(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0xb0(%rbp), %r15
movups 0xe1f1(%rip), %xmm0     # 0x24a38
leaq -0x1a0(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe1cc(%rip), %xmm0     # 0x24a28
movapd %xmm0, (%r12)
leaq -0x29(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0x98(%rbp), %r15
movups 0xe1c9(%rip), %xmm0     # 0x24a58
leaq -0x180(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe1a4(%rip), %xmm0     # 0x24a48
movapd %xmm0, (%r12)
leaq -0x2a(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0x2b(%rbp), %r12
movq %r12, %rdi
callq 0x120ba
leaq -0x1b8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movl $0x4, %edx
movq %r12, %rcx
callq 0x1847e
leaq -0x2b(%rbp), %rdi
callq 0x10508
movl $0x48, %r14d
leaq (%r14,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x168ff
leaq -0x2a(%rbp), %rdi
callq 0x5a80
leaq -0x29(%rbp), %rdi
callq 0x5a80
leaq -0x70(%rbp), %rdi
callq 0x5a80
leaq -0xf8(%rbp), %rdi
callq 0x5a80
movups 0xe131(%rip), %xmm0     # 0x24a78
leaq -0x140(%rbp), %r15
movaps %xmm0, 0x10(%r15)
movupd 0xe10d(%rip), %xmm0     # 0x24a68
movapd %xmm0, (%r15)
leaq -0x70(%rbp), %r12
movq %r12, %rdi
callq 0x533c
leaq -0xe0(%rbp), %r14
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rcx
callq 0x1841c
leaq -0xc8(%rbp), %r15
movups 0xe104(%rip), %xmm0     # 0x24a98
leaq -0x120(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe0df(%rip), %xmm0     # 0x24a88
movapd %xmm0, (%r12)
leaq -0x29(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0xb0(%rbp), %r15
movups 0xe0dc(%rip), %xmm0     # 0x24ab8
leaq -0x1a0(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe0b7(%rip), %xmm0     # 0x24aa8
movapd %xmm0, (%r12)
leaq -0x2a(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0x98(%rbp), %r15
movups 0xe0b4(%rip), %xmm0     # 0x24ad8
leaq -0x180(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movupd 0xe08f(%rip), %xmm0     # 0x24ac8
movapd %xmm0, (%r12)
leaq -0x2b(%rbp), %r13
movq %r13, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x1841c
leaq -0x2c(%rbp), %r12
movq %r12, %rdi
callq 0x120ba
leaq -0xf8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
movl $0x4, %edx
movq %r12, %rcx
callq 0x1847e
movq -0x80(%rbp), %r13
leaq -0x2c(%rbp), %rdi
callq 0x10508
movl $0x48, %r14d
leaq (%r14,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x16a98
leaq -0x2b(%rbp), %rdi
callq 0x5a80
leaq -0x2a(%rbp), %rdi
callq 0x5a80
leaq -0x29(%rbp), %rdi
callq 0x5a80
leaq -0x70(%rbp), %rdi
callq 0x5a80
cmpl $0x2, %ebx
jl 0x16fe2
leaq -0xc8(%rbp), %r15
leaq -0x98(%rbp), %rax
movq %rax, -0x78(%rbp)
movl -0x48(%rbp), %eax
movq %rax, -0x148(%rbp)
movl -0x40(%rbp), %eax
movq %rax, -0x158(%rbp)
xorl %eax, %eax
movq %rax, -0x58(%rbp)
incq %rax
movq %rax, -0x50(%rbp)
cmpl $0x2, -0x150(%rbp)
jl 0x16fce
xorl %ebx, %ebx
movq %r13, %rdi
movq -0x58(%rbp), %r12
movq %r12, %rsi
callq 0x1838a
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1839c
movsd 0x18(%rax), %xmm0
movsd %xmm0, -0x140(%rbp)
movq %r13, %rdi
movq %r12, %rsi
callq 0x1838a
leaq 0x1(%rbx), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x18(%rax), %xmm0
movsd %xmm0, -0x138(%rbp)
movq %r13, %rdi
movq %r12, %rsi
callq 0x1838a
movq %rax, %rdi
movq %rbx, -0x48(%rbp)
movq %rbx, %rsi
callq 0x1839c
movsd 0x28(%rax), %xmm0
movsd %xmm0, -0x130(%rbp)
movq %r13, %rdi
movq %r12, %rsi
leaq -0x29(%rbp), %r12
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x28(%rax), %xmm0
movsd %xmm0, -0x128(%rbp)
movq %r12, %rdi
callq 0x533c
movl $0x4, %edx
leaq -0xe0(%rbp), %rdi
leaq -0x140(%rbp), %rsi
movq %r12, %rcx
callq 0x1841c
movq %r13, %rdi
movq -0x50(%rbp), %rbx
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq -0x48(%rbp), %r12
movq %r12, %rsi
callq 0x1839c
movsd 0x18(%rax), %xmm0
movsd %xmm0, -0x120(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x18(%rax), %xmm0
movsd %xmm0, -0x118(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r12, %rsi
callq 0x1839c
movsd 0x28(%rax), %xmm0
movsd %xmm0, -0x110(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x28(%rax), %xmm0
movsd %xmm0, -0x108(%rbp)
leaq -0x2a(%rbp), %r12
movq %r12, %rdi
callq 0x533c
movl $0x4, %edx
movq %r15, %rdi
leaq -0x120(%rbp), %rsi
movq %r12, %rcx
callq 0x1841c
movq %r13, %rdi
movq -0x58(%rbp), %rbx
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq -0x48(%rbp), %r15
movq %r15, %rsi
callq 0x1839c
movsd 0x20(%rax), %xmm0
movsd %xmm0, -0x1a0(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x20(%rax), %xmm0
movsd %xmm0, -0x198(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r15, %rsi
callq 0x1839c
movsd 0x30(%rax), %xmm0
movsd %xmm0, -0x190(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x30(%rax), %xmm0
movsd %xmm0, -0x188(%rbp)
leaq -0x2b(%rbp), %r15
movq %r15, %rdi
callq 0x533c
movl $0x4, %edx
leaq -0xb0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
movq %r15, %rcx
callq 0x1841c
movq %r13, %rdi
movq -0x50(%rbp), %rbx
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq -0x48(%rbp), %r12
movq %r12, %rsi
callq 0x1839c
movsd 0x20(%rax), %xmm0
movsd %xmm0, -0x180(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, %rsi
callq 0x1839c
movsd 0x20(%rax), %xmm0
movsd %xmm0, -0x178(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r12, %rsi
callq 0x1839c
movsd 0x30(%rax), %xmm0
movsd %xmm0, -0x170(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1838a
movq %rax, %rdi
movq %r14, -0x160(%rbp)
movq %r14, %rsi
callq 0x1839c
movsd 0x30(%rax), %xmm0
movsd %xmm0, -0x168(%rbp)
leaq -0x2c(%rbp), %rbx
movq %rbx, %rdi
callq 0x533c
movl $0x4, %edx
leaq -0x98(%rbp), %rdi
leaq -0x180(%rbp), %rsi
movq %rbx, %rcx
callq 0x1841c
leaq -0x2d(%rbp), %rbx
movq %rbx, %rdi
callq 0x120ba
movl $0x4, %edx
leaq -0x70(%rbp), %rdi
leaq -0xe0(%rbp), %r13
movq %r13, %rsi
movq %rbx, %rcx
callq 0x1847e
movq %rbx, %rdi
callq 0x10508
movl $0x48, %ebx
leaq (%rbx,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %rbx
cmpq $-0x18, %rbx
jne 0x16e48
leaq -0x2c(%rbp), %rdi
callq 0x5a80
movq %r15, %rdi
callq 0x5a80
leaq -0x2a(%rbp), %rdi
callq 0x5a80
leaq -0x29(%rbp), %rdi
callq 0x5a80
movq %r13, %rdi
leaq 0x244f9(%rip), %rsi     # 0x3b388
callq 0x14dc0
xorl %r13d, %r13d
xorl %r12d, %r12d
xorl %ebx, %ebx
xorl %r14d, %r14d
leaq -0x70(%rbp), %r15
leaq -0x1b8(%rbp), %rdi
movq %r13, %rsi
callq 0x184e0
movq %rax, %rdi
movq %r14, %rsi
callq 0x184f2
movsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x15c9c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x539c
movsd -0x40(%rbp), %xmm0
mulsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
leaq -0xf8(%rbp), %rdi
movq %rbx, %rsi
callq 0x184e0
movq %rax, %rdi
movq %r12, %rsi
callq 0x184f2
movsd -0x40(%rbp), %xmm0
mulsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
leaq -0xe0(%rbp), %rdi
movq %r13, %rsi
callq 0x15c9c
movq %rax, %rdi
movq %r12, %rsi
callq 0x539c
movsd -0x40(%rbp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
incq %r14
cmpq $0x4, %r14
jne 0x16ea3
incq %rbx
cmpq $0x4, %rbx
jne 0x16e9c
incq %r12
cmpq $0x4, %r12
jne 0x16e9a
incq %r13
cmpq $0x4, %r13
jne 0x16e97
movq -0x38(%rbp), %r14
movq %r14, %rdi
movq -0x58(%rbp), %rsi
callq 0x18356
movq %rax, %rdi
movq -0x48(%rbp), %rsi
callq 0x1145a
movq %rax, %rdi
leaq -0xe0(%rbp), %rbx
movq %rbx, %rsi
callq 0x15ae8
movq %rbx, %rdi
callq 0x10424
leaq -0x70(%rbp), %rdi
callq 0x10424
movq -0x160(%rbp), %rcx
movq %rcx, %rbx
cmpq -0x158(%rbp), %rcx
movq -0x80(%rbp), %r13
leaq -0xc8(%rbp), %r15
jne 0x16b21
movq -0x50(%rbp), %rcx
movq %rcx, %rax
cmpq -0x148(%rbp), %rcx
jne 0x16b07
leaq -0xf8(%rbp), %rdi
callq 0x10424
leaq -0x1b8(%rbp), %rdi
callq 0x10424
movq -0x38(%rbp), %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x2c(%rbp), %rdi
callq 0x10508
movl $0x48, %r12d
leaq (%r12,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %r12
cmpq $-0x18, %r12
jne 0x17022
movb $0x1, %r12b
jmp 0x17047
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x2b(%rbp), %rdi
callq 0x5a80
jmp 0x17058
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x2a(%rbp), %rdi
callq 0x5a80
jmp 0x17069
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x29(%rbp), %rdi
callq 0x5a80
leaq -0x70(%rbp), %rdi
callq 0x5a80
testb %r12b, %r12b
jne 0x1709f
addq $-0x18, %r15
movq %r15, %rdi
callq 0x53c6
cmpq %r14, %r15
jne 0x17080
jmp 0x1709f
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x5a80
movq -0x38(%rbp), %r14
jmp 0x17264
movq %rax, %rbx
leaq -0x2b(%rbp), %rdi
callq 0x10508
movl $0x48, %r12d
leaq (%r12,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %r12
cmpq $-0x18, %r12
jne 0x170ba
movb $0x1, %r12b
jmp 0x170df
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x2a(%rbp), %rdi
callq 0x5a80
jmp 0x170f0
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x29(%rbp), %rdi
callq 0x5a80
jmp 0x17101
movq %rax, %rbx
xorl %r12d, %r12d
leaq -0x70(%rbp), %rdi
callq 0x5a80
leaq -0xf8(%rbp), %rdi
callq 0x5a80
testb %r12b, %r12b
jne 0x1713d
addq $-0x18, %r15
movq %r15, %rdi
callq 0x53c6
cmpq %r14, %r15
jne 0x1711b
jmp 0x1713d
movq %rax, %rbx
leaq -0xf8(%rbp), %rdi
callq 0x5a80
movq -0x38(%rbp), %r14
jmp 0x17270
movq %rax, %rbx
leaq -0x120(%rbp), %rdi
callq 0x1883c
leaq -0xe0(%rbp), %rdi
callq 0x1146c
jmp 0x17166
movq %rax, %rbx
leaq -0x140(%rbp), %rdi
callq 0x143f2
jmp 0x17278
movq %rax, %rbx
leaq -0xe0(%rbp), %rdi
callq 0x10424
jmp 0x1718f
movq %rax, %rbx
movq -0x38(%rbp), %r14
leaq -0x70(%rbp), %rdi
callq 0x10424
jmp 0x17258
movq %rax, %rbx
leaq -0x2d(%rbp), %rdi
callq 0x10508
movl $0x48, %r14d
leaq (%r14,%rbp), %rdi
addq $-0xe0, %rdi
callq 0x53c6
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x171af
movb $0x1, %r14b
jmp 0x171db
movq %rax, %rbx
xorl %r14d, %r14d
leaq -0xe0(%rbp), %r13
leaq -0x2c(%rbp), %rdi
callq 0x5a80
jmp 0x171fe
movq %rax, %rbx
xorl %r14d, %r14d
leaq -0xb0(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0xe0(%rbp), %r13
leaq -0x2b(%rbp), %rdi
callq 0x5a80
movq -0x78(%rbp), %r15
jmp 0x1721a
movq %rax, %rbx
xorl %r14d, %r14d
leaq -0xe0(%rbp), %r13
leaq -0x2a(%rbp), %rdi
callq 0x5a80
leaq -0x29(%rbp), %rdi
callq 0x5a80
testb %r14b, %r14b
jne 0x17254
movq -0x38(%rbp), %r14
addq $-0x18, %r15
movq %r15, %rdi
callq 0x53c6
cmpq %r13, %r15
jne 0x17235
jmp 0x17258
movq %rax, %rbx
leaq -0x29(%rbp), %rdi
callq 0x5a80
movq -0x38(%rbp), %r14
leaq -0xf8(%rbp), %rdi
callq 0x10424
leaq -0x1b8(%rbp), %rdi
callq 0x10424
movq %r14, %rdi
callq 0x182d2
movq %rbx, %rdi
callq 0x45a0