// File: /workspace/github_c_makefile_star2_O3/erikdubbelboer[P]discnt/src/discnt-cli.c
// Function: main
int main(int argc, char **argv) {
    int firstarg;

    config.hostip = sdsnew("127.0.0.1");
    config.hostport = 5262;
    config.hostsocket = NULL;
    config.repeat = 1;
    config.interval = 0;
    config.interactive = 0;
    config.shutdown = 0;
    config.monitor_mode = 0;
    config.latency_mode = 0;
    config.latency_history = 0;
    config.stat_mode = 0;
    config.intrinsic_latency_mode = 0;
    config.pipe_mode = 0;
    config.pipe_timeout = DISCNT_CLI_DEFAULT_PIPE_TIMEOUT;
    config.stdinarg = 0;
    config.auth = NULL;
    config.eval = NULL;
    config.last_cmd_type = -1;

    if (!isatty(fileno(stdout)) && (getenv("FAKETTY") == NULL))
        config.output = OUTPUT_RAW;
    else
        config.output = OUTPUT_STANDARD;
    config.mb_delim = sdsnew("\n");
    cliInitHelp();

    firstarg = parseOptions(argc,argv);
    argc -= firstarg;
    argv += firstarg;

    signal(SIGPIPE, SIG_IGN);

    /* Latency mode */
    if (config.latency_mode) {
        if (cliConnect(0) == REDIS_ERR) exit(1);
        latencyMode();
    }

    /* Pipe mode */
    if (config.pipe_mode) {
        if (cliConnect(0) == REDIS_ERR) exit(1);
        pipeMode();
    }

    /* Stat mode */
    if (config.stat_mode) {
        if (cliConnect(0) == REDIS_ERR) exit(1);
        if (config.interval == 0) config.interval = 1000000;
        statMode();
    }

    /* Intrinsic latency mode */
    if (config.intrinsic_latency_mode) intrinsicLatencyMode();

    /* Start interactive mode when no command is provided */
    if (argc == 0 && !config.eval) {
        /* Note that in repl mode we don't abort on connection error.
         * A new attempt will be performed for every command send. */
        cliConnect(0);
        repl();
    }

    /* Otherwise, we have some arguments to execute */
    if (cliConnect(0) != REDIS_OK) exit(1);
    if (config.eval) {
        return evalMode(argc,argv);
    } else {
        return noninteractive(argc,convertToSds(argc,argv));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8188, %rsp           # imm = 0x8188
movq %rsi, %r14
movq %rdi, (%rsp)
leaq 0x26994(%rip), %rdi     # 0x3a2b9
callq 0x113c1
movq %rax, 0x39257(%rip)     # 0x4cb88
movl $0x148e, 0x39255(%rip)  # imm = 0x148E
xorl %ebx, %ebx
movq %rbx, 0x39254(%rip)     # 0x4cb98
movq $0x1, 0x39251(%rip) # 0x4cba0
movq %rbx, 0x3927a(%rip)     # 0x4cbd0
xorps %xmm0, %xmm0
movups %xmm0, 0x39248(%rip)    # 0x4cba8
movl %ebx, 0x39252(%rip)     # 0x4cbb8
movapd 0x25e42(%rip), %xmm0    # 0x397b0
movupd %xmm0, 0x3924a(%rip)    # 0x4cbc0
movl %ebx, 0x39260(%rip)     # 0x4cbdc
movq %rbx, 0x3925d(%rip)     # 0x4cbe0
movq %rbx, 0x392ee(%rip)     # 0x4cc78
movl $0xffffffff, 0x392ec(%rip) # imm = 0xFFFFFFFF
movq 0x38625(%rip), %rax     # 0x4bfc0
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
testl %eax, %eax
jne 0x139c4
leaq 0x2690e(%rip), %rdi     # 0x3a2c3
callq 0xc050
testq %rax, %rax
jne 0x139c4
movl $0x1, %ebx
movl %ebx, 0x3921e(%rip)     # 0x4cbe8
leaq 0x27200(%rip), %rdi     # 0x3abd1
callq 0x113c1
movq %rax, 0x39213(%rip)     # 0x4cbf0
movb $0x1, 0x392a4(%rip)     # 0x4cc88
movl $0x640, %edi            # imm = 0x640
callq 0xc3f0
movq %rax, 0x3929b(%rip)     # 0x4cc90
leaq 0x184(%rsp), %r15
leaq 0x369fc(%rip), %rbx     # 0x4a400
leaq 0x268c0(%rip), %r12     # 0x3a2cb
xorl %ebp, %ebp
movl $0x1, 0x184(%rsp)
movl $0x8, %edi
callq 0xc3f0
movq %rax, %r13
movq %rax, 0x188(%rsp)
callq 0x1139e
movq (%rbp,%rbx), %rdx
movq %rax, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x12042
movq %rax, (%r13)
movq %rax, 0x190(%rsp)
movl $0x2, 0x180(%rsp)
movq $0x0, 0x198(%rsp)
movq 0x39222(%rip), %rax     # 0x4cc90
movups 0x180(%rsp), %xmm0
movups %xmm0, (%rax,%rbp,4)
movupd 0x190(%rsp), %xmm0
movupd %xmm0, 0x10(%rax,%rbp,4)
addq $0x8, %rbp
cmpq $0x20, %rbp
jne 0x13a0d
movl $0x80, %ebx
leaq 0x388dd(%rip), %r12     # 0x4c380
movq (%r12), %rdi
movq %r15, %rsi
callq 0x12f1f
movq %rax, 0x188(%rsp)
movq (%r12), %rdi
callq 0x113c1
movq %rax, 0x190(%rsp)
movl $0x1, 0x180(%rsp)
movq %r12, 0x198(%rsp)
movq 0x391ae(%rip), %rax     # 0x4cc90
movups 0x180(%rsp), %xmm0
movups %xmm0, (%rax,%rbx)
movupd 0x190(%rsp), %xmm0
movupd %xmm0, 0x10(%rax,%rbx)
addq $0x20, %rbx
addq $0x28, %r12
cmpq $0x640, %rbx            # imm = 0x640
jne 0x13aa3
movl $0x1, %r13d
movq (%rsp), %rbp
cmpl $0x2, %ebp
jl 0x13ec4
leal -0x1(%rbp), %r12d
movslq %r13d, %r15
movq (%r14,%r15,8), %rbp
movzbl (%rbp), %ebx
movl %ebx, %eax
addl $-0x2d, %eax
jne 0x13b44
movzbl 0x1(%rbp), %eax
addl $-0x68, %eax
jne 0x13b44
movzbl 0x2(%rbp), %eax
testl %eax, %eax
jne 0x13b72
cmpl %r12d, %r13d
je 0x13b72
movq 0x39034(%rip), %rdi     # 0x4cb88
callq 0x11441
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0x113c1
movq %rax, 0x3901b(%rip)     # 0x4cb88
jmp 0x13eb4
testl %eax, %eax
jne 0x13b7f
cmpl %r12d, %r13d
je 0x14546
movq %rbp, %rdi
leaq 0x2674e(%rip), %rsi     # 0x3a2d7
callq 0xc330
testl %eax, %eax
je 0x14546
cmpb $0x2d, %bl
jne 0x13caf
movzbl 0x1(%rbp), %eax
leal -0x70(%rax), %ecx
cmpl $0x8, %ecx
ja 0x13be6
leaq 0x25c12(%rip), %rdx     # 0x397c4
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
cmpl %r12d, %r13d
je 0x13caf
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x38faf(%rip)     # 0x4cb90
jmp 0x13eb4
cmpl $0x61, %eax
je 0x13c90
cmpl $0x69, %eax
jne 0x13caf
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
cmpl %r12d, %r13d
je 0x13caf
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc130
mulsd 0x25b58(%rip), %xmm0    # 0x39778
cvttsd2si %xmm0, %rax
movq %rax, 0x38f7c(%rip)     # 0x4cba8
jmp 0x13eb4
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
movl $0x1, 0x38f9b(%rip)     # 0x4cbdc
jmp 0x13eb4
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
cmpl %r12d, %r13d
je 0x13caf
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0xc350
movq %rax, 0x38f34(%rip)     # 0x4cba0
jmp 0x13eb4
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
cmpl %r12d, %r13d
je 0x13caf
incl %r13d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x38f0d(%rip)     # 0x4cb98
jmp 0x13eb4
cmpb $0x0, 0x2(%rbp)
jne 0x13caf
cmpl %r12d, %r13d
je 0x13caf
incl %r13d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x38f36(%rip)     # 0x4cbe0
jmp 0x13eb4
movq %rbp, %rdi
leaq 0x26625(%rip), %rsi     # 0x3a2de
callq 0xc330
testl %eax, %eax
je 0x13e10
movq %rbp, %rdi
leaq 0x26614(%rip), %rsi     # 0x3a2e4
callq 0xc330
testl %eax, %eax
je 0x13e1f
movq %rbp, %rdi
leaq 0x26606(%rip), %rsi     # 0x3a2ed
callq 0xc330
testl %eax, %eax
je 0x13e2e
movq %rbp, %rdi
leaq 0x265f5(%rip), %rsi     # 0x3a2f3
callq 0xc330
testl %eax, %eax
je 0x13e3a
movq %rbp, %rdi
leaq 0x265e8(%rip), %rsi     # 0x3a2fd
callq 0xc330
testl %eax, %eax
je 0x13e46
movq %rbp, %rdi
leaq 0x265e3(%rip), %rsi     # 0x3a30f
callq 0xc330
testl %eax, %eax
je 0x13e59
cmpl %r12d, %r13d
sete 0x8(%rsp)
movq %rbp, %rdi
leaq 0x265cb(%rip), %rsi     # 0x3a316
callq 0xc330
testl %eax, %eax
setne %al
orb 0x8(%rsp), %al
je 0x13e65
movq %rbp, %rdi
leaq 0x265c1(%rip), %rsi     # 0x3a32a
callq 0xc330
testl %eax, %eax
je 0x13e84
cmpl %r12d, %r13d
sete 0x8(%rsp)
movq %rbp, %rdi
leaq 0x265a9(%rip), %rsi     # 0x3a331
callq 0xc330
testl %eax, %eax
setne %al
orb 0x8(%rsp), %al
je 0x13e90
cmpl %r12d, %r13d
sete 0x8(%rsp)
movq %rbp, %rdi
leaq 0x26592(%rip), %rsi     # 0x3a340
callq 0xc330
testl %eax, %eax
setne %al
orb 0x8(%rsp), %al
je 0x13ea5
cmpb $0x2d, %bl
jne 0x14517
movzbl 0x1(%rbp), %eax
cmpl $0x64, %eax
jne 0x1504f
cmpb $0x0, 0x2(%rbp)
jne 0x1505a
cmpl %r12d, %r13d
je 0x1505a
movq 0x38dfe(%rip), %rdi     # 0x4cbf0
callq 0x11441
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0x113c1
movq %rax, 0x38de5(%rip)     # 0x4cbf0
jmp 0x13eb4
movl $0x1, 0x38dce(%rip)     # 0x4cbe8
jmp 0x13eb4
movl $0x0, 0x38dbf(%rip)     # 0x4cbe8
jmp 0x13eb4
movl $0x2, 0x38db0(%rip)     # 0x4cbe8
jmp 0x13eb4
movl $0x1, 0x38d7c(%rip)     # 0x4cbc0
jmp 0x13eb4
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x38d69(%rip)     # 0x4cbc0
jmp 0x13eb4
movl $0x1, 0x38d6d(%rip)     # 0x4cbd0
jmp 0x13eb4
movl $0x1, 0x38d65(%rip)     # 0x4cbd4
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x38d56(%rip)     # 0x4cbd8
jmp 0x13eb4
movl $0x1, 0x38d3a(%rip)     # 0x4cbc8
jmp 0x13eb4
incl %r13d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x38d29(%rip)     # 0x4cbcc
jmp 0x13eb4
incl %r13d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x38dc4(%rip)     # 0x4cc78
incl %r13d
movq (%rsp), %rbp
cmpl %ebp, %r13d
jl 0x13b25
movl $0x1, %esi
movl $0xd, %edi
callq 0xc340
cmpl $0x0, 0x38ce6(%rip)     # 0x4cbc0
jne 0x14555
cmpl $0x0, 0x38ce1(%rip)     # 0x4cbc8
jne 0x14165
cmpl $0x0, 0x38cdc(%rip)     # 0x4cbd0
jne 0x1489a
cmpl $0x0, 0x38cd3(%rip)     # 0x4cbd4
jne 0x148b4
movq 0x38d6a(%rip), %rbx     # 0x4cc78
xorl %edi, %edi
callq 0x150b2
cmpl %r13d, %ebp
jne 0x13f23
testq %rbx, %rbx
je 0x149c3
testl %eax, %eax
jne 0x148aa
subl %r13d, %ebp
movslq %r13d, %rax
leaq (%r14,%rax,8), %r13
cmpq $0x0, 0x38d3b(%rip)     # 0x4cc78
je 0x14064
callq 0x1139e
movq %rax, %r15
movq 0x38d26(%rip), %rdi     # 0x4cc78
leaq 0x257cc(%rip), %rsi     # 0x39725
callq 0xc380
testq %rax, %rax
je 0x14a30
movq %rax, %r14
leaq 0x180(%rsp), %rdi
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %rax, %rcx
callq 0xc100
testq %rax, %rax
movq %r13, (%rsp)
je 0x13fc0
leaq 0x180(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x11be6
movq %rax, %r15
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %r12, %rdi
movq %r14, %rcx
callq 0xc100
testq %rax, %rax
jne 0x13f95
movq %r14, %rdi
callq 0xc1a0
leal 0x3(%rbp), %eax
movl %eax, 0x10(%rsp)
movslq %ebp, %rbx
leaq 0x18(,%rbx,8), %rdi
callq 0x15fad
movq %rax, %r14
leaq 0x271b5(%rip), %rdi     # 0x3b19e
callq 0x113c1
movq %rax, (%r14)
movq %r14, 0x8(%rsp)
movq %r15, 0x8(%r14)
testl %ebx, %ebx
jle 0x14108
movl %ebp, %r15d
xorl %r12d, %r12d
xorl %ebx, %ebx
xorl %ebp, %ebp
movq (%rsp), %rax
movq (%rax,%r12,8), %rdi
testl %ebp, %ebp
jne 0x14023
cmpb $0x2c, (%rdi)
jne 0x14023
cmpb $0x0, 0x1(%rdi)
je 0x1405c
xorl %r14d, %r14d
xorl %r13d, %r13d
testl %ebp, %ebp
sete %r14b
setne %r13b
callq 0x113c1
movl %r12d, %ecx
subl %ebp, %ecx
addl $0x3, %ecx
movq 0x8(%rsp), %rdx
movq %rax, (%rdx,%rcx,8)
addl %r14d, %ebx
incq %r12
movl %r13d, %ebp
cmpq %r12, %r15
jne 0x1400c
jmp 0x1410d
movl $0x1, %r13d
jmp 0x1404c
movslq %ebp, %rbx
leaq (,%rbx,8), %rdi
callq 0x15fad
movq %rax, %r14
testl %ebp, %ebp
jle 0x14097
movl %ebp, %r15d
xorl %r12d, %r12d
movq (%r13,%r12,8), %rdi
callq 0x113c1
movq %rax, (%r14,%r12,8)
incq %r12
cmpq %r12, %r15
jne 0x14081
cmpl $0x0, 0x38b3e(%rip)     # 0x4cbdc
je 0x14143
incl %ebp
leaq 0x8(,%rbx,8), %rsi
movq %r14, %rdi
callq 0x16069
movq %rax, %r14
callq 0x1139e
movq %rax, %r12
movq 0x37f00(%rip), %r13     # 0x4bfc8
leaq 0x180(%rsp), %r15
movq (%r13), %rdi
callq 0xc3c0
movl $0x400, %edx            # imm = 0x400
movl %eax, %edi
movq %r15, %rsi
callq 0xc2c0
testl %eax, %eax
je 0x1413f
cmpl $-0x1, %eax
je 0x14550
movslq %eax, %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x11be6
movq %rax, %r12
jmp 0x140d0
xorl %r13d, %r13d
xorl %ebx, %ebx
movl 0x10(%rsp), %ebp
subl %r13d, %ebp
callq 0x1139e
leaq 0x24fd9(%rip), %rsi     # 0x390f9
movq %rax, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x12042
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
movl 0x38a65(%rip), %edx     # 0x4cba0
movl %ebp, %edi
jmp 0x1414e
movq %r12, (%r14,%rbx,8)
movl 0x38a57(%rip), %edx     # 0x4cba0
movl %ebp, %edi
movq %r14, %rsi
callq 0x1549e
addq $0x8188, %rsp           # imm = 0x8188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x150b2
cmpl $-0x1, %eax
je 0x148aa
movq 0x38b1c(%rip), %rax     # 0x4cc98
movl 0x84(%rax), %ebp
callq 0x1701d
movq %rax, %rbx
xorl %edi, %edi
callq 0xc3b0
movq %rax, 0x8(%rsp)
xorl %edi, %edi
callq 0xc3b0
movl %eax, %edi
callq 0xc2d0
leaq 0x80(%rsp), %rdi
movl %ebp, %esi
callq 0x1040d
cmpl $-0x1, %eax
je 0x14a23
movq $0x0, 0x18(%rsp)
xorl %r15d, %r15d
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %ebp, (%rsp)
testl %r13d, %r13d
sete %al
testq %r14, %r14
setne %cl
orb %al, %cl
movzbl %cl, %eax
leal 0x1(,%rax,2), %esi
movl $0x3e8, %edx            # imm = 0x3E8
movl %ebp, %edi
callq 0x16ee0
movb $0x1, %cl
testb $0x1, %al
je 0x1434a
movl %eax, 0x10(%rsp)
movl $0x4000, %edx           # imm = 0x4000
movl %ebp, %edi
leaq 0x180(%rsp), %rsi
callq 0xc2c0
cmpq $-0x1, %rax
je 0x1426d
testq %rax, %rax
jle 0x14282
movq %rbx, %rbp
movq %rbx, %rdi
leaq 0x180(%rsp), %rbx
movq %rbx, %rsi
movq %rax, %rdx
callq 0x170bb
xorl %edi, %edi
callq 0xc3b0
movq %rax, 0x8(%rsp)
movl $0x4000, %edx           # imm = 0x4000
movl (%rsp), %edi
movq %rbx, %rsi
callq 0xc2c0
cmpq $-0x1, %rax
je 0x1426a
testq %rax, %rax
movq %rbp, %rbx
jg 0x14225
jmp 0x14282
movq %rbp, %rbx
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0x14282
cmpl $0xb, %edi
jne 0x1454b
xorl %ebp, %ebp
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
callq 0x17227
cmpl $-0x1, %eax
je 0x14537
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x14341
movl (%rax), %ecx
cmpl $0x6, %ecx
je 0x14307
testl %r13d, %r13d
sete %dl
cmpl $0x1, %ecx
setne %cl
orb %dl, %cl
jne 0x14328
cmpl $0x14, 0x10(%rax)
jne 0x14328
movq 0x18(%rax), %rax
movdqu (%rax), %xmm0
movd 0x10(%rax), %xmm1
movd 0x40(%rsp), %xmm2
pcmpeqb 0x30(%rsp), %xmm0
pcmpeqb %xmm1, %xmm2
pand %xmm2, %xmm0
pmovmskb %xmm0, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x14328
leaq 0x26ec7(%rip), %rdi     # 0x3b1bf
callq 0xc0e0
decq %r15
movl $0x1, %ebp
jmp 0x14328
movq 0x37cea(%rip), %rcx     # 0x4bff8
movq (%rcx), %rdi
movq 0x18(%rax), %rdx
leaq 0x26e21(%rip), %rsi     # 0x3b13d
xorl %eax, %eax
callq 0xc360
incq 0x18(%rsp)
incq %r15
movq 0x28(%rsp), %rdi
callq 0x16fac
cmpq $0x0, 0x28(%rsp)
jne 0x14284
testl %ebp, %ebp
sete %cl
movl 0x10(%rsp), %eax
movb %cl, 0x10(%rsp)
testb $0x2, %al
je 0x14493
xorl %ebp, %ebp
testq %r14, %r14
je 0x143a5
leaq (%rsp,%r12), %rsi
addq $0x4180, %rsi           # imm = 0x4180
movl (%rsp), %edi
movq %r14, %rdx
callq 0xc170
cmpq $-0x1, %rax
jne 0x14396
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0x14394
movl $0x0, %eax
cmpl $0xb, %edi
je 0x14396
jmp 0x14541
xorl %eax, %eax
addq %rax, %r12
subq %rax, %r14
jne 0x14493
addq %rax, %rbp
testl %r13d, %r13d
je 0x143b2
xorl %r14d, %r14d
jmp 0x14476
xorl %r13d, %r13d
movl $0x4000, %edx           # imm = 0x4000
xorl %edi, %edi
leaq 0x4180(%rsp), %rsi
callq 0xc2c0
testq %rax, %rax
je 0x143e0
movq %rax, %r14
cmpq $-0x1, %rax
jne 0x14473
jmp 0x1453c
movups 0x26f25(%rip), %xmm0    # 0x3b30c
movups %xmm0, 0x6c(%rsp)
movaps 0x26f0d(%rip), %xmm0    # 0x3b300
movaps %xmm0, 0x60(%rsp)
movapd 0x26ef0(%rip), %xmm0    # 0x3b2f0
movapd %xmm0, 0x50(%rsp)
xorl %r14d, %r14d
callq 0xc660
movb %al, 0x30(%rsp,%r14)
incq %r14
cmpq $0x14, %r14
jne 0x14409
movl 0x40(%rsp), %eax
leaq 0x65(%rsp), %rcx
movl %eax, 0x10(%rcx)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rcx)
movaps 0x50(%rsp), %xmm0
movdqa 0x60(%rsp), %xmm1
movaps %xmm0, 0x4180(%rsp)
movdqa %xmm1, 0x4190(%rsp)
movdqu 0x6b(%rsp), %xmm0
movdqu %xmm0, 0x419b(%rsp)
leaq 0x26d7e(%rip), %rdi     # 0x3b1e0
callq 0xc0e0
movl $0x1, %r13d
movl $0x2b, %r14d
xorl %r12d, %r12d
testq %r14, %r14
sete %al
testl %r13d, %r13d
setne %cl
testb %cl, %al
jne 0x14493
cmpq $0x20001, %rbp          # imm = 0x20001
jl 0x14358
testl %r13d, %r13d
je 0x144b9
cmpl $0x0, 0x3872d(%rip)     # 0x4cbcc
jle 0x144b9
xorl %edi, %edi
callq 0xc3b0
subq 0x8(%rsp), %rax
movslq 0x38718(%rip), %rdx     # 0x4cbcc
cmpq %rdx, %rax
jg 0x144c9
cmpb $0x0, 0x10(%rsp)
movl (%rsp), %ebp
jne 0x141d4
jmp 0x144e6
movq 0x37b28(%rip), %rax     # 0x4bff8
movq (%rax), %rdi
leaq 0x26853(%rip), %rsi     # 0x3ad2d
xorl %eax, %eax
callq 0xc360
incq 0x18(%rsp)
movq %rbx, %rdi
callq 0x1707a
leaq 0x2685d(%rip), %rdi     # 0x3ad52
movq 0x18(%rsp), %rbx
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0xc1e0
testq %rbx, %rbx
jne 0x148aa
xorl %edi, %edi
callq 0xc5b0
leaq 0x25e29(%rip), %rsi     # 0x3a347
movq %rbp, %rdi
callq 0xc330
testl %eax, %eax
movq (%rsp), %rbp
jne 0x13ec4
jmp 0x1506d
callq 0xc704
callq 0xc781
callq 0xc755
callq 0x15160
callq 0xc729
callq 0xc840
xorl %edi, %edi
callq 0x150b2
cmpl $-0x1, %eax
je 0x148aa
movq 0x3863c(%rip), %rcx     # 0x4cba8
movabsq $0x20c49ba5e353f7cf, %r14 # imm = 0x20C49BA5E353F7CF
movq %rcx, %rax
imulq %r14
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
testq %rcx, %rcx
movl $0x3a98, %eax           # imm = 0x3A98
cmovneq %rdx, %rax
movq %rax, 0x48(%rsp)
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, (%rbx), %rax  # imm = 0xF4240
addq 0x8(%rbx), %rax
imulq %r14
cmpq $0x0, 0x386d5(%rip)     # 0x4cc98
je 0x148aa
movq %rdx, %r13
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc220
movq (%rbx), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %r15
movq 0x386a7(%rip), %rdi     # 0x4cc98
leaq 0x25af6(%rip), %rsi     # 0x3a0ee
xorl %eax, %eax
callq 0x18b8c
testq %rax, %rax
je 0x14878
movq %rax, %r12
movq %r13, %rax
shrq $0x3f, %rax
sarq $0x7, %r13
addq %rax, %r13
movq %r13, 0x20(%rsp)
leaq 0x180(%rsp), %r14
movq $0x0, 0x10(%rsp)
movq $0x0, (%rsp)
movq $0x0, 0x18(%rsp)
xorl %r13d, %r13d
movq (%rsp), %rbx
imulq $0xf4240, 0x8(%rsp), %rax # imm = 0xF4240
addq %r15, %rax
movabsq $-0x20c49ba5e353f7cf, %rcx # imm = 0xDF3B645A1CAC0831
imulq %rcx
movq %rdx, %r15
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %r15
addq %rax, %r15
movq %r14, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
movabsq $0x20c49ba5e353f7cf, %r14 # imm = 0x20C49BA5E353F7CF
imulq %r14
movq %rdx, %rbp
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rbp
addq %rax, %rbp
addq %r15, %rbp
movq %r12, %rdi
callq 0x16fac
leaq 0x1(%rbx), %rcx
testq %rbx, %rbx
je 0x146ef
movq 0x10(%rsp), %rsi
cmpq %rsi, %rbp
cmovlq %rbp, %rsi
cmpq %r13, %rbp
cmovgq %rbp, %r13
movq 0x18(%rsp), %r12
addq %rbp, %r12
cvtsi2sd %r12, %xmm0
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
movq %r13, %rbp
jmp 0x146fd
xorps %xmm0, %xmm0
cvtsi2sd %rbp, %xmm0
movq %rbp, %r12
movq %rbp, %rsi
movq 0x20(%rsp), %rbx
leaq 0x26521(%rip), %rdi     # 0x3ac2a
movq %rsi, 0x10(%rsp)
movq %rbp, %rdx
movq %rcx, (%rsp)
movb $0x1, %al
callq 0xc1e0
movq 0x3789d(%rip), %rax     # 0x4bfc0
movq (%rax), %rdi
callq 0xc410
cmpl $0x0, 0x38492(%rip)     # 0x4cbc4
leaq 0x180(%rsp), %r15
je 0x14823
movq %r15, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
imulq %r14
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
subq %rbx, %rdx
cmpq 0x48(%rsp), %rdx
jle 0x14823
movq %r15, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
imulq %r14
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
subq %rbx, %rdx
xorps %xmm0, %xmm0
cvtsi2ss %rdx, %xmm0
divss 0x25001(%rip), %xmm0    # 0x397c0
cvtss2sd %xmm0, %xmm0
leaq 0x26497(%rip), %rdi     # 0x3ac61
movb $0x1, %al
callq 0xc1e0
movq %r15, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
imulq %r14
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
movq %rdx, 0x20(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x18(%rsp)
movq $0x0, (%rsp)
movq $0x0, 0x10(%rsp)
jmp 0x14828
movq %r12, 0x18(%rsp)
movl $0x2710, %edi           # imm = 0x2710
callq 0xc6a0
movq %r15, %rdi
xorl %esi, %esi
callq 0xc220
movq 0x180(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r15, %r14
movq 0x188(%rsp), %r15
movq 0x3843d(%rip), %rdi     # 0x4cc98
leaq 0x2588c(%rip), %rsi     # 0x3a0ee
xorl %eax, %eax
callq 0x18b8c
movq %rax, %r12
movq %rbp, %r13
testq %rax, %rax
jne 0x14643
movq 0x37779(%rip), %rax     # 0x4bff8
movq (%rax), %rcx
leaq 0x26395(%rip), %rdi     # 0x3ac1e
movl $0xb, %esi
movl $0x1, %edx
callq 0xc5d0
jmp 0x148aa
xorl %edi, %edi
callq 0x150b2
cmpl $-0x1, %eax
jne 0x14a35
movl $0x1, %edi
callq 0xc5b0
movslq 0x3831d(%rip), %rax     # 0x4cbd8
imulq $0xf4240, %rax, %rbp    # imm = 0xF4240
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, (%rbx), %rax  # imm = 0xF4240
movq %rbp, (%rsp)
addq 0x8(%rbx), %rbp
addq %rax, %rbp
leaq 0x9ed(%rip), %rsi       # 0x152da
movl $0x2, %edi
callq 0xc340
xorl %r14d, %r14d
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc220
imulq $-0xf4240, 0x180(%rsp), %r12 # imm = 0xFFF0BDC0
subq 0x188(%rsp), %r12
callq 0x13883
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %r15 # imm = 0xF4240
addq 0x188(%rsp), %r15
addq %r15, %r12
incq %r14
testq %r12, %r12
jle 0x148fd
cmpq %r13, %r12
jle 0x14962
leaq 0x26525(%rip), %rdi     # 0x3ae7a
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %r12, %r13
cmpl $0x0, 0x38337(%rip)     # 0x4cca0
jne 0x14970
cmpq %rbp, %r15
jle 0x148fd
xorps %xmm0, %xmm0
cvtsi2sdl (%rsp), %xmm0
cvtsi2sd %r14, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movsd 0x24df2(%rip), %xmm1    # 0x39780
mulsd %xmm0, %xmm1
leaq 0x26509(%rip), %rdi     # 0x3aea2
movq %r14, %rsi
movb $0x2, %al
callq 0xc1e0
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
divsd (%rsp), %xmm0
leaq 0x2653a(%rip), %rdi     # 0x3aef1
movb $0x1, %al
callq 0xc1e0
jmp 0x14510
movl $0x1, 0x381e3(%rip)     # 0x4cbb0
movl $0x1, %edi
callq 0x1994c
leaq 0x907(%rip), %rdi       # 0x152e5
callq 0x19969
movq 0x375de(%rip), %rax     # 0x4bfc8
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
movl %eax, (%rsp)
testl %eax, %eax
je 0x14a15
leaq 0x26521(%rip), %rdi     # 0x3af28
callq 0xc050
testq %rax, %rax
jne 0x14d2a
movq $0x0, 0x8(%rsp)
jmp 0x14d5f
leaq 0x80(%rsp), %rdi
callq 0xc7b4
callq 0xc800
cmpq $0x0, 0x3816b(%rip)     # 0x4cba8
jne 0x14a4a
movq $0xf4240, 0x3815e(%rip) # imm = 0xF4240
movq 0x38247(%rip), %r13     # 0x4cc98
cmpl $0x0, (%r13)
jne 0x14d0b
leaq 0x26317(%rip), %r15     # 0x3ad7a
leaq 0x180(%rsp), %r12
leaq 0x263e7(%rip), %r14     # 0x3ae59
movl $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
xorl %ebx, %ebx
testb $0x3, (%r13)
je 0x14ad7
movq 0x3752e(%rip), %rbp     # 0x4bfc0
incl %ebx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0xc1e0
movq (%rbp), %rdi
callq 0xc410
movq %r13, %rdi
callq 0x182ba
movq 0x380d0(%rip), %rdi     # 0x4cb88
movl 0x380d2(%rip), %esi     # 0x4cb90
callq 0x18312
movq %rax, %r13
movl $0xf4240, %edi          # imm = 0xF4240
callq 0xc6a0
testb $0x3, (%r13)
jne 0x14a92
movq %r13, %rdi
leaq 0x25145(%rip), %rsi     # 0x39c26
xorl %eax, %eax
callq 0x18b8c
movq %rax, %rbp
movl (%r13), %eax
testl %eax, %eax
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
je 0x15047
testl %ebx, %ebx
jle 0x14b0f
movl $0xa, %edi
callq 0xc070
testq %rbp, %rbp
je 0x14a84
movq %r13, 0x38179(%rip)     # 0x4cc98
cmpl $0x6, (%rbp)
je 0x1509b
movl (%rsp), %ebx
imull $0xcccccccd, %ebx, %eax # imm = 0xCCCCCCCD
rorl $0x2, %eax
cmpl $0xccccccc, %eax        # imm = 0xCCCCCCC
ja 0x14b48
leaq 0x266d1(%rip), %rdi     # 0x3b214
callq 0xc0e0
incl %ebx
movl %ebx, (%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
xorl %eax, %eax
callq 0xc5a0
movq 0x18(%rbp), %rdi
movq %r12, %rsi
callq 0x15233
movq %rax, %rcx
negq %rcx
jno 0x14b78
xorl %eax, %eax
addq %rax, %rbx
incl %r13d
cmpl $0x14, %r13d
jne 0x14b52
movq %r12, %rdi
leaq 0x261f6(%rip), %r13     # 0x3ad84
movq %r13, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x261e6(%rip), %rdi     # 0x3ad88
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x261d7(%rip), %rsi     # 0x3ad8e
callq 0x15233
movq %r12, %rdi
movq %rax, %rsi
callq 0x137f8
leaq 0x261df(%rip), %rbx     # 0x3adad
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x261b4(%rip), %rsi     # 0x3ad9a
callq 0x15233
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x261aa(%rip), %rdi     # 0x3adac
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x2619b(%rip), %rsi     # 0x3adb2
callq 0x15233
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x2617e(%rip), %rsi     # 0x3adc2
callq 0x15233
movq %rax, %rbx
movq %rax, %rcx
movq 0x8(%rsp), %rax
subq %rax, %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %r12, %rdi
leaq 0x26173(%rip), %rsi     # 0x3addb
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x2616d(%rip), %rdi     # 0x3ade6
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x2615e(%rip), %rsi     # 0x3adec
callq 0x15233
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x2615d(%rip), %rdi     # 0x3ae07
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x2614f(%rip), %rsi     # 0x3ae0e
callq 0x15233
testq %rax, %rax
je 0x14cd7
leaq 0x24bf5(%rip), %rdi     # 0x398c5
xorl %eax, %eax
callq 0xc1e0
movl $0xa, %edi
callq 0xc070
movq %rbp, %rdi
callq 0x16fac
movl 0x37eb9(%rip), %edi     # 0x4cba8
callq 0xc6a0
movq 0x37f9d(%rip), %r13     # 0x4cc98
cmpl $0x0, (%r13)
movq %rbx, 0x8(%rsp)
je 0x14a82
leaq 0x2610f(%rip), %rdi     # 0x3ae21
leaq 0x26110(%rip), %rsi     # 0x3ae29
leaq 0x26116(%rip), %rcx     # 0x3ae36
movl $0x258, %edx            # imm = 0x258
callq 0xc230
callq 0x1139e
movq %rax, %rbx
leaq 0x261ef(%rip), %rdi     # 0x3af28
callq 0xc050
leaq 0x261e8(%rip), %rsi     # 0x3af2d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x12042
movq %rax, 0x8(%rsp)
movq %rax, %rdi
callq 0x1ae44
callq 0x15407
cmpq $0x0, 0x37f2c(%rip)     # 0x4cc98
leaq 0x261cd(%rip), %r15     # 0x3af40
leaq 0x37e7e(%rip), %rbx     # 0x4cbf8
movq %rbx, %rdi
cmoveq %r15, %rdi
callq 0x1a475
testq %rax, %rax
movl (%rsp), %r14d
movq 0x8(%rsp), %r13
je 0x14510
movq %rax, %r12
cmpb $0x0, (%r12)
je 0x14ff9
movq %r12, %rdi
leaq 0x4180(%rsp), %rsi
callq 0x12f1f
movq %rax, %rbp
testl %r14d, %r14d
je 0x14dc6
movq %r12, %rdi
callq 0x1ac36
testq %r13, %r13
je 0x14dd3
movq %r13, %rdi
callq 0x1adda
testq %rbp, %rbp
je 0x14e79
movl 0x4180(%rsp), %ebx
testl %ebx, %ebx
jle 0x14fe3
movq (%rbp), %r15
movq %r15, %rdi
leaq 0x26157(%rip), %rsi     # 0x3af50
callq 0xc080
testl %eax, %eax
je 0x14510
movq %r15, %rdi
leaq 0x26145(%rip), %rsi     # 0x3af55
callq 0xc080
testl %eax, %eax
je 0x14510
cmpl $0x1, %ebx
je 0x14e8a
cmpl $0x3, %ebx
jne 0x14ea1
movq %r15, %rdi
leaq 0x26129(%rip), %rsi     # 0x3af5a
callq 0xc080
testl %eax, %eax
jne 0x14ea1
movq 0x37d47(%rip), %rdi     # 0x4cb88
callq 0x11441
movq 0x8(%rbp), %rdi
callq 0x113c1
movq %rax, 0x37d32(%rip)     # 0x4cb88
movq 0x10(%rbp), %rdi
callq 0xc580
movl %eax, 0x37d2b(%rip)     # 0x4cb90
callq 0x15407
movl $0x1, %edi
callq 0x150b2
jmp 0x14fdc
leaq 0x26430(%rip), %rdi     # 0x3b2b0
callq 0xc0e0
jmp 0x14ff9
movq %r15, %rdi
leaq 0x260ce(%rip), %rsi     # 0x3af62
callq 0xc080
testl %eax, %eax
je 0x14fd7
leaq 0x180(%rsp), %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
movabsq $-0x20c49ba5e353f7cf, %rcx # imm = 0xDF3B645A1CAC0831
imulq %rcx
movq %rdx, %r13
movq (%rbp), %rdi
callq 0xc580
movl %eax, %r15d
movl 0x4180(%rsp), %edi
cmpl $0x2, %edi
setge %al
testl %r15d, %r15d
setne %cl
andb %al, %cl
movl $0x1, %eax
cmovel %eax, %r15d
movzbl %cl, %r14d
subl %r14d, %edi
leaq (,%r14,8), %rbx
addq %rbp, %rbx
movq %rbx, %rsi
movl %r15d, %edx
callq 0x1549e
testl %eax, %eax
je 0x14f52
movl $0x1, %edi
callq 0x150b2
movl 0x4180(%rsp), %edi
subl %r14d, %edi
movq %rbx, %rsi
movl %r15d, %edx
callq 0x1549e
testl %eax, %eax
je 0x14f52
movq 0x37d4f(%rip), %rdx     # 0x4cc98
testq %rdx, %rdx
jne 0x15026
movq %r13, %rax
shrq $0x3f, %rax
sarq $0x7, %r13
addq %rax, %r13
leaq 0x180(%rsp), %rdi
xorl %esi, %esi
callq 0xc220
imulq $0xf4240, 0x180(%rsp), %rax # imm = 0xF4240
addq 0x188(%rsp), %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
addq %r13, %rdx
cmpq $0x1f4, %rdx            # imm = 0x1F4
movl (%rsp), %r14d
movq 0x8(%rsp), %r13
leaq 0x25f88(%rip), %r15     # 0x3af40
jl 0x14fe3
cvtsi2sd %rdx, %xmm0
divsd 0x247c1(%rip), %xmm0    # 0x39788
leaq 0x25f9a(%rip), %rdi     # 0x3af68
movb $0x1, %al
callq 0xc1e0
jmp 0x14fe3
callq 0x19953
leaq 0x25f5d(%rip), %r15     # 0x3af40
movl 0x4180(%rsp), %esi
movq %rbp, %rdi
callq 0x12d19
leaq 0x37bff(%rip), %rbx     # 0x4cbf8
movq %r12, %rdi
callq 0xc060
cmpq $0x0, 0x37c8f(%rip)     # 0x4cc98
movq %rbx, %rdi
cmoveq %r15, %rdi
callq 0x1a475
movq %rax, %r12
testq %rax, %rax
jne 0x14d9b
jmp 0x14510
movq 0x36fcb(%rip), %rax     # 0x4bff8
movq (%rax), %rdi
addq $0x4, %rdx
leaq 0x25e34(%rip), %rsi     # 0x3ae6f
xorl %eax, %eax
callq 0xc360
jmp 0x14f52
movq %r13, %rdi
callq 0xc7d8
cmpl $0x76, %eax
jne 0x1505a
cmpb $0x0, 0x2(%rbp)
je 0x1506d
leaq 0x252e6(%rip), %rsi     # 0x3a347
movq %rbp, %rdi
callq 0xc330
testl %eax, %eax
jne 0x15093
callq 0x1519b
movq %rax, %rbx
leaq 0x252d5(%rip), %rdi     # 0x3a351
movq %rax, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %rbx, %rdi
callq 0x11441
jmp 0x14510
movq %rbp, %rdi
callq 0xc6e0
movq 0x18(%rbp), %rsi
leaq 0x25cc9(%rip), %rdi     # 0x3ad6f
xorl %eax, %eax
callq 0xc1e0
jmp 0x148aa