// File: /workspace/github_c_makefile_star2_O2/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 $0x8198, %rsp           # imm = 0x8198
movq %rsi, 0x8(%rsp)
movq %rdi, 0x10(%rsp)
leaq 0x26ce6(%rip), %rdi     # 0x35f69
callq 0xd786
movq %rax, 0x3a8f9(%rip)     # 0x49b88
movl $0x148e, 0x3a8f7(%rip)  # imm = 0x148E
andq $0x0, 0x3a8f7(%rip)     # 0x49b98
movq $0x1, 0x3a8f4(%rip) # 0x49ba0
andq $0x0, 0x3a91c(%rip)     # 0x49bd0
xorps %xmm0, %xmm0
movups %xmm0, 0x3a8ea(%rip)    # 0x49ba8
andl $0x0, 0x3a8f3(%rip)     # 0x49bb8
movapd 0x261e3(%rip), %xmm0    # 0x354b0
movupd %xmm0, 0x3a8eb(%rip)    # 0x49bc0
andl $0x0, 0x3a900(%rip)     # 0x49bdc
andq $0x0, 0x3a8fc(%rip)     # 0x49be0
andq $0x0, 0x3a98c(%rip)     # 0x49c78
orl $-0x1, 0x3a98d(%rip)    # 0x49c80
movq 0x39cc6(%rip), %rax     # 0x48fc0
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
testl %eax, %eax
jne 0xf322
leaq 0x26c5f(%rip), %rdi     # 0x35f73
callq 0xc050
testq %rax, %rax
je 0xf880
xorl %eax, %eax
pushq $0x1
popq %r14
movl %eax, 0x3a8ba(%rip)     # 0x49be8
leaq 0x2754c(%rip), %rdi     # 0x36881
callq 0xd786
movq %rax, 0x3a8af(%rip)     # 0x49bf0
movb $0x1, 0x3a940(%rip)     # 0x49c88
movl $0x640, %edi            # imm = 0x640
callq 0xc3f0
movq %rax, 0x3a937(%rip)     # 0x49c90
pushq $0x8
popq %r12
leaq 0x3809c(%rip), %rbx     # 0x47400
leaq 0x26c10(%rip), %r13     # 0x35f7b
xorl %r15d, %r15d
cmpq $0x20, %r15
je 0xf3f9
movl $0x1, 0x194(%rsp)
movq %r12, %rdi
callq 0xc3f0
movq %rax, %rbp
movq %rax, 0x198(%rsp)
callq 0xd778
movq (%r15,%rbx), %rdx
movq %rax, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0xe064
movq %rax, 0x1a0(%rsp)
movl $0x2, 0x190(%rsp)
andq $0x0, 0x1a8(%rsp)
movq %rax, (%rbp)
movq 0x3a8bd(%rip), %rax     # 0x49c90
movups 0x190(%rsp), %xmm0
movups %xmm0, (%rax,%r15,4)
movupd 0x1a0(%rsp), %xmm0
movupd %xmm0, 0x10(%rax,%r15,4)
addq $0x8, %r15
jmp 0xf36e
movl $0x80, %ebx
leaq 0x39f7b(%rip), %r15     # 0x49380
leaq 0x194(%rsp), %r12
cmpq $0x640, %rbx            # imm = 0x640
je 0xf478
movq (%r15), %rdi
movq %r12, %rsi
callq 0xe9b4
movq %rax, 0x198(%rsp)
movq (%r15), %rdi
callq 0xd786
movq %rax, 0x1a0(%rsp)
movl $0x1, 0x190(%rsp)
movq %r15, 0x1a8(%rsp)
movq 0x3a83d(%rip), %rax     # 0x49c90
movups 0x190(%rsp), %xmm0
movups %xmm0, (%rax,%rbx)
movupd 0x1a0(%rsp), %xmm0
movupd %xmm0, 0x10(%rax,%rbx)
addq $0x20, %rbx
addq $0x28, %r15
jmp 0xf40d
movq 0x10(%rsp), %rax
leal -0x1(%rax), %r13d
movq 0x10(%rsp), %r15
movslq %r14d, %r12
subl %r14d, %r15d
jle 0xf8b7
movq 0x8(%rsp), %rax
movq (%rax,%r12,8), %rbp
movzbl (%rbp), %ebx
movl %ebx, %eax
addl $-0x2d, %eax
jne 0xf4b3
movzbl 0x1(%rbp), %eax
addl $-0x68, %eax
jne 0xf4b3
movzbl 0x2(%rbp), %eax
testl %eax, %eax
jne 0xf4e9
cmpl %r13d, %r14d
je 0xf4e9
movq 0x3a6c5(%rip), %rdi     # 0x49b88
callq 0xd7f4
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xd786
movq %rax, 0x3a6a4(%rip)     # 0x49b88
jmp 0xf878
testl %eax, %eax
jne 0xf4f6
cmpl %r13d, %r14d
je 0xff3d
movq %rbp, %rdi
leaq 0x26a87(%rip), %rsi     # 0x35f87
callq 0xc330
testl %eax, %eax
je 0xff3d
cmpb $0x2d, %bl
jne 0xf650
movzbl 0x1(%rbp), %eax
leal -0x70(%rax), %ecx
cmpl $0x8, %ecx
ja 0xf565
leaq 0x25f9b(%rip), %rdx     # 0x354c4
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
cmpb $0x0, 0x2(%rbp)
jne 0xf650
cmpl %r13d, %r14d
je 0xf650
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xc580
movl %eax, 0x3a630(%rip)     # 0x49b90
jmp 0xf878
cmpl $0x61, %eax
je 0xf629
cmpl $0x69, %eax
jne 0xf650
cmpb $0x0, 0x2(%rbp)
jne 0xf650
cmpl %r13d, %r14d
je 0xf650
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xc130
mulsd 0x25ef1(%rip), %xmm0    # 0x35498
cvttsd2si %xmm0, %rax
movq %rax, 0x3a5f5(%rip)     # 0x49ba8
jmp 0xf878
cmpb $0x0, 0x2(%rbp)
jne 0xf650
movl $0x1, 0x3a610(%rip)     # 0x49bdc
jmp 0xf878
cmpb $0x0, 0x2(%rbp)
jne 0xf650
cmpl %r13d, %r14d
je 0xf650
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
xorl %esi, %esi
pushq $0xa
popq %rdx
callq 0xc350
movq %rax, 0x3a5a3(%rip)     # 0x49ba0
jmp 0xf878
cmpb $0x0, 0x2(%rbp)
jne 0xf650
cmpl %r13d, %r14d
je 0xf650
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rax
movq %rax, 0x3a574(%rip)     # 0x49b98
jmp 0xf878
cmpb $0x0, 0x2(%rbp)
jne 0xf650
cmpl %r13d, %r14d
je 0xf650
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rax
movq %rax, 0x3a595(%rip)     # 0x49be0
jmp 0xf878
movq %rbp, %rdi
leaq 0x26934(%rip), %rsi     # 0x35f8e
callq 0xc330
testl %eax, %eax
je 0xf7b9
movq %rbp, %rdi
leaq 0x26923(%rip), %rsi     # 0x35f94
callq 0xc330
testl %eax, %eax
je 0xf7c8
movq %rbp, %rdi
leaq 0x26915(%rip), %rsi     # 0x35f9d
callq 0xc330
testl %eax, %eax
je 0xf7d4
movq %rbp, %rdi
leaq 0x26904(%rip), %rsi     # 0x35fa3
callq 0xc330
testl %eax, %eax
je 0xf7e3
movq %rbp, %rdi
leaq 0x268f7(%rip), %rsi     # 0x35fad
callq 0xc330
testl %eax, %eax
je 0xf7f2
movq %rbp, %rdi
leaq 0x268f2(%rip), %rsi     # 0x35fbf
callq 0xc330
testl %eax, %eax
je 0xf805
cmpl %r13d, %r14d
sete 0x18(%rsp)
movq %rbp, %rdi
leaq 0x268da(%rip), %rsi     # 0x35fc6
callq 0xc330
testl %eax, %eax
setne %al
orb 0x18(%rsp), %al
je 0xf811
movq %rbp, %rdi
leaq 0x268d0(%rip), %rsi     # 0x35fda
callq 0xc330
testl %eax, %eax
je 0xf838
cmpl %r13d, %r14d
sete 0x18(%rsp)
movq %rbp, %rdi
leaq 0x268b8(%rip), %rsi     # 0x35fe1
callq 0xc330
testl %eax, %eax
setne %al
orb 0x18(%rsp), %al
je 0xf844
cmpl %r13d, %r14d
sete 0x18(%rsp)
movq %rbp, %rdi
leaq 0x268a1(%rip), %rsi     # 0x35ff0
callq 0xc330
testl %eax, %eax
setne %al
orb 0x18(%rsp), %al
je 0xf861
cmpb $0x2d, %bl
jne 0xf897
movzbl 0x1(%rbp), %eax
cmpl $0x64, %eax
jne 0xf888
cmpb $0x0, 0x2(%rbp)
jne 0xf897
cmpl %r13d, %r14d
je 0xf897
movq 0x3a45d(%rip), %rdi     # 0x49bf0
callq 0xd7f4
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xd786
movq %rax, 0x3a43c(%rip)     # 0x49bf0
jmp 0xf878
movl $0x1, 0x3a425(%rip)     # 0x49be8
jmp 0xf878
andl $0x0, 0x3a419(%rip)     # 0x49be8
jmp 0xf878
movl $0x2, 0x3a40a(%rip)     # 0x49be8
jmp 0xf878
movl $0x1, 0x3a3d3(%rip)     # 0x49bc0
jmp 0xf878
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x3a3bd(%rip)     # 0x49bc0
jmp 0xf878
movl $0x1, 0x3a3c1(%rip)     # 0x49bd0
jmp 0xf878
movl $0x1, 0x3a3b9(%rip)     # 0x49bd4
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xc580
movl %eax, 0x3a3a2(%rip)     # 0x49bd8
jmp 0xf878
movl $0x1, 0x3a386(%rip)     # 0x49bc8
jmp 0xf878
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0xc580
movl %eax, 0x3a36d(%rip)     # 0x49bcc
jmp 0xf878
movslq %r14d, %rax
incl %r14d
movq 0x8(%rsp), %rcx
movq 0x8(%rcx,%rax,8), %rax
movq %rax, 0x3a400(%rip)     # 0x49c78
incl %r14d
jmp 0xf481
pushq $0x1
popq %rax
jmp 0xf324
cmpl $0x76, %eax
jne 0xf897
cmpb $0x0, 0x2(%rbp)
je 0x107fb
leaq 0x26759(%rip), %rsi     # 0x35ff7
movq %rbp, %rdi
callq 0xc330
testl %eax, %eax
je 0x107fb
cmpb $0x2d, %bl
je 0x10821
pushq $0xd
popq %rdi
pushq $0x1
popq %rsi
callq 0xc340
cmpl $0x0, 0x3a2f7(%rip)     # 0x49bc0
jne 0xff68
cmpl $0x0, 0x3a2f2(%rip)     # 0x49bc8
jne 0xfb38
cmpl $0x0, 0x3a2ed(%rip)     # 0x49bd0
jne 0x100e0
cmpl $0x0, 0x3a2e4(%rip)     # 0x49bd4
jne 0x103bc
movq 0x3a37b(%rip), %rbx     # 0x49c78
xorl %edi, %edi
callq 0x10837
cmpl %r14d, 0x10(%rsp)
jne 0xf914
testq %rbx, %rbx
je 0x10486
testl %eax, %eax
jne 0xff2b
movq 0x8(%rsp), %rax
leaq (%rax,%r12,8), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x3a346(%rip)     # 0x49c78
je 0xfa64
callq 0xd778
movq %rax, %r12
movq 0x3a331(%rip), %rdi     # 0x49c78
leaq 0x25b1b(%rip), %rsi     # 0x35469
callq 0xc380
testq %rax, %rax
je 0x10503
movq %rax, %rbx
leaq 0x190(%rsp), %r14
pushq $0x1
popq %r13
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rcx
callq 0xc100
testq %rax, %rax
je 0xf996
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xdd84
movq %rax, %r12
jmp 0xf96b
movq %rbx, %rdi
callq 0xc1a0
leal 0x3(%r15), %eax
movl %eax, 0x18(%rsp)
movslq %r15d, %rbx
leaq 0x18(,%rbx,8), %rdi
callq 0x116d1
movq %rax, %r14
leaq 0x2748e(%rip), %rdi     # 0x36e4e
callq 0xd786
movq %rax, (%r14)
xorl %r13d, %r13d
testl %ebx, %ebx
cmovlel %r13d, %r15d
movq %r14, 0x10(%rsp)
movq %r12, 0x8(%r14)
xorl %ebx, %ebx
xorl %ebp, %ebp
cmpq %r13, %r15
je 0xfa32
movq 0x8(%rsp), %rax
movq (%rax,%r13,8), %rdi
testl %ebx, %ebx
jne 0xf9fb
cmpb $0x2c, (%rdi)
jne 0xf9fb
cmpb $0x0, 0x1(%rdi)
je 0xfa2c
xorl %r14d, %r14d
xorl %r12d, %r12d
testl %ebx, %ebx
sete %r14b
setne %r12b
callq 0xd786
movl %r13d, %ecx
subl %ebx, %ecx
addl $0x3, %ecx
movq 0x10(%rsp), %rdx
movq %rax, (%rdx,%rcx,8)
addl %r14d, %ebp
incq %r13
movl %r12d, %ebx
jmp 0xf9de
pushq $0x1
popq %r12
jmp 0xfa24
callq 0xd778
leaq 0x256bb(%rip), %rsi     # 0x350f9
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0xe064
movq 0x10(%rsp), %rsi
movq %rax, 0x10(%rsi)
movl 0x18(%rsp), %edi
subl %ebx, %edi
movl 0x3a141(%rip), %edx     # 0x49ba0
jmp 0xfb21
movslq %r15d, %r13
leaq (,%r13,8), %rdi
callq 0x116d1
movq %rax, %rbx
xorl %r14d, %r14d
testl %r15d, %r15d
movl $0x0, %r12d
cmovgl %r15d, %r12d
cmpq %r14, %r12
je 0xfaa3
movq 0x8(%rsp), %rax
movq (%rax,%r14,8), %rdi
callq 0xd786
movq %rax, (%rbx,%r14,8)
incq %r14
jmp 0xfa87
cmpl $0x0, 0x3a132(%rip)     # 0x49bdc
je 0xfb15
incl %r15d
leaq 0x8(,%r13,8), %rsi
movq %rbx, %rdi
callq 0x1178b
movq %rax, %rbx
callq 0xd778
movq %rax, %r12
movq 0x394f7(%rip), %rbp     # 0x48fc8
leaq 0x190(%rsp), %r14
movq (%rbp), %rdi
callq 0xc3c0
movl $0x400, %edx            # imm = 0x400
movl %eax, %edi
movq %r14, %rsi
callq 0xc2c0
testl %eax, %eax
je 0xfb11
cmpl $-0x1, %eax
je 0xff5a
movslq %eax, %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0xdd84
movq %rax, %r12
jmp 0xfad9
movq %r12, (%rbx,%r13,8)
movl 0x3a085(%rip), %edx     # 0x49ba0
movl %r15d, %edi
movq %rbx, %rsi
callq 0x10cac
addq $0x8198, %rsp           # imm = 0x8198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x10837
cmpl $-0x1, %eax
je 0xff2b
movq 0x3a149(%rip), %rax     # 0x49c98
movl 0x84(%rax), %ebp
callq 0x1244a
movq %rax, %rbx
xorl %edi, %edi
callq 0xc3b0
movq %rax, 0x10(%rsp)
xorl %edi, %edi
callq 0xc3b0
movl %eax, %edi
callq 0xc2d0
leaq 0x90(%rsp), %rdi
movl %ebp, 0x8(%rsp)
movl %ebp, %esi
callq 0xc8e8
cmpl $-0x1, %eax
je 0x104e5
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
xorl %ebp, %ebp
xorl %r15d, %r15d
movq $0x0, 0x28(%rsp)
movq %rbx, 0x38(%rsp)
testl %ebp, %ebp
jne 0xff33
testl %r12d, %r12d
sete %al
testq %r13, %r13
setne %cl
orb %al, %cl
movzbl %cl, %eax
leal 0x1(,%rax,2), %esi
movl $0x3e8, %edx            # imm = 0x3E8
movl 0x8(%rsp), %edi
callq 0x12325
xorl %ebp, %ebp
testb $0x1, %al
je 0xfd03
movl %eax, 0x24(%rsp)
leaq 0x190(%rsp), %rbp
movl $0x4000, %edx           # imm = 0x4000
movl 0x8(%rsp), %edi
movq %rbp, %rsi
callq 0xc2c0
cmpq $-0x1, %rax
je 0xfc33
testq %rax, %rax
jle 0xfc48
movq %rbx, %rdi
leaq 0x190(%rsp), %rbp
movq %rbp, %rsi
movq %rax, %rdx
callq 0x124e3
xorl %edi, %edi
callq 0xc3b0
movq %rax, 0x10(%rsp)
jmp 0xfbf3
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0xfc48
cmpl $0xb, %edi
jne 0xff42
movl $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x12646
cmpl $-0x1, %eax
je 0xfecb
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0xfcfb
movl (%rax), %ecx
cmpl $0x6, %ecx
je 0xfcc1
testl %r12d, %r12d
sete %dl
cmpl $0x1, %ecx
setne %cl
orb %dl, %cl
jne 0xfce2
cmpl $0x14, 0x10(%rax)
jne 0xfce2
movq 0x18(%rax), %rdi
leaq 0x40(%rsp), %rsi
pushq $0x14
popq %rdx
callq 0xc440
testl %eax, %eax
jne 0xfce2
leaq 0x271bf(%rip), %rdi     # 0x36e6f
callq 0xc0e0
decq %r15
pushq $0x1
popq %rax
movl %eax, 0x18(%rsp)
jmp 0xfce2
movq 0x39330(%rip), %rcx     # 0x48ff8
movq (%rcx), %rdi
movq 0x18(%rax), %rdx
leaq 0x27117(%rip), %rsi     # 0x36ded
xorl %eax, %eax
callq 0xc360
incq 0x28(%rsp)
incq %r15
movq 0x30(%rsp), %rdi
callq 0x123f0
cmpq $0x0, 0x30(%rsp)
jne 0xfc55
movl 0x18(%rsp), %ebp
movl 0x24(%rsp), %eax
testb $0x2, %al
je 0xfe4c
xorl %ebx, %ebx
testq %r13, %r13
je 0xfd5b
leaq (%rsp,%r14), %rsi
addq $0x4190, %rsi           # imm = 0x4190
movl 0x8(%rsp), %edi
movq %r13, %rdx
callq 0xc170
cmpq $-0x1, %rax
jne 0xfd4c
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0xfd4a
movl $0x0, %eax
cmpl $0xb, %edi
je 0xfd4c
jmp 0xff08
xorl %eax, %eax
addq %rax, %r14
subq %rax, %r13
jne 0xfe4c
addq %rax, %rbx
testl %r12d, %r12d
je 0xfd68
xorl %r13d, %r13d
jmp 0xfe2f
xorl %r12d, %r12d
movl $0x4000, %edx           # imm = 0x4000
xorl %edi, %edi
leaq 0x4190(%rsp), %rsi
callq 0xc2c0
testq %rax, %rax
je 0xfd99
movq %rax, %r13
cmpq $-0x1, %rax
je 0xfee9
xorl %r14d, %r14d
jmp 0xfe2f
movups 0x2721c(%rip), %xmm0    # 0x36fbc
movups %xmm0, 0x7c(%rsp)
movaps 0x27204(%rip), %xmm0    # 0x36fb0
movaps %xmm0, 0x70(%rsp)
movapd 0x271e7(%rip), %xmm0    # 0x36fa0
movapd %xmm0, 0x60(%rsp)
xorl %r14d, %r14d
cmpq $0x14, %r14
je 0xfdd7
callq 0xc660
movb %al, 0x40(%rsp,%r14)
incq %r14
jmp 0xfdc2
movl 0x50(%rsp), %eax
leaq 0x75(%rsp), %rcx
movl %eax, 0x10(%rcx)
movaps 0x40(%rsp), %xmm0
movups %xmm0, (%rcx)
movaps 0x60(%rsp), %xmm0
movapd 0x70(%rsp), %xmm1
movaps %xmm0, 0x4190(%rsp)
movapd %xmm1, 0x41a0(%rsp)
movupd 0x7b(%rsp), %xmm0
movupd %xmm0, 0x41ab(%rsp)
leaq 0x27073(%rip), %rdi     # 0x36e90
callq 0xc0e0
xorl %r14d, %r14d
pushq $0x2b
popq %r13
pushq $0x1
popq %rax
movl %eax, %r12d
testq %r13, %r13
sete %al
testl %r12d, %r12d
setne %cl
testb %cl, %al
jne 0xfe4c
cmpq $0x20001, %rbx          # imm = 0x20001
jl 0xfd0d
testl %r12d, %r12d
movq 0x38(%rsp), %rbx
je 0xfbaf
cmpl $0x0, 0x39d6b(%rip)     # 0x49bcc
jle 0xfbaf
xorl %edi, %edi
callq 0xc3b0
subq 0x10(%rsp), %rax
movslq 0x39d52(%rip), %rdx     # 0x49bcc
cmpq %rdx, %rax
jle 0xfbaf
movq 0x3916e(%rip), %rax     # 0x48ff8
movq (%rax), %rdi
leaq 0x26b49(%rip), %rsi     # 0x369dd
xorl %eax, %eax
callq 0xc360
movq 0x28(%rsp), %r14
incq %r14
movq %rbx, %rdi
callq 0x124a2
leaq 0x26b50(%rip), %rdi     # 0x36a02
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0xc1e0
testq %r14, %r14
jne 0xff2b
xorl %edi, %edi
callq 0xc5b0
movq 0x39126(%rip), %rax     # 0x48ff8
movq (%rax), %rcx
leaq 0x26a9f(%rip), %rdi     # 0x3697b
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0xc5d0
jmp 0xff2b
movq 0x39108(%rip), %rax     # 0x48ff8
movq (%rax), %rbx
callq 0xc0a0
movl (%rax), %edi
callq 0xc610
leaq 0x26ab9(%rip), %rsi     # 0x369bf
jmp 0xff1e
movq 0x390e9(%rip), %rax     # 0x48ff8
movq (%rax), %rbx
callq 0xc610
leaq 0x26a80(%rip), %rsi     # 0x3699e
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc360
pushq $0x1
popq %rdi
callq 0xc5b0
movq 0x28(%rsp), %r14
jmp 0xfea3
callq 0x10967
movq 0x390af(%rip), %rax     # 0x48ff8
movq (%rax), %rbx
callq 0xc610
leaq 0x26a00(%rip), %rsi     # 0x36958
jmp 0xff1e
leaq 0x26ef2(%rip), %rdi     # 0x36e53
callq 0xc530
jmp 0xff2b
xorl %edi, %edi
callq 0x10837
cmpl $-0x1, %eax
je 0xff2b
movq 0x39c2d(%rip), %rcx     # 0x49ba8
movl $0x3e8, %esi            # imm = 0x3E8
movq %rcx, %rax
cqto
idivq %rsi
testq %rcx, %rcx
movl $0x3a98, %ecx           # imm = 0x3A98
cmovneq %rax, %rcx
movq %rcx, 0x18(%rsp)
callq 0x10a32
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x39ced(%rip)     # 0x49c98
je 0xff2b
xorl %r12d, %r12d
movq $0x0, 0x10(%rsp)
xorl %r14d, %r14d
xorl %r13d, %r13d
callq 0x10a32
movq %rax, %r15
movq 0x39cc6(%rip), %rdi     # 0x49c98
leaq 0x25dc5(%rip), %rsi     # 0x35d9e
xorl %eax, %eax
callq 0x13b70
testq %rax, %rax
je 0x10559
movq %rax, %rbx
callq 0x10a32
movq %rax, %rbp
subq %r15, %rbp
movq %rbx, %rdi
callq 0x123f0
leaq 0x1(%r14), %r15
testq %r14, %r14
je 0x10031
cmpq %r13, %rbp
cmovlq %rbp, %r13
cmpq %r12, %rbp
cmovgq %rbp, %r12
movq 0x10(%rsp), %r14
addq %rbp, %r14
cvtsi2sd %r14, %xmm0
cvtsi2sd %r15, %xmm1
divsd %xmm1, %xmm0
movq %r12, %rbp
jmp 0x1003c
cvtsi2sd %rbp, %xmm0
movq %rbp, %r14
movq %rbp, %r13
movq 0x8(%rsp), %rbx
leaq 0x26892(%rip), %rdi     # 0x368da
movq %r13, %rsi
movq %rbp, %rdx
movq %r15, %rcx
movb $0x1, %al
callq 0xc1e0
movq 0x38f61(%rip), %rax     # 0x48fc0
movq (%rax), %rdi
callq 0xc410
cmpl $0x0, 0x39b56(%rip)     # 0x49bc4
je 0x100c1
callq 0x10a32
subq %rbx, %rax
cmpq 0x18(%rsp), %rax
jle 0x100c1
callq 0x10a32
subq %rbx, %rax
cvtsi2ss %rax, %xmm0
divss 0x2542c(%rip), %xmm0    # 0x354c0
cvtss2sd %xmm0, %xmm0
leaq 0x26872(%rip), %rdi     # 0x36911
movb $0x1, %al
callq 0xc1e0
callq 0x10a32
movq %rax, %rbx
xorl %ebp, %ebp
movq $0x0, 0x10(%rsp)
xorl %r15d, %r15d
xorl %r13d, %r13d
jmp 0x100c6
movq %r14, 0x10(%rsp)
movq %rbx, 0x8(%rsp)
movl $0x2710, %edi           # imm = 0x2710
callq 0xc6a0
movq %rbp, %r12
movq %r15, %r14
jmp 0xffc3
xorl %edi, %edi
callq 0x10837
cmpl $-0x1, %eax
je 0xff2b
cmpq $0x0, 0x39ab0(%rip)     # 0x49ba8
jne 0x10105
movq $0xf4240, 0x39aa3(%rip) # imm = 0xF4240
leaq 0x269fd(%rip), %r14     # 0x36b09
leaq 0x190(%rsp), %r13
leaq 0x2690f(%rip), %r15     # 0x36a2a
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq 0x39b65(%rip), %rbp     # 0x49c98
cmpl $0x0, (%rbp)
jne 0x107c4
xorl %r12d, %r12d
xorl %ebx, %ebx
testq %r12, %r12
jne 0x101d6
movq 0x38e6e(%rip), %r12     # 0x48fc0
testb $0x3, (%rbp)
je 0x10198
incl %ebx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0xc1e0
movq (%r12), %rdi
callq 0xc410
movq %rbp, %rdi
callq 0x1350c
movq 0x39a0a(%rip), %rdi     # 0x49b88
movl 0x39a0c(%rip), %esi     # 0x49b90
callq 0x13561
movq %rax, %rbp
movl $0xf4240, %edi          # imm = 0xF4240
callq 0xc6a0
jmp 0x10152
movq %rbp, %rdi
leaq 0x25734(%rip), %rsi     # 0x358d6
xorl %eax, %eax
callq 0x13b70
movq %rax, %r12
movl (%rbp), %eax
testl %eax, %eax
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
je 0x1053c
testl %ebx, %ebx
jle 0x10142
pushq $0xa
popq %rdi
callq 0xc070
jmp 0x10142
movq %rbp, 0x39abb(%rip)     # 0x49c98
cmpl $0x6, (%r12)
je 0x107e3
movl 0x8(%rsp), %ebx
movl %ebx, %eax
xorl %edx, %edx
pushq $0x14
popq %rcx
divl %ecx
testl %edx, %edx
jne 0x10205
leaq 0x26cc4(%rip), %rdi     # 0x36ec4
callq 0xc0e0
incl %ebx
movl %ebx, 0x8(%rsp)
xorl %ebp, %ebp
xorl %ebx, %ebx
movq %r13, %rdi
cmpl $0x14, %ebp
je 0x10241
movq %r15, %rsi
movl %ebp, %edx
xorl %eax, %eax
callq 0xc5a0
movq 0x18(%r12), %rdi
movq %r13, %rsi
callq 0x10a67
movq %rax, %rcx
negq %rcx
jno 0x1023a
xorl %eax, %eax
addq %rax, %rbx
incl %ebp
jmp 0x1020f
leaq 0x267ec(%rip), %rbp     # 0x36a34
movq %rbp, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x267dc(%rip), %rdi     # 0x36a38
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x267cc(%rip), %rsi     # 0x36a3e
callq 0x10a67
movq %r13, %rdi
movq %rax, %rsi
callq 0xf164
leaq 0x267d4(%rip), %rbx     # 0x36a5d
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x267a8(%rip), %rsi     # 0x36a4a
callq 0x10a67
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x2679e(%rip), %rdi     # 0x36a5c
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x2678e(%rip), %rsi     # 0x36a62
callq 0x10a67
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x26770(%rip), %rsi     # 0x36a72
callq 0x10a67
movq %rax, %rbx
movq %rax, %rcx
movq 0x10(%rsp), %rax
subq %rax, %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %r13, %rdi
leaq 0x26765(%rip), %rsi     # 0x36a8b
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x2675f(%rip), %rdi     # 0x36a96
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x2674f(%rip), %rsi     # 0x36a9c
callq 0x10a67
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x2674e(%rip), %rdi     # 0x36ab7
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%r12), %rdi
leaq 0x2673f(%rip), %rsi     # 0x36abe
callq 0x10a67
testq %rax, %rax
je 0x10397
leaq 0x251e5(%rip), %rdi     # 0x35575
xorl %eax, %eax
callq 0xc1e0
pushq $0xa
popq %rdi
callq 0xc070
movq %r12, %rdi
callq 0x123f0
movl 0x397fb(%rip), %edi     # 0x49ba8
callq 0xc6a0
movq %rbx, 0x10(%rsp)
jmp 0x1012c
movslq 0x39815(%rip), %rax     # 0x49bd8
imulq $0xf4240, %rax, %r14    # imm = 0xF4240
callq 0x10a44
movq %rax, %rbx
movq %r14, 0x8(%rsp)
addq %r14, %rbx
leaq 0x723(%rip), %rsi       # 0x10b04
pushq $0x2
popq %rdi
callq 0xc340
xorl %r14d, %r14d
xorl %r15d, %r15d
callq 0x10a44
movq %rax, %rbp
callq 0xf1ef
callq 0x10a44
incq %r14
movq %rax, %r13
subq %rbp, %r13
jle 0x103ef
movq %rax, %r12
cmpq %r15, %r13
jle 0x10428
leaq 0x2670f(%rip), %rdi     # 0x36b2a
movq %r13, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %r13, %r15
cmpl $0x0, 0x39871(%rip)     # 0x49ca0
jne 0x10436
cmpq %rbx, %r12
jle 0x103ef
cvtsi2sdl 0x8(%rsp), %xmm0
cvtsi2sd %r14, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x2504d(%rip), %xmm1    # 0x354a0
mulsd %xmm0, %xmm1
leaq 0x266f4(%rip), %rdi     # 0x36b52
movq %r14, %rsi
movb $0x2, %al
callq 0xc1e0
cvtsi2sd %r15, %xmm0
divsd 0x8(%rsp), %xmm0
leaq 0x26727(%rip), %rdi     # 0x36ba1
movb $0x1, %al
callq 0xc1e0
jmp 0xfec4
movl $0x1, 0x39720(%rip)     # 0x49bb0
pushq $0x1
popq %rdi
callq 0x147e4
leaq 0x670(%rip), %rdi       # 0x10b0f
callq 0x147fd
movq 0x38b1d(%rip), %rax     # 0x48fc8
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
movl %eax, 0x8(%rsp)
testl %eax, %eax
je 0x104d7
leaq 0x2670f(%rip), %rdi     # 0x36bd8
callq 0xc050
testq %rax, %rax
jne 0x10571
movq $0x0, 0x10(%rsp)
jmp 0x105a6
movq 0x38b0c(%rip), %rax     # 0x48ff8
movq (%rax), %rdi
leaq 0x26433(%rip), %rsi     # 0x36929
leaq 0x90(%rsp), %rdx
jmp 0xff24
movq 0x38aee(%rip), %rax     # 0x48ff8
movq (%rax), %rbx
movq 0x39764(%rip), %r14     # 0x49c78
callq 0xc0a0
movl (%rax), %edi
callq 0xc610
leaq 0x2690d(%rip), %rsi     # 0x36e34
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc360
jmp 0xff2b
movq 0x38ab5(%rip), %rax     # 0x48ff8
movq (%rax), %rdi
addq $0x4, %rbp
leaq 0x265ce(%rip), %rsi     # 0x36b1f
movq %rbp, %rdx
jmp 0xff24
movq 0x38a98(%rip), %rax     # 0x48ff8
movq (%rax), %rcx
leaq 0x26364(%rip), %rdi     # 0x368ce
pushq $0xb
jmp 0xfede
callq 0xd778
movq %rax, %rbx
leaq 0x26658(%rip), %rdi     # 0x36bd8
callq 0xc050
leaq 0x26651(%rip), %rsi     # 0x36bdd
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe064
movq %rax, 0x10(%rsp)
movq %rax, %rdi
callq 0x15a04
callq 0x10c17
leaq 0x2663e(%rip), %rbx     # 0x36bf0
leaq 0x3963f(%rip), %rbp     # 0x49bf8
movl 0x8(%rsp), %r14d
movq 0x10(%rsp), %r15
cmpq $0x0, 0x396cd(%rip)     # 0x49c98
movq %rbp, %rdi
cmoveq %rbx, %rdi
callq 0x150df
testq %rax, %rax
je 0xfec4
movq %rax, %r13
cmpb $0x0, (%rax)
je 0x107b7
movq %r13, %rdi
leaq 0x190(%rsp), %rsi
callq 0xe9b4
movq %rax, %r12
testl %r14d, %r14d
je 0x1060c
movq %r13, %rdi
callq 0x15804
testq %r15, %r15
je 0x10619
movq %r15, %rdi
callq 0x159a3
testq %r12, %r12
je 0x106bf
movl 0x190(%rsp), %ebp
testl %ebp, %ebp
jle 0x107a1
movq (%r12), %rbx
movq %rbx, %rdi
leaq 0x265c1(%rip), %rsi     # 0x36c00
callq 0xc080
testl %eax, %eax
je 0xfec4
movq %rbx, %rdi
leaq 0x265af(%rip), %rsi     # 0x36c05
callq 0xc080
testl %eax, %eax
je 0xfec4
cmpl $0x1, %ebp
je 0x106d0
cmpl $0x3, %ebp
jne 0x106e7
movq %rbx, %rdi
leaq 0x26593(%rip), %rsi     # 0x36c0a
callq 0xc080
testl %eax, %eax
jne 0x106e7
movq 0x39501(%rip), %rdi     # 0x49b88
callq 0xd7f4
movq 0x8(%r12), %rdi
callq 0xd786
movq %rax, 0x394eb(%rip)     # 0x49b88
movq 0x10(%r12), %rdi
callq 0xc580
movl %eax, 0x394e3(%rip)     # 0x49b90
callq 0x10c17
pushq $0x1
popq %rdi
callq 0x10837
jmp 0x1079a
leaq 0x2689a(%rip), %rdi     # 0x36f60
callq 0xc0e0
jmp 0x107b7
movq %rbx, %rdi
leaq 0x26538(%rip), %rsi     # 0x36c12
callq 0xc080
testl %eax, %eax
je 0x10795
callq 0x10a32
movq %rax, %rbx
movq (%r12), %rdi
callq 0xc580
movl %eax, %r15d
movl 0x190(%rsp), %edi
cmpl $0x2, %edi
setge %al
testl %r15d, %r15d
setne %cl
andb %al, %cl
pushq $0x1
popq %rax
cmovel %eax, %r15d
movzbl %cl, %r14d
subl %r14d, %edi
leaq (%r12,%r14,8), %rbp
movq %rbp, %rsi
movl %r15d, %edx
callq 0x10cac
testl %eax, %eax
je 0x10757
pushq $0x1
popq %rdi
callq 0x10837
movl 0x190(%rsp), %edi
subl %r14d, %edi
movq %rbp, %rsi
movl %r15d, %edx
callq 0x10cac
testl %eax, %eax
je 0x10757
callq 0x110a1
callq 0x10a32
subq %rbx, %rax
cmpq $0x1f4, %rax            # imm = 0x1F4
movl 0x8(%rsp), %r14d
movq 0x10(%rsp), %r15
leaq 0x2647a(%rip), %rbx     # 0x36bf0
jl 0x107a1
cvtsi2sd %rax, %xmm0
divsd 0x24d23(%rip), %xmm0    # 0x354a8
leaq 0x2648c(%rip), %rdi     # 0x36c18
movb $0x1, %al
callq 0xc1e0
jmp 0x107a1
callq 0x147eb
leaq 0x2644f(%rip), %rbx     # 0x36bf0
movl 0x190(%rsp), %esi
movq %r12, %rdi
callq 0xe7ea
leaq 0x39441(%rip), %rbp     # 0x49bf8
movq %r13, %rdi
callq 0xc060
jmp 0x105c3
leaq 0x26306(%rip), %rdi     # 0x36ad1
leaq 0x26307(%rip), %rsi     # 0x36ad9
leaq 0x2630d(%rip), %rcx     # 0x36ae6
movl $0x258, %edx            # imm = 0x258
callq 0xc230
movq 0x18(%r12), %rsi
leaq 0x26230(%rip), %rdi     # 0x36a1f
xorl %eax, %eax
callq 0xc1e0
jmp 0xff2b
callq 0x1099e
movq %rax, %rbx
leaq 0x257f7(%rip), %rdi     # 0x36001
movq %rax, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %rbx, %rdi
callq 0xd7f4
jmp 0xfec4
movq 0x387d0(%rip), %rax     # 0x48ff8
movq (%rax), %rdi
leaq 0x257da(%rip), %rsi     # 0x3600c
jmp 0x10551