// File: /workspace/github_cpp_makefile_star2_O1/ynilu[P]elastic/simulator.cpp
// Function: print_result(Traffic)
void print_result(Traffic traffic)
{
    cout << "Output result\n";
    ostringstream filename;

    filename << "result_";

    if(enable_OTDM)
    {
        filename << "OTDM_";
    }
    else
    {
        filename << "SLICE_";
    }

    filename << traffic_lambda << "_" << num_requests << "_" << num_transceiver << "_" << graph_file;

    ofstream ofs (filename.str(), ofstream::out);

    double num_OEO_s2 = 0;
    double num_OFDM_lightpath_use_s2 = 0;
    double num_OTDM_lightpath_use_s2 = 0;
    for(int i = 0; i < num_batch; i++)
    {
        num_OEO_BM[i] = (double)num_OEO_BM[i]/accepted_requests_BM[i] - (double)num_OEO/accepted_requests;
        num_OFDM_lightpath_use_BM[i] = (double)num_OFDM_lightpath_use_BM[i]/accepted_requests_BM[i] - (double)num_OFDM_lightpath_use/accepted_requests;
        num_OTDM_lightpath_use_BM[i] = (double)num_OTDM_lightpath_use_BM[i]/accepted_requests_BM[i] - (double)num_OTDM_lightpath_use/accepted_requests;

        num_OEO_BM[i] = num_OEO_BM[i]*num_OEO_BM[i];
        num_OFDM_lightpath_use_BM[i] = num_OFDM_lightpath_use_BM[i]*num_OFDM_lightpath_use_BM[i];
        num_OTDM_lightpath_use_BM[i] = num_OTDM_lightpath_use_BM[i]*num_OTDM_lightpath_use_BM[i];

        num_OEO_s2 += num_OEO_BM[i];
        num_OFDM_lightpath_use_s2 += num_OFDM_lightpath_use_BM[i];
        num_OTDM_lightpath_use_s2 += num_OFDM_lightpath_use_BM[i];
    }
    num_OEO_s2 /= (num_batch-1);
    num_OFDM_lightpath_use_s2 /= (num_batch-1);
    num_OTDM_lightpath_use_s2 /= (num_batch-1);

    num_OEO_s2 /= num_batch;
    num_OFDM_lightpath_use_s2 /= num_batch;
    num_OTDM_lightpath_use_s2 /= num_batch;

    num_OEO_s2 = sqrt(num_OEO_s2);
    num_OFDM_lightpath_use_s2 = sqrt(num_OFDM_lightpath_use_s2);
    num_OTDM_lightpath_use_s2 = sqrt(num_OTDM_lightpath_use_s2);

    double p_hat;

    p_hat = (double)blocked_bandwidth/total_bandwidth;
    p_hat = (double)p_hat*(1-p_hat)/total_bandwidth;
    ofs << "Bandwidth Blocking Ratio: "<<(double)blocked_bandwidth/total_bandwidth<< " +- " << (double)1.960*sqrt(p_hat)<< endl;
    ofs << "Blocked Requests: "<<blocked_requests<<endl;
    ofs << "Accepted Requests: "<<accepted_requests<<endl;
    p_hat = (double)blocked_requests/num_requests;
    p_hat = (double)p_hat*(1-p_hat)/num_requests;
    ofs << "Blocking Probability: "<<(double)blocked_requests/num_requests << " +- " << (double)1.960*sqrt(p_hat)<< endl;
    ofs << "Total Number of OEO: "<< num_OEO << endl;
    ofs << "Average OEO when Request Succeed: "<<(double)num_OEO/accepted_requests<<" +- t* "<<(double)num_OEO_s2<< endl;
    ofs << "Number of OFDM lightpath use: "<< num_OFDM_lightpath_use << endl;
    ofs << "Average OFDM lightpath use when Request Succeed: "<<(double)num_OFDM_lightpath_use/accepted_requests<<" +- t* "<<(double)num_OFDM_lightpath_use_s2<< endl;
    ofs << "Number of OTDM lightpath use: "<< num_OTDM_lightpath_use << endl;
    ofs << "Average OTDM lightpath use when Request Succeed: "<<(double)num_OTDM_lightpath_use/accepted_requests<<" +- t* "<<(double)num_OTDM_lightpath_use_s2<< endl;
    ofs << "Bandwidth Utilization Factor: "<<(double)total_bandwidth_utilization/(total_network_bandwidth*end_time)<<endl;
    ofs << "Used Bandwidth Utilization Factor: "<<(double)used_bandwidth_utilization/(total_network_bandwidth*end_time)<<endl;
    ofs << "Wasted Bandwidth Utilization Factor: "<<(double)wasted_bandwidth_utilization/(total_network_bandwidth*end_time)<<endl;
    ofs << "Guardband Bandwidth Utilization Factor: "<<(double)guardband_bandwidth_utilization/(total_network_bandwidth*end_time)<<endl;
    ofs << "Load:"<< traffic_lambda << endl << endl;
    ofs << "Number of OTDM transceiver per degree: "<< num_OTDM_transceiver << endl;
    ofs << "Number of OFDM transceiver per degree: "<< num_OFDM_transceiver << endl;
    ofs << "Number of OC1 requests: " << traffic.num_OC1_request << endl;
    ofs << "Number of OC3 requests: " << traffic.num_OC3_request << endl;
    ofs << "Number of OC9 requests: " << traffic.num_OC9_request << endl;
    ofs << "Number of OC12 requests: " << traffic.num_OC12_request << endl;
    ofs << "Number of OC18 requests: " << traffic.num_OC18_request << endl;
    ofs << "Number of OC24 requests: " << traffic.num_OC24_request << endl;
    ofs << "Number of OC36 requests: " << traffic.num_OC36_request << endl;
    ofs << "Number of OC48 requests: " << traffic.num_OC48_request << endl;
    ofs << "Number of OC192 requests: " << traffic.num_OC192_request << endl;
    ofs << "Number of OC768 requests: " << traffic.num_OC768_request << endl;
    ofs << "Number of OC3072 requests: " << traffic.num_OC3072_request << endl;


    ofs << "Elapsed time: " << (double) ( clock() - start_clk ) / CLOCKS_PER_SEC << " seconds" << endl;
    ofs << "Time spending for graph construction: "<<clk_construction<<" seconds" << endl;
    ofs << "Time spending for path finding: "<<clk_finding<<" seconds" << endl;
    ofs << "Time spending for path parsing: "<<clk_parsing<<" seconds" << endl<<endl;

    ofs.close();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x3c0, %rsp            # imm = 0x3C0
movq %rdi, %rbx
movq 0x12cff(%rip), %rdi     # 0x17fd0
leaq 0xbf8d(%rip), %rsi      # 0x11265
movl $0xe, %edx
callq 0x3250
leaq 0x248(%rsp), %r14
movq %r14, %rdi
callq 0x32a0
leaq 0xbf7b(%rip), %rsi      # 0x11274
movl $0x7, %edx
movq %r14, %rdi
callq 0x3250
xorl %edx, %edx
cmpl $0x0, 0x12f09(%rip)     # 0x18218
sete %dl
leaq 0xbf69(%rip), %rax      # 0x11282
leaq 0xbf5c(%rip), %rsi      # 0x1127c
cmoveq %rax, %rsi
addq $0x5, %rdx
leaq 0x248(%rsp), %rdi
callq 0x3250
movl 0x12eb9(%rip), %esi     # 0x181f4
leaq 0x248(%rsp), %rdi
callq 0x3360
movq %rax, %r14
leaq 0xbf35(%rip), %rsi      # 0x11287
movl $0x1, %edx
movq %rax, %rdi
callq 0x3250
movl 0x12e87(%rip), %esi     # 0x181ec
movq %r14, %rdi
callq 0x3360
movq %rax, %r14
leaq 0xbf10(%rip), %rsi      # 0x11287
movl $0x1, %edx
movq %rax, %rdi
callq 0x3250
movl 0x12e72(%rip), %esi     # 0x181fc
movq %r14, %rdi
callq 0x3360
movq %rax, %r14
leaq 0xbeeb(%rip), %rsi      # 0x11287
movl $0x1, %edx
movq %rax, %rdi
callq 0x3250
movq 0x12ee8(%rip), %r15     # 0x18298
testq %r15, %r15
je 0x53cd
movq %r15, %rdi
callq 0x30d0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x3250
jmp 0x53e7
movq (%r14), %rax
movq -0x18(%rax), %rax
movq %r14, %rdi
addq %rax, %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x3350
leaq 0x250(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x3300
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movl $0x10, %edx
callq 0x3390
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5428
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
movl 0x12db1(%rip), %r8d     # 0x181e0
xorpd %xmm1, %xmm1
xorpd %xmm0, %xmm0
xorpd %xmm6, %xmm6
xorpd %xmm5, %xmm5
testl %r8d, %r8d
jle 0x556a
movq 0x12f31(%rip), %rax     # 0x18380
movq 0x12ee2(%rip), %rcx     # 0x18338
movq 0x12f3b(%rip), %rdx     # 0x18398
movq 0x12f4c(%rip), %rsi     # 0x183b0
xorl %edi, %edi
xorps %xmm2, %xmm2
cvtsi2sdl (%rax,%rdi,4), %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl (%rcx,%rdi,4), %xmm3
divsd %xmm3, %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl 0x12e9b(%rip), %xmm3 # 0x18320
xorps %xmm4, %xmm4
cvtsi2sdl 0x12e84(%rip), %xmm4 # 0x18314
divsd %xmm4, %xmm3
subsd %xmm3, %xmm2
cvttsd2si %xmm2, %r8d
movl %r8d, (%rax,%rdi,4)
xorps %xmm2, %xmm2
cvtsi2sdl (%rdx,%rdi,4), %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl (%rcx,%rdi,4), %xmm3
divsd %xmm3, %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl 0x12e64(%rip), %xmm3 # 0x18324
xorps %xmm4, %xmm4
cvtsi2sdl 0x12e49(%rip), %xmm4 # 0x18314
divsd %xmm4, %xmm3
subsd %xmm3, %xmm2
cvttsd2si %xmm2, %r8d
movl %r8d, (%rdx,%rdi,4)
xorps %xmm2, %xmm2
cvtsi2sdl (%rsi,%rdi,4), %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl (%rcx,%rdi,4), %xmm3
divsd %xmm3, %xmm2
xorps %xmm3, %xmm3
cvtsi2sdl 0x12e2d(%rip), %xmm3 # 0x18328
xorps %xmm4, %xmm4
cvtsi2sdl 0x12e0e(%rip), %xmm4 # 0x18314
divsd %xmm4, %xmm3
subsd %xmm3, %xmm2
cvttsd2si %xmm2, %r8d
movl %r8d, (%rsi,%rdi,4)
movl (%rax,%rdi,4), %r8d
imull %r8d, %r8d
movl %r8d, (%rax,%rdi,4)
movl (%rdx,%rdi,4), %r8d
imull %r8d, %r8d
movl %r8d, (%rdx,%rdi,4)
movl (%rsi,%rdi,4), %r8d
imull %r8d, %r8d
movl %r8d, (%rsi,%rdi,4)
xorps %xmm2, %xmm2
cvtsi2sdl (%rax,%rdi,4), %xmm2
addsd %xmm2, %xmm0
xorps %xmm2, %xmm2
cvtsi2sdl (%rdx,%rdi,4), %xmm2
addsd %xmm2, %xmm6
addsd %xmm2, %xmm5
incq %rdi
movslq 0x12c7f(%rip), %r8      # 0x181e0
cmpq %r8, %rdi
jl 0x5466
leal -0x1(%r8), %eax
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
divsd %xmm2, %xmm0
divsd %xmm2, %xmm6
divsd %xmm2, %xmm5
xorps %xmm2, %xmm2
cvtsi2sd %r8d, %xmm2
divsd %xmm2, %xmm0
divsd %xmm2, %xmm6
ucomisd %xmm1, %xmm0
jb 0x559d
sqrtsd %xmm0, %xmm0
jmp 0x55c4
movsd %xmm5, (%rsp)
movsd %xmm6, 0x8(%rsp)
movsd %xmm2, 0x10(%rsp)
callq 0x31a0
movsd 0x10(%rsp), %xmm2
movsd 0x8(%rsp), %xmm6
movsd (%rsp), %xmm5
movsd %xmm0, 0x20(%rsp)
divsd %xmm2, %xmm5
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm6
jb 0x55e1
xorps %xmm0, %xmm0
sqrtsd %xmm6, %xmm0
jmp 0x55f8
movapd %xmm6, %xmm0
movsd %xmm5, (%rsp)
callq 0x31a0
xorpd %xmm1, %xmm1
movsd (%rsp), %xmm5
movsd %xmm0, 0x10(%rsp)
ucomisd %xmm1, %xmm5
jb 0x560d
xorps %xmm0, %xmm0
sqrtsd %xmm5, %xmm0
jmp 0x5616
movapd %xmm5, %xmm0
callq 0x31a0
movsd %xmm0, 0x18(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x12cf5(%rip), %xmm0 # 0x1831c
movsd %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x12cf4(%rip), %xmm0 # 0x1832c
movsd %xmm0, (%rsp)
leaq 0xbc45(%rip), %rsi      # 0x11289
leaq 0x48(%rsp), %rdi
movl $0x1a, %edx
callq 0x3250
xorps %xmm0, %xmm0
cvtsi2sdl 0x12cbe(%rip), %xmm0 # 0x1831c
xorps %xmm1, %xmm1
cvtsi2sdl 0x12cc3(%rip), %xmm1 # 0x1832c
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
leaq 0xbc23(%rip), %rsi      # 0x112a4
movl $0x4, %edx
movq %rax, %rdi
callq 0x3250
movsd (%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
divsd %xmm1, %xmm2
movsd 0xb96b(%rip), %xmm0     # 0x11010
subsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x56c1
sqrtsd %xmm0, %xmm0
jmp 0x56c6
callq 0x31a0
mulsd 0xb94a(%rip), %xmm0     # 0x11018
movq %r14, %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xbba2(%rip), %rsi      # 0x112a9
leaq 0x48(%rsp), %rdi
movl $0x12, %edx
callq 0x3250
movl 0x12bfc(%rip), %esi     # 0x18318
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xbb65(%rip), %rsi      # 0x112bc
leaq 0x48(%rsp), %rdi
movl $0x13, %edx
callq 0x3250
movl 0x12ba8(%rip), %esi     # 0x18314
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
cvtsi2sdl 0x12b70(%rip), %xmm0 # 0x18318
movsd %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
cvtsi2sdl 0x12a33(%rip), %xmm0 # 0x181ec
movsd %xmm0, (%rsp)
leaq 0xbb0b(%rip), %rsi      # 0x112d0
leaq 0x48(%rsp), %rdi
movl $0x16, %edx
callq 0x3250
xorps %xmm0, %xmm0
cvtsi2sdl 0x12b39(%rip), %xmm0 # 0x18318
cvtsi2sdl 0x12a05(%rip), %xmm1 # 0x181ec
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
leaq 0xbaa5(%rip), %rsi      # 0x112a4
movl $0x4, %edx
movq %rax, %rdi
callq 0x3250
movsd (%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
divsd %xmm1, %xmm2
movsd 0xb7ed(%rip), %xmm0     # 0x11010
subsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x583f
sqrtsd %xmm0, %xmm0
jmp 0x5844
callq 0x31a0
mulsd 0xb7cc(%rip), %xmm0     # 0x11018
movq %r14, %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xba62(%rip), %rsi      # 0x112e7
leaq 0x48(%rsp), %rdi
movl $0x15, %edx
callq 0x3250
movl 0x12a86(%rip), %esi     # 0x18320
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xba28(%rip), %rsi      # 0x112fd
leaq 0x48(%rsp), %rdi
movl $0x22, %edx
callq 0x3250
xorps %xmm0, %xmm0
cvtsi2sdl 0x12a31(%rip), %xmm0 # 0x18320
xorps %xmm1, %xmm1
cvtsi2sdl 0x12a1a(%rip), %xmm1 # 0x18314
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
leaq 0xba0e(%rip), %rsi      # 0x11320
movl $0x7, %edx
movq %rax, %rdi
callq 0x3250
movq %r14, %rdi
movsd 0x20(%rsp), %xmm0
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb9ca(%rip), %rsi      # 0x11328
leaq 0x48(%rsp), %rdi
movl $0x1e, %edx
callq 0x3250
movl 0x129b1(%rip), %esi     # 0x18324
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb999(%rip), %rsi      # 0x11347
leaq 0x48(%rsp), %rdi
movl $0x31, %edx
callq 0x3250
xorps %xmm0, %xmm0
cvtsi2sdl 0x1295c(%rip), %xmm0 # 0x18324
cvtsi2sdl 0x12944(%rip), %xmm1 # 0x18314
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
leaq 0xb938(%rip), %rsi      # 0x11320
movl $0x7, %edx
movq %rax, %rdi
callq 0x3250
movq %r14, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb945(%rip), %rsi      # 0x11379
leaq 0x48(%rsp), %rdi
movl $0x1e, %edx
callq 0x3250
movl 0x128df(%rip), %esi     # 0x18328
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb914(%rip), %rsi      # 0x11398
leaq 0x48(%rsp), %rdi
movl $0x31, %edx
callq 0x3250
xorps %xmm0, %xmm0
cvtsi2sdl 0x1288a(%rip), %xmm0 # 0x18328
cvtsi2sdl 0x1286e(%rip), %xmm1 # 0x18314
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
leaq 0xb862(%rip), %rsi      # 0x11320
movl $0x7, %edx
movq %rax, %rdi
callq 0x3250
movq %r14, %rdi
movsd 0x18(%rsp), %xmm0
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb8c5(%rip), %rsi      # 0x113cf
leaq 0x48(%rsp), %rdi
movl $0x1e, %edx
callq 0x3250
xorps %xmm1, %xmm1
cvtsi2sdl 0x1280c(%rip), %xmm1 # 0x18330
movsd 0x1289c(%rip), %xmm0    # 0x183c8
mulsd 0x128b4(%rip), %xmm1    # 0x183e8
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb857(%rip), %rsi      # 0x113ca
leaq 0x48(%rsp), %rdi
movl $0x23, %edx
callq 0x3250
xorps %xmm1, %xmm1
cvtsi2sdl 0x127a3(%rip), %xmm1 # 0x18330
movsd 0x1283b(%rip), %xmm0    # 0x183d0
mulsd 0x1284b(%rip), %xmm1    # 0x183e8
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb812(%rip), %rsi      # 0x113ee
leaq 0x48(%rsp), %rdi
movl $0x25, %edx
callq 0x3250
xorps %xmm1, %xmm1
cvtsi2sdl 0x1273a(%rip), %xmm1 # 0x18330
movsd 0x127da(%rip), %xmm0    # 0x183d8
mulsd 0x127e2(%rip), %xmm1    # 0x183e8
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb7cf(%rip), %rsi      # 0x11414
leaq 0x48(%rsp), %rdi
movl $0x28, %edx
callq 0x3250
xorps %xmm1, %xmm1
cvtsi2sdl 0x126d1(%rip), %xmm1 # 0x18330
movsd 0x12779(%rip), %xmm0    # 0x183e0
mulsd 0x12779(%rip), %xmm1    # 0x183e8
divsd %xmm1, %xmm0
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb78f(%rip), %rsi      # 0x1143d
leaq 0x48(%rsp), %rdi
movl $0x5, %edx
callq 0x3250
movl 0x12531(%rip), %esi     # 0x181f4
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb71b(%rip), %rsi      # 0x11443
leaq 0x48(%rsp), %rdi
movl $0x27, %edx
callq 0x3250
movl 0x124c3(%rip), %esi     # 0x18200
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb6f3(%rip), %rsi      # 0x1146b
leaq 0x48(%rsp), %rdi
movl $0x27, %edx
callq 0x3250
movl 0x12477(%rip), %esi     # 0x18204
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb6cb(%rip), %rsi      # 0x11493
leaq 0x48(%rsp), %rdi
movl $0x18, %edx
callq 0x3250
movl 0xe8(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb694(%rip), %rsi      # 0x114ac
leaq 0x48(%rsp), %rdi
movl $0x18, %edx
callq 0x3250
movl 0xec(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb65d(%rip), %rsi      # 0x114c5
leaq 0x48(%rsp), %rdi
movl $0x18, %edx
callq 0x3250
movl 0xf0(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb626(%rip), %rsi      # 0x114de
leaq 0x48(%rsp), %rdi
movl $0x19, %edx
callq 0x3250
movl 0xf4(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb5f0(%rip), %rsi      # 0x114f8
leaq 0x48(%rsp), %rdi
movl $0x19, %edx
callq 0x3250
movl 0xf8(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb5ba(%rip), %rsi      # 0x11512
leaq 0x48(%rsp), %rdi
movl $0x19, %edx
callq 0x3250
movl 0xfc(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb584(%rip), %rsi      # 0x1152c
leaq 0x48(%rsp), %rdi
movl $0x19, %edx
callq 0x3250
movl 0x100(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb54e(%rip), %rsi      # 0x11546
leaq 0x48(%rsp), %rdi
movl $0x19, %edx
callq 0x3250
movl 0x104(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb518(%rip), %rsi      # 0x11560
leaq 0x48(%rsp), %rdi
movl $0x1a, %edx
callq 0x3250
movl 0x108(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb4e3(%rip), %rsi      # 0x1157b
leaq 0x48(%rsp), %rdi
movl $0x1a, %edx
callq 0x3250
movl 0x10c(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb4ae(%rip), %rsi      # 0x11596
leaq 0x48(%rsp), %rdi
movl $0x1b, %edx
callq 0x3250
movl 0x110(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x3360
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb47a(%rip), %rsi      # 0x115b2
leaq 0x48(%rsp), %rdi
movl $0xe, %edx
callq 0x3250
callq 0x3150
subq 0x12175(%rip), %rax     # 0x182c8
cvtsi2sd %rax, %xmm0
divsd 0xaea8(%rip), %xmm0     # 0x11008
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %rbx
leaq 0xb44d(%rip), %rsi      # 0x115c1
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb41b(%rip), %rsi      # 0x115ca
leaq 0x48(%rsp), %rdi
movl $0x26, %edx
callq 0x3250
movsd 0x12122(%rip), %xmm0    # 0x182e8
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %rbx
leaq 0xb3e7(%rip), %rsi      # 0x115c1
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb3dc(%rip), %rsi      # 0x115f1
leaq 0x48(%rsp), %rdi
movl $0x20, %edx
callq 0x3250
movsd 0x120ac(%rip), %xmm0    # 0x182d8
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %rbx
leaq 0xb381(%rip), %rsi      # 0x115c1
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0xb397(%rip), %rsi      # 0x11612
leaq 0x48(%rsp), %rdi
movl $0x20, %edx
callq 0x3250
movsd 0x12066(%rip), %xmm0    # 0x182f8
leaq 0x48(%rsp), %rdi
callq 0x3310
movq %rax, %rbx
leaq 0xb31b(%rip), %rsi      # 0x115c1
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
leaq 0x48(%rsp), %rdi
callq 0x32b0
movq 0x11cab(%rip), %rax     # 0x17fc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x50(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x48(%rsp,%rcx)
callq 0x31d0
leaq 0x140(%rsp), %rdi
callq 0x30a0
movq 0x11c81(%rip), %rsi     # 0x17fc8
leaq 0x248(%rsp), %rdi
callq 0x3100
leaq 0x2b8(%rsp), %rdi
callq 0x30a0
addq $0x3c0, %rsp            # imm = 0x3C0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63a2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x63a2
jmp 0x6390
movq %rax, %rbx
jmp 0x63a2
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x32d0
movq 0x11c1f(%rip), %rsi     # 0x17fc8
leaq 0x248(%rsp), %rdi
callq 0x3100
leaq 0x2b8(%rsp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x3370