// File: /workspace/github_c_makefile_star2_O1/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 0x26359(%rip), %rdi     # 0x3a265
callq 0x1197e
movq %rax, 0x38c70(%rip)     # 0x4cb88
movl $0x148e, 0x38c6e(%rip)  # imm = 0x148E
xorl %r15d, %r15d
movq %r15, 0x38c6c(%rip)     # 0x4cb98
movq $0x1, 0x38c69(%rip) # 0x4cba0
movq %r15, 0x38c82(%rip)     # 0x4cbc0
movq %r15, 0x38c8b(%rip)     # 0x4cbd0
movabsq $0x1e00000000, %rax     # imm = 0x1E00000000
movq %rax, 0x38c72(%rip)     # 0x4cbc8
xorpd %xmm0, %xmm0
movupd %xmm0, 0x38c46(%rip)    # 0x4cba8
movl %r15d, 0x38c4f(%rip)    # 0x4cbb8
movl %r15d, 0x38c6c(%rip)    # 0x4cbdc
movq %r15, 0x38c69(%rip)     # 0x4cbe0
movq %r15, 0x38cfa(%rip)     # 0x4cc78
movl $0xffffffff, 0x38cf8(%rip) # imm = 0xFFFFFFFF
movq 0x38031(%rip), %rax     # 0x4bfc0
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
testl %eax, %eax
jne 0x13fb9
leaq 0x262c6(%rip), %rdi     # 0x3a26f
callq 0xc050
testq %rax, %rax
jne 0x13fb9
movl $0x1, %r15d
movl %r15d, 0x38c28(%rip)    # 0x4cbe8
leaq 0x26bd1(%rip), %rdi     # 0x3ab98
callq 0x1197e
movq %rax, 0x38c1d(%rip)     # 0x4cbf0
movb $0x1, 0x38cae(%rip)     # 0x4cc88
movl $0x640, %edi            # imm = 0x640
callq 0xc3f0
movq %rax, 0x38ca5(%rip)     # 0x4cc90
leaq 0x184(%rsp), %r15
leaq 0x36406(%rip), %r13     # 0x4a400
leaq 0x26276(%rip), %r12     # 0x3a277
xorl %ebp, %ebp
movl $0x1, 0x184(%rsp)
movl $0x8, %edi
callq 0xc3f0
movq %rax, 0x188(%rsp)
callq 0x1195b
movq (%rbp,%r13), %rdx
movq %rax, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x125ea
movq 0x188(%rsp), %rcx
movq %rax, (%rcx)
movq 0x188(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x190(%rsp)
movl $0x2, 0x180(%rsp)
movq $0x0, 0x198(%rsp)
movq 0x38c1d(%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 0x14003
movl $0x80, %r12d
leaq 0x382d7(%rip), %r13     # 0x4c380
movq (%r13), %rdi
movq %r15, %rsi
callq 0x134b8
movq %rax, 0x188(%rsp)
movq (%r13), %rdi
callq 0x1197e
movq %rax, 0x190(%rsp)
movl $0x1, 0x180(%rsp)
movq %r13, 0x198(%rsp)
movq 0x38ba8(%rip), %rax     # 0x4cc90
movups 0x180(%rsp), %xmm0
movups %xmm0, (%rax,%r12)
movupd 0x190(%rsp), %xmm0
movupd %xmm0, 0x10(%rax,%r12)
addq $0x20, %r12
addq $0x28, %r13
cmpq $0x640, %r12            # imm = 0x640
jne 0x140a9
movl $0x1, %r12d
movq (%rsp), %rbp
cmpl $0x2, %ebp
jl 0x14541
leal -0x1(%rbp), %r13d
cmpl %r13d, %r12d
sete %bl
movslq %r12d, %r15
movq (%r14,%r15,8), %rbp
movq %rbp, %rdi
leaq 0x2613f(%rip), %rsi     # 0x3a283
callq 0xc330
testl %eax, %eax
setne %cl
orb %bl, %cl
je 0x143a4
movl %r12d, %ecx
xorl %r13d, %ecx
orl %ecx, %eax
je 0x147ef
movq %rbp, %rdi
leaq 0x26118(%rip), %rsi     # 0x3a286
callq 0xc330
testl %eax, %eax
je 0x147ef
movq %rbp, %rdi
leaq 0x26108(%rip), %rsi     # 0x3a28d
callq 0xc330
testl %eax, %eax
je 0x143ca
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x260ee(%rip), %rsi     # 0x3a290
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x143d9
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x260cf(%rip), %rsi     # 0x3a293
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x143f1
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x260b0(%rip), %rsi     # 0x3a296
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x14405
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x26091(%rip), %rsi     # 0x3a299
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x14425
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x26072(%rip), %rsi     # 0x3a29c
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x1444b
movq %rbp, %rdi
leaq 0x26059(%rip), %rsi     # 0x3a29f
callq 0xc330
testl %eax, %eax
je 0x1445f
movq %rbp, %rdi
leaq 0x26048(%rip), %rsi     # 0x3a2a5
callq 0xc330
testl %eax, %eax
je 0x1446e
movq %rbp, %rdi
leaq 0x2603a(%rip), %rsi     # 0x3a2ae
callq 0xc330
testl %eax, %eax
je 0x1447d
movq %rbp, %rdi
leaq 0x26029(%rip), %rsi     # 0x3a2b4
callq 0xc330
testl %eax, %eax
je 0x1448c
movq %rbp, %rdi
leaq 0x2601c(%rip), %rsi     # 0x3a2be
callq 0xc330
testl %eax, %eax
je 0x1449b
movq %rbp, %rdi
leaq 0x26017(%rip), %rsi     # 0x3a2d0
callq 0xc330
testl %eax, %eax
je 0x144ae
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x26001(%rip), %rsi     # 0x3a2d7
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x144ba
movq %rbp, %rdi
leaq 0x25ff9(%rip), %rsi     # 0x3a2eb
callq 0xc330
testl %eax, %eax
je 0x144d9
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x25fe3(%rip), %rsi     # 0x3a2f2
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x144e5
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x25fd0(%rip), %rsi     # 0x3a301
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x144fa
cmpl %r13d, %r12d
sete %bl
movq %rbp, %rdi
leaq 0x25fb5(%rip), %rsi     # 0x3a308
callq 0xc330
testl %eax, %eax
setne %al
orb %bl, %al
je 0x1450b
movq %rbp, %rdi
leaq 0x25f9c(%rip), %rsi     # 0x3a30b
callq 0xc330
testl %eax, %eax
je 0x156d5
movq %rbp, %rdi
leaq 0x25f88(%rip), %rsi     # 0x3a30e
callq 0xc330
testl %eax, %eax
je 0x156d5
cmpb $0x2d, (%rbp)
je 0x156cd
xorl %eax, %eax
jmp 0x1452d
movq 0x387dd(%rip), %rdi     # 0x4cb88
callq 0x119ef
leal 0x1(%r15), %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0x1197e
movq %rax, 0x387c3(%rip)     # 0x4cb88
jmp 0x1452b
movl $0x1, 0x38808(%rip)     # 0x4cbdc
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x387a4(%rip)     # 0x4cb90
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x38798(%rip)     # 0x4cb98
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0xc350
movq %rax, 0x38780(%rip)     # 0x4cba0
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc130
mulsd 0x2533e(%rip), %xmm0    # 0x39778
cvttsd2si %xmm0, %rax
movq %rax, 0x38762(%rip)     # 0x4cba8
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x38786(%rip)     # 0x4cbe0
jmp 0x1452b
movl $0x1, 0x3877f(%rip)     # 0x4cbe8
jmp 0x1452b
movl $0x0, 0x38770(%rip)     # 0x4cbe8
jmp 0x1452b
movl $0x2, 0x38761(%rip)     # 0x4cbe8
jmp 0x1452b
movl $0x1, 0x3872a(%rip)     # 0x4cbc0
jmp 0x1452b
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x38714(%rip)     # 0x4cbc0
jmp 0x1452b
movl $0x1, 0x38718(%rip)     # 0x4cbd0
jmp 0x1452b
movl $0x1, 0x38710(%rip)     # 0x4cbd4
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x38701(%rip)     # 0x4cbd8
jmp 0x1452b
movl $0x1, 0x386e5(%rip)     # 0x4cbc8
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0xc580
movl %eax, 0x386d4(%rip)     # 0x4cbcc
jmp 0x1452b
incl %r12d
movq 0x8(%r14,%r15,8), %rax
movq %rax, 0x3876f(%rip)     # 0x4cc78
jmp 0x1452b
movq 0x386de(%rip), %rdi     # 0x4cbf0
callq 0x119ef
incl %r12d
movq 0x8(%r14,%r15,8), %rdi
callq 0x1197e
movq %rax, 0x386c5(%rip)     # 0x4cbf0
movb $0x1, %al
testb %al, %al
movq (%rsp), %rbp
je 0x14541
incl %r12d
cmpl %ebp, %r12d
jl 0x1412d
movl $0x1, %esi
movl $0xd, %edi
callq 0xc340
cmpl $0x0, 0x38669(%rip)     # 0x4cbc0
jne 0x147f9
cmpl $0x0, 0x38664(%rip)     # 0x4cbc8
jne 0x14b3e
cmpl $0x0, 0x3865f(%rip)     # 0x4cbd0
jne 0x14b9d
cmpl $0x0, 0x38656(%rip)     # 0x4cbd4
jne 0x14bb7
movq 0x386ed(%rip), %r15     # 0x4cc78
xorl %edi, %edi
callq 0x156fb
cmpl %r12d, %ebp
jne 0x145a0
testq %r15, %r15
je 0x14cc6
testl %eax, %eax
jne 0x14bad
subl %r12d, %ebp
movslq %r12d, %rax
leaq (%r14,%rax,8), %r13
cmpq $0x0, 0x386be(%rip)     # 0x4cc78
je 0x146e7
callq 0x1195b
movq %rax, %r15
movq 0x386a9(%rip), %rdi     # 0x4cc78
leaq 0x25cc1(%rip), %rsi     # 0x3a297
callq 0xc380
testq %rax, %rax
je 0x14d26
movq %rax, %r14
leaq 0x180(%rsp), %rdi
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %rax, %rcx
callq 0xc100
testq %rax, %rax
je 0x14639
leaq 0x180(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x12189
movq %rax, %r15
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %r12, %rdi
movq %r14, %rcx
callq 0xc100
testq %rax, %rax
jne 0x1460e
movq %r14, %rdi
callq 0xc1a0
leal 0x3(%rbp), %eax
movl %eax, 0x10(%rsp)
movslq %ebp, %rbx
leaq 0x18(,%rbx,8), %rdi
callq 0x1660d
movq %rax, %r14
leaq 0x26b03(%rip), %rdi     # 0x3b165
callq 0x1197e
movq %rax, (%r14)
movq %r14, 0x8(%rsp)
movq %r15, 0x8(%r14)
testl %ebx, %ebx
jle 0x147a3
movq %r13, %r15
movl %ebp, %eax
movq %rax, (%rsp)
xorl %r12d, %r12d
xorl %ebx, %ebx
xorl %ebp, %ebp
testl %ebp, %ebp
jne 0x1469e
movq (%r15,%r12,8), %rax
cmpb $0x2c, (%rax)
jne 0x1469e
cmpb $0x0, 0x1(%rax)
je 0x146df
xorl %r14d, %r14d
xorl %r13d, %r13d
testl %ebp, %ebp
sete %r14b
setne %r13b
movq (%r15,%r12,8), %rdi
callq 0x1197e
movl %r12d, %ecx
subl %ebp, %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movq 0x8(%rsp), %rdx
movq %rax, (%rdx,%rcx,8)
addl %r14d, %ebx
incq %r12
movl %r13d, %ebp
cmpq %r12, (%rsp)
jne 0x1468b
jmp 0x147a8
movl $0x1, %r13d
jmp 0x146ce
movq %rbp, %r15
movslq %r15d, %rbp
leaq (,%rbp,8), %rdi
callq 0x1660d
movq %rax, %r14
movq %r15, %rbx
testl %r15d, %r15d
jle 0x14721
movl %ebx, %r15d
xorl %r12d, %r12d
movq (%r13,%r12,8), %rdi
callq 0x1197e
movq %rax, (%r14,%r12,8)
incq %r12
cmpq %r12, %r15
jne 0x1470b
cmpl $0x0, 0x384b4(%rip)     # 0x4cbdc
je 0x14796
incl %ebx
leaq 0x8(,%rbp,8), %rsi
movq %r14, %rdi
callq 0x166c9
movq %rax, %r14
callq 0x1195b
movq %rax, %r12
movq 0x3787a(%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 0x1478c
cmpl $-0x1, %eax
je 0x147f4
movslq %eax, %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x12189
movq %rax, %r12
movb $0x1, %al
jmp 0x1478e
xorl %eax, %eax
testb %al, %al
jne 0x14756
movq %r12, (%r14,%rbp,8)
movl 0x38404(%rip), %edx     # 0x4cba0
movl %ebx, %edi
movq %r14, %rsi
jmp 0x147d8
xorl %r13d, %r13d
xorl %ebx, %ebx
movl 0x10(%rsp), %ebp
subl %r13d, %ebp
callq 0x1195b
leaq 0x2493e(%rip), %rsi     # 0x390f9
movq %rax, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x125ea
movq 0x8(%rsp), %rsi
movq %rax, 0x10(%rsi)
movl 0x383ca(%rip), %edx     # 0x4cba0
movl %ebp, %edi
callq 0x15acf
addq $0x8188, %rsp           # imm = 0x8188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x157a9
callq 0xc840
xorl %edi, %edi
callq 0x156fb
cmpl $-0x1, %eax
je 0x14bad
movq 0x38398(%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, 0x38431(%rip)     # 0x4cc98
je 0x14bad
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 0x38403(%rip), %rdi     # 0x4cc98
leaq 0x257fe(%rip), %rsi     # 0x3a09a
xorl %eax, %eax
callq 0x19075
testq %rax, %rax
je 0x14b1c
movq %rax, %r12
movq %r13, %rax
shrq $0x3f, %rax
sarq $0x7, %r13
addq %rax, %r13
movq %r13, 0x18(%rsp)
leaq 0x180(%rsp), %r14
movq $0x0, 0x10(%rsp)
movq $0x0, (%rsp)
movq $0x0, 0x20(%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 0x17418
leaq 0x1(%rbx), %rcx
testq %rbx, %rbx
je 0x14993
movq 0x10(%rsp), %rsi
cmpq %rsi, %rbp
cmovlq %rbp, %rsi
cmpq %r13, %rbp
cmovgq %rbp, %r13
movq 0x20(%rsp), %r12
addq %rbp, %r12
cvtsi2sd %r12, %xmm0
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
movq %r13, %rbp
jmp 0x149a1
xorps %xmm0, %xmm0
cvtsi2sd %rbp, %xmm0
movq %rbp, %r12
movq %rbp, %rsi
movq 0x18(%rsp), %rbx
leaq 0x26244(%rip), %rdi     # 0x3abf1
movq %rsi, 0x10(%rsp)
movq %rbp, %rdx
movq %rcx, (%rsp)
movb $0x1, %al
callq 0xc1e0
movq 0x375f9(%rip), %rax     # 0x4bfc0
movq (%rax), %rdi
callq 0xc410
cmpl $0x0, 0x381ee(%rip)     # 0x4cbc4
leaq 0x180(%rsp), %r15
je 0x14ac7
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 0x14ac7
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 0x24d2d(%rip), %xmm0    # 0x39790
cvtss2sd %xmm0, %xmm0
leaq 0x261ba(%rip), %rdi     # 0x3ac28
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, 0x18(%rsp)
xorl %ebp, %ebp
movq $0x0, 0x20(%rsp)
movq $0x0, (%rsp)
movq $0x0, 0x10(%rsp)
jmp 0x14acc
movq %r12, 0x20(%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 0x38199(%rip), %rdi     # 0x4cc98
leaq 0x25594(%rip), %rsi     # 0x3a09a
xorl %eax, %eax
callq 0x19075
movq %rax, %r12
movq %rbp, %r13
testq %rax, %rax
jne 0x148e7
movq 0x374d5(%rip), %rax     # 0x4bff8
movq (%rax), %rcx
leaq 0x260b8(%rip), %rdi     # 0x3abe5
movl $0xb, %esi
movl $0x1, %edx
callq 0xc5d0
jmp 0x14bad
xorl %edi, %edi
callq 0x156fb
cmpl $-0x1, %eax
je 0x14bad
movq 0x38147(%rip), %rax     # 0x4cc98
movl 0x84(%rax), %ebp
callq 0x17482
movq %rax, %rbx
xorl %edi, %edi
callq 0xc3b0
movq %rax, (%rsp)
xorl %edi, %edi
callq 0xc3b0
movl %eax, %edi
callq 0xc2d0
leaq 0x80(%rsp), %rdi
movl %ebp, %esi
callq 0x1098d
cmpl $-0x1, %eax
jne 0x15020
leaq 0x80(%rsp), %rdi
callq 0xc7b4
xorl %edi, %edi
callq 0x156fb
cmpl $-0x1, %eax
jne 0x14d2b
movl $0x1, %edi
callq 0xc5b0
movslq 0x3801a(%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 0xd37(%rip), %rsi       # 0x15927
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 0x13e81
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 0x14c00
cmpq %r13, %r12
jle 0x14c65
leaq 0x261e9(%rip), %rdi     # 0x3ae41
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %r12, %r13
cmpl $0x0, 0x38034(%rip)     # 0x4cca0
jne 0x14c73
cmpq %rbp, %r15
jle 0x14c00
xorps %xmm0, %xmm0
cvtsi2sdl (%rsp), %xmm0
cvtsi2sd %r14, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movsd 0x24aef(%rip), %xmm1    # 0x39780
mulsd %xmm0, %xmm1
leaq 0x261cd(%rip), %rdi     # 0x3ae69
movq %r14, %rsi
movb $0x2, %al
callq 0xc1e0
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
divsd (%rsp), %xmm0
leaq 0x261fe(%rip), %rdi     # 0x3aeb8
movb $0x1, %al
callq 0xc1e0
jmp 0x153b4
movl $0x1, 0x37ee0(%rip)     # 0x4cbb0
movl $0x1, %edi
callq 0x19e74
leaq 0xc51(%rip), %rdi       # 0x15932
callq 0x19e91
movq 0x372db(%rip), %rax     # 0x4bfc8
movq (%rax), %rdi
callq 0xc3c0
movl %eax, %edi
callq 0xc0f0
movl %eax, (%rsp)
testl %eax, %eax
je 0x14d18
leaq 0x261e5(%rip), %rdi     # 0x3aeef
callq 0xc050
testq %rax, %rax
jne 0x1534a
movq $0x0, 0x8(%rsp)
jmp 0x1537f
callq 0xc800
cmpq $0x0, 0x37e75(%rip)     # 0x4cba8
jne 0x14d40
movq $0xf4240, 0x37e68(%rip) # imm = 0xF4240
movq 0x37f51(%rip), %r13     # 0x4cc98
cmpl $0x0, (%r13)
jne 0x15001
leaq 0x25fe8(%rip), %r15     # 0x3ad41
leaq 0x180(%rsp), %r12
leaq 0x260b8(%rip), %r14     # 0x3ae20
movl $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
xorl %ebx, %ebx
testb $0x3, (%r13)
je 0x14dcd
movq 0x37238(%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 0x18754
movq 0x37dda(%rip), %rdi     # 0x4cb88
movl 0x37ddc(%rip), %esi     # 0x4cb90
callq 0x187ac
movq %rax, %r13
movl $0xf4240, %edi          # imm = 0xF4240
callq 0xc6a0
testb $0x3, (%r13)
jne 0x14d88
movq %r13, %rdi
leaq 0x24dfb(%rip), %rsi     # 0x39bd2
xorl %eax, %eax
callq 0x19075
movq %rax, %rbp
movl (%r13), %eax
testl %eax, %eax
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
je 0x15669
testl %ebx, %ebx
jle 0x14e05
movl $0xa, %edi
callq 0xc070
testq %rbp, %rbp
je 0x14d7a
movq %r13, 0x37e83(%rip)     # 0x4cc98
cmpl $0x6, (%rbp)
je 0x156b6
movl (%rsp), %ebx
imull $0xcccccccd, %ebx, %eax # imm = 0xCCCCCCCD
rorl $0x2, %eax
cmpl $0xccccccc, %eax        # imm = 0xCCCCCCC
ja 0x14e3e
leaq 0x263a2(%rip), %rdi     # 0x3b1db
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 0x1587c
movq %rax, %rcx
negq %rcx
jno 0x14e6e
xorl %eax, %eax
addq %rax, %rbx
incl %r13d
cmpl $0x14, %r13d
jne 0x14e48
movq %r12, %rdi
leaq 0x25ec7(%rip), %r13     # 0x3ad4b
movq %r13, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x25eb7(%rip), %rdi     # 0x3ad4f
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x25ea8(%rip), %rsi     # 0x3ad55
callq 0x1587c
movq %r12, %rdi
movq %rax, %rsi
callq 0x13df0
leaq 0x25eb0(%rip), %rbx     # 0x3ad74
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x25e85(%rip), %rsi     # 0x3ad61
callq 0x1587c
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x25e7b(%rip), %rdi     # 0x3ad73
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x25e6c(%rip), %rsi     # 0x3ad79
callq 0x1587c
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 0x25e4f(%rip), %rsi     # 0x3ad89
callq 0x1587c
movq %rax, %rbx
movq %rax, %rcx
movq 0x8(%rsp), %rax
subq %rax, %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %r12, %rdi
leaq 0x25e44(%rip), %rsi     # 0x3ada2
movq %rbx, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x25e3e(%rip), %rdi     # 0x3adad
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x25e2f(%rip), %rsi     # 0x3adb3
callq 0x1587c
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc5a0
leaq 0x25e2e(%rip), %rdi     # 0x3adce
movq %r12, %rsi
xorl %eax, %eax
callq 0xc1e0
movq 0x18(%rbp), %rdi
leaq 0x25e20(%rip), %rsi     # 0x3add5
callq 0x1587c
testq %rax, %rax
je 0x14fcd
leaq 0x248ab(%rip), %rdi     # 0x39871
xorl %eax, %eax
callq 0xc1e0
movl $0xa, %edi
callq 0xc070
movq %rbp, %rdi
callq 0x17418
movl 0x37bc3(%rip), %edi     # 0x4cba8
callq 0xc6a0
movq 0x37ca7(%rip), %r13     # 0x4cc98
cmpl $0x0, (%r13)
movq %rbx, 0x8(%rsp)
je 0x14d78
leaq 0x25de0(%rip), %rdi     # 0x3ade8
leaq 0x25de1(%rip), %rsi     # 0x3adf0
leaq 0x25de7(%rip), %rcx     # 0x3adfd
movl $0x258, %edx            # imm = 0x258
callq 0xc230
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %r15d, %r15d
movl $0x0, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
cmpl $0x0, 0x10(%rsp)
jne 0x1567b
testl %r15d, %r15d
sete %al
testq %r13, %r13
setne %cl
orb %al, %cl
movzbl %cl, %eax
leal 0x1(,%rax,2), %esi
movl $0x3e8, %edx            # imm = 0x3E8
movl %ebp, %edi
callq 0x17358
testb $0x1, %al
jne 0x15080
movq 0x8(%rsp), %r14
jmp 0x151a7
movl %eax, 0x20(%rsp)
movl $0x4000, %edx           # imm = 0x4000
movl %ebp, %edi
leaq 0x180(%rsp), %rsi
callq 0xc2c0
movq %rax, %r14
cmpq $-0x1, %rax
jne 0x150b6
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0x150b6
cmpl $0xb, %edi
jne 0x15676
testq %r14, %r14
jle 0x150d9
movq %rbx, %rdi
leaq 0x180(%rsp), %rsi
movq %r14, %rdx
callq 0x1752a
xorl %edi, %edi
callq 0xc3b0
movq %rax, (%rsp)
testq %r14, %r14
jg 0x15084
movq 0x8(%rsp), %r14
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
callq 0x1769a
cmpl $-0x1, %eax
je 0x15671
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x15197
movl (%rax), %ecx
cmpl $0x6, %ecx
je 0x15169
testl %r15d, %r15d
sete %dl
cmpl $0x1, %ecx
setne %cl
orb %dl, %cl
jne 0x1518a
cmpl $0x14, 0x10(%rax)
jne 0x1518a
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 0x1518a
leaq 0x2602f(%rip), %rdi     # 0x3b186
callq 0xc0e0
decq %r14
movl $0x1, 0x10(%rsp)
jmp 0x1518a
movq 0x36e88(%rip), %rcx     # 0x4bff8
movq (%rcx), %rdi
movq 0x18(%rax), %rdx
leaq 0x25f86(%rip), %rsi     # 0x3b104
xorl %eax, %eax
callq 0xc360
incq 0x18(%rsp)
incq %r14
movq 0x28(%rsp), %rdi
callq 0x17418
cmpq $0x0, 0x28(%rsp)
jne 0x150e3
movl 0x20(%rsp), %eax
movq %r14, 0x8(%rsp)
testb $0x2, %al
je 0x152f2
xorl %r14d, %r14d
testq %r13, %r13
je 0x151f2
leaq (%rsp,%r12), %rsi
addq $0x4180, %rsi           # imm = 0x4180
movl %ebp, %edi
movq %r13, %rdx
callq 0xc170
cmpq $-0x1, %rax
jne 0x151f9
callq 0xc0a0
movl (%rax), %edi
cmpl $0x4, %edi
je 0x151f7
movl $0x0, %eax
cmpl $0xb, %edi
je 0x151f9
jmp 0x156b1
xorl %r13d, %r13d
jmp 0x15208
xorl %eax, %eax
addq %rax, %r12
subq %rax, %r13
jne 0x152f2
addq %rax, %r14
testl %r15d, %r15d
jne 0x152d5
xorl %r15d, %r15d
movl $0x4000, %edx           # imm = 0x4000
xorl %edi, %edi
leaq 0x4180(%rsp), %rsi
callq 0xc2c0
testq %rax, %rax
je 0x1523f
movq %rax, %r13
cmpq $-0x1, %rax
jne 0x152d2
jmp 0x156ac
movups 0x26096(%rip), %xmm0    # 0x3b2dc
movups %xmm0, 0x6c(%rsp)
movaps 0x2607e(%rip), %xmm0    # 0x3b2d0
movaps %xmm0, 0x60(%rsp)
movapd 0x26061(%rip), %xmm0    # 0x3b2c0
movapd %xmm0, 0x50(%rsp)
xorl %r15d, %r15d
callq 0xc660
movb %al, 0x30(%rsp,%r15)
incq %r15
cmpq $0x14, %r15
jne 0x15268
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)
movupd 0x6b(%rsp), %xmm0
movupd %xmm0, 0x419b(%rsp)
leaq 0x25ee6(%rip), %rdi     # 0x3b1a7
callq 0xc0e0
movl $0x1, %r15d
movl $0x2b, %r13d
xorl %r12d, %r12d
testq %r13, %r13
sete %al
testl %r15d, %r15d
setne %cl
testb %cl, %al
jne 0x152f2
cmpq $0x20001, %r14          # imm = 0x20001
jl 0x151b7
movb $0x1, %r14b
testl %r15d, %r15d
je 0x1531a
cmpl $0x0, 0x378cb(%rip)     # 0x4cbcc
jle 0x1531a
xorl %edi, %edi
callq 0xc3b0
subq (%rsp), %rax
movslq 0x378b7(%rip), %rdx     # 0x4cbcc
cmpq %rdx, %rax
jg 0x15328
testb %r14b, %r14b
jne 0x15043
jmp 0x1567b
movq 0x36cc9(%rip), %rax     # 0x4bff8
movq (%rax), %rdi
xorl %r14d, %r14d
leaq 0x259b8(%rip), %rsi     # 0x3acf4
xorl %eax, %eax
callq 0xc360
incq 0x18(%rsp)
jmp 0x1531a
callq 0x1195b
movq %rax, %rbx
leaq 0x25b96(%rip), %rdi     # 0x3aeef
callq 0xc050
leaq 0x25b8f(%rip), %rsi     # 0x3aef4
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x125ea
movq %rax, 0x8(%rsp)
movq %rax, %rdi
callq 0x1b380
callq 0x15a38
cmpq $0x0, 0x3790c(%rip)     # 0x4cc98
leaq 0x25b74(%rip), %r13     # 0x3af07
leaq 0x3785e(%rip), %rbx     # 0x4cbf8
movq %rbx, %rdi
cmoveq %r13, %rdi
callq 0x1a977
testq %rax, %rax
movl (%rsp), %r14d
movq 0x8(%rsp), %r15
jne 0x153bb
xorl %edi, %edi
callq 0xc5b0
movq %rax, %r12
cmpb $0x0, (%r12)
je 0x1561b
movq %r12, %rdi
leaq 0x4180(%rsp), %rsi
callq 0x134b8
movq %rax, %rbp
testl %r14d, %r14d
je 0x153e9
movq %r12, %rdi
callq 0x1b165
testq %r15, %r15
je 0x153f6
movq %r15, %rdi
callq 0x1b316
testq %rbp, %rbp
je 0x155af
movl 0x4180(%rsp), %ebx
testl %ebx, %ebx
jle 0x15605
movq (%rbp), %r13
movq %r13, %rdi
leaq 0x25afb(%rip), %rsi     # 0x3af17
callq 0xc080
testl %eax, %eax
je 0x153b4
movq %r13, %rdi
leaq 0x25aed(%rip), %rsi     # 0x3af1c
callq 0xc080
testl %eax, %eax
je 0x153b4
cmpl $0x1, %ebx
je 0x15462
cmpl $0x3, %ebx
jne 0x15479
movq %r13, %rdi
leaq 0x25ad1(%rip), %rsi     # 0x3af21
callq 0xc080
testl %eax, %eax
je 0x155c4
cmpl $0x1, %ebx
jne 0x15479
movq %r13, %rdi
leaq 0x25abd(%rip), %rsi     # 0x3af29
callq 0xc080
testl %eax, %eax
je 0x155bd
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 0x15acf
testl %eax, %eax
je 0x1552a
movl $0x1, %edi
callq 0x156fb
movl 0x4180(%rsp), %edi
subl %r14d, %edi
movq %rbx, %rsi
movl %r15d, %edx
callq 0x15acf
testl %eax, %eax
je 0x1552a
movq 0x37777(%rip), %rdx     # 0x4cc98
testq %rdx, %rdx
jne 0x15648
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), %r15
leaq 0x25977(%rip), %r13     # 0x3af07
jl 0x15605
cvtsi2sd %rdx, %xmm0
divsd 0x241e9(%rip), %xmm0    # 0x39788
leaq 0x25989(%rip), %rdi     # 0x3af2f
movb $0x1, %al
callq 0xc1e0
jmp 0x15605
leaq 0x25cc1(%rip), %rdi     # 0x3b277
callq 0xc0e0
jmp 0x1561b
callq 0x19e7b
jmp 0x155fe
movq 0x375bd(%rip), %rdi     # 0x4cb88
callq 0x119ef
movq 0x8(%rbp), %rdi
callq 0x1197e
movq %rax, 0x375a8(%rip)     # 0x4cb88
movq 0x10(%rbp), %rdi
callq 0xc580
movl %eax, 0x375a1(%rip)     # 0x4cb90
callq 0x15a38
movl $0x1, %edi
callq 0x156fb
leaq 0x25902(%rip), %r13     # 0x3af07
movl 0x4180(%rsp), %esi
movq %rbp, %rdi
callq 0x132b2
leaq 0x375dd(%rip), %rbx     # 0x4cbf8
movq %r12, %rdi
callq 0xc060
cmpq $0x0, 0x3766d(%rip)     # 0x4cc98
movq %rbx, %rdi
cmoveq %r13, %rdi
callq 0x1a977
movq %rax, %r12
testq %rax, %rax
jne 0x153be
jmp 0x153b4
movq 0x369a9(%rip), %rax     # 0x4bff8
movq (%rax), %rdi
addq $0x4, %rdx
leaq 0x257d9(%rip), %rsi     # 0x3ae36
xorl %eax, %eax
callq 0xc360
jmp 0x1552a
movq %r13, %rdi
callq 0xc7d8
callq 0xc704
callq 0xc729
movq %rbx, %rdi
callq 0x174e9
leaq 0x2568f(%rip), %rdi     # 0x3ad19
movq 0x18(%rsp), %rbx
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0xc1e0
testq %rbx, %rbx
jne 0x14bad
jmp 0x153b4
callq 0xc781
callq 0xc755
movq 0x18(%rbp), %rsi
leaq 0x25675(%rip), %rdi     # 0x3ad36
xorl %eax, %eax
callq 0xc1e0
jmp 0x14bad
movq %rbp, %rdi
callq 0xc6e0
callq 0x157e4
movq %rax, %rbx
leaq 0x24c34(%rip), %rdi     # 0x3a318
movq %rax, %rsi
xorl %eax, %eax
callq 0xc1e0
movq %rbx, %rdi
callq 0x119ef
jmp 0x153b4