// File: /workspace/github_c_makefile_star2_O3/erikdubbelboer[P]discnt/src/config.c
// Function: loadServerConfigFromString
void loadServerConfigFromString(char *config) {
    char *err = NULL;
    int linenum = 0, totlines, i;
    sds *lines;

    lines = sdssplitlen(config,strlen(config),"\n",1,&totlines);

    for (i = 0; i < totlines; i++) {
        sds *argv;
        int argc;

        linenum = i+1;
        lines[i] = sdstrim(lines[i]," \t\r\n");

        /* Skip comments and blank lines */
        if (lines[i][0] == '#' || lines[i][0] == '\0') continue;

        /* Split into arguments */
        argv = sdssplitargs(lines[i],&argc);
        if (argv == NULL) {
            err = "Unbalanced quotes in configuration line";
            goto loaderr;
        }

        /* Skip this line if the resulting command vector is empty. */
        if (argc == 0) {
            sdsfreesplitres(argv,argc);
            continue;
        }
        sdstolower(argv[0]);

        /* Execute config directives */
        if (!strcasecmp(argv[0],"timeout") && argc == 2) {
            server.maxidletime = atoi(argv[1]);
            if (server.maxidletime < 0) {
                err = "Invalid timeout value"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"tcp-keepalive") && argc == 2) {
            server.tcpkeepalive = atoi(argv[1]);
            if (server.tcpkeepalive < 0) {
                err = "Invalid tcp-keepalive value"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"port") && argc == 2) {
            server.port = atoi(argv[1]);
            if (server.port < 0 || server.port > 65535) {
                err = "Invalid port"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"tcp-backlog") && argc == 2) {
            server.tcp_backlog = atoi(argv[1]);
            if (server.tcp_backlog < 0) {
                err = "Invalid backlog value"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"bind") && argc >= 2) {
            int j, addresses = argc-1;

            if (addresses > CONFIG_BINDADDR_MAX) {
                err = "Too many bind addresses specified"; goto loaderr;
            }
            for (j = 0; j < addresses; j++)
                server.bindaddr[j] = zstrdup(argv[j+1]);
            server.bindaddr_count = addresses;
        } else if (!strcasecmp(argv[0],"unixsocket") && argc == 2) {
            server.unixsocket = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"unixsocketperm") && argc == 2) {
            errno = 0;
            server.unixsocketperm = (mode_t)strtol(argv[1], NULL, 8);
            if (errno || server.unixsocketperm > 0777) {
                err = "Invalid socket file permissions"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"save")) {
            if (argc == 3) {
                int seconds = atoi(argv[1]);
                int changes = atoi(argv[2]);
                if (seconds < 1 || changes < 0) {
                    err = "Invalid save parameters"; goto loaderr;
                }
                appendServerSaveParams(seconds,changes);
            } else if (argc == 2 && !strcasecmp(argv[1],"")) {
                resetServerSaveParams();
            }
        } else if (!strcasecmp(argv[0],"dir") && argc == 2) {
            if (chdir(argv[1]) == -1) {
                serverLog(LL_WARNING,"Can't chdir to '%s': %s",
                    argv[1], strerror(errno));
                exit(1);
            }
        } else if (!strcasecmp(argv[0],"loglevel") && argc == 2) {
            server.verbosity = configEnumGetValue(loglevel_enum,argv[1]);
            if (server.verbosity == INT_MIN) {
                err = "Invalid log level. "
                      "Must be one of debug, verbose, notice, warning";
                goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"logfile") && argc == 2) {
            FILE *logfp;

            zfree(server.logfile);
            server.logfile = zstrdup(argv[1]);
            if (server.logfile[0] != '\0') {
                /* Test if we are able to open the file. The server will not
                 * be able to abort just for this problem later... */
                logfp = fopen(server.logfile,"a");
                if (logfp == NULL) {
                    err = sdscatprintf(sdsempty(),
                        "Can't open the log file: %s", strerror(errno));
                    goto loaderr;
                }
                fclose(logfp);
            }
        } else if (!strcasecmp(argv[0],"syslog-enabled") && argc == 2) {
            if ((server.syslog_enabled = yesnotoi(argv[1])) == -1) {
                err = "argument must be 'yes' or 'no'"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"syslog-ident") && argc == 2) {
            if (server.syslog_ident) zfree(server.syslog_ident);
            server.syslog_ident = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"syslog-facility") && argc == 2) {
            server.syslog_facility =
                configEnumGetValue(syslog_facility_enum,argv[1]);
            if (server.syslog_facility == INT_MIN) {
                err = "Invalid log facility. Must be one of USER or between LOCAL0-LOCAL7";
                goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"include") && argc == 2) {
            loadServerConfig(argv[1],NULL);
        } else if (!strcasecmp(argv[0],"maxclients") && argc == 2) {
            server.maxclients = atoi(argv[1]);
            if (server.maxclients < 1) {
                err = "Invalid max clients limit"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"maxmemory") && argc == 2) {
            server.maxmemory = memtoll(argv[1],NULL);
        } else if (!strcasecmp(argv[0],"default-precision") && argc == 2) {
            server.default_precision = strtod(argv[1], NULL);
            if (server.default_precision < 0) {
                err = "Invalid default precision"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"history-size") && argc == 2) {
            server.history_size = atoi(argv[1]);
            if (server.history_size < 1) {
                err = "Invalid history"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"ddbchecksum") && argc == 2) {
            if ((server.ddb_checksum = yesnotoi(argv[1])) == -1) {
                err = "argument must be 'yes' or 'no'"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"activerehashing") && argc == 2) {
            if ((server.activerehashing = yesnotoi(argv[1])) == -1) {
                err = "argument must be 'yes' or 'no'"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"daemonize") && argc == 2) {
            if ((server.daemonize = yesnotoi(argv[1])) == -1) {
                err = "argument must be 'yes' or 'no'"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"hz") && argc == 2) {
            server.hz = atoi(argv[1]);
            if (server.hz < CONFIG_MIN_HZ) server.hz = CONFIG_MIN_HZ;
            if (server.hz > CONFIG_MAX_HZ) server.hz = CONFIG_MAX_HZ;
        } else if (!strcasecmp(argv[0],"requirepass") && argc == 2) {
            if (strlen(argv[1]) > CONFIG_AUTHPASS_MAX_LEN) {
                err = "Password is longer than CONFIG_AUTHPASS_MAX_LEN";
                goto loaderr;
            }
            server.requirepass = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"pidfile") && argc == 2) {
            zfree(server.pidfile);
            server.pidfile = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"dbfilename") && argc == 2) {
            if (!pathIsBaseName(argv[1])) {
                err = "dbfilename can't be a path, just a filename";
                goto loaderr;
            }
            zfree(server.ddb_filename);
            server.ddb_filename = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"rename-command") && argc == 3) {
            struct serverCommand *cmd = lookupCommand(argv[1]);
            int retval;

            if (!cmd) {
                err = "No such command in rename-command";
                goto loaderr;
            }

            /* If the target command name is the empty string we just
             * remove it from the command table. */
            retval = dictDelete(server.commands, argv[1]);
            serverAssert(retval == DICT_OK);

            /* Otherwise we re-add the command under a different name. */
            if (sdslen(argv[2]) != 0) {
                sds copy = sdsdup(argv[2]);

                retval = dictAdd(server.commands, copy, cmd);
                if (retval != DICT_OK) {
                    sdsfree(copy);
                    err = "Target command name already exists"; goto loaderr;
                }
            }
        } else if (!strcasecmp(argv[0],"cluster-config-file") && argc == 2) {
            zfree(server.cluster_configfile);
            server.cluster_configfile = zstrdup(argv[1]);
        } else if (!strcasecmp(argv[0],"cluster-node-timeout") && argc == 2) {
            server.cluster_node_timeout = strtoll(argv[1],NULL,10);
            if (server.cluster_node_timeout <= 0) {
                err = "cluster node timeout must be 1 or greater"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"latency-monitor-threshold") &&
                   argc == 2)
        {
            server.latency_monitor_threshold = strtoll(argv[1],NULL,10);
            if (server.latency_monitor_threshold < 0) {
                err = "The latency threshold can't be negative";
                goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"client-output-buffer-limit") &&
                   argc == 5)
        {
            int class = getClientTypeByName(argv[1]);
            unsigned long long hard, soft;
            int soft_seconds;

            if (class == -1) {
                err = "Unrecognized client limit class";
                goto loaderr;
            }
            hard = memtoll(argv[2],NULL);
            soft = memtoll(argv[3],NULL);
            soft_seconds = atoi(argv[4]);
            if (soft_seconds < 0) {
                err = "Negative number of seconds in soft limit is invalid";
                goto loaderr;
            }
            server.client_obuf_limits[class].hard_limit_bytes = hard;
            server.client_obuf_limits[class].soft_limit_bytes = soft;
            server.client_obuf_limits[class].soft_limit_seconds = soft_seconds;
        } else if (!strcasecmp(argv[0],"stop-writes-on-bgsave-error") &&
                   argc == 2) {
            if ((server.stop_writes_on_bgsave_err = yesnotoi(argv[1])) == -1) {
                err = "argument must be 'yes' or 'no'"; goto loaderr;
            }
        } else if (!strcasecmp(argv[0],"supervised") && argc == 2) {
            server.supervised_mode =
                configEnumGetValue(supervised_mode_enum,argv[1]);

            if (server.supervised_mode == INT_MIN) {
                err = "Invalid option for 'supervised'. "
                    "Allowed values: 'upstart', 'systemd', 'auto', or 'no'";
                goto loaderr;
            }
        } else {
            err = "Bad directive or wrong number of arguments"; goto loaderr;
        }
        sdsfreesplitres(argv,argc);
    }

    sdsfreesplitres(lines,totlines);
    return;

loaderr:
    fprintf(stderr, "\n*** FATAL CONFIG FILE ERROR ***\n");
    fprintf(stderr, "Reading the configuration file, at line %d\n", linenum);
    fprintf(stderr, ">>> '%s'\n", lines[i]);
    fprintf(stderr, "%s\n", err);
    exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x12250
leaq 0x2d84b(%rip), %rdx     # 0x53dd8
leaq 0x1c(%rsp), %r14
movq %rbx, %rdi
movl %eax, %esi
movl $0x1, %ecx
movq %r14, %r8
callq 0x1f331
movq %rax, %rbx
movl (%r14), %esi
testl %esi, %esi
jle 0x26f71
xorl %ebp, %ebp
leaq 0x2efea(%rip), %r12     # 0x555a5
leaq 0x2efe8(%rip), %rax     # 0x555aa
movq %rax, 0x8(%rsp)
movq %rbp, %r14
incq %rbp
movq (%rbx,%r14,8), %rdi
movq %r12, %rsi
callq 0x1ef9d
movq %rax, (%rbx,%r14,8)
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x26ab9
cmpl $0x23, %ecx
je 0x26ab9
movq %rax, %rdi
leaq 0x18(%rsp), %rsi
callq 0x1f703
testq %rax, %rax
je 0x26f88
movq %rax, %r15
cmpl $0x0, 0x18(%rsp)
je 0x2665e
movq (%r15), %rdi
callq 0x1f1a3
movq (%r15), %r13
movq %r13, %rdi
leaq 0x2f347(%rip), %rsi     # 0x5596d
callq 0x12090
movl 0x18(%rsp), %ecx
movl %ecx, %r12d
xorl $0x2, %r12d
orl %r12d, %eax
jne 0x26665
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x48a3d(%rip), %rcx     # 0x6f088
movl %eax, 0x59c(%rcx)
testl %eax, %eax
jns 0x26aa6
jmp 0x26fa0
xorl %esi, %esi
jmp 0x26ab1
movl %ecx, 0x14(%rsp)
movq %r13, %rdi
leaq 0x2ef75(%rip), %rsi     # 0x555e8
callq 0x12090
orl %r12d, %eax
jne 0x266a0
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x489fb(%rip), %rcx     # 0x6f088
movl %eax, 0x5a0(%rcx)
testl %eax, %eax
jns 0x26aa6
jmp 0x26fad
movq %r13, %rdi
leaq 0x2ef70(%rip), %rsi     # 0x5561a
callq 0x12090
orl %r12d, %eax
jne 0x266da
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x489c4(%rip), %rcx     # 0x6f088
movl %eax, 0xb4(%rcx)
cmpl $0xffff, %eax           # imm = 0xFFFF
jbe 0x26aa6
jmp 0x26fba
movq %r13, %rdi
leaq 0x2ef3b(%rip), %rsi     # 0x5561f
callq 0x12090
orl %r12d, %eax
jne 0x26711
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x4898a(%rip), %rcx     # 0x6f088
movl %eax, 0xb8(%rcx)
testl %eax, %eax
jns 0x26aa6
jmp 0x26fc7
movq %r13, %rdi
leaq 0x2ef26(%rip), %rsi     # 0x55641
callq 0x12090
testl %eax, %eax
sete %al
movl 0x14(%rsp), %edx
cmpl $0x2, %edx
setge %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x26788
movq %rbx, (%rsp)
cmpl $0x11, %edx
ja 0x26fd4
decl %edx
movl %edx, 0x14(%rsp)
movl %edx, %r14d
xorl %r12d, %r12d
leaq 0x48932(%rip), %rbx     # 0x6f088
leaq 0x1(%r12), %r13
movq 0x8(%r15,%r12,8), %rdi
callq 0x1fd59
movq %rax, 0xc0(%rbx,%r12,8)
movq %r13, %r12
cmpq %r13, %r14
jne 0x26756
movl 0x14(%rsp), %eax
movl %eax, 0x140(%rbx)
movq (%rsp), %rbx
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2b9a9(%rip), %rsi     # 0x5213b
callq 0x12090
orl %r12d, %eax
jne 0x267b8
movq 0x8(%r15), %rdi
callq 0x1fd59
leaq 0x488dc(%rip), %rcx     # 0x6f088
movq %rax, 0x148(%rcx)
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2eea6(%rip), %rsi     # 0x55668
callq 0x12090
orl %r12d, %eax
jne 0x26812
callq 0x120d0
movq %rax, %r13
movl $0x0, (%rax)
movq 0x8(%r15), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x12500
leaq 0x48897(%rip), %rcx     # 0x6f088
movl %eax, 0x150(%rcx)
cmpl $0x0, (%r13)
jne 0x26ff4
cmpl $0x1ff, %eax            # imm = 0x1FF
jbe 0x26aa6
jmp 0x26ff4
movq %r13, %rdi
leaq 0x32361(%rip), %rsi     # 0x58b7d
callq 0x12090
testl %eax, %eax
je 0x26850
movq %r13, %rdi
leaq 0x2ee80(%rip), %rsi     # 0x556af
callq 0x12090
orl %r12d, %eax
jne 0x2688e
movq 0x8(%r15), %rdi
callq 0x12270
cmpl $-0x1, %eax
jne 0x26aa6
jmp 0x27001
movl 0x14(%rsp), %eax
cmpl $0x3, %eax
jne 0x268d0
movq 0x8(%r15), %rdi
callq 0x12820
movl %eax, %r13d
movq 0x10(%r15), %rdi
callq 0x12820
testl %r13d, %r13d
jle 0x27034
testl %eax, %eax
js 0x27034
movl %r13d, %edi
movl %eax, %esi
callq 0x264ef
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2ee33(%rip), %rsi     # 0x556cb
callq 0x12090
orl %r12d, %eax
jne 0x26927
movq 0x8(%r15), %rsi
leaq 0x485ff(%rip), %rdi     # 0x6eeb0
callq 0x26418
leaq 0x487cb(%rip), %rcx     # 0x6f088
movl %eax, 0x598(%rcx)
negl %eax
jno 0x26aa6
jmp 0x27041
cmpl $0x2, %eax
jne 0x26aa6
movq 0x8(%r15), %rdi
leaq 0x2e939(%rip), %rsi     # 0x5521d
callq 0x12090
testl %eax, %eax
jne 0x26aa6
leaq 0x48790(%rip), %rax     # 0x6f088
movq %rbx, %r14
movq %rax, %rbx
movq 0x6b8(%rax), %rdi
callq 0x1fd17
movq $0x0, 0x6b8(%rbx)
movl $0x0, 0x6c0(%rbx)
movq %r14, %rbx
jmp 0x26aa6
movq %rbx, (%rsp)
movq %r13, %rdi
leaq 0x2ede1(%rip), %rsi     # 0x55716
callq 0x12090
orl %r12d, %eax
jne 0x26994
leaq 0x48742(%rip), %rbx     # 0x6f088
movq 0x5f0(%rbx), %rdi
callq 0x1fd17
movq 0x8(%r15), %rdi
callq 0x1fd59
movq %rax, 0x5f0(%rbx)
cmpb $0x0, (%rax)
movq (%rsp), %rbx
je 0x26aa6
movq %rax, %rdi
leaq 0x2deca(%rip), %rsi     # 0x54843
callq 0x124f0
testq %rax, %rax
je 0x26f8e
movq %rax, %rdi
callq 0x12220
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2ed9c(%rip), %rsi     # 0x5573a
callq 0x12090
orl %r12d, %eax
jne 0x269d0
movq 0x8(%r15), %rdi
callq 0x264bb
leaq 0x486d0(%rip), %rcx     # 0x6f088
movl %eax, 0x5f8(%rcx)
cmpl $-0x1, %eax
movq (%rsp), %rbx
jne 0x26aa6
jmp 0x2704e
movq %r13, %rdi
leaq 0x2ed8e(%rip), %rsi     # 0x55768
callq 0x12090
orl %r12d, %eax
jne 0x26a15
leaq 0x4869d(%rip), %r14     # 0x6f088
movq 0x600(%r14), %rdi
testq %rdi, %rdi
movq (%rsp), %rbx
je 0x26a00
callq 0x1fd17
movq 0x8(%r15), %rdi
callq 0x1fd59
movq %rax, 0x600(%r14)
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2ed56(%rip), %rsi     # 0x55775
callq 0x12090
orl %r12d, %eax
movq (%rsp), %rbx
jne 0x26a53
movq 0x8(%r15), %rsi
leaq 0x483d8(%rip), %rdi     # 0x6ee10
callq 0x26418
leaq 0x48644(%rip), %rcx     # 0x6f088
movl %eax, 0x608(%rcx)
negl %eax
jno 0x26aa6
jmp 0x27057
movq %r13, %rdi
leaq 0x2ed6b(%rip), %rsi     # 0x557c8
callq 0x12090
orl %r12d, %eax
jne 0x26a74
movq 0x8(%r15), %rdi
xorl %esi, %esi
callq 0x2711d
jmp 0x26aa6
movq %r13, %rdi
leaq 0x2ed52(%rip), %rsi     # 0x557d0
callq 0x12090
orl %r12d, %eax
jne 0x26acc
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x485f0(%rip), %rcx     # 0x6f088
movl %eax, 0x60c(%rcx)
testl %eax, %eax
je 0x27063
movl 0x18(%rsp), %esi
leaq 0x2eaf4(%rip), %r12     # 0x555a5
movq %r15, %rdi
callq 0x1f4fd
movslq 0x1c(%rsp), %rsi
cmpq %rsi, %rbp
jl 0x265c7
jmp 0x26f71
movq %r13, %rdi
leaq 0x2ed1f(%rip), %rsi     # 0x557f5
callq 0x12090
orl %r12d, %eax
jne 0x26afe
movq 0x8(%r15), %rdi
xorl %esi, %esi
callq 0x24cf8
leaq 0x48596(%rip), %rcx     # 0x6f088
movq %rax, 0x610(%rcx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2ecf7(%rip), %rsi     # 0x557ff
callq 0x12090
orl %r12d, %eax
jne 0x26b43
movq 0x8(%r15), %rdi
xorl %esi, %esi
callq 0x12190
leaq 0x48564(%rip), %rax     # 0x6f088
movsd %xmm0, 0x620(%rax)
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
movq (%rsp), %rbx
jbe 0x26aa6
jmp 0x2706f
movq %r13, %rdi
leaq 0x2ecde(%rip), %rsi     # 0x5582b
callq 0x12090
orl %r12d, %eax
jne 0x26b7e
movq 0x8(%r15), %rdi
callq 0x12820
leaq 0x48521(%rip), %rcx     # 0x6f088
movl %eax, 0x628(%rcx)
testl %eax, %eax
movq (%rsp), %rbx
jne 0x26aa6
jmp 0x2707b
movq %r13, %rdi
leaq 0x2ecc0(%rip), %rsi     # 0x55848
callq 0x12090
orl %r12d, %eax
jne 0x26bad
movq 0x8(%r15), %rdi
callq 0x264bb
leaq 0x484e6(%rip), %rcx     # 0x6f088
movl %eax, 0x6d4(%rcx)
jmp 0x269be
movq %r13, %rdi
leaq 0x2ec9d(%rip), %rsi     # 0x55854
callq 0x12090
orl %r12d, %eax
jne 0x26bd9
movq 0x8(%r15), %rdi
callq 0x264bb
leaq 0x484b7(%rip), %rcx     # 0x6f088
movl %eax, 0x44(%rcx)
jmp 0x269be
movq %r13, %rdi
leaq 0x2ec81(%rip), %rsi     # 0x55864
callq 0x12090
orl %r12d, %eax
jne 0x26c08
movq 0x8(%r15), %rdi
callq 0x264bb
leaq 0x4848b(%rip), %rcx     # 0x6f088
movl %eax, 0x5b8(%rcx)
jmp 0x269be
movq %r13, %rdi
leaq 0x2ec5c(%rip), %rsi     # 0x5586e
callq 0x12090
orl %r12d, %eax
jne 0x26c49
movq 0x8(%r15), %rdi
callq 0x12820
cmpl $0x2, %eax
movl $0x1, %ecx
cmovll %ecx, %eax
movl $0x1f4, %ecx            # imm = 0x1F4
cmpl %ecx, %eax
cmovgel %ecx, %eax
leaq 0x48447(%rip), %rcx     # 0x6f088
movl %eax, 0x20(%rcx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2ec1e(%rip), %rsi     # 0x55871
callq 0x12090
orl %r12d, %eax
jne 0x26c8d
movq 0x8(%r15), %r13
movq %r13, %rdi
callq 0x12250
cmpq $0x200, %rax            # imm = 0x200
ja 0x27087
movq %r13, %rdi
callq 0x1fd59
leaq 0x48404(%rip), %rcx     # 0x6f088
movq %rax, 0x48(%rcx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2ec16(%rip), %rsi     # 0x558ad
callq 0x12090
orl %r12d, %eax
jne 0x26cc3
leaq 0x483e0(%rip), %rbx     # 0x6f088
movq 0x50(%rbx), %rdi
callq 0x1fd17
movq 0x8(%r15), %rdi
callq 0x1fd59
movq %rax, 0x50(%rbx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2ebe8(%rip), %rsi     # 0x558b5
callq 0x12090
orl %r12d, %eax
jne 0x26d10
movq 0x8(%r15), %rdi
callq 0x25619
testl %eax, %eax
je 0x27093
leaq 0x48399(%rip), %rbx     # 0x6f088
movq 0x6c8(%rbx), %rdi
callq 0x1fd17
movq 0x8(%r15), %rdi
callq 0x1fd59
movq %rax, 0x6c8(%rbx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2ebe5(%rip), %rsi     # 0x558ff
callq 0x12090
movl 0x14(%rsp), %ecx
xorl $0x3, %ecx
orl %eax, %ecx
jne 0x26da2
movq 0x8(%r15), %rdi
callq 0x1bc46
testq %rax, %rax
je 0x2709f
movq %rax, %r13
leaq 0x48342(%rip), %rax     # 0x6f088
movq 0x28(%rax), %rdi
movq 0x8(%r15), %rsi
callq 0x18a7c
testl %eax, %eax
jne 0x270ab
movq 0x10(%r15), %r12
movq %r12, %rdi
callq 0x2722b
testq %rax, %rax
movq (%rsp), %rbx
je 0x26aa6
movq %r12, %rdi
callq 0x1dbd5
movq %rax, %r12
leaq 0x48302(%rip), %rax     # 0x6f088
movq 0x28(%rax), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x18802
testl %eax, %eax
je 0x26aa6
jmp 0x270cd
movq %r13, %rdi
leaq 0x2eba0(%rip), %rsi     # 0x5594c
callq 0x12090
orl %r12d, %eax
jne 0x26dde
leaq 0x482cb(%rip), %rbx     # 0x6f088
movq 0x660(%rbx), %rdi
callq 0x1fd17
movq 0x8(%r15), %rdi
callq 0x1fd59
movq %rax, 0x660(%rbx)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2eb78(%rip), %rsi     # 0x55960
callq 0x12090
orl %r12d, %eax
jne 0x26e22
movq 0x8(%r15), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x124b0
leaq 0x4827f(%rip), %rcx     # 0x6f088
movq %rax, 0x658(%rcx)
testq %rax, %rax
movq (%rsp), %rbx
jg 0x26aa6
jmp 0x270e1
movq %r13, %rdi
leaq 0x2eb73(%rip), %rsi     # 0x5599f
callq 0x12090
orl %r12d, %eax
jne 0x26e66
movq 0x8(%r15), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x124b0
leaq 0x4823b(%rip), %rcx     # 0x6f088
movq %rax, 0x670(%rcx)
testq %rax, %rax
movq (%rsp), %rbx
jns 0x26aa6
jmp 0x270ed
movq %r13, %rdi
leaq 0x2eb71(%rip), %rsi     # 0x559e1
callq 0x12090
movl 0x14(%rsp), %ecx
xorl $0x5, %ecx
orl %eax, %ecx
jne 0x26eee
movq 0x8(%r15), %rdi
callq 0x24678
cmpl $-0x1, %eax
je 0x270f9
movl %eax, %ebx
movq 0x10(%r15), %rdi
xorl %esi, %esi
callq 0x24cf8
movq %rax, %r12
movq 0x18(%r15), %rdi
xorl %esi, %esi
callq 0x24cf8
movq %rax, %r13
movq 0x20(%r15), %rdi
callq 0x12820
testl %eax, %eax
js 0x27105
movslq %ebx, %rcx
leaq (%rcx,%rcx,2), %rcx
leaq 0x481b9(%rip), %rdx     # 0x6f088
movq %r12, 0x5c0(%rdx,%rcx,8)
movq %r13, 0x5c8(%rdx,%rcx,8)
movl %eax, %eax
movq %rax, 0x5d0(%rdx,%rcx,8)
jmp 0x2677f
movq %r13, %rdi
leaq 0x2eb58(%rip), %rsi     # 0x55a50
callq 0x12090
orl %r12d, %eax
jne 0x26f1d
movq 0x8(%r15), %rdi
callq 0x264bb
leaq 0x48176(%rip), %rcx     # 0x6f088
movl %eax, 0x700(%rcx)
jmp 0x269be
movq %r13, %rdi
leaq 0x2eb45(%rip), %rsi     # 0x55a6c
callq 0x12090
testl %eax, %eax
jne 0x27111
cmpl $0x2, 0x14(%rsp)
jne 0x27111
movq 0x8(%r15), %rsi
leaq 0x47fb6(%rip), %rdi     # 0x6ef00
callq 0x26418
leaq 0x48132(%rip), %rcx     # 0x6f088
movl %eax, 0x5b4(%rcx)
negl %eax
movq (%rsp), %rbx
jno 0x26aa6
leaq 0x2eb08(%rip), %rax     # 0x55a77
jmp 0x26fdb
movq %rbx, %rdi
callq 0x1f4fd
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, (%rsp)
jmp 0x26fe0
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x12a40
movq (%r15), %rax
jmp 0x26fdb
movq %rbx, (%rsp)
leaq 0x2e627(%rip), %rax     # 0x555d2
jmp 0x26fdb
movq %rbx, (%rsp)
leaq 0x2e63e(%rip), %rax     # 0x555f6
jmp 0x26fdb
movq %rbx, (%rsp)
leaq 0x2e64d(%rip), %rax     # 0x55612
jmp 0x26fdb
movq %rbx, (%rsp)
leaq 0x2e659(%rip), %rax     # 0x5562b
jmp 0x26fdb
leaq 0x2e66b(%rip), %rax     # 0x55646
movq %rax, 0x8(%rsp)
movq (%rsp), %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq 0x8(%rsp), %rcx
callq 0x12a7a
movq %rbx, (%rsp)
leaq 0x2e678(%rip), %rax     # 0x55677
jmp 0x26fdb
movq 0x8(%r15), %rbx
callq 0x120d0
movl (%rax), %edi
callq 0x128e0
leaq 0x2e69b(%rip), %rsi     # 0x556b3
movl $0x3, %edi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x19c06
movl $0x1, %edi
callq 0x12860
movq %rbx, (%rsp)
leaq 0x2e658(%rip), %rax     # 0x55697
jmp 0x26fdb
movq %rbx, (%rsp)
leaq 0x2e688(%rip), %rax     # 0x556d4
jmp 0x26fdb
leaq 0x2e6f4(%rip), %rax     # 0x55749
jmp 0x26fdb
leaq 0x2e727(%rip), %rax     # 0x55785
jmp 0x26fdb
leaq 0x2e771(%rip), %rax     # 0x557db
jmp 0x26fdb
leaq 0x2e79b(%rip), %rax     # 0x55811
jmp 0x26fdb
leaq 0x2e7b6(%rip), %rax     # 0x55838
jmp 0x26fdb
leaq 0x2e7ef(%rip), %rax     # 0x5587d
jmp 0x26fdb
leaq 0x2e826(%rip), %rax     # 0x558c0
jmp 0x26fdb
leaq 0x2e846(%rip), %rax     # 0x558ec
jmp 0x26fdb
leaq 0x2e85c(%rip), %rdi     # 0x5590e
leaq 0x2e867(%rip), %rsi     # 0x55920
movl $0x140, %edx            # imm = 0x140
callq 0x2a46a
movl $0x1, %edi
callq 0x12120
movq %r12, %rdi
callq 0x1dc25
leaq 0x2e84d(%rip), %rax     # 0x55929
jmp 0x26fdb
leaq 0x2e88d(%rip), %rax     # 0x55975
jmp 0x26fdb
leaq 0x2e8c5(%rip), %rax     # 0x559b9
jmp 0x26fdb
leaq 0x2e8fc(%rip), %rax     # 0x559fc
jmp 0x26fdb
leaq 0x2e910(%rip), %rax     # 0x55a1c
jmp 0x26fdb
leaq 0x2e9b6(%rip), %rax     # 0x55ace
jmp 0x26fdb