// File: /workspace/github_c_makefile_star2_O2/samtools[P]htslib/test/test_bgzf.c
// Function: main
int main(int argc, char **argv) {
    Files f = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 };
    int retval = EXIT_FAILURE;

    if (argc != 2) {
        fprintf(stderr, "Usage: %s <source file>\n", argv[0]);
        return EXIT_FAILURE;
    }

    if (setup(argv[1], &f) != 0) goto out;

    // Try reading an existing file
    if (test_check_EOF(f.src_bgzf, 1) != 0) goto out;
    if (test_read(&f) != 0) goto out;

    // Try writing some data and reading it back
    if (test_write_read(&f, "wu", USE_BGZF_OPEN, 0, 0) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 0) != 0) goto out;
    if (test_write_read(&f, "w",  USE_BGZF_OPEN, 0, 2) != 0)  goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;
    if (test_write_read(&f, "w0", USE_BGZF_OPEN, 0, 2) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;
    if (test_write_read(&f, "w1", USE_BGZF_DOPEN, 0, 2) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;
    if (test_write_read(&f, "w9", USE_BGZF_HOPEN, 0, 2) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;
    if (test_write_read(&f, "wg", USE_BGZF_OPEN, 0, 1) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 0) != 0) goto out;

    // Try writing and reading with threads
    if (test_write_read(&f, "w", USE_BGZF_OPEN, 1, 2) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;
    if (test_write_read(&f, "w", USE_BGZF_OPEN, 2, 2) != 0) goto out;
    if (test_check_EOF(f.tmp_bgzf, 1) != 0) goto out;

    // Embedded EOF block
    if (test_embed_eof(&f, "w", 0) != 0) goto out;
    if (test_embed_eof(&f, "w", 1) != 0) goto out;
    if (test_embed_eof(&f, "w", 2) != 0) goto out;

    // Index load and dump
    if (test_index_load_dump(&f) != 0) goto out;

    // Index building on the fly and bgzf_useek
    if (test_index_useek_getc(&f, "w", 1000000, 0) != 0) goto out;

    // Index building on the fly and bgzf_useek, with threads
    if (test_index_useek_getc(&f, "w", 1000000, 1) != 0) goto out;
    if (test_index_useek_getc(&f, "w", 1000000, 2) != 0) goto out;

    // bgzf_useek on an uncompressed file
    if (test_index_useek_getc(&f, "wu", 0, 0) != 0) goto out;

    // bgzf_tell and bgzf_seek
    if (test_tell_seek_getc(&f, "w", 0, 0) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 0, 0) != 0) goto out;
    if (test_tell_seek_getc(&f, "w", 1000000, 0) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 1000000, 0) != 0) goto out;
    if (test_tell_seek_getc(&f, "w", 0, 1) != 0) goto out;
    if (test_tell_seek_getc(&f, "w", 0, 2) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 0, 1) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 0, 2) != 0) goto out;
    if (test_tell_seek_getc(&f, "w", 1000000, 1) != 0) goto out;
    if (test_tell_seek_getc(&f, "w", 1000000, 2) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 1000000, 1) != 0) goto out;
    if (test_tell_seek_getc(&f, "wu", 1000000, 2) != 0) goto out;

    // bgzf_tell and bgzf_read
    if (test_tell_read(&f, "w") != 0) goto out;
    if (test_tell_read(&f, "wu") != 0) goto out;

    // bgzf_useek and bgzf_read_small
    if (test_useek_read_small(&f, "w") != 0) goto out;
    if (test_useek_read_small(&f, "wu") != 0) goto out;

    // getline
    if (test_bgzf_getline(&f, "w", 0) != 0) goto out;
    if (test_bgzf_getline(&f, "w", 1) != 0) goto out;
    if (test_bgzf_getline(&f, "w", 2) != 0) goto out;

    if (test_bgzf_getline_on_truncated_file(&f, "w", 0) != 0) goto out;
    if (test_bgzf_getline_on_truncated_file(&f, "w", 1) != 0) goto out;
    if (test_bgzf_getline_on_truncated_file(&f, "w", 2) != 0) goto out;

    retval = EXIT_SUCCESS;

 out:
    cleanup(&f, retval);
    return retval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10088, %rsp          # imm = 0x10088
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
cmpl $0x2, %edi
jne 0x61a1
movq 0x8(%rsi), %r12
movq %r12, %rdi
callq 0x41c0
movq %rax, %rbx
movq 0x959e8(%rip), %rdi     # 0x9b4f0
callq 0x41c0
movq %rax, %r14
movq 0x959e1(%rip), %rdi     # 0x9b4f8
callq 0x41c0
movq %rax, %r15
movq 0x959da(%rip), %rdi     # 0x9b500
callq 0x41c0
addq %rbx, %r14
addq %r15, %r14
leaq (%rax,%r14), %r13
addq $0x8, %r13
pushq $0x5
popq %rdi
movq %r13, %rsi
callq 0x42f0
testq %rax, %rax
je 0x6193
movq %rax, %rbx
leaq 0x72642(%rip), %rdx     # 0x78199
movq %rax, %rdi
movq %r13, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x4800
leaq (%rbx,%r13), %rdi
movq %rdi, 0x8(%rsp)
movq 0x95979(%rip), %r8      # 0x9b4f0
leaq 0x70193(%rip), %rdx     # 0x75d11
movq %r13, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x4800
leaq (%rbx,%r13,2), %r15
movq 0x9595a(%rip), %r8      # 0x9b4f0
movq 0x9595b(%rip), %r9      # 0x9b4f8
leaq 0x6e495(%rip), %r14     # 0x74039
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x4800
leaq (,%r13,2), %rbp
addq %r13, %rbp
addq %rbx, %rbp
movq 0x95934(%rip), %r8      # 0x9b500
movq 0x9591d(%rip), %r9      # 0x9b4f0
movq %rbp, %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x4800
leaq (%rbx,%r13,4), %r14
movq 0x9590f(%rip), %r8      # 0x9b500
movq 0x958f8(%rip), %r9      # 0x9b4f0
movq 0x958f9(%rip), %rax     # 0x9b4f8
movq %rax, (%rsp)
leaq 0x6e42d(%rip), %rdx     # 0x74037
movq %r14, %rdi
movq %r13, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x4800
movq %rbx, 0x10(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %r15, 0x68(%rsp)
movq %r15, 0x20(%rsp)
movq %rbp, 0x28(%rsp)
movq %r14, 0x30(%rsp)
movl $0x61a81, %r12d         # imm = 0x61A81
movl $0x61a81, %edi          # imm = 0x61A81
callq 0x4680
testq %rax, %rax
je 0x6193
movq %rax, %r15
leaq 0x6e3e0(%rip), %rbp     # 0x74040
movq %rax, %r13
xorl %r14d, %r14d
cmpq $0x1, %r12
je 0x5c8c
movq %r13, %rdi
movq %r12, %rsi
movq %rbp, %rdx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x4800
incl %r14d
addq $-0x8, %r12
addq $0x8, %r13
jmp 0x5c66
movq %r15, 0x50(%rsp)
movq $0x61a80, 0x58(%rsp)    # imm = 0x61A80
leaq 0x6e3a5(%rip), %rsi     # 0x74046
movq %rbx, %rdi
callq 0x7cbb
movq %rax, 0x38(%rsp)
pushq $0x1
popq %rbp
testq %rax, %rax
je 0x61cc
leaq 0x6e385(%rip), %rsi     # 0x74046
movq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x7cbb
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x61cc
leaq 0x6e363(%rip), %rsi     # 0x74046
movq 0x68(%rsp), %rdi
callq 0x7cbb
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x61cc
pushq $0x1
popq %rbp
movq %r14, %rdi
movl %ebp, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
callq 0x4050
movq %rax, %rbx
andl $0x0, (%rax)
leaq 0x72574(%rip), %rsi     # 0x78296
leaq 0x6e410(%rip), %r12     # 0x74139
movq %r14, %rdi
movq %r12, %rdx
callq 0x7d08
movq %rax, 0x70(%rsp)
testq %rax, %rax
je 0x61cc
movq %rax, %r15
movq %rbx, 0x68(%rsp)
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
movq 0x38(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x8000, %edx           # imm = 0x8000
movq %r15, %rdi
leaq 0x8080(%rsp), %rsi
movq %rbp, %rcx
movq %r12, %r8
callq 0x7e14
testq %rax, %rax
js 0x61c1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x7eab
testq %rax, %rax
js 0x61c1
movq %rax, %r14
movq %r12, (%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x8080(%rsp), %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r13, %r8
movq %rbp, %r9
callq 0x7f1d
testl %eax, %eax
jne 0x61c1
testq %rbx, %rbx
je 0x5de4
testq %r14, %r14
jne 0x5d5e
movq 0x18(%rsp), %rsi
leaq 0x6e349(%rip), %rdx     # 0x74139
leaq 0x70(%rsp), %rdi
xorl %ecx, %ecx
callq 0x7d69
testl %eax, %eax
pushq $0x1
popq %rbp
movq 0x68(%rsp), %r15
jne 0x61cc
movq 0x10(%rsp), %rbx
movq 0x38(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4530
testl %eax, %eax
jne 0x6221
leaq 0x6e1f4(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x7164f(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %r8
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x6e18b(%rip), %rsi     # 0x74025
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %r8
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x6e156(%rip), %rsi     # 0x74028
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rbp
pushq $0x2
popq %r8
movl %ebp, %edx
xorl %ecx, %ecx
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x6e11e(%rip), %rsi     # 0x7402b
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rdx
xorl %ecx, %ecx
movl %edx, %r8d
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x6e0e9(%rip), %rsi     # 0x7402e
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %r8
xorl %edx, %edx
xorl %ecx, %ecx
movl %r8d, %ebp
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x71534(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rbp
pushq $0x2
popq %r8
xorl %edx, %edx
movl %ebp, %ecx
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x714f9(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
xorl %edx, %edx
movl %ecx, %r8d
callq 0x6643
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x65b5
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x688d
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x688d
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
callq 0x688d
testl %eax, %eax
jne 0x61cc
movq 0x18(%rsp), %rdi
leaq 0x72261(%rip), %rsi     # 0x78296
leaq 0x6e347(%rip), %rdx     # 0x74383
callq 0x7d08
movq %rax, 0x70(%rsp)
testq %rax, %rax
je 0x61cc
movq %rax, %r15
movq 0x18(%rsp), %rsi
movq 0x9549a(%rip), %rdx     # 0x9b4f8
leaq 0x6e31e(%rip), %rcx     # 0x74383
movq %rax, %rdi
callq 0x821e
testl %eax, %eax
jne 0x6271
movq 0x28(%rsp), %rsi
movq 0x95477(%rip), %rdx     # 0x9b4f8
leaq 0x6e2fb(%rip), %rcx     # 0x74383
movq %r15, %rdi
callq 0x828d
testl %eax, %eax
jne 0x6271
movq 0x30(%rsp), %r12
leaq 0x721f2(%rip), %rsi     # 0x78296
movq %r12, %rdi
callq 0x7cbb
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rbx
movq 0x48(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x78(%rsp), %rdi
leaq 0x8080(%rsp), %rsi
leaq 0x6e2af(%rip), %rdx     # 0x74383
movq %rbx, %rcx
callq 0x7eab
testq %rax, %rax
js 0x6256
movq %rax, %r13
movq 0x8(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x6e287(%rip), %rdx     # 0x74383
movq %r12, %rcx
callq 0x7eab
testq %rax, %rax
js 0x6256
movq %rax, %r14
leaq 0x6e26c(%rip), %rax     # 0x74383
movq %rax, (%rsp)
leaq 0x8080(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %r13, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %r12, %r9
callq 0x7f1d
testl %eax, %eax
jne 0x6256
testq %r13, %r13
je 0x6152
testq %r14, %r14
jne 0x60c0
movq 0x30(%rsp), %rbx
movq 0x8(%rsp), %rdi
callq 0x44a0
testl %eax, %eax
jne 0x657c
movq 0x18(%rsp), %rsi
leaq 0x6e20e(%rip), %rdx     # 0x74383
leaq 0x70(%rsp), %rdi
xorl %ecx, %ecx
callq 0x7d69
testl %eax, %eax
je 0x627e
movq 0x70(%rsp), %r15
jmp 0x6268
leaq 0x6de97(%rip), %rdi     # 0x74031
callq 0x43c0
jmp 0x61c9
pushq $0x1
popq %rbp
movq 0x94e35(%rip), %rax     # 0x9afe0
movq (%rax), %rdi
movq (%rsi), %rdx
leaq 0x6de51(%rip), %rsi     # 0x74009
xorl %eax, %eax
callq 0x4700
jmp 0x620d
movq %r15, %rdi
callq 0xad16
pushq $0x1
popq %rbp
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x61db
callq 0x44a0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x61ea
callq 0x44a0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x61f9
callq 0x44a0
movq 0x10(%rsp), %rdi
callq 0x45b0
movq 0x50(%rsp), %rdi
callq 0x45b0
movl %ebp, %eax
addq $0x10088, %rsp          # imm = 0x10088
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x94db8(%rip), %rax     # 0x9afe0
movq (%rax), %r14
movl (%r15), %edi
callq 0x4140
leaq 0x6df80(%rip), %rsi     # 0x741ba
leaq 0x6def8(%rip), %rdx     # 0x74139
movq %r14, %rdi
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x4700
jmp 0x61cc
cmpq $0x0, 0x8(%rsp)
je 0x6268
movq 0x8(%rsp), %rdi
callq 0x44a0
testq %r15, %r15
je 0x61cc
movq %r15, %rdi
callq 0xad16
jmp 0x61cc
leaq 0x7122c(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
movl $0xf4240, %edx          # imm = 0xF4240
xorl %ecx, %ecx
callq 0x6b31
testl %eax, %eax
jne 0x61cc
leaq 0x7120c(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
movl %ecx, %ebp
callq 0x6b31
testl %eax, %eax
jne 0x61cc
leaq 0x711e9(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
callq 0x6b31
testl %eax, %eax
jne 0x61cc
leaq 0x6dd39(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6b31
testl %eax, %eax
jne 0x61cc
leaq 0x711ab(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dcff(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x71171(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
movl $0xf4240, %edx          # imm = 0xF4240
xorl %ecx, %ecx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dcc2(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
movl $0xf4240, %edx          # imm = 0xF4240
xorl %ecx, %ecx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x71131(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rcx
xorl %edx, %edx
movl %ecx, %ebp
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x71111(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
xorl %edx, %edx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dc64(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rcx
xorl %edx, %edx
movl %ecx, %ebp
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dc44(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
xorl %edx, %edx
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x710b5(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
movl %ecx, %ebp
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x71092(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dbe2(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
movl %ecx, %ebp
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x6dbbf(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rcx
movl $0xf4240, %edx          # imm = 0xF4240
callq 0x6efa
testl %eax, %eax
jne 0x61cc
leaq 0x7102d(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
callq 0x7301
testl %eax, %eax
jne 0x61cc
leaq 0x6db85(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
callq 0x7301
testl %eax, %eax
jne 0x61cc
leaq 0x70ffb(%rip), %rsi     # 0x774b1
leaq 0x10(%rsp), %rdi
callq 0x74f5
testl %eax, %eax
jne 0x61cc
leaq 0x6db53(%rip), %rsi     # 0x74022
leaq 0x10(%rsp), %rdi
callq 0x74f5
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x76c3
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x76c3
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
callq 0x76c3
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x7916
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x1
popq %rsi
movl %esi, %ebp
callq 0x7916
testl %eax, %eax
jne 0x61cc
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
callq 0x7916
testl %eax, %eax
jne 0x61cc
movq 0x28(%rsp), %rdi
callq 0x41f0
movq 0x30(%rsp), %rdi
callq 0x41f0
xorl %ebp, %ebp
jmp 0x61cc
movq 0x94a5d(%rip), %rax     # 0x9afe0
movq (%rax), %r14
movq 0x68(%rsp), %rax
movl (%rax), %edi
callq 0x4140
leaq 0x6de51(%rip), %rsi     # 0x743ea
leaq 0x6dde3(%rip), %rdx     # 0x74383
movq %r14, %rdi
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x4700
jmp 0x6268