// File: /workspace/github_c_makefile_star2_O3/erikdubbelboer[P]discnt/src/server.c
// Function: genDiscntInfoString
sds genDiscntInfoString(char *section) {
    sds info = sdsempty();
    time_t uptime = server.unixtime-server.stat_starttime;
    int j, numcommands;
    struct rusage self_ru, c_ru;
    unsigned long lol, bib;
    int allsections = 0, defsections = 0;
    int sections = 0;

    if (section == NULL) section = "default";
    allsections = strcasecmp(section,"all") == 0;
    defsections = strcasecmp(section,"default") == 0;

    getrusage(RUSAGE_SELF, &self_ru);
    getrusage(RUSAGE_CHILDREN, &c_ru);
    getClientsMaxBuffers(&lol,&bib);

    /* Server */
    if (allsections || defsections || !strcasecmp(section,"server")) {
        static int call_uname = 1;
        static struct utsname name;

        if (sections++) info = sdscat(info,"\r\n");

        if (call_uname) {
            /* Uname can be slow and is always the same output. Cache it. */
            uname(&name);
            call_uname = 0;
        }

        info = sdscatprintf(info,
            "# Server\r\n"
            "discnt_version:%s\r\n"
            "discnt_git_sha1:%s\r\n"
            "discnt_git_dirty:%d\r\n"
            "discnt_build_id:%llx\r\n"
            "os:%s %s %s\r\n"
            "arch_bits:%d\r\n"
            "multiplexing_api:%s\r\n"
            "gcc_version:%d.%d.%d\r\n"
            "process_id:%ld\r\n"
            "run_id:%s\r\n"
            "tcp_port:%d\r\n"
            "uptime_in_seconds:%jd\r\n"
            "uptime_in_days:%jd\r\n"
            "hz:%d\r\n"
            "executable:%s\r\n"
            "config_file:%s\r\n",
            DISCNT_VERSION,
            discntGitSHA1(),
            strtol(discntGitDirty(),NULL,10) > 0,
            (unsigned long long) discntBuildId(),
            name.sysname, name.release, name.machine,
            server.arch_bits,
            aeGetApiName(),
#ifdef __GNUC__
            __GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__,
#else
            0,0,0,
#endif
            (long) getpid(),
            server.runid,
            server.port,
            (intmax_t)uptime,
            (intmax_t)(uptime/(3600*24)),
            server.hz,
            server.executable ? server.executable : "",
            server.configfile ? server.configfile : "");
    }

    /* Clients */
    if (allsections || defsections || !strcasecmp(section,"clients")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
            "# Clients\r\n"
            "connected_clients:%lu\r\n"
            "client_longest_output_list:%lu\r\n"
            "client_biggest_input_buf:%lu\r\n"
            "blocked_clients:%d\r\n",
            listLength(server.clients),
            lol, bib,
            server.bpop_blocked_clients);
    }

    /* Memory */
    if (allsections || defsections || !strcasecmp(section,"memory")) {
        char hmem[64];
        char peak_hmem[64];
        size_t zmalloc_used = zmalloc_used_memory();

        /* Peak memory is updated from time to time by serverCron() so it
         * may happen that the instantaneous value is slightly bigger than
         * the peak value. This may confuse users, so we update the peak
         * if found smaller than the current memory usage. */
        if (zmalloc_used > server.stat_peak_memory)
            server.stat_peak_memory = zmalloc_used;

        bytesToHuman(hmem,zmalloc_used);
        bytesToHuman(peak_hmem,server.stat_peak_memory);
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
            "# Memory\r\n"
            "used_memory:%zu\r\n"
            "used_memory_human:%s\r\n"
            "used_memory_rss:%zu\r\n"
            "used_memory_peak:%zu\r\n"
            "used_memory_peak_human:%s\r\n"
            "mem_fragmentation_ratio:%.2f\r\n"
            "mem_allocator:%s\r\n",
            zmalloc_used,
            hmem,
            server.resident_set_size,
            server.stat_peak_memory,
            peak_hmem,
            zmalloc_get_fragmentation_ratio(server.resident_set_size),
            ZMALLOC_LIB
            );
    }

    /* Counters */
    if (allsections || defsections || !strcasecmp(section,"counters")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
            "# Counters\r\n"
            "counters:%lu\r\n"
            "hits:%lld\r\n"
            "misses:%lld\r\n",
            dictSize(server.counters),
            server.stat_hits,
            server.stat_misses);
    }

    /* Persistence */
    if (allsections || defsections || !strcasecmp(section,"persistence")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
            "# Persistence\r\n"
            "loading:%d\r\n"
            "ddb_changes_since_last_save:%lld\r\n"
            "ddb_bgsave_in_progress:%d\r\n"
            "ddb_last_save_time:%jd\r\n"
            "ddb_last_bgsave_status:%s\r\n"
            "ddb_last_bgsave_time_sec:%jd\r\n"
            "ddb_current_bgsave_time_sec:%jd\r\n",
            server.loading,
            server.dirty,
            server.ddb_child_pid != -1,
            (intmax_t)server.lastsave,
            (server.lastbgsave_status == C_OK) ? "ok" : "err",
            (intmax_t)server.ddb_save_time_last,
            (intmax_t)((server.ddb_child_pid == -1) ?
                -1 : time(NULL)-server.ddb_save_time_start));

        if (server.loading) {
            double perc;
            time_t eta, elapsed;
            off_t remaining_bytes = server.loading_total_bytes-
                                    server.loading_loaded_bytes;

            perc = ((double)server.loading_loaded_bytes /
                   server.loading_total_bytes) * 100;

            elapsed = server.unixtime-server.loading_start_time;
            if (elapsed == 0) {
                eta = 1; /* A fake 1 second figure if we don't have
                            enough info */
            } else {
                eta = (elapsed*remaining_bytes)/server.loading_loaded_bytes;
            }

            info = sdscatprintf(info,
                "loading_start_time:%jd\r\n"
                "loading_total_bytes:%llu\r\n"
                "loading_loaded_bytes:%llu\r\n"
                "loading_loaded_perc:%.2f\r\n"
                "loading_eta_seconds:%jd\r\n",
                (intmax_t) server.loading_start_time,
                (unsigned long long) server.loading_total_bytes,
                (unsigned long long) server.loading_loaded_bytes,
                perc,
                (intmax_t)eta
            );
        }
    }

    /* Stats */
    if (allsections || defsections || !strcasecmp(section,"stats")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
            "# Stats\r\n"
            "total_connections_received:%lld\r\n"
            "total_commands_processed:%lld\r\n"
            "instantaneous_ops_per_sec:%lld\r\n"
            "total_net_input_bytes:%lld\r\n"
            "total_net_output_bytes:%lld\r\n"
            "instantaneous_input_kbps:%.2f\r\n"
            "instantaneous_output_kbps:%.2f\r\n"
            "rejected_connections:%lld\r\n"
            "latest_fork_usec:%lld\r\n",
            server.stat_numconnections,
            server.stat_numcommands,
            getInstantaneousMetric(STAT_METRIC_COMMAND),
            server.stat_net_input_bytes,
            server.stat_net_output_bytes,
            (float)getInstantaneousMetric(STAT_METRIC_NET_INPUT)/1024,
            (float)getInstantaneousMetric(STAT_METRIC_NET_OUTPUT)/1024,
            server.stat_rejected_conn,
            server.stat_fork_time);
    }

    /* CPU */
    if (allsections || defsections || !strcasecmp(section,"cpu")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info,
        "# CPU\r\n"
        "used_cpu_sys:%.2f\r\n"
        "used_cpu_user:%.2f\r\n"
        "used_cpu_sys_children:%.2f\r\n"
        "used_cpu_user_children:%.2f\r\n",
        (float)self_ru.ru_stime.tv_sec+(float)self_ru.ru_stime.tv_usec/1000000,
        (float)self_ru.ru_utime.tv_sec+(float)self_ru.ru_utime.tv_usec/1000000,
        (float)c_ru.ru_stime.tv_sec+(float)c_ru.ru_stime.tv_usec/1000000,
        (float)c_ru.ru_utime.tv_sec+(float)c_ru.ru_utime.tv_usec/1000000);
    }

    /* cmdtime */
    if (allsections || !strcasecmp(section,"commandstats")) {
        if (sections++) info = sdscat(info,"\r\n");
        info = sdscatprintf(info, "# Commandstats\r\n");
        numcommands = sizeof(serverCommandTable)/sizeof(struct serverCommand);
        for (j = 0; j < numcommands; j++) {
            struct serverCommand *c = serverCommandTable+j;

            if (!c->calls) continue;
            info = sdscatprintf(info,
                "cmdstat_%s:calls=%lld,usec=%lld,usec_per_call=%.2f\r\n",
                c->name, c->calls, c->microseconds,
                (c->calls == 0) ? 0 : ((float)c->microseconds/c->calls));
        }
    }

    return info;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rdi, %r12
callq 0x1db82
movq %rax, %r14
movq 0x52fda(%rip), %r15     # 0x6f6d0
subq 0x52cfb(%rip), %r15     # 0x6f3f8
testq %r12, %r12
leaq 0x36c81(%rip), %rbx     # 0x53388
cmoveq %rbx, %r12
leaq 0x39e8b(%rip), %rsi     # 0x5659d
movq %r12, %rdi
callq 0x12090
movl %eax, 0x24(%rsp)
testl %eax, %eax
sete %bpl
movq %r12, %rdi
movq %rbx, %rsi
callq 0x12090
testl %eax, %eax
sete %bl
leaq 0xe0(%rsp), %rsi
xorl %edi, %edi
callq 0x12780
leaq 0x50(%rsp), %rsi
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x12780
leaq 0x48(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x23d72
orb %bpl, %bl
movq %r12, 0x10(%rsp)
movb %bl, 0x7(%rsp)
jne 0x1c7a7
movl %ebx, %ebp
leaq 0x36c18(%rip), %rsi     # 0x53390
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
je 0x1c7a7
leaq 0x394d1(%rip), %rsi     # 0x55c5c
movq %r12, %rdi
callq 0x12090
xorl %ebx, %ebx
testl %eax, %eax
jne 0x1c94d
movl $0x1, %ebx
jmp 0x1c918
cmpb $0x0, 0x66bd2(%rip)     # 0x83380
jne 0x1c7c3
leaq 0x66bca(%rip), %rdi     # 0x83381
callq 0x12320
movb $0x1, 0x66bbd(%rip)     # 0x83380
callq 0x212a8
movq %rax, 0x38(%rsp)
callq 0x212b0
movq %rax, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x12500
xorl %ebp, %ebp
testq %rax, %rax
setg %bpl
callq 0x212b8
movq %rax, 0x28(%rsp)
movl 0x528e6(%rip), %eax     # 0x6f0e0
movq %rax, 0x8(%rsp)
callq 0x17458
movq %rax, 0x18(%rsp)
callq 0x121f0
cltq
movq %rax, 0x30(%rsp)
movabsq $0x1845c8a0ce512957, %rcx # imm = 0x1845C8A0CE512957
movq %r15, %rax
imulq %rcx
movq %rdx, %r10
movl 0x5290d(%rip), %r12d    # 0x6f13c
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0xd, %r10
addq %rax, %r10
movl 0x52864(%rip), %r13d    # 0x6f0a8
movq 0x5284d(%rip), %r11     # 0x6f098
testq %r11, %r11
leaq 0x389c8(%rip), %rax     # 0x5521d
cmoveq %rax, %r11
movq 0x52830(%rip), %rbx     # 0x6f090
testq %rbx, %rbx
cmoveq %rax, %rbx
leaq 0x36b29(%rip), %rsi     # 0x53397
leaq 0x3789f(%rip), %rdx     # 0x54114
movq %r14, %rdi
movq 0x38(%rsp), %rcx
movl %ebp, %r8d
movq 0x28(%rsp), %r9
movl $0x0, %eax
pushq %rbx
pushq %r11
pushq %r13
pushq %r10
pushq %r15
pushq %r12
leaq 0x5284c(%rip), %r10     # 0x6f0e8
pushq %r10
pushq 0x68(%rsp)
pushq $0x1
pushq $0x2
pushq $0x4
pushq 0x70(%rsp)
pushq 0x68(%rsp)
leaq 0x66bce(%rip), %r10     # 0x83485
pushq %r10
leaq 0x66b43(%rip), %r10     # 0x83403
pushq %r10
leaq 0x66ab8(%rip), %r10     # 0x83381
pushq %r10
callq 0x1e826
addq $0x80, %rsp
movq %rax, %r14
movb 0x7(%rsp), %bpl
testb %bpl, %bpl
movq 0x10(%rsp), %r12
jne 0x1c901
leaq 0x3936c(%rip), %rsi     # 0x55c5c
movq %r12, %rdi
callq 0x12090
movl $0x1, %ebx
testl %eax, %eax
jne 0x1c94d
leaq 0x38c9f(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
movl $0x2, %ebx
movq 0x52949(%rip), %rax     # 0x6f268
movq 0x28(%rax), %rdx
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %r8
movl 0x52d84(%rip), %r9d     # 0x6f6b8
leaq 0x36b78(%rip), %rsi     # 0x534b3
movq %r14, %rdi
xorl %eax, %eax
callq 0x1e826
movq %rax, %r14
testb %bpl, %bpl
jne 0x1c964
leaq 0x376b6(%rip), %rsi     # 0x5400a
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1ca22
callq 0x1fd86
movq %rax, %r15
cmpq 0x52a9d(%rip), %rax     # 0x6f410
jbe 0x1c97c
movq %r15, 0x52a94(%rip)     # 0x6f410
leaq 0x1b0(%rsp), %rdi
movq %r15, %rsi
callq 0x1c615
movq 0x52a7d(%rip), %rsi     # 0x6f410
leaq 0x170(%rsp), %rdi
callq 0x1c615
testl %ebx, %ebx
je 0x1c9b6
leaq 0x38bfc(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
movq 0x52a73(%rip), %r12     # 0x6f430
movq 0x52a4c(%rip), %r13     # 0x6f410
movq %r12, %rdi
callq 0x1fe80
cvtss2sd %xmm0, %xmm0
leaq 0x36bf9(%rip), %r10     # 0x535d0
leaq 0x36b4a(%rip), %rsi     # 0x53528
leaq 0x1b0(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rdx
movq %r12, %r8
movq %r13, %r9
movb $0x1, %al
pushq %r10
leaq 0x178(%rsp), %r10
pushq %r10
callq 0x1e826
addq $0x10, %rsp
movq %rax, %r14
testb %bpl, %bpl
je 0x1ca1b
addl $0x2, %ebx
movq 0x10(%rsp), %r12
jmp 0x1ca3f
incl %ebx
movq 0x10(%rsp), %r12
leaq 0x36bb6(%rip), %rsi     # 0x535df
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1ca87
testl %ebx, %ebx
je 0x1cef3
incl %ebx
leaq 0x38b61(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
movq 0x52c48(%rip), %rax     # 0x6f6a0
movq 0x48(%rax), %rdx
addq 0x28(%rax), %rdx
movq 0x529e1(%rip), %rcx     # 0x6f448
movq 0x529e2(%rip), %r8      # 0x6f450
leaq 0x36b73(%rip), %rsi     # 0x535e8
movq %r14, %rdi
xorl %eax, %eax
callq 0x1e826
movq %rax, %r14
testb %bpl, %bpl
jne 0x1caa6
leaq 0x36b8d(%rip), %rsi     # 0x5361b
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1cbe0
testl %ebx, %ebx
je 0x1cee6
incl %ebx
movl %ebx, 0x8(%rsp)
leaq 0x38af4(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
cmpl $0x0, 0x52cbf(%rip)     # 0x6f784
leaq 0x36c26(%rip), %rax     # 0x536f2
leaq 0x36c22(%rip), %r13     # 0x536f5
cmoveq %rax, %r13
movl 0x528cb(%rip), %ebp     # 0x6f3a8
xorl %ebx, %ebx
cmpl $-0x1, 0x52c52(%rip)    # 0x6f738
movq 0x52c3b(%rip), %rcx     # 0x6f728
setne %bl
movq 0x52c69(%rip), %r12     # 0x6f760
movq 0x52c72(%rip), %r15     # 0x6f770
je 0x1cb1d
xorl %edi, %edi
movq %rcx, 0x18(%rsp)
callq 0x12540
movq 0x18(%rsp), %rcx
movq %rax, %r10
subq 0x52c5d(%rip), %r10     # 0x6f778
jmp 0x1cb24
movq $-0x1, %r10
subq $0x8, %rsp
leaq 0x36af8(%rip), %rsi     # 0x53627
movq %r14, %rdi
movl %ebp, %edx
movl %ebx, %r8d
movq %r12, %r9
xorl %eax, %eax
pushq %r10
pushq %r15
pushq %r13
callq 0x1e826
addq $0x20, %rsp
movq %rax, %r14
cmpl $0x0, 0x52853(%rip)     # 0x6f3a8
je 0x1cbcd
movq 0x52852(%rip), %rcx     # 0x6f3b0
movq 0x52853(%rip), %r8      # 0x6f3b8
cvtsi2sd %r8, %xmm0
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
mulsd 0x3594d(%rip), %xmm0    # 0x524c8
movq 0x52b4e(%rip), %rax     # 0x6f6d0
movq 0x52837(%rip), %r10     # 0x6f3c0
movl $0x1, %r9d
subq %r10, %rax
movq 0x10(%rsp), %r12
movb 0x7(%rsp), %bpl
movl 0x8(%rsp), %ebx
je 0x1cbb4
movq %rcx, %rdx
subq %r8, %rdx
imulq %rdx, %rax
cqto
idivq %r8
movq %rax, %r9
leaq 0x36b3e(%rip), %rsi     # 0x536f9
movq %r14, %rdi
movq %r10, %rdx
movb $0x1, %al
callq 0x1e826
movq %rax, %r14
jmp 0x1cbdb
movq 0x10(%rsp), %r12
movb 0x7(%rsp), %bpl
movl 0x8(%rsp), %ebx
testb %bpl, %bpl
jne 0x1cbff
leaq 0x36d1a(%rip), %rsi     # 0x53901
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1cd3b
testl %ebx, %ebx
je 0x1cedc
incl %ebx
leaq 0x3899f(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
movq 0x527ee(%rip), %rdx     # 0x6f408
xorpd %xmm0, %xmm0
movq 0x527db(%rip), %rcx     # 0x6f400
xorl %esi, %esi
leaq 0x5245a(%rip), %rax     # 0x6f088
movdqu 0x3e0(%rax,%rsi,8), %xmm1
paddq %xmm1, %xmm0
addq $0x2, %rsi
cmpq $0x10, %rsi
jne 0x1cc2e
pshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
paddq %xmm0, %xmm1
movq %xmm1, %rsi
movq 0x527de(%rip), %r9      # 0x6f438
pxor %xmm0, %xmm0
movq 0x527db(%rip), %r10     # 0x6f440
xorl %edi, %edi
movdqu 0x478(%rax,%rdi,8), %xmm1
paddq %xmm1, %xmm0
addq $0x2, %rdi
cmpq $0x10, %rdi
jne 0x1cc67
pshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
paddq %xmm0, %xmm1
movq %xmm1, %rdi
leaq 0xf(%rdi), %r8
testq %rdi, %rdi
cmovnsq %rdi, %r8
sarq $0x4, %r8
xorps %xmm0, %xmm0
cvtsi2ss %r8, %xmm0
mulss 0x35825(%rip), %xmm0    # 0x524d0
pxor %xmm1, %xmm1
xorl %edi, %edi
movdqu 0x510(%rax,%rdi,8), %xmm2
paddq %xmm2, %xmm1
addq $0x2, %rdi
cmpq $0x10, %rdi
jne 0x1ccb1
pshufd $0xee, %xmm1, %xmm2     # xmm2 = xmm1[2,3,2,3]
paddq %xmm1, %xmm2
movq %xmm2, %rax
leaq 0xf(%rsi), %r8
testq %rsi, %rsi
cmovnsq %rsi, %r8
sarq $0x4, %r8
leaq 0xf(%rax), %rsi
testq %rax, %rax
cmovnsq %rax, %rsi
sarq $0x4, %rsi
xorps %xmm1, %xmm1
cvtsi2ss %rsi, %xmm1
cvtss2sd %xmm0, %xmm0
mulss 0x357c8(%rip), %xmm1    # 0x524d0
cvtss2sd %xmm1, %xmm1
subq $0x8, %rsp
leaq 0x36a63(%rip), %rsi     # 0x5377a
movq %r14, %rdi
movb $0x2, %al
pushq 0x526f6(%rip)           # 0x6f418
pushq 0x52700(%rip)           # 0x6f428
pushq %r10
callq 0x1e826
addq $0x20, %rsp
movq %rax, %r14
testb %bpl, %bpl
jne 0x1cd5a
leaq 0x36b4c(%rip), %rsi     # 0x5388e
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1ce20
testl %ebx, %ebx
je 0x1ced2
incl %ebx
leaq 0x38844(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
xorps %xmm0, %xmm0
cvtsi2ssq 0xf0(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2ssq 0xf8(%rsp), %xmm1
movss 0x35744(%rip), %xmm3    # 0x524d4
divss %xmm3, %xmm1
addss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2ssq 0xe0(%rsp), %xmm1
xorps %xmm2, %xmm2
cvtsi2ssq 0xe8(%rsp), %xmm2
divss %xmm3, %xmm2
addss %xmm1, %xmm2
cvtsi2ssq 0x60(%rsp), %xmm4
xorps %xmm1, %xmm1
cvtss2sd %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtsi2ssq 0x68(%rsp), %xmm2
divss %xmm3, %xmm2
cvtsi2ssq 0x50(%rsp), %xmm5
addss %xmm4, %xmm2
xorps %xmm4, %xmm4
cvtsi2ssq 0x58(%rsp), %xmm4
cvtss2sd %xmm2, %xmm2
divss %xmm3, %xmm4
addss %xmm5, %xmm4
xorps %xmm3, %xmm3
cvtss2sd %xmm4, %xmm3
leaq 0x36a86(%rip), %rsi     # 0x53892
movq %r14, %rdi
movb $0x4, %al
callq 0x1e826
movq %rax, %r14
cmpl $0x0, 0x24(%rsp)
je 0x1ce37
leaq 0x36ad3(%rip), %rsi     # 0x538fa
movq %r12, %rdi
callq 0x12090
testl %eax, %eax
jne 0x1cebd
testl %ebx, %ebx
je 0x1ce4d
leaq 0x38765(%rip), %rsi     # 0x555a7
movq %r14, %rdi
callq 0x1e495
movq %rax, %r14
leaq 0x36ab3(%rip), %rsi     # 0x53907
movq %r14, %rdi
xorl %eax, %eax
callq 0x1e826
movq %rax, %r14
movl $0x38, %r15d
leaq 0x516b2(%rip), %r12     # 0x6e520
leaq 0x36aa3(%rip), %rbx     # 0x53918
movq (%r15,%r12), %rcx
testq %rcx, %rcx
je 0x1ceb0
movq -0x8(%r15,%r12), %r8
xorps %xmm0, %xmm0
cvtsi2ss %r8, %xmm0
xorps %xmm1, %xmm1
cvtsi2ss %rcx, %xmm1
movq -0x38(%r15,%r12), %rdx
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r14, %rdi
movq %rbx, %rsi
movb $0x1, %al
callq 0x1e826
movq %rax, %r14
addq $0x40, %r15
cmpq $0x7f8, %r15            # imm = 0x7F8
jne 0x1ce75
movq %r14, %rax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %ebx
jmp 0x1cd6e
movl $0x1, %ebx
jmp 0x1cc13
movl $0x1, 0x8(%rsp)
jmp 0x1cabe
movl $0x1, %ebx
jmp 0x1ca51