// File: /workspace/github_cpp_makefile_star2_O3/istellartech[P]OpenTsiolkovsky/src/rocket.cpp
// Function: RocketStage::operator()(std::array<double, 14ul> const&, std::array<double, 14ul>&, double)
void RocketStage::operator()(const RocketStage::state& x, RocketStage::state& dx, double t){
    posECI_ << x[1], x[2], x[3];
    velECI_ << x[4], x[5], x[6];

    dcmECI2ECEF_ = dcmECI2ECEF(t);
    posECEF_ = posECEF(dcmECI2ECEF_, posECI_);
    posLLH_ = posLLH(posECEF_);

    //    It does not calculate after the rocket falls to the ground
    if ( posLLH_[2] < 0) {
        dx = {0, 0, 0, 0, 0, 0, 0};
        /*
        if ((int)t % 10 == 0 && (int)(t*10) % 10 == 0 ){ // progress
            progress(t);
        }
        */
        if ( flag_impact_g == false ) {
            impact_point_g << posLLH_[0], posLLH_[1];
            flag_impact_g = true;
        }
        return;
    }

    //    update rocket variables
    update_from_time_and_altitude(t, posLLH_[2]);

    //    transform coordinate
    dcmECEF2NED_ = dcmECEF2NED(posLLH_);
    dcmNED2ECEF_ = dcmECEF2NED_.transpose();
    dcmECI2NED_ = dcmECI2NED(dcmECEF2NED_, dcmECI2ECEF_);
    dcmNED2ECI_ = dcmECI2NED_.transpose();
    dcmECEF2NED_init_ = dcmECEF2NED(launch_pos_LLH);
    dcmECI2NED_init_ = dcmECI2NED(dcmECEF2NED_init_, dcmECI2ECEF(0.0));
    vel_ECEF_NEDframe_ = vel_ECEF_NEDframe(dcmECI2NED_, velECI_, posECI_);
    vel_wind_NEDframe_ = vel_wind_NEDframe(wind_speed, wind_direction);
    //    air = air.altitude(posLLH_[2]);
    if (air_density_file_exist){
        air = air.altitude_with_variation_table(posLLH_[2], air_density_mat);
    } else{
        air = air.altitude_with_variation(posLLH_[2], variation_ratio_of_air_density);
    }
    //    gravity term : gravity acceleration in the north direction is not considered
    gravityECI_ = gravityECI(posECI_);

    if (is_powered){  // ---- powered flight ----
        switch (power_flight_mode) {
            case _3DoF:
                power_flight_3dof(x,t);
                break;
            case _3DoF_with_delay:  // Unimplemented
                power_flight_3dof_with_delay(x, t);
                break;
            case _6DoF:  // Unimplemented
                power_flight_6dof(x, t);
                break;
            case _6DoF_aerodynamic_stable:  // Unimplemented
                power_flight_6dof_aerodynamic_stable(x, t);
                break;
            default:
                m_dot = 0;
                accECI_ << 0.0, 0.0, 0.0;
                break;
        }
    } else {  // ---- free flight ----
        switch (free_flight_mode) {
            case aerodynamic_stable:
                free_flight_aerodynamic_stable(x, t);
                break;
            case _3DoF_defined:
                free_flight_3dof_defined(x, t);
                break;
            case ballistic_flight:
                free_flight_ballistic(x, t);
                break;
            default:
                m_dot = 0;
                accECI_ << 0.0, 0.0, 0.0;
                break;
        }
    }

    dx[0] = -m_dot;
    dx[1] = x[4];
    dx[2] = x[5];
    dx[3] = x[6];
    dx[4] = accECI_[0];
    dx[5] = accECI_[1];
    dx[6] = accECI_[2];

    //    separation
    if (flag_separation_g == false && t >= later_stage_separation_time){
        flag_separation_g = true;
        posECI_init_g = posECI_;
        velECI_init_g = velECI_;
    }

    // dumping product
    if (flag_dump_g == false && t >= dump_separation_time){
        flag_dump_g = true;
        posECI_dump_init_g = posECI_;
        velECI_dump_init_g = velECI_ + dcmNED2ECI_ * vel_dump_additional_NEDframe;
    }

    if (max_alt_g < posLLH_[2]){  // update maximum altitude[m]
        max_alt_g = posLLH_[2];
    }
    downrange = distance_surface(launch_pos_LLH, posLLH_);
    if (max_downrange_g < downrange){  // update maximum downrange
        max_downrange_g = downrange;
    }

    /*
    if ((int)t % 10 == 0 && (int)(t*10) % 10 == 0 ){ // progress
        progress(t);
    }
    */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x458, %rsp            # imm = 0x458
movsd %xmm0, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x9c0(%rdi), %rax
leaq 0x40(%rsp), %rdi
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movl $0x1, %eax
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movsd 0x8(%rsi), %xmm0
movsd %xmm0, 0x9c0(%rbx)
addq $0x10, %rsi
callq 0x15520
leaq 0x18(%r15), %rsi
movq %rax, %rdi
callq 0x15520
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
jne 0x1106e
cmpq $0x1, 0x50(%rsp)
jne 0x1106e
leaq 0x9d8(%rbx), %rax
leaq 0x40(%rsp), %rdi
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movl $0x1, %eax
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movsd 0x20(%r15), %xmm0
movsd %xmm0, 0x9d8(%rbx)
leaq 0x28(%r15), %rsi
callq 0x15520
leaq 0x30(%r15), %rsi
movq %rax, %rdi
callq 0x15520
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
jne 0x1106e
cmpq $0x1, 0x50(%rsp)
jne 0x1106e
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x226c0
movaps (%r12), %xmm0
movaps %xmm0, 0xa20(%rbx)
movaps 0x10(%r12), %xmm1
movaps %xmm1, 0xa30(%rbx)
movapd 0x20(%r12), %xmm2
movapd %xmm2, 0xa40(%rbx)
movapd 0x30(%r12), %xmm3
movapd %xmm3, 0xa50(%rbx)
movsd 0x40(%r12), %xmm4
movsd %xmm4, 0xa60(%rbx)
leaq 0x3c0(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm1, 0x10(%rsi)
movapd %xmm2, 0x20(%rsi)
movapd %xmm3, 0x30(%rsi)
movsd %xmm4, 0x40(%rsi)
movaps 0x9c0(%rbx), %xmm0
leaq 0x260(%rsp), %rdx
movaps %xmm0, (%rdx)
movsd 0x9d0(%rbx), %xmm0
movsd %xmm0, 0x10(%rdx)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22834
movaps (%r12), %xmm0
movups %xmm0, 0xa68(%rbx)
movsd 0x10(%r12), %xmm1
movsd %xmm1, 0xa78(%rbx)
leaq 0x240(%rsp), %rsi
movaps %xmm0, (%rsi)
movsd %xmm1, 0x10(%rsi)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22920
movapd (%r12), %xmm0
movapd %xmm0, 0xa80(%rbx)
movsd 0x10(%r12), %xmm1
movsd %xmm1, 0xa90(%rbx)
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x107c8
xorpd %xmm0, %xmm0
movupd %xmm0, 0x60(%r14)
movupd %xmm0, 0x50(%r14)
movupd %xmm0, 0x40(%r14)
movupd %xmm0, 0x30(%r14)
movupd %xmm0, 0x20(%r14)
movupd %xmm0, 0x10(%r14)
movupd %xmm0, (%r14)
cmpb $0x0, 0x21d48(%rip)     # 0x3249b
jne 0x11020
leaq 0x21d50(%rip), %rax     # 0x324b0
leaq 0x40(%rsp), %rdi
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movl $0x1, %eax
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movsd 0xa80(%rbx), %xmm0
addq $0xa88, %rbx            # imm = 0xA88
movsd %xmm0, 0x21d1c(%rip)    # 0x324b0
movq %rbx, %rsi
callq 0x16604
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x2, %rax
jne 0x11032
cmpq $0x1, 0x50(%rsp)
jne 0x11032
movb $0x1, 0x21cd8(%rip)     # 0x3249b
jmp 0x11020
movq %rbx, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x11106
movaps 0xa80(%rbx), %xmm0
leaq 0x220(%rsp), %rsi
movaps %xmm0, (%rsi)
movsd 0xa90(%rbx), %xmm0
movsd %xmm0, 0x10(%rsi)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22aad
movapd (%r12), %xmm0
movupd %xmm0, 0xa98(%rbx)
movapd 0x10(%r12), %xmm1
movupd %xmm1, 0xaa8(%rbx)
movapd 0x20(%r12), %xmm2
movupd %xmm2, 0xab8(%rbx)
movapd 0x30(%r12), %xmm3
movupd %xmm3, 0xac8(%rbx)
movsd 0x40(%r12), %xmm4
movsd %xmm4, 0xad8(%rbx)
movapd %xmm1, %xmm5
movsd %xmm0, %xmm5            # xmm5 = xmm0[0],xmm5[1]
movapd %xmm5, 0xae0(%rbx)
movapd %xmm0, %xmm5
movsd %xmm3, %xmm5            # xmm5 = xmm3[0],xmm5[1]
movapd %xmm5, 0xaf0(%rbx)
movapd %xmm3, %xmm5
movsd %xmm2, %xmm5            # xmm5 = xmm2[0],xmm5[1]
movapd %xmm5, 0xb00(%rbx)
movapd %xmm2, %xmm5
movsd %xmm1, %xmm5            # xmm5 = xmm1[0],xmm5[1]
movapd %xmm5, 0xb10(%rbx)
movsd %xmm4, 0xb20(%rbx)
leaq 0x370(%rsp), %rsi
movapd %xmm0, (%rsi)
movapd %xmm1, 0x10(%rsi)
movapd %xmm2, 0x20(%rsi)
movapd %xmm3, 0x30(%rsi)
movsd %xmm4, 0x40(%rsi)
movaps 0xa20(%rbx), %xmm0
leaq 0x320(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps 0xa30(%rbx), %xmm0
movaps %xmm0, 0x10(%rdx)
movaps 0xa40(%rbx), %xmm0
movaps %xmm0, 0x20(%rdx)
movaps 0xa50(%rbx), %xmm0
movaps %xmm0, 0x30(%rdx)
movsd 0xa60(%rbx), %xmm0
movsd %xmm0, 0x40(%rdx)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22cf4
movapd (%r12), %xmm0
movupd %xmm0, 0xb28(%rbx)
movapd 0x10(%r12), %xmm1
movupd %xmm1, 0xb38(%rbx)
movapd 0x20(%r12), %xmm2
movupd %xmm2, 0xb48(%rbx)
movapd 0x30(%r12), %xmm3
movupd %xmm3, 0xb58(%rbx)
movsd 0x40(%r12), %xmm4
movsd %xmm4, 0xb68(%rbx)
movapd %xmm1, %xmm5
movsd %xmm0, %xmm5            # xmm5 = xmm0[0],xmm5[1]
movapd %xmm5, 0xb70(%rbx)
movsd %xmm3, %xmm0            # xmm0 = xmm3[0],xmm0[1]
movapd %xmm0, 0xb80(%rbx)
movsd %xmm2, %xmm3            # xmm3 = xmm2[0],xmm3[1]
movapd %xmm3, 0xb90(%rbx)
movsd %xmm1, %xmm2            # xmm2 = xmm1[0],xmm2[1]
movapd %xmm2, 0xba0(%rbx)
movsd %xmm4, 0xbb0(%rbx)
movaps 0x340(%rbx), %xmm0
leaq 0x200(%rsp), %rsi
movaps %xmm0, (%rsi)
movsd 0x350(%rbx), %xmm0
movsd %xmm0, 0x10(%rsi)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22aad
movaps (%r12), %xmm0
movups %xmm0, 0xd68(%rbx)
movaps 0x10(%r12), %xmm1
movups %xmm1, 0xd78(%rbx)
movapd 0x20(%r12), %xmm2
movupd %xmm2, 0xd88(%rbx)
movapd 0x30(%r12), %xmm3
movupd %xmm3, 0xd98(%rbx)
movsd 0x40(%r12), %xmm4
movsd %xmm4, 0xda8(%rbx)
leaq 0x2d0(%rsp), %r12
movaps %xmm0, (%r12)
movaps %xmm1, 0x10(%r12)
movapd %xmm2, 0x20(%r12)
movapd %xmm3, 0x30(%r12)
movsd %xmm4, 0x40(%r12)
leaq 0x410(%rsp), %r13
xorps %xmm0, %xmm0
movq %r13, %rdi
callq 0x226c0
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x22cf4
movaps (%rbp), %xmm0
movaps %xmm0, 0xdb0(%rbx)
movaps 0x10(%rbp), %xmm0
movaps %xmm0, 0xdc0(%rbx)
movaps 0x20(%rbp), %xmm0
movaps %xmm0, 0xdd0(%rbx)
movaps 0x30(%rbp), %xmm0
movaps %xmm0, 0xde0(%rbx)
movsd 0x40(%rbp), %xmm0
movsd %xmm0, 0xdf0(%rbx)
movups 0xb28(%rbx), %xmm0
leaq 0x280(%rsp), %rsi
movaps %xmm0, (%rsi)
movups 0xb38(%rbx), %xmm0
movaps %xmm0, 0x10(%rsi)
movups 0xb48(%rbx), %xmm0
movaps %xmm0, 0x20(%rsi)
movups 0xb58(%rbx), %xmm0
movaps %xmm0, 0x30(%rsi)
movsd 0xb68(%rbx), %xmm0
movsd %xmm0, 0x40(%rsi)
movups 0x9d8(%rbx), %xmm0
leaq 0x1e0(%rsp), %rdx
movaps %xmm0, (%rdx)
movsd 0x9e8(%rbx), %xmm0
movsd %xmm0, 0x10(%rdx)
movaps 0x9c0(%rbx), %xmm0
leaq 0x1c0(%rsp), %rcx
movaps %xmm0, (%rcx)
movsd 0x9d0(%rbx), %xmm0
movsd %xmm0, 0x10(%rcx)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x22e72
movaps (%r12), %xmm0
movups %xmm0, 0xbb8(%rbx)
movsd 0x10(%r12), %xmm0
movsd %xmm0, 0xbc8(%rbx)
movsd 0x918(%rbx), %xmm0
movsd 0x920(%rbx), %xmm1
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x230da
movaps (%r12), %xmm0
movaps %xmm0, 0xbd0(%rbx)
movsd 0x10(%r12), %xmm0
movsd %xmm0, 0xbe0(%rbx)
leaq 0x7f8(%rbx), %r12
cmpb $0x1, 0x290(%rbx)
jne 0x10be6
movsd 0xa90(%rbx), %xmm0
movsd %xmm0, 0x10(%rsp)
leaq 0x2b8(%rbx), %r13
movq 0x2c0(%rbx), %rdx
movq 0x2c8(%rbx), %rcx
movq %rcx, %rsi
imulq %rdx, %rsi
leaq 0x28(%rsp), %rbp
movq %rbp, %rdi
callq 0x69e0
movq %rbp, %rdi
movq %r13, %rsi
callq 0x6a4e
leaq 0x40(%rsp), %rdi
leaq 0x28(%rsp), %rdx
movq %r12, %rsi
movsd 0x10(%rsp), %xmm0
callq 0x622a
leaq 0x40(%rsp), %rsi
movl $0x120, %edx            # imm = 0x120
movq %r12, %rdi
callq 0x52f0
movq 0x28(%rsp), %rdi
callq 0x5460
jmp 0x10c16
movsd 0xa90(%rbx), %xmm0
movsd 0x270(%rbx), %xmm1
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x5e9c
movl $0x120, %edx            # imm = 0x120
movq %r12, %rdi
movq %r13, %rsi
callq 0x52f0
movaps 0x9c0(%rbx), %xmm0
leaq 0x1a0(%rsp), %rsi
movaps %xmm0, (%rsi)
movsd 0x9d0(%rbx), %xmm0
movsd %xmm0, 0x10(%rsi)
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x21930
movaps (%r12), %xmm0
movups %xmm0, 0xe58(%rbx)
movsd 0x10(%r12), %xmm0
movsd %xmm0, 0xe68(%rbx)
cmpb $0x1, 0x254(%rbx)
jne 0x10c9c
movl 0x278(%rbx), %eax
cmpq $0x3, %rax
movsd 0x8(%rsp), %xmm0
ja 0x10d9d
leaq 0x1537d(%rip), %rcx     # 0x26000
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
movq %r15, %rsi
callq 0x11a4e
jmp 0x10d95
movl 0x27c(%rbx), %eax
cmpl $0x2, %eax
movsd 0x8(%rsp), %xmm0
je 0x10cd6
cmpl $0x1, %eax
je 0x10cc6
testl %eax, %eax
jne 0x10ce3
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1268a
jmp 0x10d95
movq %rbx, %rdi
movq %r15, %rsi
callq 0x12bf2
jmp 0x10d95
movq %rbx, %rdi
callq 0x134b0
jmp 0x10d95
xorl %eax, %eax
movq %rax, 0x790(%rbx)
leaq 0x9f0(%rbx), %rcx
leaq 0x40(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x1, %ecx
movq %rcx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %rax, 0x9f0(%rbx)
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
callq 0x15520
leaq 0x18(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x15520
jmp 0x10dee
leaq 0x230(%rbx), %rdi
movq 0x238(%rbx), %rdx
leaq 0x15cd9(%rip), %rcx     # 0x26a27
movl $0xa, %r8d
jmp 0x10d8e
leaq 0x230(%rbx), %rdi
movq 0x238(%rbx), %rdx
leaq 0x15cc7(%rip), %rcx     # 0x26a32
movl $0x16, %r8d
jmp 0x10d8e
leaq 0x230(%rbx), %rdi
movq 0x238(%rbx), %rdx
leaq 0x15c8e(%rip), %rcx     # 0x26a16
movl $0x10, %r8d
xorl %esi, %esi
callq 0x5540
movsd 0x8(%rsp), %xmm1
jmp 0x10e14
xorl %eax, %eax
movq %rax, 0x790(%rbx)
leaq 0x9f0(%rbx), %rcx
leaq 0x40(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x1, %ecx
movq %rcx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %rax, 0x9f0(%rbx)
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
callq 0x15520
leaq 0x18(%rsp), %rsi
movq $0x0, (%rsi)
movq %rax, %rdi
callq 0x15520
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
movsd 0x8(%rsp), %xmm1
jne 0x1106e
cmpq $0x1, 0x50(%rsp)
jne 0x1106e
movsd 0x790(%rbx), %xmm0
xorps 0x1512d(%rip), %xmm0    # 0x25f50
movlps %xmm0, (%r14)
movsd 0x20(%r15), %xmm0
movsd %xmm0, 0x8(%r14)
movsd 0x28(%r15), %xmm0
movsd %xmm0, 0x10(%r14)
movsd 0x30(%r15), %xmm0
movsd %xmm0, 0x18(%r14)
movsd 0x9f0(%rbx), %xmm0
movsd %xmm0, 0x20(%r14)
movsd 0x9f8(%rbx), %xmm0
movsd %xmm0, 0x28(%r14)
movsd 0xa00(%rbx), %xmm0
movsd %xmm0, 0x30(%r14)
cmpb $0x0, 0x2161c(%rip)     # 0x32498
jne 0x10ecb
ucomisd 0x750(%rbx), %xmm1
jb 0x10ecb
movb $0x1, 0x21609(%rip)     # 0x32498
movaps 0x9c0(%rbx), %xmm0
movaps %xmm0, 0x215c3(%rip)    # 0x32460
movsd 0x9d0(%rbx), %xmm0
movsd %xmm0, 0x215c3(%rip)    # 0x32470
movups 0x9d8(%rbx), %xmm0
movaps %xmm0, 0x215c5(%rip)    # 0x32480
movsd 0x9e8(%rbx), %xmm0
movsd %xmm0, 0x215c5(%rip)    # 0x32490
cmpb $0x0, 0x215c8(%rip)     # 0x3249a
jne 0x10faf
ucomisd 0x650(%rbx), %xmm1
jb 0x10faf
movb $0x1, 0x215ad(%rip)     # 0x3249a
movaps 0x9c0(%rbx), %xmm0
movaps %xmm0, 0x215c5(%rip)    # 0x324c0
movsd 0x9d0(%rbx), %xmm0
movsd %xmm0, 0x215c5(%rip)    # 0x324d0
movapd 0xb70(%rbx), %xmm4
movsd 0x668(%rbx), %xmm2
movsd 0x670(%rbx), %xmm1
movsd 0x678(%rbx), %xmm0
movsd 0xb80(%rbx), %xmm3
mulsd %xmm2, %xmm3
movsd 0xb98(%rbx), %xmm5
mulsd %xmm1, %xmm5
addsd %xmm3, %xmm5
movsd 0xbb0(%rbx), %xmm3
mulsd %xmm0, %xmm3
unpcklpd %xmm2, %xmm4            # xmm4 = xmm4[0],xmm2[0]
movhpd 0xb78(%rbx), %xmm2      # xmm2 = xmm2[0],mem[0]
addsd %xmm5, %xmm3
mulpd %xmm4, %xmm2
movupd 0xb88(%rbx), %xmm4
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm4, %xmm1
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd 0xba0(%rbx), %xmm0
addpd %xmm2, %xmm1
addpd %xmm1, %xmm0
movupd 0x9d8(%rbx), %xmm1
addpd %xmm0, %xmm1
movapd %xmm1, 0x21541(%rip)    # 0x324e0
addsd 0x9e8(%rbx), %xmm3
movsd %xmm3, 0x21541(%rip)    # 0x324f0
movsd 0xa90(%rbx), %xmm0
ucomisd 0x214e9(%rip), %xmm0    # 0x324a8
jbe 0x10fc9
movsd %xmm0, 0x214df(%rip)    # 0x324a8
movaps 0x340(%rbx), %xmm1
leaq 0x180(%rsp), %rdi
movaps %xmm1, (%rdi)
movsd 0x350(%rbx), %xmm1
movsd %xmm1, 0x10(%rdi)
movapd 0xa80(%rbx), %xmm1
leaq 0x160(%rsp), %rsi
movapd %xmm1, (%rsi)
movsd %xmm0, 0x10(%rsi)
callq 0x241c7
movsd %xmm0, 0xe88(%rbx)
ucomisd 0x2148a(%rip), %xmm0    # 0x324a0
jbe 0x11020
movsd %xmm0, 0x21480(%rip)    # 0x324a0
addq $0x458, %rsp            # imm = 0x458
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1629b(%rip), %rdi     # 0x272d4
leaq 0x1631b(%rip), %rsi     # 0x2735b
leaq 0x165c7(%rip), %rcx     # 0x2760e
jmp 0x11083
jmp 0x1104f
jmp 0x1104f
jmp 0x1104f
movq %rax, %rbx
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
jne 0x1106e
cmpq $0x1, 0x50(%rsp)
je 0x110f9
leaq 0x1625f(%rip), %rdi     # 0x272d4
leaq 0x162df(%rip), %rsi     # 0x2735b
leaq 0x16305(%rip), %rcx     # 0x27388
movl $0x6a, %edx
callq 0x5250
movq %rax, %rbx
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x2, %rax
jne 0x110a8
cmpq $0x1, 0x50(%rsp)
je 0x110f9
callq 0x578a
jmp 0x110af
movq %rax, %rbx
movq 0x28(%rsp), %rdi
callq 0x5460
jmp 0x110f9
movq %rax, %rbx
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
jne 0x110d9
cmpq $0x1, 0x50(%rsp)
je 0x110f9
callq 0x576c
movq %rax, %rbx
movq 0x58(%rsp), %rax
addq 0x48(%rsp), %rax
cmpq $0x3, %rax
jne 0x11101
cmpq $0x1, 0x50(%rsp)
jne 0x11101
movq %rbx, %rdi
callq 0x5650
callq 0x574e