// File: /workspace/github_c_makefile_star2_O1/samtools[P]htslib/faidx.c
// Function: fai_build3_core
static int fai_build3_core(const char *fn, const char *fnfai, const char *fngzi)
{
    kstring_t fai_kstr = { 0, 0, NULL };
    kstring_t gzi_kstr = { 0, 0, NULL };
    BGZF *bgzf = NULL;
    hFILE *fp = NULL;
    faidx_t *fai = NULL;
    int save_errno, res;
    char *file_type;

    bgzf = bgzf_open(fn, "r");

    if ( !bgzf ) {
        hts_log_error("Failed to open the file %s : %s", fn, strerror(errno));
        goto fail;
    }

    if ( bgzf->is_compressed ) {
        if (bgzf_index_build_init(bgzf) != 0) {
            hts_log_error("Failed to allocate bgzf index");
            goto fail;
        }
    }

    fai = fai_build_core(bgzf);

    if ( !fai ) {
        if (bgzf->is_compressed && bgzf->is_gzip) {
            hts_log_error("Cannot index files compressed with gzip, please use bgzip");
        }
        goto fail;
    }

    if (fai->format == FAI_FASTA) {
        file_type   = "FASTA";
    } else {
        file_type   = "FASTQ";
    }

    if (!fnfai) {
        if (ksprintf(&fai_kstr, "%s.fai", fn) < 0) goto fail;
        fnfai = fai_kstr.s;
    }

    if (!fngzi) {
        if (ksprintf(&gzi_kstr, "%s.gzi", fn) < 0) goto fail;
        fngzi = gzi_kstr.s;
    }

    if ( bgzf->is_compressed ) {
        if (bgzf_index_dump(bgzf, fngzi, NULL) < 0) {
            hts_log_error("Failed to make bgzf index %s", fngzi);
            goto fail;
        }
    }

    res = bgzf_close(bgzf);
    bgzf = NULL;

    if (res < 0) {
        hts_log_error("Error on closing %s : %s", fn, strerror(errno));
        goto fail;
    }

    fp = hopen(fnfai, "wb");

    if ( !fp ) {
        hts_log_error("Failed to open %s index %s : %s", file_type, fnfai, strerror(errno));
        goto fail;
    }

    if (fai_save(fai, fp) != 0) {
        hts_log_error("Failed to write %s index %s : %s", file_type, fnfai, strerror(errno));
        goto fail;
    }

    if (hclose(fp) != 0) {
        hts_log_error("Failed on closing %s index %s : %s", file_type, fnfai, strerror(errno));
        goto fail;
    }

    free(fai_kstr.s);
    free(gzi_kstr.s);
    fai_destroy(fai);
    return 0;

 fail:
    save_errno = errno;
    free(fai_kstr.s);
    free(gzi_kstr.s);
    bgzf_close(bgzf);
    fai_destroy(fai);
    errno = save_errno;
    return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdx, 0x60(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
movq %rax, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
leaq 0x17b8e(%rip), %rsi     # 0x9b5c4
callq 0xa4a5
testq %rax, %rax
je 0x8409a
movq %rax, %r15
movq %r14, 0x78(%rsp)
testb $0x40, 0x3(%rax)
je 0x83a71
movq %r15, %rdi
callq 0xde18
testl %eax, %eax
je 0x83a71
leaq 0x203e9(%rip), %rsi     # 0xa3e4e
leaq 0x20412(%rip), %rdx     # 0xa3e7e
jmp 0x844cd
movq %rbx, 0x50(%rsp)
movl $0x1, %edi
movl $0x28, %esi
callq 0x4300
movq %rax, %rbx
movl $0x1, %edi
movl $0x28, %esi
callq 0x4300
movq %rax, 0x18(%rbx)
movl $0x0, 0x20(%rbx)
movl $0x1, 0x10(%rsp)
xorl %r14d, %r14d
movq $0x0, 0x18(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x70(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x38(%rsp)
movq $0x0, 0x68(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x30(%rsp)
xorl %r12d, %r12d
movq %rbx, 0x28(%rsp)
movl %r13d, %eax
movq %rax, 0x20(%rsp)
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83b1f
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %r13d
incq 0x20(%r15)
jmp 0x83b2a
movq %r15, %rdi
callq 0xdbac
movl %eax, %r13d
testl %r13d, %r13d
js 0x840d1
cmpl $0x2, %r12d
jne 0x83bc3
movl 0x20(%rbx), %ebp
cmpl $0x1, %ebp
jne 0x83b64
movl $0x1, %r12d
cmpl $0x3e, %r13d
je 0x83aff
cmpl $0xa, %r13d
jne 0x83fe1
incl 0x10(%rsp)
xorl %r12d, %r12d
jmp 0x83aff
cmpl $0x2, %ebp
jne 0x83fe1
cmpl $0x2b, %r13d
jne 0x83fd7
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83b96
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %eax
incq 0x20(%r15)
jmp 0x83b9e
movq %r15, %rdi
callq 0xdbac
testl %eax, %eax
js 0x83ba7
cmpl $0xa, %eax
jne 0x83b77
movq %r15, %rdi
callq 0xe79e
movq %rax, 0x40(%rsp)
incl 0x10(%rsp)
movl $0x4, %r12d
jmp 0x83aff
cmpl $0x4, %r12d
ja 0x83fcd
movl %r12d, %eax
leaq 0x2016d(%rip), %rcx     # 0xa3d44
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0xa, %r13d
jne 0x83c02
cmpl $0x0, 0x20(%rsp)
je 0x84696
incl 0x10(%rsp)
xorl %r12d, %r12d
movl $0x1, %eax
jmp 0x83afa
cmpl $0x40, %r13d
jne 0x83c1e
movl $0x1, %eax
movl $0x1, %r12d
cmpl $0x0, 0x20(%rsp)
jne 0x83afa
movq %r14, %rbp
movl $0x1, %ebx
xorl %r14d, %r14d
addb $-0x21, %r13b
cmpb $0x5e, %r13b
adcq $0x0, %r14
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83c55
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %r13d
incq 0x20(%r15)
jmp 0x83c60
movq %r15, %rdi
callq 0xdbac
movl %eax, %r13d
incq %rbx
testl %r13d, %r13d
js 0x83c6e
cmpl $0xa, %r13d
jne 0x83c29
movq 0x30(%rsp), %rcx
cmpq %rbx, %rcx
jb 0x84767
movq 0x68(%rsp), %rsi
addq %r14, %rsi
movl $0x1, %eax
movq %rsi, 0x68(%rsp)
cmpq 0x38(%rsp), %rsi
movq 0x18(%rsp), %r14
je 0x83cae
ja 0x8477a
movq 0x20(%rsp), %rax
cmpq %rbx, %rcx
ja 0x8478a
incl 0x10(%rsp)
movl $0x4, %r12d
movl %eax, %r13d
movq 0x28(%rsp), %rbx
movq %rbp, %r14
jmp 0x83af7
cmpl $0x0, 0x20(%rsp)
je 0x83d01
movq 0x40(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x70(%rsp), %r9
callq 0x85d32
testl %eax, %eax
jne 0x84131
callq 0x4510
movq %rax, %r12
xorl %ebp, %ebp
movq (%r12), %rax
movl %r13d, %ecx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x83d60
leaq 0x2(%rbp), %rax
cmpq %rax, %r14
jae 0x83d6d
movq %r14, 0x48(%rsp)
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x4840
testq %rax, %rax
jne 0x83d72
movq 0x48(%rsp), %r14
jmp 0x83d83
testq %rbp, %rbp
jne 0x83db7
cmpl $0xa, %r13d
jne 0x83d83
jmp 0x83db7
movq 0x18(%rsp), %rax
movb %r13b, (%rax,%rbp)
movb $0x0, 0x1(%rax,%rbp)
incq %rbp
movq %rax, 0x18(%rsp)
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83da3
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %r13d
incq 0x20(%r15)
jmp 0x83dae
movq %r15, %rdi
callq 0xdbac
movl %eax, %r13d
testl %r13d, %r13d
jns 0x83d0b
cmpq $-0x2, %rbp
jae 0x83edf
leaq 0x2(%rbp), %rax
cmpq %rax, %r14
jae 0x83f17
movq %r14, %r12
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x4840
testq %rax, %rax
jne 0x83f1c
jmp 0x83f28
cmpl $0x3d, %r13d
jg 0x83eae
cmpl $0xa, %r13d
je 0x83eef
cmpl $0xd, %r13d
jne 0x846c2
movq %r14, %r13
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83fad
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %eax
incq 0x20(%r15)
jmp 0x83fb5
cmpl $0x2b, %r13d
jne 0x8461e
movq 0x20(%rsp), %r13
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83e81
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %eax
incq 0x20(%r15)
jmp 0x83e89
movq %r15, %rdi
callq 0xdbac
testl %eax, %eax
js 0x83e92
cmpl $0xa, %eax
jne 0x83e62
movq %r15, %rdi
callq 0xe79e
movq %rax, 0x40(%rsp)
incl 0x10(%rsp)
movl $0x4, %r12d
jmp 0x83af7
cmpl $0x40, %r13d
je 0x83efb
cmpl $0x3e, %r13d
jne 0x846c2
cmpl $0x2, 0x20(%rbx)
movq 0x20(%rsp), %r13
je 0x8471e
movl $0x1, 0x20(%rbx)
movl $0x1, %r12d
jmp 0x83af7
movq %r14, %r12
callq 0x4050
movl $0x4b, (%rax)
jmp 0x83f28
incl 0x10(%rsp)
xorl %r12d, %r12d
jmp 0x83fcd
cmpl $0x1, 0x20(%rbx)
je 0x84754
movl $0x2, 0x20(%rbx)
movl $0x1, %r12d
jmp 0x83fcd
movq 0x18(%rsp), %rax
movb $0x0, (%rax,%rbp)
movq %r14, %r12
movq %rax, 0x18(%rsp)
testl %r13d, %r13d
js 0x84645
cmpl $0xa, %r13d
movq %r12, %r14
je 0x83f6a
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x83f59
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %eax
incq 0x20(%r15)
jmp 0x83f61
movq %r15, %rdi
callq 0xdbac
testl %eax, %eax
js 0x83f6a
cmpl $0xa, %eax
jne 0x83f3a
movq %r15, %rdi
callq 0xe79e
movq %rax, 0x70(%rsp)
incl 0x10(%rsp)
movl $0x2, %r12d
xorl %r13d, %r13d
movq $0x0, 0x38(%rsp)
movq $0x0, 0x68(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x30(%rsp)
jmp 0x83af7
movq %r15, %rdi
callq 0xdbac
movq 0x18(%rsp), %r14
cmpl $0xa, %eax
jne 0x84731
incl 0x10(%rsp)
xorl %r12d, %r12d
movq %r13, %r14
movq 0x20(%rsp), %r13
jmp 0x83af7
cmpl $0xa, %r13d
je 0x84655
movq %r14, 0x48(%rsp)
movl $0x1, %r14d
xorl %ebx, %ebx
addb $-0x21, %r13b
cmpb $0x5e, %r13b
adcq $0x0, %rbx
movslq 0x10(%r15), %rax
leal 0x1(%rax), %ecx
cmpl 0x8(%r15), %ecx
jge 0x8401a
movq 0x28(%r15), %rdx
movl %ecx, 0x10(%r15)
movzbl (%rdx,%rax), %r13d
incq 0x20(%r15)
jmp 0x84025
movq %r15, %rdi
callq 0xdbac
movl %eax, %r13d
incq %r14
testl %r13d, %r13d
js 0x84033
cmpl $0xa, %r13d
jne 0x83fee
cmpl $0x1, %ebp
movq 0x20(%rsp), %r13
cmovel %ebp, %r13d
movl $0x2, %r12d
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0x84068
cmpq %r14, %rdx
jbe 0x84077
xorl %eax, %eax
movq 0x28(%rsp), %rcx
cmpl $0x1, 0x20(%rcx)
setne %al
leal (%rax,%rax,2), %r12d
jmp 0x84070
movq %rbx, 0x58(%rsp)
movq %r14, %rdx
movq 0x48(%rsp), %r14
jmp 0x84082
movq 0x48(%rsp), %r14
jb 0x84665
movq %rdx, 0x30(%rsp)
addq %rbx, 0x38(%rsp)
incl 0x10(%rsp)
movq 0x28(%rsp), %rbx
jmp 0x83af7
callq 0x4050
movl (%rax), %edi
callq 0x4150
leaq 0x1fda1(%rip), %rsi     # 0xa3e4e
leaq 0x1fdaa(%rip), %rdx     # 0xa3e5e
xorl %r15d, %r15d
movl $0x1, %edi
movq %r14, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x14378
xorl %r12d, %r12d
jmp 0x8456a
cmpl $0x0, 0x20(%rsp)
je 0x84113
movq 0x40(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq 0x18(%rsp), %r14
movq %r14, %rsi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x70(%rsp), %r9
callq 0x85d32
testl %eax, %eax
jne 0x84136
movq %r14, %rdi
callq 0x45c0
jmp 0x84148
leaq 0x1fe5d(%rip), %rsi     # 0xa3f77
leaq 0x200d7(%rip), %rdx     # 0xa41f8
movl $0x1, %edi
movl 0x10(%rsp), %ecx
xorl %eax, %eax
callq 0x14378
movq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x45c0
movq %rbx, %rdi
callq 0x8396c
xorl %ebx, %ebx
testq %rbx, %rbx
movq 0x78(%rsp), %rdx
je 0x844b2
cmpl $0x1, 0x20(%rbx)
leaq 0x14be1(%rip), %rax     # 0x98d42
leaq 0x14be0(%rip), %r12     # 0x98d48
cmoveq %rax, %r12
cmpq $0x0, 0x50(%rsp)
jne 0x841a4
leaq 0x1a248(%rip), %rsi     # 0x9e3c3
leaq 0xa0(%rsp), %rdi
xorl %eax, %eax
callq 0x9aab
testl %eax, %eax
js 0x84567
movq 0xb0(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x78(%rsp), %rdx
cmpq $0x0, 0x60(%rsp)
jne 0x841d7
leaq 0x1fd23(%rip), %rsi     # 0xa3ed6
leaq 0x80(%rsp), %rdi
xorl %eax, %eax
callq 0x9aab
testl %eax, %eax
js 0x84567
movq 0x90(%rsp), %rax
movq %rax, 0x60(%rsp)
testb $0x40, 0x3(%r15)
je 0x841f5
movq %r15, %rdi
movq 0x60(%rsp), %rsi
xorl %edx, %edx
callq 0xe15c
testl %eax, %eax
js 0x84548
movq %r15, %rdi
callq 0xd4a4
testl %eax, %eax
js 0x844e1
leaq 0x13c1e(%rip), %rsi     # 0x97e2a
movq 0x50(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x10014
testq %rax, %rax
je 0x84514
movq %rax, %r15
movq %r12, 0x40(%rsp)
cmpl $0x0, 0x8(%rbx)
jle 0x84471
leaq 0xc0(%rsp), %r13
xorl %r14d, %r14d
movq %r15, 0x38(%rsp)
movq %rbx, 0x28(%rsp)
movq 0x18(%rbx), %rax
movq %rax, 0x18(%rsp)
movl (%rax), %edx
movl $0x0, %ebx
testl %edx, %edx
movq %r14, 0x10(%rsp)
je 0x84346
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movq (%rax,%r14,8), %r12
movb (%r12), %cl
testb %cl, %cl
je 0x842a0
leaq 0x1(%r12), %rax
movl $0x811c9dc5, %r15d      # imm = 0x811C9DC5
movzbl %cl, %ecx
xorl %r15d, %ecx
imull $0x1000193, %ecx, %r15d # imm = 0x1000193
movb (%rax), %cl
incq %rax
testb %cl, %cl
jne 0x84288
jmp 0x842a6
movl $0x811c9dc5, %r15d      # imm = 0x811C9DC5
movq %rdx, 0x30(%rsp)
decl %edx
andl %edx, %r15d
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rsi
movl $0x1, %r14d
movl %r15d, %ebx
movl %edx, 0x20(%rsp)
movq %rsi, 0x48(%rsp)
movl %ebx, %eax
shrl $0x4, %eax
movl (%rsi,%rax,4), %r13d
leal (%rbx,%rbx), %ebp
andl $0x1e, %ebp
movl %r13d, %eax
movl %ebp, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x84323
testb $0x1, %al
jne 0x8430d
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %rdi
movq %r12, %rsi
callq 0x46c0
movq 0x48(%rsp), %rsi
movl 0x20(%rsp), %edx
testl %eax, %eax
je 0x84323
addl %r14d, %ebx
andl %edx, %ebx
incl %r14d
cmpl %r15d, %ebx
jne 0x842cb
movq 0x30(%rsp), %rdx
movl %edx, %ebx
jmp 0x84334
movl %ebp, %ecx
shrl %cl, %r13d
testb $0x3, %r13b
movq 0x30(%rsp), %rdx
cmovnel %edx, %ebx
movq 0x38(%rsp), %r15
leaq 0xc0(%rsp), %r13
movq 0x10(%rsp), %r14
cmpl %edx, %ebx
jae 0x847a2
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdx
movl %ebx, %eax
leaq (%rax,%rax,4), %rsi
movl 0x4(%rdx,%rsi,8), %eax
movl 0x8(%rdx,%rsi,8), %r9d
movq 0x10(%rdx,%rsi,8), %rcx
movq 0x18(%rdx,%rsi,8), %r8
movq 0x28(%rsp), %rbx
cmpl $0x1, 0x20(%rbx)
jne 0x8438f
movl %eax, (%rsp)
movl $0x60, %esi
movq %r13, %rdi
leaq 0x1ff1e(%rip), %rdx     # 0xa42ab
jmp 0x843ae
leaq (%rdx,%rsi,8), %rdx
movq 0x20(%rdx), %rdx
movq %rdx, 0x8(%rsp)
movl %eax, (%rsp)
movl $0x60, %esi
movq %r13, %rdi
leaq 0x1ff0d(%rip), %rdx     # 0xa42bb
xorl %eax, %eax
callq 0x4800
movq 0x10(%rbx), %rax
movq (%rax,%r14,8), %r12
movq %r12, %rdi
callq 0x41d0
movq %rax, %r14
movq 0x8(%r15), %rdi
movq 0x18(%r15), %rbx
subq %rdi, %rbx
cmpq %rax, %rbx
movq %rax, %rbp
cmovbq %rbx, %rbp
movq %r12, %rsi
movq %rbp, %rdx
callq 0x43c0
addq %rbp, 0x8(%r15)
cmpq %rbx, %r14
jbe 0x8440a
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %r15, %rcx
callq 0xf568
testl %eax, %eax
jne 0x845b8
movq %r13, %rdi
callq 0x41d0
movq %rax, %r12
movq 0x8(%r15), %rdi
movq 0x18(%r15), %rbx
subq %rdi, %rbx
cmpq %rax, %rbx
movq %rax, %r14
cmovbq %rbx, %r14
movq %r13, %rsi
movq %r14, %rdx
callq 0x43c0
addq %r14, 0x8(%r15)
cmpq %rbx, %r12
jbe 0x84457
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0xf568
testl %eax, %eax
jne 0x845b8
movq 0x10(%rsp), %r14
incq %r14
movq 0x28(%rsp), %rbx
movslq 0x8(%rbx), %rax
cmpq %rax, %r14
jl 0x8424b
movq %r15, %rdi
callq 0xf6d0
testl %eax, %eax
je 0x845f8
callq 0x4050
movl (%rax), %edi
callq 0x4150
leaq 0x1f9ba(%rip), %rsi     # 0xa3e4e
leaq 0x1fab9(%rip), %rdx     # 0xa3f54
xorl %r15d, %r15d
movl $0x1, %edi
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %r8
jmp 0x8453c
cmpl $0xc0000000, (%r15)     # imm = 0xC0000000
jb 0x840c9
leaq 0x1f988(%rip), %rsi     # 0xa3e4e
leaq 0x1f9cf(%rip), %rdx     # 0xa3e9c
xorl %r12d, %r12d
movl $0x1, %edi
xorl %eax, %eax
callq 0x14378
jmp 0x8456a
callq 0x4050
movl (%rax), %edi
callq 0x4150
leaq 0x1f95a(%rip), %rsi     # 0xa3e4e
leaq 0x1f9ff(%rip), %rdx     # 0xa3efa
xorl %r15d, %r15d
movl $0x1, %edi
movq 0x78(%rsp), %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x14378
jmp 0x84567
callq 0x4050
movl (%rax), %edi
callq 0x4150
leaq 0x1f927(%rip), %rsi     # 0xa3e4e
leaq 0x1f9e5(%rip), %rdx     # 0xa3f13
xorl %r15d, %r15d
movl $0x1, %edi
movq %r12, %rcx
movq %r14, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x14378
jmp 0x84567
leaq 0x1f8ff(%rip), %rsi     # 0xa3e4e
leaq 0x1f987(%rip), %rdx     # 0xa3edd
movl $0x1, %edi
movq 0x60(%rsp), %rcx
xorl %eax, %eax
callq 0x14378
movq %rbx, %r12
callq 0x4050
movq %rax, %r14
movl (%rax), %ebx
movq 0xb0(%rsp), %rdi
callq 0x45c0
movq 0x90(%rsp), %rdi
callq 0x45c0
movq %r15, %rdi
callq 0xd4a4
movq %r12, %rdi
callq 0x8396c
movl %ebx, (%r14)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x4050
movl (%rax), %edi
callq 0x4150
leaq 0x1f883(%rip), %rsi     # 0xa3e4e
leaq 0x1f961(%rip), %rdx     # 0xa3f33
xorl %r15d, %r15d
movl $0x1, %edi
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x14378
movq 0x28(%rsp), %r12
jmp 0x8456a
movq 0xb0(%rsp), %rdi
callq 0x45c0
movq 0x90(%rsp), %rdi
callq 0x45c0
movq %rbx, %rdi
callq 0x8396c
xorl %eax, %eax
jmp 0x845a6
leaq 0x1f952(%rip), %rsi     # 0xa3f77
leaq 0x1faba(%rip), %rdx     # 0xa40e6
movl $0x1, %edi
movl %r13d, %ecx
movl 0x10(%rsp), %r8d
xorl %eax, %eax
callq 0x14378
jmp 0x84131
leaq 0x1f92b(%rip), %rsi     # 0xa3f77
leaq 0x1f9f4(%rip), %rdx     # 0xa4047
jmp 0x846a4
leaq 0x1f91b(%rip), %rsi     # 0xa3f77
leaq 0x1fa13(%rip), %rdx     # 0xa4076
jmp 0x846a4
leaq 0x1f90b(%rip), %rsi     # 0xa3f77
leaq 0x1fa41(%rip), %rdx     # 0xa40b4
movl $0x1, %edi
movq 0x18(%rsp), %r14
movq %r14, %rcx
movl 0x10(%rsp), %r8d
xorl %eax, %eax
callq 0x14378
movq 0x28(%rsp), %rbx
jmp 0x84136
leaq 0x1f8da(%rip), %rsi     # 0xa3f77
leaq 0x1fa73(%rip), %rdx     # 0xa4117
movl $0x1, %edi
movq 0x18(%rsp), %r14
movq %r14, %rcx
movl 0x10(%rsp), %r8d
xorl %eax, %eax
callq 0x14378
jmp 0x84136
leaq 0xc0(%rsp), %rbx
movb $0x22, (%rbx)
movb %r13b, 0x1(%rbx)
movw $0x22, 0x2(%rbx)
callq 0x4510
movq (%rax), %rax
movl %r13d, %ecx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
leaq 0x1648a(%rip), %rcx     # 0x9ab7b
cmovbq %rbx, %rcx
movq 0x28(%rsp), %rbx
leaq 0x1f876(%rip), %rsi     # 0xa3f77
leaq 0x1f918(%rip), %rdx     # 0xa4020
movl $0x1, %edi
movl 0x10(%rsp), %r8d
xorl %eax, %eax
callq 0x14378
jmp 0x84131
leaq 0x1f852(%rip), %rsi     # 0xa3f77
leaq 0x1f85a(%rip), %rdx     # 0xa3f86
jmp 0x84121
leaq 0x1f83f(%rip), %rsi     # 0xa3f77
leaq 0x1f89f(%rip), %rdx     # 0xa3fde
movl $0x1, %edi
movl 0x10(%rsp), %ecx
xorl %eax, %eax
callq 0x14378
jmp 0x84136
leaq 0x1f81c(%rip), %rsi     # 0xa3f77
leaq 0x1f850(%rip), %rdx     # 0xa3fb2
jmp 0x84121
leaq 0x1f809(%rip), %rsi     # 0xa3f77
leaq 0x1f9eb(%rip), %rdx     # 0xa4160
jmp 0x84673
leaq 0x1f7f6(%rip), %rsi     # 0xa3f77
leaq 0x1fa08(%rip), %rdx     # 0xa4190
jmp 0x84798
leaq 0x1f7e6(%rip), %rsi     # 0xa3f77
leaq 0x1fa2f(%rip), %rdx     # 0xa41c7
movl $0x1, %edi
jmp 0x8467d
leaq 0x1fabd(%rip), %rdi     # 0xa4266
leaq 0x1facc(%rip), %rsi     # 0xa427c
leaq 0x1facd(%rip), %rcx     # 0xa4284
movl $0x168, %edx            # imm = 0x168
callq 0x42f0