// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/htscodecs/htscodecs/rANS_static.c
// Function: rans_compress_O0
static
unsigned char *rans_compress_O0(unsigned char *in, unsigned int in_size,
                                unsigned int *out_size) {
    unsigned char *out_buf = malloc(1.05*in_size + 257*257*3 + 9);
    unsigned char *cp, *out_end;
    RansEncSymbol syms[256];
    RansState rans0;
    RansState rans2;
    RansState rans1;
    RansState rans3;
    uint8_t* ptr;
    int F[256+MAGIC] = {0}, i, j, tab_size, rle, x, fsum = 0;
    int m = 0, M = 0;
    uint64_t tr;

    if (!out_buf)
        return NULL;

    ptr = out_end = out_buf + (uint32_t)(1.05*in_size) + 257*257*3 + 9;

    // Compute statistics
    if (hist8(in, in_size, (uint32_t *)F) < 0) {
        free(out_buf);
        return NULL;
    }
    tr = in_size ? ((uint64_t)TOTFREQ<<31)/in_size + (1<<30)/in_size : 0;

 normalise_harder:
    // Normalise so T[i] == TOTFREQ
    for (fsum = m = M = j = 0; j < 256; j++) {
        if (!F[j])
            continue;

        if (m < F[j])
            m = F[j], M = j;

        if ((F[j] = (F[j]*tr)>>31) == 0)
            F[j] = 1;
        fsum += F[j];
    }

    fsum++;
    if (fsum < TOTFREQ) {
        F[M] += TOTFREQ-fsum;
    } else if (fsum-TOTFREQ > F[M]/2) {
        // Corner case to avoid excessive frequency reduction
        tr = 2104533975; goto normalise_harder; // equiv to *0.98.
    } else {
        F[M] -= fsum-TOTFREQ;
    }

    //printf("F[%d]=%d\n", M, F[M]);
    assert(F[M]>0);

    // Encode statistics.
    cp = out_buf+9;

    for (x = rle = j = 0; j < 256; j++) {
        if (F[j]) {
            // j
            if (rle) {
                rle--;
            } else {
                *cp++ = j;
                if (!rle && j && F[j-1])  {
                    for(rle=j+1; rle<256 && F[rle]; rle++)
                        ;
                    rle -= j+1;
                    *cp++ = rle;
                }
                //fprintf(stderr, "%d: %d %d\n", j, rle, N[j]);
            }
            
            // F[j]
            if (F[j]<128) {
                *cp++ = F[j];
            } else {
                *cp++ = 128 | (F[j]>>8);
                *cp++ = F[j]&0xff;
            }
            RansEncSymbolInit(&syms[j], x, F[j], TF_SHIFT);
            x += F[j];
        }
    }
    *cp++ = 0;

    //write(2, out_buf+4, cp-(out_buf+4));
    tab_size = cp-out_buf;

    RansEncInit(&rans0);
    RansEncInit(&rans1);
    RansEncInit(&rans2);
    RansEncInit(&rans3);

    switch (i=(in_size&3)) {
    case 3: RansEncPutSymbol(&rans2, &ptr, &syms[in[in_size-(i-2)]]);
        // fall-through
    case 2: RansEncPutSymbol(&rans1, &ptr, &syms[in[in_size-(i-1)]]);
        // fall-through
    case 1: RansEncPutSymbol(&rans0, &ptr, &syms[in[in_size-(i-0)]]);
        // fall-through
    case 0:
        break;
    }
    for (i=(in_size &~3); likely(i>0); i-=4) {
        RansEncSymbol *s3 = &syms[in[i-1]];
        RansEncSymbol *s2 = &syms[in[i-2]];
        RansEncSymbol *s1 = &syms[in[i-3]];
        RansEncSymbol *s0 = &syms[in[i-4]];

        RansEncPutSymbol(&rans3, &ptr, s3);
        RansEncPutSymbol(&rans2, &ptr, s2);
        RansEncPutSymbol(&rans1, &ptr, s1);
        RansEncPutSymbol(&rans0, &ptr, s0);
    }

    RansEncFlush(&rans3, &ptr);
    RansEncFlush(&rans2, &ptr);
    RansEncFlush(&rans1, &ptr);
    RansEncFlush(&rans0, &ptr);

    // Finalise block size and return it
    *out_size = (out_end - ptr) + tab_size;

    cp = out_buf;

    *cp++ = 0; // order
    *cp++ = ((*out_size-9)>> 0) & 0xff;
    *cp++ = ((*out_size-9)>> 8) & 0xff;
    *cp++ = ((*out_size-9)>>16) & 0xff;
    *cp++ = ((*out_size-9)>>24) & 0xff;

    *cp++ = (in_size>> 0) & 0xff;
    *cp++ = (in_size>> 8) & 0xff;
    *cp++ = (in_size>>16) & 0xff;
    *cp++ = (in_size>>24) & 0xff;

    memmove(out_buf + tab_size, ptr, out_end-ptr);

    return out_buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c98, %rsp           # imm = 0x1C98
movq %rdx, %rbp
movl %esi, %ebx
movq %rdi, %r12
cvtsi2sd %esi, %xmm1
mulsd 0x21b68(%rip), %xmm1    # 0x9ada8
movsd 0x227c0(%rip), %xmm0    # 0x9ba08
movsd %xmm1, 0x8(%rsp)
addsd %xmm1, %xmm0
addsd 0x273b6(%rip), %xmm0    # 0xa0610
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x1c4a2(%rip), %xmm0    # 0x95710
cvttsd2si %xmm0, %rdi
andq %rcx, %rdi
orq %rax, %rdi
callq 0x4680
movq %rax, %r15
leaq 0x30(%rsp), %rdi
movl $0x420, %edx            # imm = 0x420
xorl %esi, %esi
callq 0x4260
testq %r15, %r15
je 0x7945c
cmpl $0x7a121, %ebx          # imm = 0x7A121
movq %rbx, (%rsp)
jb 0x7933f
movl $0x3006f, %edi          # imm = 0x3006F
movl $0x4, %esi
callq 0x7e245
testq %rax, %rax
je 0x79454
movl %ebx, %ecx
andl $-0x10, %ecx
je 0x79463
movl %ecx, %edx
xorl %ecx, %ecx
movzwl (%r12,%rcx), %esi
movzwl 0x2(%r12,%rcx), %edi
movzwl 0x4(%r12,%rcx), %r8d
movzwl 0x6(%r12,%rcx), %r9d
incl (%rax,%rsi,4)
incl 0x40094(%rax,%rdi,4)
incl 0x80128(%rax,%r8,4)
incl (%rax,%r9,4)
movzwl 0x8(%r12,%rcx), %esi
movzwl 0xa(%r12,%rcx), %edi
movzwl 0xc(%r12,%rcx), %r8d
movzwl 0xe(%r12,%rcx), %r9d
incl 0x40094(%rax,%rsi,4)
incl (%rax,%rdi,4)
incl 0x40094(%rax,%r8,4)
incl 0x80128(%rax,%r9,4)
addq $0x10, %rcx
cmpq %rdx, %rcx
jb 0x792d2
jmp 0x79465
leaq 0x450(%rsp), %rdi
movq %rbx, %r14
xorl %ebx, %ebx
movl $0x420, %edx            # imm = 0x420
xorl %esi, %esi
callq 0x4260
leaq 0x1870(%rsp), %rdi
movl $0x420, %edx            # imm = 0x420
xorl %esi, %esi
callq 0x4260
leaq 0x1450(%rsp), %rdi
movl $0x420, %edx            # imm = 0x420
xorl %esi, %esi
callq 0x4260
movl %r14d, %eax
andl $0x7fff8, %eax          # imm = 0x7FFF8
movsd 0x8(%rsp), %xmm1
je 0x793fe
movl %eax, %eax
xorl %ebx, %ebx
movzbl (%r12,%rbx), %ecx
incl 0x30(%rsp,%rcx,4)
movzbl 0x1(%r12,%rbx), %ecx
incl 0x450(%rsp,%rcx,4)
movzbl 0x2(%r12,%rbx), %ecx
incl 0x1870(%rsp,%rcx,4)
movzbl 0x3(%r12,%rbx), %ecx
incl 0x1450(%rsp,%rcx,4)
movzbl 0x4(%r12,%rbx), %ecx
incl 0x30(%rsp,%rcx,4)
movzbl 0x5(%r12,%rbx), %ecx
incl 0x450(%rsp,%rcx,4)
movzbl 0x6(%r12,%rbx), %ecx
incl 0x1870(%rsp,%rcx,4)
movzbl 0x7(%r12,%rbx), %ecx
incl 0x1450(%rsp,%rcx,4)
addq $0x8, %rbx
cmpq %rax, %rbx
jb 0x79394
cmpl (%rsp), %ebx
jae 0x79419
movl %ebx, %eax
movl (%rsp), %ecx
movzbl (%r12,%rax), %edx
incq %rax
incl 0x30(%rsp,%rdx,4)
cmpq %rax, %rcx
jne 0x79408
xorl %eax, %eax
movdqa 0x1870(%rsp,%rax,4), %xmm0
paddd 0x450(%rsp,%rax,4), %xmm0
paddd 0x1450(%rsp,%rax,4), %xmm0
paddd 0x30(%rsp,%rax,4), %xmm0
movdqa %xmm0, 0x30(%rsp,%rax,4)
addq $0x4, %rax
cmpq $0x100, %rax            # imm = 0x100
jne 0x7941b
movq (%rsp), %rbx
jmp 0x794bb
movq %r15, %rdi
callq 0x45c0
xorl %ebx, %ebx
jmp 0x79b5d
xorl %ecx, %ecx
cmpl %ebx, %ecx
jae 0x7947e
movl %ecx, %ecx
movl %ebx, %edx
movzbl (%r12,%rcx), %esi
incq %rcx
incl 0x30(%rsp,%rsi,4)
cmpq %rcx, %rdx
jne 0x7946d
xorl %ecx, %ecx
movl 0x40094(%rax,%rcx,4), %edx
addl (%rax,%rcx,4), %edx
addl 0x80128(%rax,%rcx,4), %edx
movzbl %cl, %esi
addl %edx, 0x30(%rsp,%rsi,4)
movl %ecx, %esi
shrl $0x8, %esi
addl %edx, 0x30(%rsp,%rsi,4)
incq %rcx
cmpq $0x10000, %rcx          # imm = 0x10000
jne 0x79480
movq %rax, %rdi
callq 0x7e26a
movsd 0x8(%rsp), %xmm1
cvttsd2si %xmm1, %rax
movl %eax, %esi
testl %ebx, %ebx
je 0x794e8
movl %ebx, %ecx
movabsq $0x80000000000, %rax    # imm = 0x80000000000
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movl $0x40000000, %eax       # imm = 0x40000000
xorl %edx, %edx
divl %ebx
addq %rcx, %rax
jmp 0x794ea
xorl %eax, %eax
leaq (%r15,%rsi), %rdi
leaq (%r15,%rsi), %rcx
addq $0x3060c, %rcx          # imm = 0x3060C
movq %rcx, 0x10(%rsp)
movl $0x1, %ecx
xorl %r8d, %r8d
xorl %esi, %esi
xorl %r9d, %r9d
xorl %edx, %edx
movslq 0x30(%rsp,%r8,4), %r10
testq %r10, %r10
je 0x7953d
cmpl %r10d, %r9d
cmovlel %r10d, %r9d
cmovll %r8d, %esi
imulq %rax, %r10
shrq $0x1f, %r10
cmpl $0x2, %r10d
cmovbl %ecx, %r10d
movl %r10d, 0x30(%rsp,%r8,4)
addl %edx, %r10d
movl %r10d, %edx
incq %r8
cmpq $0x100, %r8             # imm = 0x100
jne 0x7950d
cmpl $0xffe, %edx            # imm = 0xFFE
jle 0x7957f
addl $0xfffff001, %edx       # imm = 0xFFFFF001
movslq %esi, %r8
movl 0x30(%rsp,%r8,4), %esi
movl %esi, %r9d
shrl $0x1f, %r9d
addl %esi, %r9d
sarl %r9d
movl $0x7d70a3d7, %eax       # imm = 0x7D70A3D7
cmpl %r9d, %edx
jg 0x79503
subl %edx, %esi
movl %esi, 0x30(%rsp,%r8,4)
jmp 0x79592
movslq %esi, %rax
movl 0x30(%rsp,%rax,4), %esi
subl %edx, %esi
addl $0xfff, %esi            # imm = 0xFFF
movl %esi, 0x30(%rsp,%rax,4)
movq %r12, 0x8(%rsp)
testl %esi, %esi
jle 0x79c03
leaq 0x9(%r15), %rcx
xorl %r10d, %r10d
movl $0x1, %r11d
xorl %ebx, %ebx
xorl %r12d, %r12d
cmpl $0x0, 0x30(%rsp,%r10,4)
je 0x796a8
testl %r12d, %r12d
je 0x796bd
decl %r12d
movq %rcx, %r14
movl 0x30(%rsp,%r10,4), %eax
movl $0x1, %r8d
cmpl $0x80, %eax
jge 0x795e3
movq %r14, %rcx
jmp 0x795fa
shrl $0x8, %eax
orb $-0x80, %al
leaq 0x1(%r14), %rcx
movb %al, (%r14)
movl 0x30(%rsp,%r10,4), %eax
movl $0x2, %r8d
movb %al, (%rcx)
cmpl $0x1001, %ebx           # imm = 0x1001
jae 0x79be4
movl 0x30(%rsp,%r10,4), %r9d
movl $0x1000, %eax           # imm = 0x1000
subl %ebx, %eax
cmpl %r9d, %eax
jb 0x79bc5
movq %r10, %rax
shlq $0x4, %rax
leaq (%rsp,%rax), %r13
addq $0x450, %r13            # imm = 0x450
movl %r9d, %eax
shll $0x13, %eax
movl %eax, (%r13)
movl $0x1000, %eax           # imm = 0x1000
subl %r9d, %eax
movw %ax, 0xc(%r13)
cmpl $0x2, %r9d
jae 0x79664
movl $0xffffffff, 0x4(%r13)  # imm = 0xFFFFFFFF
leal 0xfff(%rbx), %eax
movl %eax, 0x8(%r13)
movw $0x20, %si
jmp 0x79697
movl $0x1e, %esi
leal -0x1e(%rsi), %ecx
movl $0x1, %eax
shll %cl, %eax
incl %esi
cmpl %r9d, %eax
jb 0x79669
movl $0x1, %eax
movl %esi, %ecx
shlq %cl, %rax
addq %r9, %rax
decq %rax
xorl %edx, %edx
divq %r9
movl %eax, 0x4(%r13)
movl %ebx, 0x8(%r13)
addq %r8, %r14
movw %si, 0xe(%r13)
addl %ebx, %r9d
movl %r9d, %ebx
movq %r14, %rcx
incq %r10
incq %r11
cmpq $0x100, %r10            # imm = 0x100
jne 0x795b1
jmp 0x79719
leaq 0x1(%rcx), %r14
movb %r10b, (%rcx)
xorl %r12d, %r12d
testq %r10, %r10
je 0x795cc
cmpl $0x0, 0x2c(%rsp,%r10,4)
je 0x795cc
leal 0x1(%r10), %eax
movl %eax, %r12d
cmpq $0xff, %r10
je 0x79709
movq %r11, %r12
cmpl $0x0, 0x30(%rsp,%r12,4)
je 0x79709
incq %r12
cmpq $0x100, %r12            # imm = 0x100
jne 0x796ef
movl $0x100, %r12d           # imm = 0x100
subl %eax, %r12d
movb %r12b, 0x1(%rcx)
addq $0x2, %rcx
jmp 0x795c9
movq %rcx, 0x18(%rsp)
movb $0x0, (%rcx)
movq (%rsp), %r10
movl %r10d, %eax
andl $0x3, %eax
movl $0x800000, %edx         # imm = 0x800000
leaq 0x26ef1(%rip), %rcx     # 0xa0628
movslq (%rcx,%rax,4), %r9
addq %rcx, %r9
movq 0x10(%rsp), %r8
movq %r8, %rsi
movl $0x800000, %ebx         # imm = 0x800000
movq 0x8(%rsp), %r14
movq %r15, 0x28(%rsp)
movq %rbp, 0x20(%rsp)
jmpq *%r9
movl %r10d, %esi
andl $-0x4, %esi
movl $0x800000, %eax         # imm = 0x800000
movq 0x10(%rsp), %rdi
jmp 0x798d0
leal -0x1(%r10), %ecx
movzbl (%r14,%rcx), %edx
shll $0x4, %edx
movl 0x450(%rsp,%rdx), %ecx
testl %ecx, %ecx
je 0x79b72
cmpl $0x800001, %ecx         # imm = 0x800001
movq 0x10(%rsp), %rsi
sbbq $0x0, %rsi
leaq (%rsp,%rdx), %r8
addq $0x450, %r8             # imm = 0x450
cmpl $0x800001, %ecx         # imm = 0x800001
movb $0x0, 0x3060b(%rdi)
movl $0x8000, %edi           # imm = 0x8000
movl $0x800000, %edx         # imm = 0x800000
cmovbl %edi, %edx
cmpl %ecx, %edx
jae 0x79bb4
movl %edx, %ecx
movl 0x4(%r8), %edi
imulq %rcx, %rdi
movb 0xe(%r8), %cl
shrq %cl, %rdi
movzwl 0xc(%r8), %ecx
imull %edi, %ecx
addl 0x8(%r8), %edx
addl %ecx, %edx
movq (%rsp), %r10
movl %r10d, %ecx
subl %eax, %ecx
incl %ecx
movzbl (%r14,%rcx), %eax
shll $0x4, %eax
movl 0x450(%rsp,%rax), %ecx
testl %ecx, %ecx
je 0x79b72
cmpl $0x800001, %ecx         # imm = 0x800001
movq %rsi, %r8
sbbq $0x0, %r8
addq %rsp, %rax
addq $0x450, %rax            # imm = 0x450
cmpl $0x800001, %ecx         # imm = 0x800001
movb $0x0, -0x1(%rsi)
movl $0x8000, %esi           # imm = 0x8000
cmovbl %esi, %ebx
cmpl %ecx, %ebx
jae 0x79ba2
movl %ebx, %ecx
movl 0x4(%rax), %esi
imulq %rcx, %rsi
movb 0xe(%rax), %cl
shrq %cl, %rsi
movzwl 0xc(%rax), %ecx
imull %esi, %ecx
addl 0x8(%rax), %ebx
addl %ecx, %ebx
movq (%rsp), %r10
movl %r10d, %esi
andl $-0x4, %esi
movzbl (%r14,%rsi), %eax
shll $0x4, %eax
movl 0x450(%rsp,%rax), %ecx
testl %ecx, %ecx
je 0x79b72
cmpl $0x800001, %ecx         # imm = 0x800001
movq %r8, %rdi
sbbq $0x0, %rdi
leaq (%rsp,%rax), %r9
addq $0x450, %r9             # imm = 0x450
cmpl $0x800001, %ecx         # imm = 0x800001
movb $0x0, -0x1(%r8)
movl $0x8000, %r8d           # imm = 0x8000
movl $0x800000, %eax         # imm = 0x800000
cmovbl %r8d, %eax
cmpl %ecx, %eax
jae 0x79b91
movl %eax, %ecx
movl 0x4(%r9), %r8d
imulq %rcx, %r8
movb 0xe(%r9), %cl
shrq %cl, %r8
movzwl 0xc(%r9), %ecx
imull %r8d, %ecx
addl 0x8(%r9), %eax
addl %ecx, %eax
testl %esi, %esi
jle 0x79aa3
movl %esi, %r10d
addq $0x4, %r10
movl $0x800000, %esi         # imm = 0x800000
movzbl -0x5(%r14,%r10), %r11d
shll $0x4, %r11d
movl 0x450(%rsp,%r11), %ebp
testl %ebp, %ebp
je 0x79b72
movzbl -0x6(%r14,%r10), %r9d
movzbl -0x7(%r14,%r10), %r8d
movzbl -0x8(%r14,%r10), %r13d
xorl %ecx, %ecx
cmpl %ebp, %esi
setae %cl
movb %sil, -0x1(%rdi)
subq %rcx, %rdi
shlb $0x3, %cl
shrl %cl, %esi
cmpl %ebp, %esi
jae 0x79a6d
leaq (%rsp,%r11), %r14
addq $0x450, %r14            # imm = 0x450
movl %esi, %ecx
movl 0x4(%r14), %r11d
imulq %rcx, %r11
movb 0xe(%r14), %cl
shrq %cl, %r11
shll $0x4, %r9d
leaq (%rsp,%r9), %rbp
addq $0x450, %rbp            # imm = 0x450
movl (%rbp), %r9d
testl %r9d, %r9d
je 0x79b72
addl 0x8(%r14), %esi
movzwl 0xc(%r14), %r12d
xorl %ecx, %ecx
cmpl %r9d, %edx
setae %cl
movb %dl, -0x1(%rdi)
subq %rcx, %rdi
shlb $0x3, %cl
shrl %cl, %edx
cmpl %r9d, %edx
jae 0x79a7c
movl %edx, %ecx
movl 0x4(%rbp), %r14d
imulq %rcx, %r14
movb 0xe(%rbp), %cl
shrq %cl, %r14
shll $0x4, %r8d
leaq (%rsp,%r8), %r9
addq $0x450, %r9             # imm = 0x450
movl (%r9), %r15d
testl %r15d, %r15d
je 0x79b72
addl 0x8(%rbp), %edx
movzwl 0xc(%rbp), %r8d
xorl %ecx, %ecx
cmpl %r15d, %ebx
setae %cl
movb %bl, -0x1(%rdi)
subq %rcx, %rdi
shlb $0x3, %cl
shrl %cl, %ebx
cmpl %r15d, %ebx
jae 0x79a8a
movl %ebx, %ecx
movl 0x4(%r9), %ebp
imulq %rcx, %rbp
movb 0xe(%r9), %cl
shrq %cl, %rbp
shll $0x4, %r13d
addq %rsp, %r13
addq $0x450, %r13            # imm = 0x450
movl (%r13), %r15d
testl %r15d, %r15d
je 0x79b72
addl 0x8(%r9), %ebx
movzwl 0xc(%r9), %r9d
xorl %ecx, %ecx
cmpl %r15d, %eax
setae %cl
movb %al, -0x1(%rdi)
subq %rcx, %rdi
shlb $0x3, %cl
shrl %cl, %eax
cmpl %r15d, %eax
jae 0x79a98
movl %eax, %ecx
movl 0x4(%r13), %r15d
imulq %rcx, %r15
movb 0xe(%r13), %cl
shrq %cl, %r15
imull %r12d, %r11d
addl %r11d, %esi
imull %r8d, %r14d
addl %r14d, %edx
imull %r9d, %ebp
addl %ebp, %ebx
movzwl 0xc(%r13), %ecx
addl 0x8(%r13), %eax
imull %r15d, %ecx
addl %ecx, %eax
addq $-0x4, %r10
cmpq $0x4, %r10
movq 0x8(%rsp), %r14
ja 0x798e4
jmp 0x79aa8
movb %sil, -0x1(%rdi)
decq %rdi
shrl $0x8, %esi
jmp 0x7992b
movb %dl, -0x1(%rdi)
decq %rdi
shrl $0x8, %edx
jmp 0x79988
movb %bl, -0x1(%rdi)
decq %rdi
shrl $0x8, %ebx
jmp 0x799d7
movb %al, -0x1(%rdi)
decq %rdi
shrl $0x8, %eax
jmp 0x79a24
movl $0x800000, %esi         # imm = 0x800000
movl %esi, -0x4(%rdi)
movb %dl, -0x8(%rdi)
movb %dh, -0x7(%rdi)
movl %edx, %ecx
shrl $0x10, %ecx
movb %cl, -0x6(%rdi)
shrl $0x18, %edx
movb %dl, -0x5(%rdi)
movb %bl, -0xc(%rdi)
movb %bh, -0xb(%rdi)
movl %ebx, %ecx
shrl $0x10, %ecx
movb %cl, -0xa(%rdi)
shrl $0x18, %ebx
movb %bl, -0x9(%rdi)
movq 0x28(%rsp), %rbx
movq 0x18(%rsp), %r8
subq %rbx, %r8
incq %r8
leaq -0x10(%rdi), %rsi
movb %al, -0x10(%rdi)
movb %ah, -0xf(%rdi)
movl %eax, %ecx
shrl $0x10, %ecx
movb %cl, -0xe(%rdi)
shrl $0x18, %eax
movb %al, -0xd(%rdi)
movq 0x10(%rsp), %rdx
subq %rsi, %rdx
movslq %r8d, %rdi
addq %rdx, %r8
movq 0x20(%rsp), %rax
movl %r8d, (%rax)
movb $0x0, (%rbx)
movl %r8d, %eax
addb $-0x9, %al
movb %al, 0x1(%rbx)
leal 0xfff7(%r8), %eax
movb %ah, 0x2(%rbx)
leal 0xfffff7(%r8), %eax
shrl $0x10, %eax
movb %al, 0x3(%rbx)
leal -0x9(%r8), %eax
shrl $0x18, %eax
movb %al, 0x4(%rbx)
movq (%rsp), %rcx
movb %cl, 0x5(%rbx)
movb %ch, 0x6(%rbx)
movl %ecx, %eax
shrl $0x10, %eax
movb %al, 0x7(%rbx)
shrl $0x18, %ecx
movb %cl, 0x8(%rbx)
addq %rbx, %rdi
callq 0x4830
movq %rbx, %rax
addq $0x1c98, %rsp           # imm = 0x1C98
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x26b75(%rip), %rdi     # 0xa06ee
leaq 0x26b4e(%rip), %rsi     # 0xa06ce
leaq 0x26b77(%rip), %rcx     # 0xa06fe
movl $0x11d, %edx            # imm = 0x11D
callq 0x42f0
movb $0x0, -0x1(%rdi)
decq %rdi
movl $0x80, %eax
jmp 0x798b0
movb $0x0, -0x1(%r8)
decq %r8
movl $0x80, %ebx
jmp 0x7983a
movb $0x0, -0x1(%rsi)
decq %rsi
movl $0x80, %edx
jmp 0x797c9
leaq 0x22306(%rip), %rdi     # 0x9bed2
leaq 0x26afb(%rip), %rsi     # 0xa06ce
leaq 0x22296(%rip), %rcx     # 0x9be70
movl $0xc9, %edx
callq 0x42f0
leaq 0x222cb(%rip), %rdi     # 0x9beb6
leaq 0x26adc(%rip), %rsi     # 0xa06ce
leaq 0x22277(%rip), %rcx     # 0x9be70
movl $0xc8, %edx
callq 0x42f0
leaq 0x26c31(%rip), %rdi     # 0xa083b
leaq 0x26a4c(%rip), %rsi     # 0xa065d
leaq 0x26c2a(%rip), %rcx     # 0xa0842
movl $0x7e, %edx
callq 0x42f0