// File: /workspace/github_cpp_makefile_star2_O3/Pyboon[P]sage/isi_sage.cpp
// Function: IsiSage::InitAoA(Eigen::Matrix<std::complex<double>, 1, -1, 1, 1, -1>, int)
void IsiSage::InitAoA(const RowVectorXcd tau_data, const int iL){
    Util::log("init AOA...");
    MatrixXcd Y(config.Rx, config.Tx);
    complex<double> cycle_data = 0;
    complex<double> temp = 0;
    for(int i_rx = 0; i_rx < config.Rx; ++i_rx){
        for(int i_tx = 0; i_tx < config.Tx; ++i_tx){
            cycle_data = 0;
            for(int i_cyc = 0; i_cyc < config.cycle_num; ++i_cyc){
                double t = (i_cyc * config.Tcy + i_tx * config.Tt + i_rx * config.Tr) * config.T; 
                temp.real(cos(2*PI* result.doppler(iL) * t));
                temp.imag(-sin(2*PI* result.doppler(iL) * t));
                cycle_data += temp * tau_data(i_cyc * config.subchannel_num + i_tx * config.Rx + i_rx);
            }
            Y(i_rx, i_tx) = cycle_data;
        }
    }
    double min_theta_rx = config.min_theta_rx;
    double max_theta_rx = config.max_theta_rx;
    double min_phi_rx = config.min_phi_rx;
    double max_phi_rx = config.max_phi_rx;
    double step = config.angle_step;
    int theta_size = (max_theta_rx - min_theta_rx)/step + 1;
    int phi_size = (max_phi_rx - min_phi_rx)/step + 1;
    MatrixXd aoa_data(theta_size, phi_size);
    aoa_data.setZero(theta_size, phi_size);
    Util::log("generating aoa_data...(waiting for a few time)");
    for(int i_theta = 0; i_theta < theta_size; ++i_theta){
        for(int i_phi = 0; i_phi < phi_size; ++i_phi){
                MatrixX2cd C2 = getAntennaResponse(min_theta_rx+i_theta*step, min_phi_rx+i_phi*step, 2);
                VectorXcd c_2_1 = C2.col(0) / (C2.col(0).norm());
                VectorXcd c_2_2 = C2.col(1) / (C2.col(1).norm());
                RowVectorXcd c_2_1_H = c_2_1.adjoint();
                RowVectorXcd c_2_2_H = c_2_2.adjoint();
            for(int i_tx = 0; i_tx < config.Tx; ++i_tx){
                VectorXcd y_m1 = Y.col(i_tx);
                complex<double> part1 = c_2_1_H * y_m1;
                complex<double> part2 = c_2_2_H * y_m1;
                double p1_norm = norm(part1);
                double p2_norm = norm(part2);
                RowVectorXcd y_m1_H = y_m1.adjoint();
                complex<double> part3 = y_m1_H * c_2_2 * c_2_1_H * y_m1 * c_2_2_H * c_2_1;
                aoa_data(i_theta, i_phi) += p1_norm + p2_norm - 2 * part3.real();
            }
        }
    }
    int i,j;
    aoa_data.maxCoeff(&i, &j);
    result.theta_rx(iL) = i * config.angle_step + min_theta_rx;
    result.phi_rx(iL) = j * config.angle_step + min_phi_rx;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movl %edx, 0x18(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x200(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15678(%rip), %rsi     # 0x1d7d3
leaq 0x1567c(%rip), %rdx     # 0x1d7de
leaq 0x1f0(%rsp), %r15
movq %r15, %rdi
callq 0x43cc
movq %r15, %rdi
callq 0x60be
movq 0x1f0(%rsp), %rdi
cmpq %r12, %rdi
je 0x8197
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x32a0
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movslq 0x8(%rbx), %r8
movslq 0xc(%rbx), %rcx
movq %rcx, %rax
orq %r8, %rax
js 0x8f99
testl %r8d, %r8d
sete %al
testl %ecx, %ecx
sete %dl
orb %al, %dl
jne 0x81e5
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
idivq %rcx
cmpq %r8, %rax
jl 0x8fcf
movq %rcx, %rsi
imulq %r8, %rsi
leaq 0x50(%rsp), %rdi
movq %r8, %rdx
callq 0x62ee
movslq 0x18(%rsp), %r12
cmpl $0x0, 0x8(%rbx)
jle 0x83bd
xorl %r13d, %r13d
movsd 0x151ed(%rip), %xmm1    # 0x1d400
cmpl $0x0, 0xc(%rbx)
jle 0x83ad
movq %r13, %rax
shlq $0x4, %rax
movq %rax, 0x78(%rsp)
xorl %ebp, %ebp
cmpl $0x0, 0x10(%rbx)
jle 0x8369
cmpl $0x0, 0x18(%rsp)
js 0x8e06
xorpd %xmm0, %xmm0
xorl %r15d, %r15d
cmpq %r12, 0x1d8(%rbx)
jle 0x8e06
movapd %xmm0, 0x40(%rsp)
movl 0xbc(%rbx), %eax
imull %r15d, %eax
movl 0xb4(%rbx), %ecx
imull %ebp, %ecx
addl %eax, %ecx
movl 0xb8(%rbx), %eax
imull %r13d, %eax
addl %ecx, %eax
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
mulsd 0xa8(%rbx), %xmm2
movq 0x1d0(%rbx), %rax
movsd (%rax,%r12,8), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm2, 0x10(%rsp)
mulsd %xmm2, %xmm0
callq 0x3490
cmpq %r12, 0x1d8(%rbx)
jle 0x8e06
movsd %xmm0, 0x80(%rsp)
movq 0x1d0(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
mulsd 0x1512b(%rip), %xmm1    # 0x1d400
movsd 0x10(%rsp), %xmm0
mulsd %xmm1, %xmm0
callq 0x3090
movl 0xa0(%rbx), %eax
imull %r15d, %eax
movl 0x8(%rbx), %ecx
imull %ebp, %ecx
addl %r13d, %eax
addl %ecx, %eax
js 0x8e25
movslq %eax, %rsi
cmpq %rsi, 0x8(%r14)
jle 0x8e25
xorpd 0x1513c(%rip), %xmm0    # 0x1d450
shlq $0x4, %rsi
addq (%r14), %rsi
movsd 0x80(%rsp), %xmm1
movsd %xmm1, 0xf0(%rsp)
movsd %xmm0, 0xf8(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0xff34
movapd 0x40(%rsp), %xmm0
addpd 0xf0(%rsp), %xmm0
incl %r15d
cmpl 0x10(%rbx), %r15d
movsd 0x1509f(%rip), %xmm1    # 0x1d400
jl 0x8247
jmp 0x836d
xorpd %xmm0, %xmm0
movq 0x58(%rsp), %rax
cmpq %r13, %rax
jle 0x8f68
cmpq %rbp, 0x60(%rsp)
jle 0x8f68
imulq %rbp, %rax
shlq $0x4, %rax
addq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movupd %xmm0, (%rcx,%rax)
incq %rbp
movslq 0xc(%rbx), %rax
cmpq %rax, %rbp
jl 0x822b
incq %r13
movslq 0x8(%rbx), %rax
cmpq %rax, %r13
jl 0x8213
movsd 0x100(%rbx), %xmm1
movupd 0x108(%rbx), %xmm0
movsd 0x110(%rbx), %xmm2
movsd 0x128(%rbx), %xmm3
movhpd 0x118(%rbx), %xmm0      # xmm0 = xmm0[0],mem[0]
movapd %xmm1, 0x190(%rsp)
movapd %xmm2, 0x1a0(%rsp)
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
subpd %xmm1, %xmm0
movapd %xmm3, 0x1b0(%rsp)
movapd %xmm3, %xmm1
unpcklpd %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
divpd %xmm1, %xmm0
addpd 0x15044(%rip), %xmm0    # 0x1d460
cvttpd2dq %xmm0, %xmm0
pshufd $0x55, %xmm0, %xmm1     # xmm1 = xmm0[1,1,1,1]
movd %xmm1, %eax
movd %xmm0, %ebp
pxor %xmm1, %xmm1
movdqa %xmm1, 0xc0(%rsp)
movq $0x0, 0xd0(%rsp)
movslq %ebp, %r14
movl %eax, 0x8c(%rsp)
movslq %eax, %r13
movq %r13, %rax
orq %r14, %rax
js 0x8fb0
pshufd $0x50, %xmm0, %xmm0     # xmm0 = xmm0[0,0,1,1]
pcmpeqd %xmm1, %xmm0
movmskpd %xmm0, %eax
testl %eax, %eax
jne 0x8488
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
idivq %r13
cmpq %r14, %rax
jl 0x8ffd
movq %r13, %rsi
imulq %r14, %rsi
leaq 0xc0(%rsp), %rdi
movq %r14, %rdx
movq %r13, %rcx
callq 0xffa2
leaq 0xc0(%rsp), %rdi
movq %r14, 0x150(%rsp)
movq %r14, %rsi
movq %r13, %rdx
callq 0xf184
leaq 0x180(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1530f(%rip), %rsi     # 0x1d7df
leaq 0x15336(%rip), %rdx     # 0x1d80d
leaq 0x170(%rsp), %rdi
callq 0x43cc
leaq 0x170(%rsp), %rdi
callq 0x60be
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x850e
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x32a0
testl %ebp, %ebp
jle 0x8d36
leaq 0x220(%rsp), %rbp
movq $0x0, 0x10(%rsp)
movq %r13, 0x158(%rsp)
cmpl $0x0, 0x8c(%rsp)
jle 0x8d1b
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rsp), %xmm0
mulsd 0x1b0(%rsp), %xmm0
addsd 0x190(%rsp), %xmm0
movsd %xmm0, 0x160(%rsp)
xorl %r14d, %r14d
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
mulsd 0x1b0(%rsp), %xmm1
addsd 0x1a0(%rsp), %xmm1
movq (%rbx), %rax
leaq 0xb0(%rsp), %rdi
movq %rbx, %rsi
movsd 0x160(%rsp), %xmm0
movl $0x2, %edx
callq *0x20(%rax)
movq %r14, 0x70(%rsp)
movq 0xb0(%rsp), %r14
movq 0xb8(%rsp), %r15
testq %r14, %r14
sete %al
testq %r15, %r15
setns %cl
orb %al, %cl
je 0x8f37
testq %r15, %r15
je 0x861a
jle 0x8f51
movsd (%r14), %xmm2
movsd 0x8(%r14), %xmm0
mulsd %xmm0, %xmm0
mulsd %xmm2, %xmm2
addsd %xmm0, %xmm2
cmpq $0x1, %r15
je 0x861e
leaq -0x1(%r15), %rax
leaq 0x18(%r14), %rcx
movsd -0x8(%rcx), %xmm0
movsd (%rcx), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
addq $0x10, %rcx
decq %rax
jne 0x85f6
jmp 0x861e
xorpd %xmm2, %xmm2
movapd %xmm2, 0x40(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x20(%rsp)
movl $0x1, %edx
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x28(%rsp)
je 0x8664
movl $0x1, %edx
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x28(%rsp)
jne 0x8f82
testq %r15, %r15
je 0x8696
movsd 0x40(%rsp), %xmm0
sqrtpd %xmm0, %xmm0
movq 0x20(%rsp), %rax
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
xorl %ecx, %ecx
movupd (%r14,%rcx), %xmm1
divpd %xmm0, %xmm1
movupd %xmm1, (%rax,%rcx)
addq $0x10, %rcx
decq %r15
jne 0x867e
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %r15
testq %rax, %rax
sete %cl
testq %r15, %r15
setns %dl
orb %cl, %dl
je 0x8f37
movq %r15, %rdx
shlq $0x4, %rdx
leaq (%rax,%rdx), %r14
testq %r15, %r15
je 0x871c
jle 0x8f51
movsd (%r14), %xmm2
movsd 0x8(%r14), %xmm0
mulsd %xmm0, %xmm0
mulsd %xmm2, %xmm2
addsd %xmm0, %xmm2
cmpq $0x1, %r15
je 0x8720
leaq -0x1(%r15), %rcx
addq %rdx, %rax
addq $0x18, %rax
movsd -0x8(%rax), %xmm0
movsd (%rax), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
addsd %xmm0, %xmm2
addq $0x10, %rax
decq %rcx
jne 0x86f8
jmp 0x8720
xorpd %xmm2, %xmm2
movapd %xmm2, 0x40(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movl $0x1, %edx
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x38(%rsp)
je 0x8766
movl $0x1, %edx
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x38(%rsp)
jne 0x8f82
testq %r15, %r15
je 0x8798
movsd 0x40(%rsp), %xmm0
sqrtpd %xmm0, %xmm0
movq 0x30(%rsp), %rax
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
xorl %ecx, %ecx
movupd (%r14,%rcx), %xmm1
divpd %xmm0, %xmm1
movupd %xmm1, (%rax,%rcx)
addq $0x10, %rcx
decq %r15
jne 0x8780
leaq 0x20(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0xf0(%rsp), %r14
movq %r14, %rsi
callq 0x1030e
leaq 0x30(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0x90(%rsp), %rdi
movq %r14, %rsi
callq 0x1030e
cmpl $0x0, 0xc(%rbx)
jle 0x8cc7
movq $0x0, 0xd8(%rsp)
xorl %r13d, %r13d
movq %rbx, %r14
movq %r12, %rbx
movq %rbp, %r12
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %r15
testq %rbp, %rbp
sete %al
testq %r15, %r15
setns %cl
orb %al, %cl
je 0x8e7d
cmpq %r13, 0x60(%rsp)
jle 0x8e9c
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movl $0x1, %edx
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x8(%rsp)
je 0x8860
movl $0x1, %edx
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1024a
cmpq %r15, 0x8(%rsp)
jne 0x8f18
testq %r15, %r15
jle 0x8893
movq (%rsp), %rax
movq %r15, %rcx
imulq 0xd8(%rsp), %rcx
addq %rcx, %rbp
xorl %ecx, %ecx
movupd (%rbp,%rcx), %xmm0
movapd %xmm0, (%rax,%rcx)
addq $0x10, %rcx
decq %r15
jne 0x887a
movq 0x8(%rsp), %r15
cmpq %r15, 0xa8(%rsp)
jne 0x8def
movq %r12, %rbp
xorpd %xmm0, %xmm0
movapd %xmm0, (%r12)
movq %r12, 0x210(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0x268(%rsp)
movq %rsp, %rax
movq %rax, 0x270(%rsp)
testq %r15, %r15
je 0x8932
leaq 0xf0(%rsp), %r15
jle 0x8e63
movq %rbx, %r12
movq 0xa0(%rsp), %rax
movq %rax, 0x100(%rsp)
movq (%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x268(%rsp), %rax
movq %rax, 0x120(%rsp)
movq %r15, %rdi
leaq 0x2a8(%rsp), %rsi
callq 0x1043e
movq 0x210(%rsp), %rcx
movq 0x8(%rsp), %rax
jmp 0x894a
xorpd %xmm1, %xmm1
xorl %eax, %eax
movq %rbp, %rcx
xorpd %xmm0, %xmm0
movq %rbx, %r12
leaq 0xf0(%rsp), %r15
movsd %xmm0, 0x220(%rsp)
movsd %xmm1, 0x228(%rsp)
cmpq %rax, 0x98(%rsp)
jne 0x8def
movq %r14, %rbx
movsd (%rcx), %xmm1
movsd 0x8(%rcx), %xmm0
movsd %xmm0, 0x80(%rsp)
leaq 0x220(%rsp), %rcx
xorpd %xmm0, %xmm0
movapd %xmm0, (%rcx)
movq %rcx, 0x210(%rsp)
leaq 0x90(%rsp), %rdx
movq %rdx, 0x268(%rsp)
movq %rsp, %rdx
movq %rdx, 0x270(%rsp)
testq %rax, %rax
movsd %xmm1, 0x40(%rsp)
je 0x8a0e
movq 0x70(%rsp), %r14
jle 0x8e63
movq 0x90(%rsp), %rax
movq %rax, 0x100(%rsp)
movq (%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x268(%rsp), %rax
movq %rax, 0x120(%rsp)
movq %r15, %rdi
leaq 0x2a8(%rsp), %rsi
callq 0x1043e
movq 0x210(%rsp), %rax
jmp 0x8a1e
xorpd %xmm1, %xmm1
movq %rcx, %rax
xorpd %xmm0, %xmm0
movq 0x70(%rsp), %r14
movsd %xmm0, 0x220(%rsp)
movsd %xmm1, 0x228(%rsp)
movsd (%rax), %xmm0
movsd %xmm0, 0x78(%rsp)
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x168(%rsp)
movq %rsp, %rax
movq %rax, 0xf0(%rsp)
leaq 0xe0(%rsp), %rdi
movq %r15, %rsi
callq 0x1030e
movq 0xe8(%rsp), %rax
cmpq 0x38(%rsp), %rax
jne 0x8def
leaq 0xe0(%rsp), %rax
movq %rax, 0x1e0(%rsp)
leaq 0x30(%rsp), %rax
movq %rax, 0x1e8(%rsp)
leaq 0x2e0(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0xf3c8
movq 0x2f0(%rsp), %rax
movq %rax, 0x278(%rsp)
leaq 0x2f8(%rsp), %rax
movupd (%rax), %xmm0
leaq 0x280(%rsp), %rax
movupd %xmm0, (%rax)
movq 0x308(%rsp), %rax
movq %rax, 0x290(%rsp)
movq %rsp, %rcx
movq %rcx, 0x2a0(%rsp)
movq 0x8(%rax), %rax
cmpq 0x8(%rsp), %rax
jne 0x8e44
leaq 0x2a8(%rsp), %rdi
leaq 0x268(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0xf27b
movq 0x2d0(%rsp), %rax
movq 0x8(%rax), %rcx
cmpq 0x28(%rsp), %rcx
jne 0x8e44
movq 0x2b8(%rsp), %rdx
leaq 0x1d0(%rsp), %rsi
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsi)
movq %rsi, 0x1c0(%rsp)
leaq 0x2c0(%rsp), %rsi
movupd (%rsi), %xmm0
movupd %xmm0, 0x10(%rbp)
movq %rdx, 0x228(%rsp)
movq %rax, 0x240(%rsp)
leaq 0x20(%rsp), %rdx
movq %rdx, 0x250(%rsp)
cmpq %rcx, 0x8(%rax)
jne 0x8ebb
testq %rcx, %rcx
je 0x8bf0
jle 0x8ef9
leaq 0x2c0(%rsp), %rcx
movupd (%rcx), %xmm0
leaq 0x108(%rsp), %rcx
movupd %xmm0, (%rcx)
movq (%rax), %rax
movq %rax, 0x120(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x130(%rsp)
leaq 0x210(%rsp), %rax
movq %rax, 0x140(%rsp)
movq %r15, %rdi
leaq 0x1f(%rsp), %rsi
callq 0x105d4
movq 0x1c0(%rsp), %rax
jmp 0x8c00
xorpd %xmm1, %xmm1
leaq 0x1d0(%rsp), %rax
xorpd %xmm0, %xmm0
movsd %xmm0, 0x1d0(%rsp)
movsd %xmm1, 0x1d8(%rsp)
movq 0xc8(%rsp), %rcx
cmpq 0x10(%rsp), %rcx
jle 0x8eda
cmpq %r14, 0xd0(%rsp)
jle 0x8eda
movsd 0x80(%rsp), %xmm1
mulsd %xmm1, %xmm1
movsd 0x40(%rsp), %xmm0
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
movsd 0x168(%rsp), %xmm2
mulsd %xmm2, %xmm2
movsd 0x78(%rsp), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd (%rax), %xmm0
imulq %r14, %rcx
shlq $0x3, %rcx
addq 0xc0(%rsp), %rcx
addsd %xmm0, %xmm0
subsd %xmm0, %xmm1
movq 0x10(%rsp), %rax
addsd (%rcx,%rax,8), %xmm1
movsd %xmm1, (%rcx,%rax,8)
movq 0xe0(%rsp), %rdi
callq 0x3310
movq (%rsp), %rdi
callq 0x3310
incq %r13
movslq 0xc(%rbx), %rax
addq $0x10, 0xd8(%rsp)
cmpq %rax, %r13
jl 0x87f3
movq 0x90(%rsp), %rdi
callq 0x3310
movq 0xa0(%rsp), %rdi
callq 0x3310
movq 0x30(%rsp), %rdi
callq 0x3310
movq 0x20(%rsp), %rdi
callq 0x3310
movq 0xb0(%rsp), %rdi
callq 0x3310
movq 0x70(%rsp), %r14
incq %r14
movq 0x158(%rsp), %r13
cmpq %r13, %r14
jne 0x8564
movq 0x10(%rsp), %rcx
incq %rcx
movq %rcx, 0x10(%rsp)
cmpq 0x150(%rsp), %rcx
jne 0x852f
leaq 0xc0(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x10836
cmpl $0x0, 0x18(%rsp)
js 0x8e06
cmpq %r12, 0x208(%rbx)
jle 0x8e06
movq 0xf0(%rsp), %rcx
movq 0xf8(%rsp), %rax
movq 0x200(%rbx), %rdx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x128(%rbx), %xmm0
addsd 0x190(%rsp), %xmm0
movsd %xmm0, (%rdx,%r12,8)
cmpq %r12, 0x218(%rbx)
jle 0x8e06
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd 0x128(%rbx), %xmm0
movq 0x210(%rbx), %rax
addsd 0x1a0(%rsp), %xmm0
movsd %xmm0, (%rax,%r12,8)
movq 0xc0(%rsp), %rdi
callq 0x3310
movq 0x50(%rsp), %rdi
callq 0x3310
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x16d98(%rip), %rdi     # 0x1fb8e
leaq 0x16e1d(%rip), %rsi     # 0x1fc1a
leaq 0x16e31(%rip), %rcx     # 0x1fc35
jmp 0x8e59
leaq 0x144a9(%rip), %rdi     # 0x1d2b6
leaq 0x13c28(%rip), %rsi     # 0x1ca3c
leaq 0x14539(%rip), %rcx     # 0x1d354
movl $0x1a9, %edx            # imm = 0x1A9
callq 0x31b0
leaq 0x1448a(%rip), %rdi     # 0x1d2b6
leaq 0x13c09(%rip), %rsi     # 0x1ca3c
leaq 0x15d12(%rip), %rcx     # 0x1eb4c
movl $0xb4, %edx
callq 0x31b0
leaq 0x16d43(%rip), %rdi     # 0x1fb8e
leaq 0x16dc8(%rip), %rsi     # 0x1fc1a
leaq 0x17675(%rip), %rcx     # 0x204ce
movl $0x61, %edx
callq 0x31b0
leaq 0x158ff(%rip), %rdi     # 0x1e769
leaq 0x1593c(%rip), %rsi     # 0x1e7ad
leaq 0x1708c(%rip), %rcx     # 0x1ff04
jmp 0x8f0e
leaq 0x1528e(%rip), %rdi     # 0x1e112
leaq 0x15331(%rip), %rsi     # 0x1e1bc
leaq 0x16aec(%rip), %rcx     # 0x1f97e
movl $0xaf, %edx
callq 0x31b0
leaq 0x150ee(%rip), %rdi     # 0x1df91
leaq 0x1518e(%rip), %rsi     # 0x1e038
leaq 0x16a03(%rip), %rcx     # 0x1f8b4
movl $0x7a, %edx
callq 0x31b0
leaq 0x13d88(%rip), %rdi     # 0x1cc4a
leaq 0x13dba(%rip), %rsi     # 0x1cc83
leaq 0x178b9(%rip), %rcx     # 0x20789
movl $0x6e, %edx
callq 0x31b0
leaq 0x13b26(%rip), %rdi     # 0x1ca07
leaq 0x13b54(%rip), %rsi     # 0x1ca3c
leaq 0x18029(%rip), %rcx     # 0x20f18
movl $0x16d, %edx            # imm = 0x16D
callq 0x31b0
leaq 0x15869(%rip), %rdi     # 0x1e769
leaq 0x158a6(%rip), %rsi     # 0x1e7ad
leaq 0x17c0f(%rip), %rcx     # 0x20b1d
movl $0x19d, %edx            # imm = 0x19D
callq 0x31b0
leaq 0x135d5(%rip), %rdi     # 0x1c4f4
leaq 0x135fd(%rip), %rsi     # 0x1c523
leaq 0x16b2d(%rip), %rcx     # 0x1fa5a
movl $0x2d1, %edx            # imm = 0x2D1
callq 0x31b0
leaq 0x151d4(%rip), %rdi     # 0x1e112
leaq 0x15277(%rip), %rsi     # 0x1e1bc
leaq 0x15f4b(%rip), %rcx     # 0x1ee97
jmp 0x8e92
leaq 0x15811(%rip), %rdi     # 0x1e769
leaq 0x1584e(%rip), %rsi     # 0x1e7ad
leaq 0x1600b(%rip), %rcx     # 0x1ef71
jmp 0x8f0e
leaq 0x13a98(%rip), %rdi     # 0x1ca07
leaq 0x13ac6(%rip), %rsi     # 0x1ca3c
leaq 0x13ae2(%rip), %rcx     # 0x1ca5f
jmp 0x8eef
leaq 0x1356b(%rip), %rdi     # 0x1c4f4
leaq 0x13593(%rip), %rsi     # 0x1c523
leaq 0x16236(%rip), %rcx     # 0x1f1cd
jmp 0x8f2d
leaq 0x13712(%rip), %rdi     # 0x1c6b2
leaq 0x1389a(%rip), %rsi     # 0x1c841
leaq 0x138b6(%rip), %rcx     # 0x1c864
jmp 0x8fc5
leaq 0x136fb(%rip), %rdi     # 0x1c6b2
leaq 0x13883(%rip), %rsi     # 0x1c841
leaq 0x15c38(%rip), %rcx     # 0x1ebfd
movl $0x11d, %edx            # imm = 0x11D
callq 0x31b0
movl $0x8, %edi
callq 0x3130
movq 0x25fe0(%rip), %rcx     # 0x2efc0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x25fe2(%rip), %rsi     # 0x2efd0
movq 0x25fb3(%rip), %rdx     # 0x2efa8
movq %rax, %rdi
callq 0x3430
movl $0x8, %edi
callq 0x3130
movq 0x25fb2(%rip), %rcx     # 0x2efc0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x25fb4(%rip), %rsi     # 0x2efd0
movq 0x25f85(%rip), %rdx     # 0x2efa8
movq %rax, %rdi
callq 0x3430
jmp 0x9094
movq %rax, %rbx
movq 0x170(%rsp), %rdi
cmpq %r14, %rdi
je 0x9102
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x9102
jmp 0x9094
jmp 0x9094
movq %rax, %rbx
movq 0x1f0(%rsp), %rdi
cmpq %r12, %rdi
je 0x9119
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x9119
jmp 0x9094
movq %rax, %rbx
jmp 0x910f
jmp 0x9099
movq %rax, %rbx
jmp 0x90d4
movq %rax, %rbx
jmp 0x9102
movq %rax, %rbx
jmp 0x90e1
movq %rax, %rbx
jmp 0x90eb
jmp 0x90a9
jmp 0x90a9
jmp 0x90a9
movq %rax, %rbx
jmp 0x90be
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
callq 0x3310
movq (%rsp), %rdi
callq 0x3310
movq 0x90(%rsp), %rdi
callq 0x3310
movq 0xa0(%rsp), %rdi
callq 0x3310
movq 0x30(%rsp), %rdi
callq 0x3310
movq 0x20(%rsp), %rdi
callq 0x3310
movq 0xb0(%rsp), %rdi
callq 0x3310
movq 0xc0(%rsp), %rdi
callq 0x3310
movq 0x50(%rsp), %rdi
callq 0x3310
movq %rbx, %rdi
callq 0x3450
nop