// File: rpetit3[P]fastq-scan/fastq-scan.cpp
// Function: Stats::jsonify_stats(float, bool)
void jsonify_stats(float GENOME_SIZE, bool QC_ONLY) {
            string t1 = "    ";
            string t2 = "        ";
            cout << "{" << endl;
            cout << t1 << "\"qc_stats\": {" << endl;
            cout << t2 << "\"total_bp\": " << total_bp << "," << endl;
            if (GENOME_SIZE <= 1)  {
                cout << t2 << "\"coverage\": 0.00," << endl;
            } else {
                cout << t2 << "\"coverage\": " << total_bp / GENOME_SIZE << "," << endl;
            }
            cout << t2 << "\"read_total\": " << read_total << "," << endl;
            cout << t2 << "\"read_min\": " << read_min << "," << endl;
            cout << t2 << "\"read_mean\": " << read_mean << "," << endl;
            cout << t2 << "\"read_std\": " << read_std << "," << endl;
            cout << t2 << "\"read_median\": " << read_median << "," << endl;
            cout << t2 << "\"read_max\": " << read_max << "," << endl;
            cout << t2 << "\"read_25th\": " << read_25th << "," << endl;
            cout << t2 << "\"read_75th\": " << read_75th << "," << endl;
            cout << t2 << "\"qual_min\": " << qual_min << "," << endl;
            cout << t2 << "\"qual_mean\": " << qual_mean << "," << endl;
            cout << t2 << "\"qual_std\": " << qual_std << "," << endl;
            cout << t2 << "\"qual_max\": " << qual_max << "," << endl;
            cout << t2 << "\"qual_median\": " << qual_median << "," << endl;
            cout << t2 << "\"qual_25th\": " << qual_25th << "," << endl;
            cout << t2 << "\"qual_75th\": " << qual_75th << endl;
            
            
            if (QC_ONLY) {
                cout << t1 << "}" << endl;
            } else {
                cout << t1 << "}," << endl;
                cout << t1 << "\"read_lengths\": {" << endl;
                for (unsigned int i = read_min; i <= read_max; i++) {
                    if (i % 5 == 0) {
                        cout << endl;
                    }
                    cout << t2 << "\"" << i << "\": " << read_length_count[i];
                    if (i < read_max) {
                        cout << ",";
                    }
                }
                cout << endl << t1 << "}," << endl;
                cout << t1 << "\"per_base_quality\": {" << endl;
                for (unsigned int i = 0; i < read_max; i++) {
                    if (i % 5 == 0 && i != 0) {
                        cout << endl;
                    }
                    cout << t2 << "\"" << i + 1 << "\": " << (per_base_qual[i] / float(per_base_count[i])) - phred;
                    if (i < read_max - 1) {
                        cout << ",";
                    }
                }
                cout << endl << t1 << "}" << endl;
            }
            cout << "}" << endl;
        }

// Assembly:
subq $0x3a8, %rsp            # imm = 0x3A8
movb %sil, %al
movq %rdi, 0x3a0(%rsp)
movss %xmm0, 0x39c(%rsp)
andb $0x1, %al
movb %al, 0x39b(%rsp)
movq 0x3a0(%rsp), %rax
movq %rax, 0x320(%rsp)
leaq 0x377(%rsp), %rdi
movq %rdi, 0x328(%rsp)
callq 0x22f0
movq 0x328(%rsp), %rdx
leaq 0x9b2b(%rip), %rsi      # 0xd363
leaq 0x378(%rsp), %rdi
callq 0x2da0
jmp 0x3847
leaq 0x377(%rsp), %rdi
callq 0x21d0
leaq 0x33f(%rsp), %rdi
movq %rdi, 0x318(%rsp)
callq 0x22f0
movq 0x318(%rsp), %rdx
leaq 0x9ae7(%rip), %rsi      # 0xd35f
leaq 0x340(%rsp), %rdi
callq 0x2da0
jmp 0x3887
leaq 0x33f(%rsp), %rdi
callq 0x21d0
movq 0xe735(%rip), %rdi      # 0x11fd0
leaq 0x9be6(%rip), %rsi      # 0xd488
callq 0x2180
movq %rax, 0x310(%rsp)
jmp 0x38b1
movq 0x310(%rsp), %rdi
movq 0xe6f0(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x38c7
movq 0xe702(%rip), %rdi      # 0x11fd0
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0x308(%rsp)
jmp 0x38e5
movq 0x308(%rsp), %rdi
leaq 0x9a74(%rip), %rsi      # 0xd368
callq 0x2180
movq %rax, 0x300(%rsp)
jmp 0x3903
movq 0x300(%rsp), %rdi
movq 0xe69e(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3919
movq 0xe6b0(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x2f8(%rsp)
jmp 0x3937
movq 0x2f8(%rsp), %rdi
leaq 0x9a30(%rip), %rsi      # 0xd376
callq 0x2180
movq %rax, 0x2f0(%rsp)
jmp 0x3955
movq 0x2f0(%rsp), %rdi
movq 0x320(%rsp), %rax
movq (%rax), %rsi
callq 0x2060
movq %rax, 0x2e8(%rsp)
jmp 0x3977
movq 0x2e8(%rsp), %rdi
leaq 0x9a0d(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x2e0(%rsp)
jmp 0x3995
movq 0x2e0(%rsp), %rdi
movq 0xe60c(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x39ab
movss 0x9651(%rip), %xmm0     # 0xd004
ucomiss 0x39c(%rsp), %xmm0
jb 0x3a8a
movq 0xe608(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x2d8(%rsp)
jmp 0x39df
movq 0x2d8(%rsp), %rdi
leaq 0x9995(%rip), %rsi      # 0xd383
callq 0x2180
movq %rax, 0x2d0(%rsp)
jmp 0x39fd
movq 0x2d0(%rsp), %rdi
movq 0xe5a4(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3a13
jmp 0x3b79
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x368(%rsp)
movl %eax, 0x364(%rsp)
leaq 0x377(%rsp), %rdi
callq 0x21d0
jmp 0x49a6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x368(%rsp)
movl %eax, 0x364(%rsp)
leaq 0x33f(%rsp), %rdi
callq 0x21d0
jmp 0x4999
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x368(%rsp)
movl %eax, 0x364(%rsp)
leaq 0x340(%rsp), %rdi
callq 0x2368
jmp 0x4999
movq 0xe53f(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x2c8(%rsp)
jmp 0x3aa8
movq 0x2c8(%rsp), %rdi
leaq 0x98de(%rip), %rsi      # 0xd395
callq 0x2180
movq %rax, 0x2c0(%rsp)
jmp 0x3ac6
movq 0x320(%rsp), %rax
movq (%rax), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x2b8(%rsp)
testq %rax, %rax
movss %xmm0, 0x2bc(%rsp)
js 0x3b16
movss 0x2b8(%rsp), %xmm0
movss %xmm0, 0x2bc(%rsp)
movq 0x2c0(%rsp), %rdi
movss 0x2bc(%rsp), %xmm0
movss 0x39c(%rsp), %xmm1
divss %xmm1, %xmm0
callq 0x2110
movq %rax, 0x2b0(%rsp)
jmp 0x3b43
movq 0x2b0(%rsp), %rdi
leaq 0x9841(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x2a8(%rsp)
jmp 0x3b61
movq 0x2a8(%rsp), %rdi
movq 0xe440(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3b77
jmp 0x3b79
movq 0xe450(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x2a0(%rsp)
jmp 0x3b97
movq 0x2a0(%rsp), %rdi
leaq 0x97fc(%rip), %rsi      # 0xd3a2
callq 0x2180
movq %rax, 0x298(%rsp)
jmp 0x3bb5
movq 0x298(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x38(%rax), %rsi
callq 0x2060
movq %rax, 0x290(%rsp)
jmp 0x3bd8
movq 0x290(%rsp), %rdi
leaq 0x97ac(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x288(%rsp)
jmp 0x3bf6
movq 0x288(%rsp), %rdi
movq 0xe3ab(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3c0c
movq 0xe3bd(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x280(%rsp)
jmp 0x3c2a
movq 0x280(%rsp), %rdi
leaq 0x9778(%rip), %rsi      # 0xd3b1
callq 0x2180
movq %rax, 0x278(%rsp)
jmp 0x3c48
movq 0x278(%rsp), %rdi
movq 0x320(%rsp), %rax
movl 0x40(%rax), %esi
callq 0x2230
movq %rax, 0x270(%rsp)
jmp 0x3c6a
movq 0x270(%rsp), %rdi
leaq 0x971a(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x268(%rsp)
jmp 0x3c88
movq 0x268(%rsp), %rdi
movq 0xe319(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3c9e
movq 0xe32b(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x260(%rsp)
jmp 0x3cbc
movq 0x260(%rsp), %rdi
leaq 0x96f3(%rip), %rsi      # 0xd3be
callq 0x2180
movq %rax, 0x258(%rsp)
jmp 0x3cda
movq 0x258(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0x48(%rax), %xmm0
callq 0x2330
movq %rax, 0x250(%rsp)
jmp 0x3cfe
movq 0x250(%rsp), %rdi
leaq 0x9686(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x248(%rsp)
jmp 0x3d1c
movq 0x248(%rsp), %rdi
movq 0xe285(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3d32
movq 0xe297(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x240(%rsp)
jmp 0x3d50
movq 0x240(%rsp), %rdi
leaq 0x966d(%rip), %rsi      # 0xd3cc
callq 0x2180
movq %rax, 0x238(%rsp)
jmp 0x3d6e
movq 0x238(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0x50(%rax), %xmm0
callq 0x2330
movq %rax, 0x230(%rsp)
jmp 0x3d92
movq 0x230(%rsp), %rdi
leaq 0x95f2(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x228(%rsp)
jmp 0x3db0
movq 0x228(%rsp), %rdi
movq 0xe1f1(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3dc6
movq 0xe203(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x220(%rsp)
jmp 0x3de4
movq 0x220(%rsp), %rdi
leaq 0x95e6(%rip), %rsi      # 0xd3d9
callq 0x2180
movq %rax, 0x218(%rsp)
jmp 0x3e02
movq 0x218(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0x58(%rax), %xmm0
callq 0x2330
movq %rax, 0x210(%rsp)
jmp 0x3e26
movq 0x210(%rsp), %rdi
leaq 0x955e(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x208(%rsp)
jmp 0x3e44
movq 0x208(%rsp), %rdi
movq 0xe15d(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3e5a
movq 0xe16f(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x200(%rsp)
jmp 0x3e78
movq 0x200(%rsp), %rdi
leaq 0x9562(%rip), %rsi      # 0xd3e9
callq 0x2180
movq %rax, 0x1f8(%rsp)
jmp 0x3e96
movq 0x1f8(%rsp), %rdi
movq 0x320(%rsp), %rax
movl 0x44(%rax), %esi
callq 0x2230
movq %rax, 0x1f0(%rsp)
jmp 0x3eb8
movq 0x1f0(%rsp), %rdi
leaq 0x94cc(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x1e8(%rsp)
jmp 0x3ed6
movq 0x1e8(%rsp), %rdi
movq 0xe0cb(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3eec
movq 0xe0dd(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x1e0(%rsp)
jmp 0x3f0a
movq 0x1e0(%rsp), %rdi
leaq 0x94dd(%rip), %rsi      # 0xd3f6
callq 0x2180
movq %rax, 0x1d8(%rsp)
jmp 0x3f28
movq 0x1d8(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0x60(%rax), %xmm0
callq 0x2330
movq %rax, 0x1d0(%rsp)
jmp 0x3f4c
movq 0x1d0(%rsp), %rdi
leaq 0x9438(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x1c8(%rsp)
jmp 0x3f6a
movq 0x1c8(%rsp), %rdi
movq 0xe037(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x3f80
movq 0xe049(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x1c0(%rsp)
jmp 0x3f9e
movq 0x1c0(%rsp), %rdi
leaq 0x9457(%rip), %rsi      # 0xd404
callq 0x2180
movq %rax, 0x1b8(%rsp)
jmp 0x3fbc
movq 0x1b8(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0x68(%rax), %xmm0
callq 0x2330
movq %rax, 0x1b0(%rsp)
jmp 0x3fe0
movq 0x1b0(%rsp), %rdi
leaq 0x93a4(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x1a8(%rsp)
jmp 0x3ffe
movq 0x1a8(%rsp), %rdi
movq 0xdfa3(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4014
movq 0xdfb5(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x1a0(%rsp)
jmp 0x4032
movq 0x1a0(%rsp), %rdi
leaq 0x93d1(%rip), %rsi      # 0xd412
callq 0x2180
movq %rax, 0x198(%rsp)
jmp 0x4050
movq 0x198(%rsp), %rdi
movq 0x320(%rsp), %rax
movl 0xbc(%rax), %esi
callq 0x2230
movq %rax, 0x190(%rsp)
jmp 0x4075
movq 0x190(%rsp), %rdi
leaq 0x930f(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x188(%rsp)
jmp 0x4093
movq 0x188(%rsp), %rdi
movq 0xdf0e(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x40a9
movq 0xdf20(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x180(%rsp)
jmp 0x40c7
movq 0x180(%rsp), %rdi
leaq 0x9349(%rip), %rsi      # 0xd41f
callq 0x2180
movq %rax, 0x178(%rsp)
jmp 0x40e5
movq 0x178(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0xd0(%rax), %xmm0
callq 0x2330
movq %rax, 0x170(%rsp)
jmp 0x410c
movq 0x170(%rsp), %rdi
leaq 0x9278(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x168(%rsp)
jmp 0x412a
movq 0x168(%rsp), %rdi
movq 0xde77(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4140
movq 0xde89(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x160(%rsp)
jmp 0x415e
movq 0x160(%rsp), %rdi
leaq 0x92c0(%rip), %rsi      # 0xd42d
callq 0x2180
movq %rax, 0x158(%rsp)
jmp 0x417c
movq 0x158(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0xf0(%rax), %xmm0
callq 0x2330
movq %rax, 0x150(%rsp)
jmp 0x41a3
movq 0x150(%rsp), %rdi
leaq 0x91e1(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x148(%rsp)
jmp 0x41c1
movq 0x148(%rsp), %rdi
movq 0xdde0(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x41d7
movq 0xddf2(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x140(%rsp)
jmp 0x41f5
movq 0x140(%rsp), %rdi
leaq 0x9236(%rip), %rsi      # 0xd43a
callq 0x2180
movq %rax, 0x138(%rsp)
jmp 0x4213
movq 0x138(%rsp), %rdi
movq 0x320(%rsp), %rax
movl 0xc0(%rax), %esi
callq 0x2230
movq %rax, 0x130(%rsp)
jmp 0x4238
movq 0x130(%rsp), %rdi
leaq 0x914c(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x128(%rsp)
jmp 0x4256
movq 0x128(%rsp), %rdi
movq 0xdd4b(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x426c
movq 0xdd5d(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x120(%rsp)
jmp 0x428a
movq 0x120(%rsp), %rdi
leaq 0x91ae(%rip), %rsi      # 0xd447
callq 0x2180
movq %rax, 0x118(%rsp)
jmp 0x42a8
movq 0x118(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0xd8(%rax), %xmm0
callq 0x2330
movq %rax, 0x110(%rsp)
jmp 0x42cf
movq 0x110(%rsp), %rdi
leaq 0x90b5(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0x108(%rsp)
jmp 0x42ed
movq 0x108(%rsp), %rdi
movq 0xdcb4(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4303
movq 0xdcc6(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x100(%rsp)
jmp 0x4321
movq 0x100(%rsp), %rdi
leaq 0x9127(%rip), %rsi      # 0xd457
callq 0x2180
movq %rax, 0xf8(%rsp)
jmp 0x433f
movq 0xf8(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0xe0(%rax), %xmm0
callq 0x2330
movq %rax, 0xf0(%rsp)
jmp 0x4366
movq 0xf0(%rsp), %rdi
leaq 0x901e(%rip), %rsi      # 0xd393
callq 0x2180
movq %rax, 0xe8(%rsp)
jmp 0x4384
movq 0xe8(%rsp), %rdi
movq 0xdc1d(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x439a
movq 0xdc2f(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0xe0(%rsp)
jmp 0x43b8
movq 0xe0(%rsp), %rdi
leaq 0x909e(%rip), %rsi      # 0xd465
callq 0x2180
movq %rax, 0xd8(%rsp)
jmp 0x43d6
movq 0xd8(%rsp), %rdi
movq 0x320(%rsp), %rax
movsd 0xe8(%rax), %xmm0
callq 0x2330
movq %rax, 0xd0(%rsp)
jmp 0x43fd
movq 0xd0(%rsp), %rdi
movq 0xdba4(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4413
testb $0x1, 0x39b(%rsp)
je 0x4474
movq 0xdbac(%rip), %rdi      # 0x11fd0
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0xc8(%rsp)
jmp 0x443b
movq 0xc8(%rsp), %rdi
leaq 0x9029(%rip), %rsi      # 0xd473
callq 0x2180
movq %rax, 0xc0(%rsp)
jmp 0x4459
movq 0xc0(%rsp), %rdi
movq 0xdb48(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x446f
jmp 0x494c
movq 0xdb55(%rip), %rdi      # 0x11fd0
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0xb8(%rsp)
jmp 0x4492
movq 0xb8(%rsp), %rdi
leaq 0x8fd4(%rip), %rsi      # 0xd475
callq 0x2180
movq %rax, 0xb0(%rsp)
jmp 0x44b0
movq 0xb0(%rsp), %rdi
movq 0xdaf1(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x44c6
movq 0xdb03(%rip), %rdi      # 0x11fd0
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0xa8(%rsp)
jmp 0x44e4
movq 0xa8(%rsp), %rdi
leaq 0x8f85(%rip), %rsi      # 0xd478
callq 0x2180
movq %rax, 0xa0(%rsp)
jmp 0x4502
movq 0xa0(%rsp), %rdi
movq 0xda9f(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4518
movq 0x320(%rsp), %rax
movl 0x40(%rax), %eax
movl %eax, 0x338(%rsp)
movq 0x320(%rsp), %rcx
movl 0x338(%rsp), %eax
cmpl 0x44(%rcx), %eax
ja 0x4654
movl 0x338(%rsp), %eax
movl $0x5, %ecx
xorl %edx, %edx
divl %ecx
cmpl $0x0, %edx
jne 0x456e
movq 0xda72(%rip), %rdi      # 0x11fd0
movq 0xda4b(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x456c
jmp 0x456e
movq 0xda5b(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x98(%rsp)
jmp 0x458c
movq 0x98(%rsp), %rdi
leaq 0x8eef(%rip), %rsi      # 0xd48a
callq 0x2180
movq %rax, 0x90(%rsp)
jmp 0x45aa
movq 0x90(%rsp), %rdi
movl 0x338(%rsp), %esi
callq 0x2230
movq %rax, 0x88(%rsp)
jmp 0x45c8
movq 0x88(%rsp), %rdi
leaq 0x8dfe(%rip), %rsi      # 0xd3d5
callq 0x2180
movq %rax, 0x80(%rsp)
jmp 0x45e6
movq 0x320(%rsp), %rdi
addq $0x20, %rdi
movl 0x338(%rsp), %eax
movl %eax, %esi
callq 0x7860
movq 0x80(%rsp), %rdi
movl (%rax), %esi
callq 0x2230
jmp 0x4611
movq 0x320(%rsp), %rcx
movl 0x338(%rsp), %eax
cmpl 0x44(%rcx), %eax
jae 0x463c
movq 0xd9a4(%rip), %rdi      # 0x11fd0
leaq 0x8d60(%rip), %rsi      # 0xd393
callq 0x2180
jmp 0x463a
jmp 0x463c
jmp 0x463e
movl 0x338(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x338(%rsp)
jmp 0x452a
movq 0xd975(%rip), %rdi      # 0x11fd0
movq 0xd94e(%rip), %rsi      # 0x11fb0
callq 0x21b0
movq %rax, 0x78(%rsp)
jmp 0x466e
movq 0x78(%rsp), %rdi
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0x70(%rsp)
jmp 0x4687
movq 0x70(%rsp), %rdi
leaq 0x8de2(%rip), %rsi      # 0xd475
callq 0x2180
movq %rax, 0x68(%rsp)
jmp 0x469f
movq 0x68(%rsp), %rdi
movq 0xd905(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x46b2
movq 0xd917(%rip), %rdi      # 0x11fd0
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0x60(%rsp)
jmp 0x46cd
movq 0x60(%rsp), %rdi
leaq 0x8db3(%rip), %rsi      # 0xd48c
callq 0x2180
movq %rax, 0x58(%rsp)
jmp 0x46e5
movq 0x58(%rsp), %rdi
movq 0xd8bf(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x46f8
movl $0x0, 0x334(%rsp)
movq 0x320(%rsp), %rcx
movl 0x334(%rsp), %eax
cmpl 0x44(%rcx), %eax
jae 0x48ec
movl 0x334(%rsp), %eax
movl $0x5, %ecx
xorl %edx, %edx
divl %ecx
cmpl $0x0, %edx
jne 0x4751
cmpl $0x0, 0x334(%rsp)
je 0x4751
movq 0xd88f(%rip), %rdi      # 0x11fd0
movq 0xd868(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x474f
jmp 0x4751
movq 0xd878(%rip), %rdi      # 0x11fd0
leaq 0x340(%rsp), %rsi
callq 0x2170
movq %rax, 0x50(%rsp)
jmp 0x476c
movq 0x50(%rsp), %rdi
leaq 0x8d12(%rip), %rsi      # 0xd48a
callq 0x2180
movq %rax, 0x48(%rsp)
jmp 0x4784
movq 0x48(%rsp), %rdi
movl 0x334(%rsp), %esi
incl %esi
callq 0x2230
movq %rax, 0x40(%rsp)
jmp 0x479e
movq 0x40(%rsp), %rdi
leaq 0x8c2b(%rip), %rsi      # 0xd3d5
callq 0x2180
movq %rax, 0x38(%rsp)
jmp 0x47b6
movq 0x320(%rsp), %rdi
addq $0x88, %rdi
movl 0x334(%rsp), %eax
movl %eax, %esi
callq 0x7880
movq (%rax), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x30(%rsp)
testq %rax, %rax
movss %xmm0, 0x34(%rsp)
js 0x480f
movss 0x30(%rsp), %xmm0
movss %xmm0, 0x34(%rsp)
movq 0x320(%rsp), %rdi
movss 0x34(%rsp), %xmm0
movss %xmm0, 0x24(%rsp)
addq $0xa0, %rdi
movl 0x334(%rsp), %eax
movl %eax, %esi
callq 0x7880
movq (%rax), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x28(%rsp)
testq %rax, %rax
movss %xmm0, 0x2c(%rsp)
js 0x4874
movss 0x28(%rsp), %xmm0
movss %xmm0, 0x2c(%rsp)
movq 0x38(%rsp), %rdi
movq 0x320(%rsp), %rax
movss 0x24(%rsp), %xmm0
movss 0x2c(%rsp), %xmm1
divss %xmm1, %xmm0
cvtsi2ssl 0xb8(%rax), %xmm1
subss %xmm1, %xmm0
callq 0x2110
jmp 0x48a4
movq 0x320(%rsp), %rcx
movl 0x334(%rsp), %eax
movl 0x44(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jae 0x48d4
movq 0xd70c(%rip), %rdi      # 0x11fd0
leaq 0x8ac8(%rip), %rsi      # 0xd393
callq 0x2180
jmp 0x48d2
jmp 0x48d4
jmp 0x48d6
movl 0x334(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x334(%rsp)
jmp 0x4703
movq 0xd6dd(%rip), %rdi      # 0x11fd0
movq 0xd6b6(%rip), %rsi      # 0x11fb0
callq 0x21b0
movq %rax, 0x18(%rsp)
jmp 0x4906
movq 0x18(%rsp), %rdi
leaq 0x378(%rsp), %rsi
callq 0x2170
movq %rax, 0x10(%rsp)
jmp 0x491f
movq 0x10(%rsp), %rdi
leaq 0x8b48(%rip), %rsi      # 0xd473
callq 0x2180
movq %rax, 0x8(%rsp)
jmp 0x4937
movq 0x8(%rsp), %rdi
movq 0xd66d(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x494a
jmp 0x494c
movq 0xd67d(%rip), %rdi      # 0x11fd0
leaq 0x8b19(%rip), %rsi      # 0xd473
callq 0x2180
movq %rax, (%rsp)
jmp 0x4965
movq (%rsp), %rdi
movq 0xd640(%rip), %rsi      # 0x11fb0
callq 0x21b0
jmp 0x4977
leaq 0x340(%rsp), %rdi
callq 0x2368
leaq 0x378(%rsp), %rdi
callq 0x2368
addq $0x3a8, %rsp            # imm = 0x3A8
retq
leaq 0x378(%rsp), %rdi
callq 0x2368
movq 0x368(%rsp), %rdi
callq 0x22e0
nopw %cs:(%rax,%rax)
nopl (%rax)