// File: /workspace/github_c_makefile_star2_O3/samtools[P]htslib/test/test_kstring.c
// Function: main
int main(int argc, char **argv) {
    int opt, res = EXIT_SUCCESS;
    int64_t start = 0;
    int64_t end   = 0;
    char *test    = NULL;
    int verbose = 0;

    while ((opt = getopt(argc, argv, "e:s:t:v")) != -1) {
        switch (opt) {
        case 's':
            start = strtoll(optarg, NULL, 0);
            break;
        case 'e':
            end = strtoll(optarg, NULL, 0);
            break;
        case 't':
            test = optarg;
            break;
        case 'v':
            verbose++;
            break;
        default:
            fprintf(stderr, "Usage : %s [-s <num>] [-e <num>] [-t <test>]\n",
                    argv[0]);
            return EXIT_FAILURE;
        }
    }

    if (!test || strcmp(test, "kroundup_size_t") == 0)
        if (test_kroundup_size_t(verbose) != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kroundup_signed") == 0)
        if (test_kroundup_signed(verbose) != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kputuw") == 0)
        if (test_kputuw(start, end) != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kputw") == 0)
        if (test_kputw(start, end) != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kputll") == 0)
        if (test_kputll(start, end) != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kgetline") == 0)
        if (test_kgetline() != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kgetline2") == 0)
        if (test_kgetline2() != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kinsertchar") == 0)
        if (test_kinsertchar() != 0) res = EXIT_FAILURE;

    if (!test || strcmp(test, "kinsertstr") == 0)
        if (test_kinsertstr() != 0) res = EXIT_FAILURE;

    return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movl %edi, %ebp
xorl %r13d, %r13d
leaq 0x2af7(%rip), %rbx      # 0x4020
movq 0x5a98(%rip), %r15      # 0x6fc8
movq $0x0, 0x48(%rsp)
xorl %r12d, %r12d
movl $0x0, 0x20(%rsp)
movl %ebp, %edi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1060
cmpl $0x76, %eax
jne 0x155c
incl 0x20(%rsp)
jmp 0x1544
cmpl $0x72, %eax
jg 0x1582
cmpl $-0x1, %eax
je 0x15a6
cmpl $0x65, %eax
jne 0x1998
movq (%r15), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1050
movq %rax, 0x48(%rsp)
jmp 0x1544
cmpl $0x74, %eax
je 0x15a1
cmpl $0x73, %eax
jne 0x1998
movq (%r15), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1050
movq %rax, %r13
jmp 0x1544
movq (%r15), %r12
jmp 0x1544
movq %r13, 0x50(%rsp)
testq %r12, %r12
movq %r12, 0x38(%rsp)
je 0x15cf
leaq 0x2a9a(%rip), %rsi      # 0x4056
movq %r12, %rdi
callq 0x1130
xorl %r13d, %r13d
testl %eax, %eax
jne 0x1711
cmpl $0x0, 0x20(%rsp)
je 0x15e6
leaq 0x2ad7(%rip), %rdi      # 0x40b4
xorl %esi, %esi
xorl %eax, %eax
callq 0x1040
leaq 0x2ae3(%rip), %r13      # 0x40d0
movl $0x0, 0x30(%rsp)
xorl %ecx, %ecx
movl $0x1, %r14d
shlq %cl, %r14
xorl %ebp, %ebp
movq %rcx, 0x28(%rsp)
cmpq $0x2, %rcx
setae %bpl
movq %rbp, %r12
negq %r12
incq %rbp
movq %r12, %r15
addq %r14, %r15
je 0x1671
leaq (%r12,%r14), %rax
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x20, %rax
orq %rcx, %rax
movq %r15, %rbx
negq %rbx
shrq $0x3f, %rbx
addq %rax, %rbx
jmp 0x1673
xorl %ebx, %ebx
cmpl $0x0, 0x20(%rsp)
je 0x168a
movq %r13, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1040
testq %r12, %r12
jle 0x16ab
addq %r14, %r14
cmpq $0x1, %r14
movl $0x0, %eax
sbbq %rax, %rax
orq %rax, %r14
cmpq %r14, %rbx
jne 0x16be
movq %rbx, %r14
jmp 0x16b0
cmpq %r14, %rbx
jne 0x16be
incq %r12
cmpq %r12, %rbp
jne 0x1618
jmp 0x16e9
movq 0x5913(%rip), %rax      # 0x6fd8
movq (%rax), %rdi
leaq 0x2a21(%rip), %rsi      # 0x40f0
movq %r15, %rdx
movq %rbx, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x1160
movl $0xffffffff, 0x30(%rsp) # imm = 0xFFFFFFFF
jmp 0x16b0
movq 0x28(%rsp), %rcx
incq %rcx
cmpq $0x40, %rcx
jne 0x15f7
xorl %r13d, %r13d
cmpl $0x0, 0x30(%rsp)
setne %r13b
movq 0x38(%rsp), %r12
testq %r12, %r12
je 0x1728
leaq 0x294e(%rip), %rsi      # 0x4066
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x184e
movl %r13d, 0x1c(%rsp)
xorl %ecx, %ecx
movl $0x0, 0x40(%rsp)
movl $0x1, %r14d
shll %cl, %r14d
xorl %ebp, %ebp
cmpq $0x2, %rcx
setae %bpl
movq %rbp, %r13
negq %r13
xorl %eax, %eax
movq %rcx, 0x30(%rsp)
cmpq $0x1e, %rcx
sete %al
negl %eax
movq %rax, 0x28(%rsp)
leaq 0x1(%rbp), %r12
notl %ebp
leal (%r14,%rbp), %ebx
incl %ebx
movl %ebx, %r15d
testl %ebx, %ebx
jle 0x17ae
leal (%r14,%rbp), %eax
movl %eax, %r15d
shrl %r15d
orl %eax, %r15d
movl %r15d, %eax
shrl $0x2, %eax
orl %r15d, %eax
movl %eax, %ecx
shrl $0x4, %ecx
orl %eax, %ecx
movl %ecx, %eax
shrl $0x8, %eax
orl %ecx, %eax
movl %eax, %ecx
shrl $0x10, %ecx
orl %eax, %ecx
shrl $0x1e, %r15d
xorl $0x1, %r15d
addl %ecx, %r15d
cmpl $0x0, 0x20(%rsp)
je 0x17c8
leaq 0x296b(%rip), %rdi      # 0x4127
movl %ebx, %esi
movl %r15d, %edx
xorl %eax, %eax
callq 0x1040
testq %r13, %r13
jle 0x17e0
movq 0x28(%rsp), %rax
leal (%rax,%r14,2), %r14d
cmpl %r14d, %r15d
jne 0x17f5
movl %r15d, %r14d
jmp 0x17e5
cmpl %r14d, %r15d
jne 0x17f5
incq %r13
incl %ebp
cmpq %r13, %r12
jne 0x176b
jmp 0x181f
movq 0x57dc(%rip), %rax      # 0x6fd8
movq (%rax), %rdi
leaq 0x2936(%rip), %rsi      # 0x413c
movl %ebx, %edx
movl %r15d, %ecx
movl %r14d, %r8d
xorl %eax, %eax
callq 0x1160
movl $0xffffffff, 0x40(%rsp) # imm = 0xFFFFFFFF
jmp 0x17e5
movq 0x30(%rsp), %rcx
incq %rcx
cmpq $0x1f, %rcx
jne 0x1737
cmpl $0x0, 0x40(%rsp)
movl $0x1, %eax
movl 0x1c(%rsp), %r13d
cmovnel %eax, %r13d
movq 0x38(%rsp), %r12
testq %r12, %r12
je 0x1865
leaq 0x2821(%rip), %rsi      # 0x4076
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x19bc
movq $0x0, (%rsp)
movl $0x2, %edi
callq 0x1120
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x19a5
movl %r13d, 0x1c(%rsp)
movq %rsp, %rbx
movq $0x2, 0x8(%rbx)
xorl %r14d, %r14d
movl $0x1, %r15d
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
xorl %r13d, %r13d
leal -0x5(%r13), %esi
testq %r13, %r13
cmovel %r14d, %esi
leal 0x5(%r13), %edx
movq %rbx, %rdi
callq 0x2635
testl %eax, %eax
js 0x197b
leaq (,%r13,2), %rax
testq %r13, %r13
leaq (%rax,%rax,4), %r13
cmoveq %r15, %r13
cmpq %r12, %r13
jl 0x18a7
movq %rsp, %rdi
movl $0xfffffffa, %esi       # imm = 0xFFFFFFFA
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2635
testl %eax, %eax
movq 0x38(%rsp), %r12
js 0x198c
xorl %edx, %edx
movq 0x50(%rsp), %r8
testq %r8, %r8
movl $0x0, %esi
cmovgq %r8, %rsi
movq %r8, %rax
shrq $0x20, %rax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rsi
cmovgeq %rcx, %rsi
movq 0x48(%rsp), %r9
testq %r9, %r9
cmovgq %r9, %rdx
movq %r9, %rdi
shrq $0x20, %rdi
cmpq %rcx, %rdx
cmovgeq %rcx, %rdx
movq %rsp, %rbx
testq %rax, %rax
cmovel %r8d, %esi
movq $0x1, 0x8(%rbx)
testq %rdi, %rdi
cmovel %r9d, %edx
movq %rbx, %rdi
callq 0x2635
movl %eax, %ebp
movq 0x10(%rbx), %rdi
callq 0x1110
testl %ebp, %ebp
movl $0x1, %eax
movl 0x1c(%rsp), %r13d
cmovnel %eax, %r13d
jmp 0x19b7
movq 0x10(%rsp), %rdi
callq 0x1110
movq 0x38(%rsp), %r12
jmp 0x19b1
movq 0x10(%rsp), %rdi
callq 0x1110
jmp 0x19b1
movq %r14, %rdi
callq 0x13ac
jmp 0x2613
leaq 0x27b9(%rip), %rdi      # 0x4165
callq 0x10e0
movl $0x1, %r13d
testq %r12, %r12
je 0x19d3
leaq 0x26ba(%rip), %rsi      # 0x407d
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x1b3b
movq $0x0, (%rsp)
movl $0x2, %edi
callq 0x1120
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x2574
movq %rsp, %rbx
movq $0x2, 0x8(%rbx)
movl $0x1, %r15d
xorl %r14d, %r14d
movq %r15, %rsi
subq $0x5, %rsi
cmovbq %r14, %rsi
leal 0x5(%r15), %edx
movq %rbx, %rdi
callq 0x2889
testl %eax, %eax
js 0x1b26
leaq (%r15,%r15), %rax
leaq (%rax,%rax,4), %rax
cmpq $0xccccccd, %r15        # imm = 0xCCCCCCD
movq %rax, %r15
jb 0x1a07
movq $-0x1, %r14
xorl %ebp, %ebp
movq %rsp, %rbx
leal -0x5(%r14), %esi
leal 0x5(%r14), %edx
cmpq $-0x5, %r14
cmovgel %ebp, %edx
movq %rbx, %rdi
callq 0x2889
testl %eax, %eax
js 0x1b26
leaq (%r14,%r14), %rax
leaq (%rax,%rax,4), %rax
cmpq $-0xccccccd, %r14       # imm = 0xF3333333
movq %rax, %r14
jg 0x1a46
movq %rsp, %rdi
movl $0x7ffffffa, %esi       # imm = 0x7FFFFFFA
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
callq 0x2889
testl %eax, %eax
js 0x1b26
movq %rsp, %rdi
movl $0x80000000, %esi       # imm = 0x80000000
movl $0x80000005, %edx       # imm = 0x80000005
callq 0x2889
testl %eax, %eax
js 0x1b26
movq %rsp, %rbx
movq $-0x7fffffff, %rax      # imm = 0x80000001
movq 0x50(%rsp), %r8
cmpq %rax, %r8
movq $-0x80000000, %rcx      # imm = 0x80000000
cmovgeq %r8, %rcx
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmpq %rdx, %rcx
cmovgeq %rdx, %rcx
movq $-0x80000000, %rdi      # imm = 0x80000000
movq 0x48(%rsp), %r9
cmpq %rax, %r9
cmovgeq %r9, %rdi
movq $0x1, 0x8(%rbx)
cmpq %rdx, %rdi
cmovgeq %rdx, %rdi
movslq %r8d, %rsi
cmpq %r8, %rsi
cmovnel %ecx, %esi
movslq %r9d, %rdx
cmpq %r9, %rdx
cmovnel %edi, %edx
movq %rbx, %rdi
callq 0x2889
movl %eax, %ebp
movq 0x10(%rbx), %rdi
callq 0x1110
testl %ebp, %ebp
movl $0x1, %eax
cmovnel %eax, %r13d
jmp 0x1b36
movq 0x10(%rsp), %rdi
callq 0x1110
movl $0x1, %r13d
testq %r12, %r12
je 0x1b52
leaq 0x2541(%rip), %rsi      # 0x4083
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x1c56
movq $0x0, (%rsp)
movl $0x2, %edi
callq 0x1120
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x2585
movabsq $0x7ffffffffffffffa, %r14 # imm = 0x7FFFFFFFFFFFFFFA
movq %rsp, %rbx
movq $0x2, 0x8(%rbx)
movl $0x1, %r15d
leaq -0x5(%r15), %rsi
cmpq $0x5, %r15
cmovbq %r15, %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x29b2
testl %eax, %eax
js 0x1c41
addq %r15, %r15
leaq (%r15,%r15,4), %r15
cmpq %r14, %r15
jb 0x1b8d
movl $0x1, %r15d
movq %rsp, %rbx
movq %r15, %rdx
negq %rdx
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x29b2
testl %eax, %eax
js 0x1c41
addq %r15, %r15
leaq (%r15,%r15,4), %r15
cmpq %r14, %r15
jb 0x1bc1
leaq 0x5(%r14), %rdx
movq %rsp, %rdi
movq %r14, %rsi
callq 0x29b2
testl %eax, %eax
js 0x1c41
leaq 0x6(%r14), %rsi
addq $0xb, %r14
movq %rsp, %rdi
movq %r14, %rdx
callq 0x29b2
testl %eax, %eax
js 0x1c41
movq %rsp, %rbx
movq $0x1, 0x8(%rbx)
movq %rbx, %rdi
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %rdx
callq 0x29b2
movl %eax, %ebp
movq 0x10(%rbx), %rdi
callq 0x1110
testl %ebp, %ebp
movl $0x1, %eax
cmovnel %eax, %r13d
jmp 0x1c51
movq 0x10(%rsp), %rdi
callq 0x1110
movl $0x1, %r13d
testq %r12, %r12
je 0x1c69
leaq 0x242d(%rip), %rsi      # 0x408a
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x1cd4
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x0, 0x18(%rsp)
movl $0x4, %edi
callq 0x1120
testq %rax, %rax
je 0x1cad
movq %rax, 0x10(%rsp)
movq $0x4, 0x8(%rsp)
movb $0x5f, (%rax)
movq $0x1, (%rsp)
movb $0x0, 0x1(%rax)
leaq 0xeb4(%rip), %rsi       # 0x2b68
movq %rsp, %rdi
leaq 0x18(%rsp), %rdx
callq 0x3604
testl %eax, %eax
je 0x22a4
movl $0x1, %r13d
testq %r12, %r12
je 0x1ce7
leaq 0x23b8(%rip), %rsi      # 0x4093
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x1d52
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x0, 0x18(%rsp)
movl $0x4, %edi
callq 0x1120
testq %rax, %rax
je 0x1d2b
movq %rax, 0x10(%rsp)
movq $0x4, 0x8(%rsp)
movb $0x5f, (%rax)
movq $0x1, (%rsp)
movb $0x0, 0x1(%rax)
leaq 0xe77(%rip), %rsi       # 0x2ba9
movq %rsp, %rdi
leaq 0x18(%rsp), %rdx
callq 0x371c
testl %eax, %eax
je 0x240c
movl $0x1, %r13d
testq %r12, %r12
je 0x1d69
leaq 0x2344(%rip), %rsi      # 0x409d
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x1f70
movl %r13d, 0x1c(%rsp)
movq $-0x1, %r13
movl $0x9, %edi
callq 0x1120
movq %rax, %rbx
testq %rax, %rax
je 0x1d9d
movl $0x33323130, (%rbx)     # imm = 0x33323130
movb $0x0, 0x4(%rbx)
movl $0x9, %eax
movl $0x4, %ebp
jmp 0x1da1
xorl %ebp, %ebp
xorl %eax, %eax
movq %rbp, %r15
subq %r13, %r15
jae 0x1dcb
testq %r13, %r13
setns %al
cmpq $0x5, %r13
setne %cl
movq %rbx, %rdi
testb %cl, %al
jne 0x25d1
callq 0x1110
incq %r13
jmp 0x1e45
movq %rbp, %r14
orq $0x2, %r14
cmpl %r14d, %eax
jae 0x1df1
movl %r14d, %esi
shrl %esi
addq %r14, %rsi
movq %rbx, %rdi
callq 0x1190
movq %rax, %r12
testq %rax, %rax
jne 0x1df4
jmp 0x1da9
movq %rbx, %r12
leaq (%r12,%r13), %rsi
leaq (%r12,%r13), %rbx
incq %rbx
movq %rbx, %rdi
movq %r15, %rdx
callq 0x1180
movb $0x58, -0x1(%rbx)
movb $0x0, 0x1(%r12,%rbp)
incq %r13
movq %r13, %rax
shlq $0x4, %rax
leaq 0x4e8b(%rip), %rcx      # 0x6cb0
movq 0x8(%rax,%rcx), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x10f0
movq %r12, %rdi
testl %eax, %eax
jne 0x25ec
callq 0x1110
cmpq $0x6, %r13
jne 0x1d75
movl $0x2, %r13d
xorl %esi, %esi
xorl %ecx, %ecx
xorl %ebp, %ebp
xorl %edi, %edi
xorl %r14d, %r14d
xorl %r15d, %r15d
leaq 0x2(%rbp), %rax
cmpq %rax, %rcx
jae 0x1eb9
movq %rcx, 0x20(%rsp)
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %ebx
cmovbeq %rcx, %rbx
addq %rax, %rbx
movq %rdi, %r12
movq %rsi, %rdi
movq %rsi, 0x28(%rsp)
movq %rbx, %rsi
callq 0x1190
movq %r12, %rdi
movq %rax, %rsi
testq %rax, %rax
jne 0x1ebc
leal 0x3f(%r13), %edx
movq 0x28(%rsp), %rsi
jmp 0x1ed4
movq %rcx, %rbx
leal 0x41(%r15), %edx
leal 0x3f(%r13), %ecx
movb %cl, (%rsi,%rbp)
movb $0x0, 0x1(%rsi,%rbp)
incq %rbp
movq %rbx, 0x20(%rsp)
cmpq %r13, %r14
jae 0x1f0e
movq %r13, %r14
shrq %r14
addq %r13, %r14
movq %rdi, %r12
movq %rbp, 0x28(%rsp)
movq %rsi, %rbp
movq %r14, %rsi
movl %edx, %ebx
callq 0x1190
movl %ebx, %edx
movq %rbp, %rsi
movq 0x28(%rsp), %rbp
movq %rax, %rbx
testq %rax, %rax
jne 0x1f11
jmp 0x25df
movq %rdi, %rbx
movb %dl, -0x2(%rbx,%r13)
movb $0x0, -0x1(%rbx,%r13)
leaq 0x1(%rbp), %rdx
movq %rbx, %rdi
movq %rsi, %r12
callq 0x10f0
testl %eax, %eax
jne 0x2596
incq %r13
incq %r15
movq %rbx, %rdi
cmpq $0x9, %r13
movq %r12, %rsi
movq 0x20(%rsp), %rcx
jne 0x1e63
movq %rbx, %rdi
movq %rsi, %rbx
callq 0x1110
movq %rbx, %rdi
callq 0x1110
movl 0x1c(%rsp), %r13d
movq 0x38(%rsp), %r12
testq %r12, %r12
je 0x1f87
leaq 0x2132(%rip), %rsi      # 0x40a9
movq %r12, %rdi
callq 0x1130
testl %eax, %eax
jne 0x2619
movl %r13d, 0x1c(%rsp)
movq $-0x1, %r13
movl $0x9, %edi
callq 0x1120
movq %rax, %rbx
testq %rax, %rax
je 0x1fbb
movl $0x33323130, (%rbx)     # imm = 0x33323130
movb $0x0, 0x4(%rbx)
movl $0x9, %eax
movl $0x4, %ebp
jmp 0x1fbf
xorl %ebp, %ebp
xorl %eax, %eax
movq %rbp, %r15
subq %r13, %r15
jae 0x1fe9
testq %r13, %r13
setns %al
cmpq $0x5, %r13
setne %cl
testb %cl, %al
jne 0x25d8
movq %rbx, %rdi
callq 0x1110
incq %r13
jmp 0x2067
leaq 0x4(%rbp), %r14
cmpl %r14d, %eax
jae 0x200c
movl %r14d, %esi
shrl %esi
addq %r14, %rsi
movq %rbx, %rdi
callq 0x1190
movq %rax, %r12
testq %rax, %rax
jne 0x200f
jmp 0x1fc7
movq %rbx, %r12
leaq (%r12,%r13), %rsi
leaq (%r12,%r13), %rbx
addq $0x3, %rbx
movq %rbx, %rdi
movq %r15, %rdx
callq 0x1180
movw $0x5958, -0x3(%rbx)     # imm = 0x5958
movb $0x5a, -0x1(%rbx)
movb $0x0, 0x3(%r12,%rbp)
incq %r13
movq %r13, %rax
shlq $0x4, %rax
leaq 0x4cd9(%rip), %rcx      # 0x6d20
movq 0x8(%rax,%rcx), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x10f0
testl %eax, %eax
jne 0x25fc
movq %r12, %rdi
callq 0x1110
cmpq $0x6, %r13
jne 0x1f93
movl $0x41, %r15d
leaq 0x230f(%rip), %rbp      # 0x438d
xorl %r14d, %r14d
movq $0x0, 0x38(%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq $0x0, 0x40(%rsp)
movq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %rsp, %rdi
movq %rbp, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x32b3
movq 0x10(%rsp), %r12
testq %r12, %r12
je 0x25a3
movq %r13, 0x28(%rsp)
movq %r12, %rdi
callq 0x1090
movq %rax, %r13
addq %rbx, %rax
addq $0x2, %rax
cmpq %rbx, %rax
jbe 0x2164
movq %rbx, 0x30(%rsp)
movq %r14, %rbp
movq 0x38(%rsp), %r14
cmpq %rax, %r14
jae 0x2137
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %r14d
cmovbeq %rcx, %r14
addq %rax, %r14
movq %rbp, %rbx
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1190
movq %rax, %rbp
testq %rax, %rax
je 0x2263
movq 0x30(%rsp), %rbx
leaq (%rbx,%rbp), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x10d0
addq %r13, %rbx
movb $0x0, (%rbp,%rbx)
movq %r14, 0x38(%rsp)
movq %rbp, %r14
leaq 0x222b(%rip), %rbp      # 0x438d
jmp 0x216f
callq 0x1030
movl $0x4b, (%rax)
movq 0x10(%rsp), %r12
testq %r12, %r12
je 0x25ae
movq %r14, 0x30(%rsp)
movq %r12, %rdi
callq 0x1090
testq %rax, %rax
je 0x21df
movq %rax, %r14
movq 0x20(%rsp), %rax
addq %r14, %rax
incq %rax
cmpq %rax, 0x40(%rsp)
jae 0x21f6
movq %rax, %rcx
shrq %rcx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
cmpq %rdx, %rax
movl $0x0, %esi
cmovbeq %rcx, %rsi
addq %rax, %rsi
movq 0x28(%rsp), %rdi
movq %rsi, 0x40(%rsp)
callq 0x1190
movq %rax, %r13
testq %rax, %rax
jne 0x21fb
jmp 0x262b
movq 0x28(%rsp), %r13
movq 0x20(%rsp), %rax
cmpb $0x0, (%r13,%rax)
je 0x2226
jmp 0x2603
movq 0x28(%rsp), %r13
movq 0x20(%rsp), %rbp
movq %r13, %rdi
addq %rbp, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x10d0
addq %r14, %rbp
movq %rbp, 0x20(%rsp)
movb $0x0, (%r13,%rbp)
leaq 0x2167(%rip), %rbp      # 0x438d
movq %rbx, %r12
leaq 0x1(%rbx), %rdx
movq %r13, %rdi
movq 0x30(%rsp), %r14
movq %r14, %rsi
callq 0x10f0
movl %eax, %ebx
movq 0x10(%rsp), %rdi
callq 0x1110
testl %ebx, %ebx
jne 0x25ba
incl %r15d
cmpl $0x50, %r15d
movq %r12, %rbx
jne 0x20a1
jmp 0x2270
movq %rbx, %r14
movq 0x30(%rsp), %rbx
jmp 0x215b
movq %r13, %rdi
callq 0x1110
testq %rbx, %rbx
je 0x25c7
subq $-0x80000000, %rbx      # imm = 0x80000000
shrq $0x20, %rbx
jne 0x25c7
movq %r14, %rdi
callq 0x1110
movl 0x1c(%rsp), %r13d
jmp 0x2619
movq 0x10(%rsp), %rsi
leaq 0x1fd3(%rip), %rdi      # 0x4283
callq 0x1130
testl %eax, %eax
jne 0x1cc9
cmpq $0x5, (%rsp)
jne 0x1cc9
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x88f(%rip), %rsi       # 0x2b68
leaq 0x18(%rsp), %rdx
callq 0x3604
testl %eax, %eax
jne 0x1cc9
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
jne 0x1cc9
cmpq $0x0, (%rsp)
jne 0x1cc9
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x853(%rip), %rsi       # 0x2b68
leaq 0x18(%rsp), %rdx
callq 0x3604
testl %eax, %eax
jne 0x1cc9
movq 0x10(%rsp), %rsi
leaq 0x1f51(%rip), %rdi      # 0x4284
callq 0x1130
testl %eax, %eax
jne 0x1cc9
cmpq $0x4, (%rsp)
jne 0x1cc9
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x80c(%rip), %rsi       # 0x2b68
leaq 0x18(%rsp), %rdx
callq 0x3604
testl %eax, %eax
jne 0x1cc9
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
jne 0x1cc9
cmpq $0x0, (%rsp)
jne 0x1cc9
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x7d0(%rip), %rsi       # 0x2b68
leaq 0x18(%rsp), %rdx
callq 0x3604
testl %eax, %eax
jne 0x1cc9
movq 0x10(%rsp), %rsi
leaq 0x1ece(%rip), %rdi      # 0x4284
callq 0x1130
testl %eax, %eax
jne 0x1cc9
cmpq $0x4, (%rsp)
jne 0x1cc9
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x789(%rip), %rsi       # 0x2b68
leaq 0x18(%rsp), %rdx
callq 0x3604
cmpl $-0x1, %eax
jne 0x1cc9
cmpq $0x0, (%rsp)
jne 0x1cc9
movq 0x10(%rsp), %rdi
callq 0x1110
jmp 0x1ccf
movq 0x10(%rsp), %rsi
leaq 0x1e6b(%rip), %rdi      # 0x4283
callq 0x1130
testl %eax, %eax
jne 0x1d47
cmpq $0x5, (%rsp)
jne 0x1d47
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x768(%rip), %rsi       # 0x2ba9
leaq 0x18(%rsp), %rdx
callq 0x371c
testl %eax, %eax
jne 0x1d47
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
jne 0x1d47
cmpq $0x0, (%rsp)
jne 0x1d47
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x72c(%rip), %rsi       # 0x2ba9
leaq 0x18(%rsp), %rdx
callq 0x371c
testl %eax, %eax
jne 0x1d47
movq 0x10(%rsp), %rsi
leaq 0x1de9(%rip), %rdi      # 0x4284
callq 0x1130
testl %eax, %eax
jne 0x1d47
cmpq $0x4, (%rsp)
jne 0x1d47
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x6e5(%rip), %rsi       # 0x2ba9
leaq 0x18(%rsp), %rdx
callq 0x371c
testl %eax, %eax
jne 0x1d47
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
jne 0x1d47
cmpq $0x0, (%rsp)
jne 0x1d47
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x6a9(%rip), %rsi       # 0x2ba9
leaq 0x18(%rsp), %rdx
callq 0x371c
testl %eax, %eax
jne 0x1d47
movq 0x10(%rsp), %rsi
leaq 0x1d66(%rip), %rdi      # 0x4284
callq 0x1130
testl %eax, %eax
jne 0x1d47
cmpq $0x4, (%rsp)
jne 0x1d47
movq %rsp, %rdi
movq $0x0, (%rdi)
leaq 0x662(%rip), %rsi       # 0x2ba9
leaq 0x18(%rsp), %rdx
callq 0x371c
cmpl $-0x1, %eax
jne 0x1d47
cmpq $0x0, (%rsp)
jne 0x1d47
movq 0x10(%rsp), %rdi
callq 0x1110
jmp 0x1d4d
leaq 0x1bea(%rip), %rdi      # 0x4165
callq 0x10e0
jmp 0x1b30
leaq 0x1bd9(%rip), %rdi      # 0x4165
callq 0x10e0
jmp 0x1c4b
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1214
jmp 0x25f1
callq 0x1030
movl $0xe, (%rax)
xorl %edi, %edi
movq %rsp, %rsi
callq 0x137a
jmp 0x2613
movq %rsp, %rdi
movq %r14, %rsi
callq 0x131b
jmp 0x2613
movq %r14, %rdi
callq 0x1350
jmp 0x2613
callq 0x11ea
jmp 0x25f1
callq 0x12b2
jmp 0x2613
movq %rsi, %rdi
movq %r12, %rsi
callq 0x1252
jmp 0x25f1
callq 0x11c0
movl $0x1, %r13d
jmp 0x1f66
callq 0x1290
jmp 0x2613
movq %rsp, %rsi
movq %r12, %rdi
movq 0x30(%rsp), %rdx
callq 0x12d4
movl $0x1, %r13d
movl %r13d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%rsp), %rdi
jmp 0x25b0