// File: /workspace/github_c_makefile_star2_O3/c-zhou[P]yahs/juicer.c
// Function: make_juicer_pre_file_from_bam
static int make_juicer_pre_file_from_bam(char *f, char *agp, char *fai, uint8_t mq, int scale, int count_gap, FILE *fo)
{
    bamFile fp;
    bam_header_t *h;
    bam1_t *b;
    char *cname0, *cname1, *rname0, *rname1;
    int32_t s0, s1, e0, e1;
    uint32_t i0, i1;
    uint64_t p0, p1, rec_c, pair_c;
    int8_t buff;
    enum bam_sort_order so;
    CC_ERR_t err0, err1;

    khash_t(str) *hmseq; // for absent sequences
    khint_t k;
    int absent;
    hmseq = kh_init(str);

    sdict_t *sdict = make_sdict_from_index(fai, 0);
    asm_dict_t *dict = agp? make_asm_dict_from_agp(sdict, agp, 1) : make_asm_dict_from_sdict(sdict);

    fp = bam_open(f, "r");
    if (fp == NULL) {
        fprintf(stderr, "[E::%s] cannot open file %s for reading\n", __func__, f);
        exit(EXIT_FAILURE);
    }
    
    h = bam_header_read(fp);
    b = bam_init1();
    so = bam_hrecs_sort_order(h);
    cname0 = cname1 = rname0 = rname1 = 0;
    s0 = s1 = e0 = e1 = 0;
    i0 = i1 = 0;
    p0 = p1 = 0;
    rec_c = pair_c = 0;
    buff = 0;    
    
    if (so == ORDER_NAME) {
        // sorted by read names
        while (bam_read1(fp, b) >= 0 ) {

            if (++rec_c % 1000000 == 0)
                fprintf(stderr, "[I::%s] %lu million records processed, %lu read pairs \n", __func__, rec_c / 1000000, pair_c);

            if (buff == 0) {
                rname0 = parse_bam_rec(b, h, mq, &s0, &e0, &cname0);
                if (!rname0)
                    continue;
                ++buff;
            } else if (buff == 1) {
                rname1 = parse_bam_rec(b, h, mq, &s1, &e1, &cname1);
                if (!rname1)
                    continue;
                if (strcmp(rname0, rname1) == 0) {
                    buff = 0;

                    err0 = sd_coordinate_conversion(dict, sd_get(sdict, cname0), s0 / 2 + e0 / 2 + (s0 & 1 && e0 & 1), &i0, &p0, count_gap);
                    err1 = sd_coordinate_conversion(dict, sd_get(sdict, cname1), s1 / 2 + e1 / 2 + (s1 & 1 && e1 & 1), &i1, &p1, count_gap);

                    if (err0 != CC_SUCCESS) {
                        if (err0 == SEQ_NOT_FOUND) {
                            k = kh_put(str, hmseq, cname0, &absent);
                            if (absent) {
                                kh_key(hmseq, k) = strdup(cname0);
                                fprintf(stderr, "[W::%s] sequence \"%s\" not found \n", __func__, cname0);
                            }
                        } else if (err0 == POS_NOT_IN_RANGE) {
                            fprintf(stderr, "[W::%s] sequence position \"%s:%u\" not in range \n", __func__,
                                    cname0, s0 / 2 + e0 / 2 + (s0 & 1 && e0 & 1));
                        }
                    } else if (err1 != CC_SUCCESS) {
                        if (err1 == SEQ_NOT_FOUND) {
                            k = kh_put(str, hmseq, cname1, &absent);
                            if (absent) {
                                kh_key(hmseq, k) = strdup(cname1);
                                fprintf(stderr, "[W::%s] sequence \"%s\" not found \n", __func__, cname1);
                            }
                        } else if (err1 == POS_NOT_IN_RANGE) {
                            fprintf(stderr, "[W::%s] sequence position \"%s:%u\" not in range \n", __func__,
                                    cname1, s1 / 2 + e1 / 2 + (s1 & 1 && e1 & 1));
                        }
                    } else {
                        if (strcmp(dict->s[i0].name, dict->s[i1].name) <= 0)
                            fprintf(fo, "0\t%s\t%lu\t0\t1\t%s\t%lu\t1\n", dict->s[i0].name, p0 >> scale, dict->s[i1].name, p1 >> scale);
                        else
                            fprintf(fo, "0\t%s\t%lu\t1\t1\t%s\t%lu\t0\n", dict->s[i1].name, p1 >> scale, dict->s[i0].name, p0 >> scale);

                        ++pair_c;
                    }

                    free(rname0);
                    free(rname1);
                    rname0 = 0;
                    rname1 = 0;
                } else {
                    buff = 1;

                    cname0 = cname1;
                    s0 = s1;
                    e0 = e1;
                    free(rname0);
                    rname0 = rname1;
                    rname1 = 0;
                }
            }
        }
    } else {
        // sorted by coordinates or others
        if (mq > 0)
            fprintf(stderr, "[W::%s] BAM file is not sorted by read name. Filtering by mapping quality %hhu suppressed \n", __func__, mq);

        while (bam_read1(fp, b) >= 0 ) {
            
            if (++rec_c % 1000000 == 0)
                fprintf(stderr, "[I::%s] %lu million records processed, %lu read pairs \n", __func__, rec_c / 1000000, pair_c); 
            
            if(parse_bam_rec1(b, h, &cname0, &s0, &cname1, &s1))
                continue;

            err0 = sd_coordinate_conversion(dict, sd_get(sdict, cname0), s0, &i0, &p0, count_gap);
            err1 = sd_coordinate_conversion(dict, sd_get(sdict, cname1), s1, &i1, &p1, count_gap);

            if (err0 != CC_SUCCESS) {
                if (err0 == SEQ_NOT_FOUND) {
                    k = kh_put(str, hmseq, cname0, &absent);
                    if (absent) {
                        kh_key(hmseq, k) = strdup(cname0);
                        fprintf(stderr, "[W::%s] sequence \"%s\" not found \n", __func__, cname0);
                    }
                } else if (err0 == POS_NOT_IN_RANGE) {
                    fprintf(stderr, "[W::%s] sequence position \"%s:%u\" not in range \n", __func__, cname0, s0);
                }
            } else if (err1 != CC_SUCCESS) {
                if (err1 == SEQ_NOT_FOUND) {
                    k = kh_put(str, hmseq, cname1, &absent);
                    if (absent) {
                        kh_key(hmseq, k) = strdup(cname1);
                        fprintf(stderr, "[W::%s] sequence \"%s\" not found \n", __func__, cname1);
                    }
                } else if (err1 == POS_NOT_IN_RANGE) {
                    fprintf(stderr, "[W::%s] sequence position \"%s:%u\" not in range \n", __func__, cname1, s1);
                }
            } else {
                if (strcmp(dict->s[i0].name, dict->s[i1].name) <= 0)
                    fprintf(fo, "0\t%s\t%lu\t0\t1\t%s\t%lu\t1\n", dict->s[i0].name, p0 >> scale, dict->s[i1].name, p1 >> scale);
                else
                    fprintf(fo, "0\t%s\t%lu\t1\t1\t%s\t%lu\t0\n", dict->s[i1].name, p1 >> scale, dict->s[i0].name, p0 >> scale);
        
                ++pair_c;
            }
        }
    }

    fprintf(stderr, "[I::%s] %lu read pairs processed\n", __func__, pair_c);

    for (k = 0; k < kh_end(hmseq); ++k)
        if (kh_exist(hmseq, k))
            free((char *) kh_key(hmseq, k));
    kh_destroy(str, hmseq);

    if (rname0)
        free(rname0);
    if (rname1)
        free(rname1);
    bam_destroy1(b);
    bam_header_destroy(h);
    bam_close(fp);
    asm_destroy(dict);
    sd_destroy(sdict);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movl %r9d, 0x34(%rsp)
movl %r8d, %ebx
movl %ecx, (%rsp)
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbp
movl $0x1, %esi
movl $0x28, %edx
xorl %edi, %edi
callq 0x4040
movq %rax, 0x40(%rsp)
movq %r13, %rdi
xorl %esi, %esi
callq 0x5d57
movq %rax, %r13
movq %rax, %rdi
testq %r12, %r12
jne 0xc6bb
callq 0x62db
jmp 0xc6c8
movq %r12, %rsi
movl $0x1, %edx
callq 0x6768
movq %rax, 0x48(%rsp)
leaq 0x3584(%rip), %rsi      # 0xfc58
movq %rbp, %rdi
callq 0x3f73
testq %rax, %rax
movq 0x40(%rsp), %r12
je 0xcf71
movq %rax, %r15
movq %rax, %rdi
callq 0x3945
movq %rax, %r14
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movq %rax, %rbp
movq %r14, 0x88(%rsp)
movq %r14, %rdi
callq 0x3deb
xorl %ecx, %ecx
movq %rcx, 0x90(%rsp)
movq %rcx, 0x98(%rsp)
movl %ecx, 0x38(%rsp)
movl %ecx, 0x3c(%rsp)
movl %ecx, 0x18(%rsp)
movl %ecx, 0x1c(%rsp)
movl %ecx, 0x10(%rsp)
movl %ecx, 0x14(%rsp)
movq %rcx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
cmpl $0x1, %eax
movq %r13, 0xa0(%rsp)
movq %r15, 0x60(%rsp)
jne 0xcc35
addq $0x18, %r12
movq %r12, 0x78(%rsp)
movl %ebx, %eax
movq %rax, 0x80(%rsp)
movzbl (%rsp), %r14d
xorl %r13d, %r13d
movq $0x0, 0x58(%rsp)
xorl %r12d, %r12d
xorl %r15d, %r15d
testb %r13b, %r13b
sete %r13b
movq %r15, (%rsp)
incq %r12
movq %r12, %rax
movq %rax, %r12
movabsq $0x431bde82d7b634db, %r15 # imm = 0x431BDE82D7B634DB
mulq %r15
movq %rdx, %rbx
movq 0x60(%rsp), %rdi
movq %rbp, %rsi
callq 0x3b45
testl %eax, %eax
js 0xcb2d
shrq $0x12, %rbx
imulq $0xf4240, %rbx, %rsi    # imm = 0xF4240
movq %r12, %rax
mulq %r15
cmpq %r12, %rsi
je 0xc81a
movq %rbp, %rdi
testb $0x1, %r13b
jne 0xc847
movq 0x88(%rsp), %rsi
movl %r14d, %edx
leaq 0x18(%rsp), %rcx
leaq 0x38(%rsp), %r8
leaq 0x90(%rsp), %r9
callq 0xdc90
movq %rax, %r15
leaq 0x1(%r12), %rax
xorl %r13d, %r13d
testq %r15, %r15
je 0xc79f
jmp 0xc886
movq %rdx, %rcx
shrq $0x12, %rcx
movq 0x87d0(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x4104(%rip), %rsi      # 0x10936
leaq 0x40df(%rip), %rdx      # 0x10918
movq 0x58(%rsp), %r8
xorl %eax, %eax
callq 0x2230
jmp 0xc7dd
movq 0x88(%rsp), %rsi
movl %r14d, %edx
leaq 0x1c(%rsp), %rcx
leaq 0x3c(%rsp), %r8
leaq 0x98(%rsp), %r9
callq 0xdc90
movq %rax, %r15
movb $0x1, %r13b
movl $0x0, %eax
movq %rax, (%rsp)
testq %r15, %r15
je 0xc799
jmp 0xc78e
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2210
testl %eax, %eax
je 0xc8c9
movq 0x90(%rsp), %rax
movq %rax, 0x98(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl 0x38(%rsp), %eax
movl %eax, 0x3c(%rsp)
movq %rbx, %rdi
callq 0x2060
movb $0x1, %r13b
jmp 0xc78e
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rbx
movq %rbx, %rdi
movq %rsi, 0x28(%rsp)
callq 0x5733
movl 0x1c(%rsp), %edx
movl %edx, %ecx
shrl $0x1f, %ecx
addl %edx, %ecx
sarl %ecx
movl 0x3c(%rsp), %edi
movl %edi, %esi
shrl $0x1f, %esi
addl %edi, %esi
sarl %esi
addl %ecx, %esi
andl %edi, %edx
andl $0x1, %edx
addl %esi, %edx
movq 0x48(%rsp), %r13
movq %r13, %rdi
movl %eax, %esi
movl %edx, 0xc(%rsp)
leaq 0x14(%rsp), %rcx
leaq 0x70(%rsp), %r8
movl 0x34(%rsp), %r9d
callq 0x7bb9
movl %eax, 0x50(%rsp)
movq 0x90(%rsp), %rsi
movq %rbx, %rdi
movq %rsi, 0x20(%rsp)
callq 0x5733
movl 0x18(%rsp), %ebx
movl %ebx, %ecx
shrl $0x1f, %ecx
addl %ebx, %ecx
sarl %ecx
movl 0x38(%rsp), %edx
movl %edx, %esi
shrl $0x1f, %esi
addl %edx, %esi
sarl %esi
addl %ecx, %esi
andl %edx, %ebx
andl $0x1, %ebx
addl %esi, %ebx
movq %r13, %rdi
movl %eax, %esi
movl %ebx, %edx
leaq 0x10(%rsp), %rcx
leaq 0x68(%rsp), %r8
movl 0x34(%rsp), %r9d
callq 0x7bb9
movl 0x50(%rsp), %ecx
testl %ecx, %ecx
je 0xc9c0
cmpl $0x1, %ecx
je 0xca06
cmpl $0x2, %ecx
movq (%rsp), %r13
movq 0x28(%rsp), %rcx
jne 0xcb15
movq 0x8650(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3fde(%rip), %rsi      # 0x10990
leaq 0x3f5f(%rip), %rdx      # 0x10918
movl 0xc(%rsp), %r8d
jmp 0xc9fa
movq 0x20(%rsp), %rcx
testl %eax, %eax
je 0xca40
cmpl $0x1, %eax
movq (%rsp), %r13
je 0xcaaa
cmpl $0x2, %eax
jne 0xcb15
movq 0x8612(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3fa0(%rip), %rsi      # 0x10990
leaq 0x3f21(%rip), %rdx      # 0x10918
movl %ebx, %r8d
xorl %eax, %eax
callq 0x2230
jmp 0xcb15
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rbx
movq %rbx, %rsi
leaq 0x8(%rsp), %rdx
callq 0xdd00
cmpl $0x0, 0x8(%rsp)
movq (%rsp), %r13
je 0xcb15
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movl %eax, %edx
callq 0x2dd2
jmp 0xcb15
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x14(%rsp), %ecx
imulq $0x58, %rcx, %rcx
movq (%rax,%rcx), %rdi
movl 0x10(%rsp), %ecx
imulq $0x58, %rcx, %rcx
movq (%rax,%rcx), %rbx
movq %rdi, 0x50(%rsp)
movq %rbx, %rsi
callq 0x2210
testl %eax, %eax
movq (%rsp), %r13
jg 0xcad7
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
shrq %cl, %rax
movq 0x68(%rsp), %r9
shrq %cl, %r9
movq 0xe0(%rsp), %rdi
leaq 0x3f24(%rip), %rsi      # 0x109c1
movq 0x50(%rsp), %rdx
movq %rax, %rcx
movq %rbx, %r8
jmp 0xcb09
movq 0x40(%rsp), %rdi
movq %rcx, %rbx
movq %rcx, %rsi
leaq 0x8(%rsp), %rdx
callq 0xdd00
cmpl $0x0, 0x8(%rsp)
je 0xcb15
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movl %eax, %edx
callq 0x2e13
jmp 0xcb15
movq 0x68(%rsp), %rax
movq 0x80(%rsp), %rcx
shrq %cl, %rax
movq 0x70(%rsp), %r9
shrq %cl, %r9
movq 0xe0(%rsp), %rdi
leaq 0x3eda(%rip), %rsi      # 0x109d8
movq %rbx, %rdx
movq %rax, %rcx
movq 0x50(%rsp), %r8
xorl %eax, %eax
callq 0x2230
incq 0x58(%rsp)
movq %r13, %rdi
callq 0x2060
movq %r15, %rdi
callq 0x2060
xorl %r13d, %r13d
jmp 0xc78b
movq (%rsp), %r13
movq 0x84c0(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3f09(%rip), %rsi      # 0x10a4b
leaq 0x3dcf(%rip), %rdx      # 0x10918
xorl %ebx, %ebx
movq 0x58(%rsp), %rcx
xorl %eax, %eax
callq 0x2230
movq 0x40(%rsp), %r12
movl (%r12), %eax
testl %eax, %eax
movq 0xa0(%rsp), %r15
je 0xcba9
xorl %r14d, %r14d
movq 0x10(%r12), %rcx
movq %r14, %rdx
shrq $0x4, %rdx
movl (%rcx,%rdx,4), %edx
movl %ebx, %ecx
andb $0x1e, %cl
shrl %cl, %edx
testb $0x3, %dl
jne 0xcb9c
movq 0x18(%r12), %rax
movq (%rax,%r14,8), %rdi
callq 0x2060
movl (%r12), %eax
incq %r14
movl %eax, %ecx
addl $0x2, %ebx
cmpq %rcx, %r14
jb 0xcb6f
movq 0x18(%r12), %rsi
xorl %edi, %edi
callq 0x40db
movq 0x10(%r12), %rsi
xorl %edi, %edi
callq 0x40db
movq 0x20(%r12), %rsi
xorl %edi, %edi
callq 0x40db
xorl %edi, %edi
movq %r12, %rsi
callq 0x40db
testq %r13, %r13
je 0xcbe4
movq %r13, %rdi
callq 0x2060
testq %rbp, %rbp
je 0xcbfa
movq 0x30(%rbp), %rdi
callq 0x2060
movq %rbp, %rdi
callq 0x2060
movq 0x88(%rsp), %rdi
callq 0x38d5
movq 0x60(%rsp), %rdi
callq 0x3ff0
movq 0x48(%rsp), %rdi
callq 0x52fd
movq %r15, %rdi
callq 0x525f
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rsp), %eax
testb %al, %al
je 0xcc44
movzbl %al, %edi
callq 0x2d2d
addq $0x18, %r12
movq %r12, 0x78(%rsp)
movl %ebx, %eax
movq %rax, 0x80(%rsp)
movabsq $0x431bde82d7b634db, %r14 # imm = 0x431BDE82D7B634DB
xorl %r13d, %r13d
movq $0x0, (%rsp)
movl $0x0, 0xc(%rsp)
movq $0x0, 0x20(%rsp)
movq $0x0, 0x58(%rsp)
xorl %r12d, %r12d
incq %r12
movq %r12, %rax
mulq %r14
movq %rdx, %rbx
movq %r15, %rdi
movq %rbp, %rsi
callq 0x3b45
testl %eax, %eax
js 0xcf43
shrq $0x12, %rbx
imulq $0xf4240, %rbx, %rsi    # imm = 0xF4240
movq %r12, %rax
mulq %r14
cmpq %r12, %rsi
je 0xccdf
movq 0x8(%rbp), %rax
shrq $0x20, %rax
testl $0xf4c, %eax            # imm = 0xF4C
setne %cl
testw %ax, %ax
sete %al
orb %cl, %al
incq %r12
testb %al, %al
jne 0xcc8c
jmp 0xcd0c
movq %rdx, %rcx
shrq $0x12, %rcx
movq 0x830b(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3c3f(%rip), %rsi      # 0x10936
leaq 0x3c1a(%rip), %rdx      # 0x10918
movq 0x58(%rsp), %r8
xorl %eax, %eax
callq 0x2230
jmp 0xccbe
movq 0x88(%rsp), %rax
movq 0x8(%rax), %rax
movslq (%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movl 0x4(%rbp), %ebx
movl 0x18(%rbp), %ecx
movl %ecx, 0x50(%rsp)
movslq 0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, (%rsp)
movq 0xa0(%rsp), %r13
movq %r13, %rdi
movq %rsi, 0x20(%rsp)
callq 0x5733
movq 0x48(%rsp), %r15
movq %r15, %rdi
movl %eax, %esi
movl %ebx, 0xc(%rsp)
movl %ebx, %edx
leaq 0x14(%rsp), %rcx
leaq 0x70(%rsp), %r8
movl 0x34(%rsp), %ebx
movl %ebx, %r9d
callq 0x7bb9
movl %eax, 0x28(%rsp)
movq %r13, %rdi
movl 0x50(%rsp), %r13d
movq (%rsp), %rsi
callq 0x5733
movq %r15, %rdi
movl %eax, %esi
movl %r13d, %edx
leaq 0x10(%rsp), %rcx
leaq 0x68(%rsp), %r8
movl %ebx, %r9d
callq 0x7bb9
movl 0x28(%rsp), %ecx
decq %r12
testl %ecx, %ecx
je 0xcde2
cmpl $0x1, %ecx
je 0xce28
cmpl $0x2, %ecx
movq 0x60(%rsp), %r15
jne 0xcc89
movq 0x8233(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3bc1(%rip), %rsi      # 0x10990
leaq 0x3b42(%rip), %rdx      # 0x10918
movq 0x20(%rsp), %rcx
movl 0xc(%rsp), %r8d
jmp 0xce1c
testl %eax, %eax
je 0xce62
cmpl $0x1, %eax
movq 0x60(%rsp), %r15
je 0xcecd
cmpl $0x2, %eax
jne 0xcc89
movq 0x81f4(%rip), %rax      # 0x14ff8
movq (%rax), %rdi
leaq 0x3b82(%rip), %rsi      # 0x10990
leaq 0x3b03(%rip), %rdx      # 0x10918
movq (%rsp), %rcx
movl %r13d, %r8d
xorl %eax, %eax
callq 0x2230
jmp 0xcc89
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0xdd00
cmpl $0x0, 0x8(%rsp)
movq 0x60(%rsp), %r15
je 0xcc89
movq 0x20(%rsp), %rdi
movq 0x78(%rsp), %rsi
movl %eax, %edx
callq 0x2d50
jmp 0xcc89
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x14(%rsp), %ecx
imulq $0x58, %rcx, %rcx
movq (%rax,%rcx), %rbx
movl 0x10(%rsp), %ecx
imulq $0x58, %rcx, %rcx
movq (%rax,%rcx), %rsi
movq %rbx, %rdi
movq %rsi, 0x28(%rsp)
callq 0x2210
testl %eax, %eax
movq 0x60(%rsp), %r15
jg 0xcf00
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
shrq %cl, %rax
movq 0x68(%rsp), %r9
shrq %cl, %r9
movq 0xe0(%rsp), %rdi
leaq 0x3b01(%rip), %rsi      # 0x109c1
movq %rbx, %rdx
movq %rax, %rcx
movq 0x28(%rsp), %r8
jmp 0xcf32
movq 0x40(%rsp), %rdi
movq (%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0xdd00
cmpl $0x0, 0x8(%rsp)
je 0xcc89
movq (%rsp), %rdi
movq 0x78(%rsp), %rsi
movl %eax, %edx
callq 0x2d91
jmp 0xcc89
movq 0x68(%rsp), %rax
movq 0x80(%rsp), %rcx
shrq %cl, %rax
movq 0x70(%rsp), %r9
shrq %cl, %r9
movq 0xe0(%rsp), %rdi
leaq 0x3ab1(%rip), %rsi      # 0x109d8
movq 0x28(%rsp), %rdx
movq %rax, %rcx
movq %rbx, %r8
xorl %eax, %eax
callq 0x2230
incq 0x58(%rsp)
jmp 0xcc89
movq 0x20(%rsp), %rax
movq %rax, 0x98(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq (%rsp), %rax
movq %rax, 0x90(%rsp)
movl %r13d, 0x18(%rsp)
xorl %r13d, %r13d
jmp 0xcb31
movq %rbp, %rdi
callq 0x2e54