// File: /workspace/github_cpp_makefile_star2_O2/JorisCaze[P]NASG-EOS_Calibration/src/main.cpp
// Function: main
int main()
{
    displayHeader();
    cout << "\n*** Noble-Abel Stiffened Gas EOS Liquid/vapor calibration ***\n\n";

    string run("res/");
    double p0, ro0, c0;
    double cpL(0.), qL(0.), pinfL(0.), cvL(0.), gammaL(0.), qPrimL(0.), bL(0.);
    double cpG(0.), qG(0.), pinfG(0.), cvG(0.), gammaG(0.), qPrimG(0.), bG(0.);
    double mvL(0.), mT(0.), mp(0.), mhL(0.), mTp(0.), diffCl(0.);
    vector<double> Texp, psatExp, vGexp, vLexp, hGexp, hLexp, LvExp; 

    readLiqVapInput(p0,ro0,c0);
    readExpData("input/expData.txt",Texp,psatExp,vGexp,vLexp,hGexp,hLexp,LvExp);

    mvL = meanValue(vLexp);
    mT = meanValue(Texp);
    mp = meanValue(psatExp);
    mhL = meanValue(hLexp);

    // --- Liquid phase ---
    pinfL = computePinfL(psatExp,Texp,vLexp,hLexp,p0,ro0,c0);
    mTp = computeMeanTp(psatExp,Texp,pinfL);
    diffCl = computeHeatCapDiffL(psatExp,Texp,vLexp,mvL,mTp,pinfL);
    bL = computebL(mvL,mTp,diffCl);
    cpL = computeCpL(Texp,hLexp,psatExp,mhL,mp,mT,bL);
    cvL = cpL - diffCl;
    gammaL = computeGammak(cpL,cvL);
    qL = computeQl(mhL,mT,mp,cpL,bL);
    qPrimL = 0.; // Ref. energy convention

    // --- Vapor phase ---
    cpG = computecpG(hGexp,Texp);
    qG = computeQg(hGexp,Texp,cpG);
    cvG = computecvG(vGexp,Texp,psatExp,cpG);
    gammaG = computeGammak(cpG,cvG);
    pinfG = 0.;  // Ideal Gas
    bG = 0.;     // Ideal Gas
    qPrimG = computeQprimG(psatExp,Texp,cpL,cpG,cvL,cvG,qL,qG,pinfL,bL);

    // --- Results --- 
    cout << "--- Liquid (L) ---\n";
    cout << "cpL    (J.kg-1.K-1)  : " << cpL << endl;
    cout << "qL     (J.kg-1)      : " << qL << endl;
    cout << "pinfL  (Pa)          : " << pinfL << endl;
    cout << "cvL    (J.kg-1.K-1)  : " << cvL << endl;
    cout << "gammaL (-)           : " << gammaL << endl;
    cout << "q'L    (J.kg-1)      : " << qPrimL << endl;
    cout << "bL     (m3/kg)       : " << bL << endl;
    cout << "\n";

    cout << "--- Gas (G) ---\n";
    cout << "cpG    (J.kg-1.K-1)  : " << cpG << endl;
    cout << "qG     (J.kg-1)      : " << qG << endl;
    cout << "pinfG  (Pa)          : " << pinfG << endl;
    cout << "cvG    (J.kg-1.K-1)  : " << cvG << endl;
    cout << "gammaG (-)           : " << gammaG << endl;
    cout << "q'G    (J.kg-1)      : " << qPrimG << endl;
    cout << "bG     (m3/kg)       : " << bG << endl;
    cout << "\n";

    writeResults(cpL,qL,pinfL,cvL,gammaL,qPrimL,bL,cpG,qG,pinfG,cvG,gammaG,qPrimG,bG);
    
    // --- Write theoric curves --- 
    vector<double> hLth, hGth, LvTh, PsatTh, vlTh, vgTh;
    double A(0.),B(0.),C(0.),D(0.),E(0.);
    
    coeffPsatTh(cpG,cpL,cvG,cvL,qG,qL,qPrimG,qPrimL,bG,bL,A,B,C,D,E);

    for (unsigned int i = 0; i < Texp.size(); i++) {
        PsatTh.push_back(computePsatTh(A,B,C,D,E,pinfL,Texp[i]));
        hLth.push_back(computeThEnthalpy(cpL,bL,qL,Texp[i],PsatTh[i]));
        hGth.push_back(computeThEnthalpy(cpG,bG,qG,Texp[i],PsatTh[i]));
        LvTh.push_back(hGth[i]-hLth[i]);
        vlTh.push_back(computeVkTh(cpL,cvL,pinfL,bL,Texp[i],PsatTh[i]));
        vgTh.push_back(computeVkTh(cpG,cvG,pinfG,bG,Texp[i],PsatTh[i]));
    }
    writePlotFile("res/Psat_th.txt",Texp,PsatTh);
    writePlotFile("res/hL_th.txt",Texp,hLth);
    writePlotFile("res/hG_th.txt",Texp,hGth);
    writePlotFile("res/Lv_th.txt",Texp,LvTh);
    writePlotFile("res/vL_th.txt",Texp,vlTh);
    writePlotFile("res/vG_th.txt",Texp,vgTh);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x388, %rsp            # imm = 0x388
callq 0x4198
movq 0x4dc3(%rip), %rdi      # 0x7fd8
leaq 0x1f1d(%rip), %rsi      # 0x5139
callq 0x2150
leaq 0x1f52(%rip), %rsi      # 0x517a
leaq 0x368(%rsp), %rdi
leaq 0x70(%rsp), %rbx
movq %rbx, %rdx
callq 0x3058
xorpd %xmm0, %xmm0
movapd %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movapd %xmm0, 0x90(%rsp)
andq $0x0, 0xa0(%rsp)
movapd %xmm0, 0x1e0(%rsp)
andq $0x0, 0x1f0(%rsp)
movapd %xmm0, 0x120(%rsp)
andq $0x0, 0x130(%rsp)
movapd %xmm0, 0x160(%rsp)
andq $0x0, 0x170(%rsp)
movapd %xmm0, 0x100(%rsp)
andq $0x0, 0x110(%rsp)
movapd %xmm0, 0x240(%rsp)
andq $0x0, 0x250(%rsp)
leaq 0x238(%rsp), %rdi
leaq 0x230(%rsp), %rsi
leaq 0x228(%rsp), %rdx
callq 0x23cc
leaq 0x1ea5(%rip), %rsi      # 0x517f
leaq 0x348(%rsp), %rdi
leaq 0xe0(%rsp), %rdx
callq 0x3058
leaq 0x240(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x100(%rsp), %rax
movq %rax, (%rsp)
leaq 0x348(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x1e0(%rsp), %rcx
leaq 0x120(%rsp), %r8
leaq 0x160(%rsp), %r9
callq 0x422b
leaq 0x348(%rsp), %rdi
callq 0x20a0
leaq 0x120(%rsp), %rdi
callq 0x4621
movsd %xmm0, 0x30(%rsp)
leaq 0x70(%rsp), %rdi
callq 0x4621
movsd %xmm0, 0x48(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x4621
movsd %xmm0, 0x60(%rsp)
leaq 0x100(%rsp), %rdi
callq 0x4621
movsd %xmm0, 0x58(%rsp)
movsd 0x238(%rsp), %xmm0
movsd 0x230(%rsp), %xmm1
movsd 0x228(%rsp), %xmm2
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x120(%rsp), %rdx
leaq 0x100(%rsp), %rcx
callq 0x2a77
movsd %xmm0, 0x88(%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
movsd 0x88(%rsp), %xmm0
callq 0x276d
movapd %xmm0, %xmm1
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x120(%rsp), %rdx
movsd 0x30(%rsp), %xmm0
movsd %xmm1, 0x40(%rsp)
movsd 0x40(%rsp), %xmm1
movsd 0x88(%rsp), %xmm2
callq 0x27fd
movsd 0x40(%rsp), %xmm1
movsd %xmm0, 0x50(%rsp)
movsd 0x30(%rsp), %xmm0
movsd 0x50(%rsp), %xmm2
callq 0x2976
movsd %xmm0, 0x68(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x100(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movsd 0x58(%rsp), %xmm0
movsd 0x60(%rsp), %xmm1
movsd 0x48(%rsp), %xmm2
movsd 0x68(%rsp), %xmm3
callq 0x2990
movsd %xmm0, 0x40(%rsp)
movsd 0x40(%rsp), %xmm0
movapd %xmm0, %xmm1
subsd 0x50(%rsp), %xmm1
movsd %xmm1, 0x50(%rsp)
callq 0x2768
movsd %xmm0, 0xd8(%rsp)
movsd 0x58(%rsp), %xmm0
movsd 0x48(%rsp), %xmm1
movsd 0x60(%rsp), %xmm2
movsd 0x40(%rsp), %xmm3
movsd 0x68(%rsp), %xmm4
callq 0x2a66
movsd %xmm0, 0x60(%rsp)
leaq 0x160(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x2517
movsd %xmm0, 0x30(%rsp)
leaq 0x160(%rsp), %rdi
leaq 0x70(%rsp), %rsi
movsd 0x30(%rsp), %xmm0
callq 0x2593
movsd %xmm0, 0x58(%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movsd 0x30(%rsp), %xmm0
callq 0x25cc
movsd %xmm0, 0x48(%rsp)
movsd 0x30(%rsp), %xmm0
movsd 0x48(%rsp), %xmm1
callq 0x2768
movsd %xmm0, 0xd0(%rsp)
leaq 0x270(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x3f68
leaq 0x258(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x3f68
leaq 0x270(%rsp), %rdi
leaq 0x258(%rsp), %rsi
movsd 0x40(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
movsd 0x50(%rsp), %xmm2
movsd 0x48(%rsp), %xmm3
movsd 0x60(%rsp), %xmm4
movsd 0x58(%rsp), %xmm5
movsd 0x88(%rsp), %xmm6
movsd 0x68(%rsp), %xmm7
callq 0x2621
movsd %xmm0, 0xa8(%rsp)
leaq 0x258(%rsp), %rdi
callq 0x3fc0
leaq 0x270(%rsp), %rdi
callq 0x3fc0
movq 0x49f7(%rip), %rdi      # 0x7fd8
leaq 0x1ba9(%rip), %rsi      # 0x5191
callq 0x2150
movq 0x49e4(%rip), %rdi      # 0x7fd8
leaq 0x1baa(%rip), %rsi      # 0x51a5
callq 0x2150
movq %rax, %rdi
movsd 0x40(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x49bb(%rip), %rdi      # 0x7fd8
leaq 0x1b99(%rip), %rsi      # 0x51bd
callq 0x2150
movq %rax, %rdi
movsd 0x60(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4992(%rip), %rdi      # 0x7fd8
leaq 0x1b88(%rip), %rsi      # 0x51d5
callq 0x2150
movq %rax, %rdi
movsd 0x88(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4966(%rip), %rdi      # 0x7fd8
leaq 0x1b74(%rip), %rsi      # 0x51ed
callq 0x2150
movq %rax, %rdi
movsd 0x50(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x493d(%rip), %rdi      # 0x7fd8
leaq 0x1b63(%rip), %rsi      # 0x5205
callq 0x2150
movq %rax, %rdi
movsd 0xd8(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4911(%rip), %rdi      # 0x7fd8
leaq 0x1b4f(%rip), %rsi      # 0x521d
callq 0x2150
xorpd %xmm0, %xmm0
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x48ea(%rip), %rdi      # 0x7fd8
leaq 0x1b40(%rip), %rsi      # 0x5235
callq 0x2150
movq %rax, %rdi
movsd 0x68(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x48c1(%rip), %rdi      # 0x7fd8
leaq 0x1a5a(%rip), %rsi      # 0x5178
callq 0x2150
movq 0x48ae(%rip), %rdi      # 0x7fd8
leaq 0x1b1c(%rip), %rsi      # 0x524d
callq 0x2150
movq 0x489b(%rip), %rdi      # 0x7fd8
leaq 0x1b1a(%rip), %rsi      # 0x525e
callq 0x2150
movq %rax, %rdi
movsd 0x30(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4872(%rip), %rdi      # 0x7fd8
leaq 0x1b09(%rip), %rsi      # 0x5276
callq 0x2150
movq %rax, %rdi
movsd 0x58(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4849(%rip), %rdi      # 0x7fd8
leaq 0x1af8(%rip), %rsi      # 0x528e
callq 0x2150
xorpd %xmm0, %xmm0
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x4822(%rip), %rdi      # 0x7fd8
leaq 0x1ae9(%rip), %rsi      # 0x52a6
callq 0x2150
movq %rax, %rdi
movsd 0x48(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x47f9(%rip), %rdi      # 0x7fd8
leaq 0x1ad8(%rip), %rsi      # 0x52be
callq 0x2150
movq %rax, %rdi
movsd 0xd0(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x47cd(%rip), %rdi      # 0x7fd8
leaq 0x1ac4(%rip), %rsi      # 0x52d6
callq 0x2150
movq %rax, %rdi
movsd 0xa8(%rsp), %xmm0
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x47a1(%rip), %rdi      # 0x7fd8
leaq 0x1ab0(%rip), %rsi      # 0x52ee
callq 0x2150
xorpd %xmm0, %xmm0
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20b0
movq 0x477a(%rip), %rdi      # 0x7fd8
leaq 0x1913(%rip), %rsi      # 0x5178
callq 0x2150
movsd 0xa8(%rsp), %xmm0
movsd %xmm0, 0x20(%rsp)
movsd 0xd0(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
movsd 0x48(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
andq $0x0, 0x28(%rsp)
movsd 0x58(%rsp), %xmm0
movsd %xmm0, (%rsp)
andq $0x0, 0x8(%rsp)
xorps %xmm5, %xmm5
movsd 0x40(%rsp), %xmm0
movsd 0x60(%rsp), %xmm1
movsd 0x88(%rsp), %xmm2
movsd 0x50(%rsp), %xmm3
movsd 0xd8(%rsp), %xmm4
movsd 0x68(%rsp), %xmm6
movsd 0x30(%rsp), %xmm7
callq 0x474a
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
andq $0x0, 0xf0(%rsp)
movapd %xmm0, 0x140(%rsp)
andq $0x0, 0x150(%rsp)
movapd %xmm0, 0x1c0(%rsp)
andq $0x0, 0x1d0(%rsp)
movapd %xmm0, 0xb0(%rsp)
andq $0x0, 0xc0(%rsp)
movapd %xmm0, 0x1a0(%rsp)
andq $0x0, 0x1b0(%rsp)
movapd %xmm0, 0x180(%rsp)
andq $0x0, 0x190(%rsp)
leaq 0x220(%rsp), %rdi
andq $0x0, (%rdi)
leaq 0x218(%rsp), %rsi
andq $0x0, (%rsi)
leaq 0x210(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0x208(%rsp), %rcx
andq $0x0, (%rcx)
leaq 0x200(%rsp), %r8
andq $0x0, (%r8)
movsd 0x68(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
andq $0x0, (%rsp)
xorps %xmm7, %xmm7
movsd 0x30(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movsd 0x48(%rsp), %xmm2
movsd 0x50(%rsp), %xmm3
movsd 0x58(%rsp), %xmm4
movsd 0x60(%rsp), %xmm5
movsd 0xa8(%rsp), %xmm6
callq 0x2da0
xorl %r15d, %r15d
leaq 0x38(%rsp), %r14
leaq 0x140(%rsp), %r12
leaq 0x1c0(%rsp), %r13
leaq 0x1a0(%rsp), %rbp
leaq 0x180(%rsp), %rbx
movl %r15d, %r15d
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
jbe 0x3bb6
movsd 0x220(%rsp), %xmm0
movsd 0x218(%rsp), %xmm1
movsd 0x210(%rsp), %xmm2
movsd 0x208(%rsp), %xmm3
movsd 0x200(%rsp), %xmm4
movsd (%rax,%r15,8), %xmm6
movsd 0x88(%rsp), %xmm5
callq 0x2e03
movsd %xmm0, 0x38(%rsp)
leaq 0xb0(%rsp), %rdi
movq %r14, %rsi
callq 0x4056
movq 0x70(%rsp), %rax
movsd (%rax,%r15,8), %xmm3
movq 0xb0(%rsp), %rax
movsd (%rax,%r15,8), %xmm4
movsd 0x40(%rsp), %xmm0
movsd 0x68(%rsp), %xmm1
movsd 0x60(%rsp), %xmm2
callq 0x3032
movsd %xmm0, 0x38(%rsp)
leaq 0xe0(%rsp), %rdi
movq %r14, %rsi
callq 0x4056
movq 0x70(%rsp), %rax
movsd (%rax,%r15,8), %xmm3
movq 0xb0(%rsp), %rax
movsd (%rax,%r15,8), %xmm4
xorpd %xmm1, %xmm1
movsd 0x30(%rsp), %xmm0
movsd 0x58(%rsp), %xmm2
callq 0x3032
movsd %xmm0, 0x38(%rsp)
movq %r12, %rdi
movq %r14, %rsi
callq 0x4056
movq 0x140(%rsp), %rax
movsd (%rax,%r15,8), %xmm0
movq 0xe0(%rsp), %rax
subsd (%rax,%r15,8), %xmm0
movsd %xmm0, 0x38(%rsp)
movq %r13, %rdi
movq %r14, %rsi
callq 0x4056
movq 0x70(%rsp), %rax
movsd (%rax,%r15,8), %xmm4
movq 0xb0(%rsp), %rax
movsd (%rax,%r15,8), %xmm5
movsd 0x40(%rsp), %xmm0
movsd 0x50(%rsp), %xmm1
movsd 0x88(%rsp), %xmm2
movsd 0x68(%rsp), %xmm3
callq 0x3043
movsd %xmm0, 0x38(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x4056
movq 0x70(%rsp), %rax
movsd (%rax,%r15,8), %xmm4
movq 0xb0(%rsp), %rax
movsd (%rax,%r15,8), %xmm5
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movsd 0x30(%rsp), %xmm0
movsd 0x48(%rsp), %xmm1
callq 0x3043
movsd %xmm0, 0x38(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4056
incl %r15d
jmp 0x39fd
leaq 0x1749(%rip), %rsi      # 0x5306
leaq 0x328(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x328(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
callq 0x4577
leaq 0x328(%rsp), %rdi
callq 0x20a0
leaq 0x1719(%rip), %rsi      # 0x5316
leaq 0x308(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x308(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
callq 0x4577
leaq 0x308(%rsp), %rdi
callq 0x20a0
leaq 0x16e7(%rip), %rsi      # 0x5324
leaq 0x2e8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x2e8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x140(%rsp), %rdx
callq 0x4577
leaq 0x2e8(%rsp), %rdi
callq 0x20a0
leaq 0x16b5(%rip), %rsi      # 0x5332
leaq 0x2c8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x2c8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x1c0(%rsp), %rdx
callq 0x4577
leaq 0x2c8(%rsp), %rdi
callq 0x20a0
leaq 0x1683(%rip), %rsi      # 0x5340
leaq 0x2a8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x2a8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x1a0(%rsp), %rdx
callq 0x4577
leaq 0x2a8(%rsp), %rdi
callq 0x20a0
leaq 0x1651(%rip), %rsi      # 0x534e
leaq 0x288(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3058
leaq 0x288(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x180(%rsp), %rdx
callq 0x4577
leaq 0x288(%rsp), %rdi
callq 0x20a0
leaq 0x180(%rsp), %rdi
callq 0x3fc0
leaq 0x1a0(%rsp), %rdi
callq 0x3fc0
leaq 0xb0(%rsp), %rdi
callq 0x3fc0
leaq 0x1c0(%rsp), %rdi
callq 0x3fc0
leaq 0x140(%rsp), %rdi
callq 0x3fc0
leaq 0xe0(%rsp), %rdi
callq 0x3fc0
leaq 0x240(%rsp), %rdi
callq 0x3fc0
leaq 0x100(%rsp), %rdi
callq 0x3fc0
leaq 0x160(%rsp), %rdi
callq 0x3fc0
leaq 0x120(%rsp), %rdi
callq 0x3fc0
leaq 0x1e0(%rsp), %rdi
callq 0x3fc0
leaq 0x90(%rsp), %rdi
callq 0x3fc0
leaq 0x70(%rsp), %rdi
callq 0x3fc0
leaq 0x368(%rsp), %rdi
callq 0x20a0
xorl %eax, %eax
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x288(%rsp), %rdi
jmp 0x3e59
jmp 0x3ea4
movq %rax, %rbx
leaq 0x2a8(%rsp), %rdi
jmp 0x3e59
jmp 0x3ea4
movq %rax, %rbx
leaq 0x2c8(%rsp), %rdi
jmp 0x3e59
jmp 0x3ea4
movq %rax, %rbx
leaq 0x2e8(%rsp), %rdi
jmp 0x3e59
jmp 0x3ea4
movq %rax, %rbx
leaq 0x308(%rsp), %rdi
jmp 0x3e59
jmp 0x3ea4
movq %rax, %rbx
leaq 0x328(%rsp), %rdi
callq 0x20a0
jmp 0x3ea7
jmp 0x3ea4
jmp 0x3ea4
movq %rax, %rbx
leaq 0x258(%rsp), %rdi
callq 0x3fc0
jmp 0x3e79
movq %rax, %rbx
leaq 0x270(%rsp), %rdi
jmp 0x3ef0
movq %rax, %rbx
leaq 0x348(%rsp), %rdi
callq 0x20a0
jmp 0x3ef5
jmp 0x3f62
jmp 0x3ea4
jmp 0x3ea4
jmp 0x3ea4
jmp 0x3ea4
jmp 0x3ea4
movq %rax, %rbx
leaq 0x180(%rsp), %rdi
callq 0x3fc0
leaq 0x1a0(%rsp), %rdi
callq 0x3fc0
leaq 0xb0(%rsp), %rdi
callq 0x3fc0
leaq 0x1c0(%rsp), %rdi
callq 0x3fc0
leaq 0x140(%rsp), %rdi
callq 0x3fc0
leaq 0xe0(%rsp), %rdi
callq 0x3fc0
leaq 0x240(%rsp), %rdi
callq 0x3fc0
leaq 0x100(%rsp), %rdi
callq 0x3fc0
leaq 0x160(%rsp), %rdi
callq 0x3fc0
leaq 0x120(%rsp), %rdi
callq 0x3fc0
leaq 0x1e0(%rsp), %rdi
callq 0x3fc0
leaq 0x90(%rsp), %rdi
callq 0x3fc0
leaq 0x70(%rsp), %rdi
callq 0x3fc0
leaq 0x368(%rsp), %rdi
callq 0x20a0
movq %rbx, %rdi
callq 0x2210
movq %rax, %rbx
jmp 0x3ef5
nop