// File: /workspace/github_c_makefile_star2_O0/OpenGene[P]pecheck/src/pecheck.cpp
// Function: PECheck::report()
void PECheck::report() {
    string json = "{\n";
    if(mPassed)
        json += "\t\"result\":\"passed\",\n";
    else
        json += "\t\"result\":\"failed\",\n";

    json += "\t\"message\":\"" + mFailedMessage + "\",\n";

    json += "\t\"read1_num\":" + to_string(mRead1Num) + ",\n";
    json += "\t\"read2_num\":" + to_string(mRead2Num) + ",\n";
    json += "\t\"read1_bases\":" + to_string(mRead1Bases) + ",\n";
    json += "\t\"read2_bases\":" + to_string(mRead2Bases) + "\n";

    json += "}\n";

    if(!mOptions->jsonFile.empty()) {
        ofstream out(mOptions->jsonFile);
        out.write(json.c_str(), json.length());
        out.flush();
        out.close();
    }

    cout << json;
}

// Assembly:
subq $0x428, %rsp            # imm = 0x428
movq %rdi, 0x420(%rsp)
movq 0x420(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x3ff(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x46b0
movq 0x20(%rsp), %rdx
leaq 0x50e2(%rip), %rsi      # 0x165ac
leaq 0x400(%rsp), %rdi
callq 0x67f0
jmp 0x114d9
leaq 0x3ff(%rsp), %rdi
callq 0x43e0
movq 0x18(%rsp), %rax
testb $0x1, 0x8(%rax)
je 0x11548
leaq 0x50b7(%rip), %rsi      # 0x165af
leaq 0x400(%rsp), %rdi
callq 0x4320
jmp 0x11507
jmp 0x11560
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x3ff(%rsp), %rdi
callq 0x43e0
jmp 0x11b0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11aff
leaq 0x5075(%rip), %rsi      # 0x165c4
leaq 0x400(%rsp), %rdi
callq 0x4320
jmp 0x1155e
jmp 0x11560
movq 0x18(%rsp), %rdx
addq $0x30, %rdx
leaq 0x5069(%rip), %rsi      # 0x165d9
leaq 0x3a8(%rsp), %rdi
callq 0x6920
jmp 0x1157f
leaq 0x504f(%rip), %rdx      # 0x165d5
leaq 0x3c8(%rsp), %rdi
leaq 0x3a8(%rsp), %rsi
callq 0xceb0
jmp 0x1159d
leaq 0x400(%rsp), %rdi
leaq 0x3c8(%rsp), %rsi
callq 0x44b0
jmp 0x115b4
leaq 0x3c8(%rsp), %rdi
callq 0x4758
leaq 0x3a8(%rsp), %rdi
callq 0x4758
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rsi
leaq 0x348(%rsp), %rdi
callq 0x11b20
jmp 0x115e6
leaq 0x4ff9(%rip), %rsi      # 0x165e6
leaq 0x368(%rsp), %rdi
leaq 0x348(%rsp), %rdx
callq 0xd330
jmp 0x11604
leaq 0x4fcb(%rip), %rdx      # 0x165d6
leaq 0x388(%rsp), %rdi
leaq 0x368(%rsp), %rsi
callq 0xceb0
jmp 0x11622
leaq 0x400(%rsp), %rdi
leaq 0x388(%rsp), %rsi
callq 0x44b0
jmp 0x11639
leaq 0x388(%rsp), %rdi
callq 0x4758
leaq 0x368(%rsp), %rdi
callq 0x4758
leaq 0x348(%rsp), %rdi
callq 0x4758
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rsi
leaq 0x2e8(%rsp), %rdi
callq 0x11b20
jmp 0x11678
leaq 0x4f75(%rip), %rsi      # 0x165f4
leaq 0x308(%rsp), %rdi
leaq 0x2e8(%rsp), %rdx
callq 0xd330
jmp 0x11696
leaq 0x4f39(%rip), %rdx      # 0x165d6
leaq 0x328(%rsp), %rdi
leaq 0x308(%rsp), %rsi
callq 0xceb0
jmp 0x116b4
leaq 0x400(%rsp), %rdi
leaq 0x328(%rsp), %rsi
callq 0x44b0
jmp 0x116cb
leaq 0x328(%rsp), %rdi
callq 0x4758
leaq 0x308(%rsp), %rdi
callq 0x4758
leaq 0x2e8(%rsp), %rdi
callq 0x4758
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rsi
leaq 0x288(%rsp), %rdi
callq 0x11b20
jmp 0x1170a
leaq 0x4ef1(%rip), %rsi      # 0x16602
leaq 0x2a8(%rsp), %rdi
leaq 0x288(%rsp), %rdx
callq 0xd330
jmp 0x11728
leaq 0x4ea7(%rip), %rdx      # 0x165d6
leaq 0x2c8(%rsp), %rdi
leaq 0x2a8(%rsp), %rsi
callq 0xceb0
jmp 0x11746
leaq 0x400(%rsp), %rdi
leaq 0x2c8(%rsp), %rsi
callq 0x44b0
jmp 0x1175d
leaq 0x2c8(%rsp), %rdi
callq 0x4758
leaq 0x2a8(%rsp), %rdi
callq 0x4758
leaq 0x288(%rsp), %rdi
callq 0x4758
movq 0x18(%rsp), %rax
movq 0x28(%rax), %rsi
leaq 0x228(%rsp), %rdi
callq 0x11b20
jmp 0x1179c
leaq 0x4e6f(%rip), %rsi      # 0x16612
leaq 0x248(%rsp), %rdi
leaq 0x228(%rsp), %rdx
callq 0xd330
jmp 0x117ba
leaq 0x554b(%rip), %rdx      # 0x16d0c
leaq 0x268(%rsp), %rdi
leaq 0x248(%rsp), %rsi
callq 0xceb0
jmp 0x117d8
leaq 0x400(%rsp), %rdi
leaq 0x268(%rsp), %rsi
callq 0x44b0
jmp 0x117ef
leaq 0x268(%rsp), %rdi
callq 0x4758
leaq 0x248(%rsp), %rdi
callq 0x4758
leaq 0x228(%rsp), %rdi
callq 0x4758
leaq 0x4e05(%rip), %rsi      # 0x16622
leaq 0x400(%rsp), %rdi
callq 0x4320
jmp 0x1182c
movq 0x18(%rsp), %rax
movq (%rax), %rdi
addq $0x40, %rdi
callq 0x4630
testb $0x1, %al
jne 0x11ad4
movq 0x18(%rsp), %rax
movq (%rax), %rsi
addq $0x40, %rsi
leaq 0x28(%rsp), %rdi
movl $0x10, %edx
callq 0x4710
jmp 0x11862
leaq 0x400(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x4170
movq 0x8(%rsp), %rdi
movq %rax, 0x10(%rsp)
callq 0x4590
movq 0x10(%rsp), %rsi
movq %rax, %rdx
leaq 0x28(%rsp), %rdi
callq 0x44d0
jmp 0x11897
leaq 0x28(%rsp), %rdi
callq 0x4220
jmp 0x118a3
leaq 0x28(%rsp), %rdi
callq 0x4540
jmp 0x118af
leaq 0x28(%rsp), %rdi
callq 0x4570
jmp 0x11ad4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x118f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x3c8(%rsp), %rdi
callq 0x4758
leaq 0x3a8(%rsp), %rdi
callq 0x4758
jmp 0x11aff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11961
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11954
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x388(%rsp), %rdi
callq 0x4758
leaq 0x368(%rsp), %rdi
callq 0x4758
leaq 0x348(%rsp), %rdi
callq 0x4758
jmp 0x11aff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x119cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x119c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x328(%rsp), %rdi
callq 0x4758
leaq 0x308(%rsp), %rdi
callq 0x4758
leaq 0x2e8(%rsp), %rdi
callq 0x4758
jmp 0x11aff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11a39
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x4758
leaq 0x2a8(%rsp), %rdi
callq 0x4758
leaq 0x288(%rsp), %rdi
callq 0x4758
jmp 0x11aff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11aa5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
jmp 0x11a98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x268(%rsp), %rdi
callq 0x4758
leaq 0x248(%rsp), %rdi
callq 0x4758
leaq 0x228(%rsp), %rdi
callq 0x4758
jmp 0x11aff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3f0(%rsp)
movl %eax, 0x3ec(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x4570
jmp 0x11aff
movq 0xc4f5(%rip), %rdi      # 0x1dfd0
leaq 0x400(%rsp), %rsi
callq 0x42f0
jmp 0x11aea
leaq 0x400(%rsp), %rdi
callq 0x4758
addq $0x428, %rsp            # imm = 0x428
retq
leaq 0x400(%rsp), %rdi
callq 0x4758
movq 0x3f0(%rsp), %rdi
callq 0x46a0
nopl (%rax)