// File: /workspace/github_c_makefile_star2_O2/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 $0x18, %rsp
movq %rdi, %rbx
callq 0x12250
leaq 0x2d6e9(%rip), %rdx     # 0x4dcf8
pushq $0x1
popq %rcx
leaq 0x14(%rsp), %r8
movq %rbx, %rdi
movl %eax, %esi
callq 0x1a383
movq %rax, %rbx
xorl %r15d, %r15d
leaq 0x2e7c7(%rip), %r14     # 0x4edf5
leaq 0x2e7c5(%rip), %rax     # 0x4edfa
movq %rax, (%rsp)
movslq 0x14(%rsp), %rsi
cmpq %rsi, %r15
jge 0x20f8c
leaq 0x1(%r15), %r13
movq (%rbx,%r15,8), %rdi
movq %r14, %rsi
callq 0x1a16c
movq %rax, (%rbx,%r15,8)
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x20842
cmpl $0x23, %ecx
je 0x20842
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x1a708
testq %rax, %rax
je 0x20fdb
movq %rax, %rbp
cmpl $0x0, 0x10(%rsp)
je 0x206e1
movq (%rbp), %rdi
callq 0x1a2bc
movq (%rbp), %r14
movq %r14, %rdi
leaq 0x2eb17(%rip), %rsi     # 0x4f1bd
callq 0x12090
movl 0x10(%rsp), %r12d
movl %r12d, 0x8(%rsp)
xorl $0x2, %r12d
orl %r12d, %eax
jne 0x206e8
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x499ba(%rip), %rcx     # 0x6a088
movl %eax, 0x59c(%rcx)
testl %eax, %eax
jns 0x2082f
jmp 0x20fa3
xorl %esi, %esi
jmp 0x2083a
movq %r14, %rdi
leaq 0x2e746(%rip), %rsi     # 0x4ee38
callq 0x12090
orl %r12d, %eax
jne 0x2071f
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x4997c(%rip), %rcx     # 0x6a088
movl %eax, 0x5a0(%rcx)
testl %eax, %eax
jns 0x2082f
jmp 0x20fac
movq %r14, %rdi
leaq 0x2e741(%rip), %rsi     # 0x4ee6a
callq 0x12090
orl %r12d, %eax
jne 0x20759
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x49945(%rip), %rcx     # 0x6a088
movl %eax, 0xb4(%rcx)
cmpl $0xffff, %eax           # imm = 0xFFFF
jbe 0x2082f
jmp 0x20fb5
movq %r14, %rdi
leaq 0x2e70c(%rip), %rsi     # 0x4ee6f
callq 0x12090
orl %r12d, %eax
jne 0x20790
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x4990b(%rip), %rcx     # 0x6a088
movl %eax, 0xb8(%rcx)
testl %eax, %eax
jns 0x2082f
jmp 0x20fbe
movq %r14, %rdi
leaq 0x2e6f7(%rip), %rsi     # 0x4ee91
callq 0x12090
testl %eax, %eax
sete %al
movl 0x8(%rsp), %edx
cmpl $0x2, %edx
setge %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x207f1
cmpl $0x11, %edx
ja 0x20fc7
decl %edx
movl %edx, 0x8(%rsp)
movl %edx, %r14d
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x2081e
leaq 0x1(%r15), %r12
movq 0x8(%rbp,%r15,8), %rdi
callq 0x1acc3
leaq 0x498a4(%rip), %rcx     # 0x6a088
movq %rax, 0xc0(%rcx,%r15,8)
movq %r12, %r15
jmp 0x207ca
movq %r14, %rdi
leaq 0x2b8f4(%rip), %rsi     # 0x4c0ef
callq 0x12090
orl %r12d, %eax
jne 0x2084a
movq 0x8(%rbp), %rdi
callq 0x1acc3
leaq 0x49873(%rip), %rcx     # 0x6a088
movq %rax, 0x148(%rcx)
jmp 0x2082f
leaq 0x49863(%rip), %rax     # 0x6a088
movl 0x8(%rsp), %ecx
movl %ecx, 0x140(%rax)
movl 0x10(%rsp), %esi
leaq 0x2e5bb(%rip), %r14     # 0x4edf5
movq %rbp, %rdi
callq 0x1a53e
movq %r13, %r15
jmp 0x20639
movq %r14, %rdi
leaq 0x2e664(%rip), %rsi     # 0x4eeb8
callq 0x12090
orl %r12d, %eax
jne 0x2089a
callq 0x120d0
movq %rax, %r14
andl $0x0, (%rax)
movq 0x8(%rbp), %rdi
xorl %esi, %esi
pushq $0x8
popq %rdx
callq 0x12500
leaq 0x4980a(%rip), %rcx     # 0x6a088
movl %eax, 0x150(%rcx)
cmpl $0x0, (%r14)
jne 0x20fd0
cmpl $0x1ff, %eax            # imm = 0x1FF
jbe 0x2082f
jmp 0x20fd0
movq %r14, %rdi
leaq 0x31989(%rip), %rsi     # 0x5222d
callq 0x12090
testl %eax, %eax
je 0x208d8
movq %r14, %rdi
leaq 0x2e648(%rip), %rsi     # 0x4eeff
callq 0x12090
orl %r12d, %eax
jne 0x20916
movq 0x8(%rbp), %rdi
callq 0x12270
cmpl $-0x1, %eax
jne 0x2082f
jmp 0x2103d
movl 0x8(%rsp), %eax
cmpl $0x3, %eax
jne 0x20954
movq 0x8(%rbp), %rdi
callq 0x12820
movl %eax, %r14d
movq 0x10(%rbp), %rdi
callq 0x12820
testl %r14d, %r14d
jle 0x21066
testl %eax, %eax
js 0x21066
movl %r14d, %edi
movl %eax, %esi
callq 0x20577
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e5fb(%rip), %rsi     # 0x4ef1b
callq 0x12090
orl %r12d, %eax
jne 0x2097f
movq 0x8(%rbp), %rsi
leaq 0x4957b(%rip), %rdi     # 0x69eb0
callq 0x204e0
leaq 0x49747(%rip), %rcx     # 0x6a088
movl %eax, 0x598(%rcx)
negl %eax
jno 0x2082f
jmp 0x21072
cmpl $0x2, %eax
jne 0x2082f
movq 0x8(%rbp), %rdi
leaq 0x2e1e5(%rip), %rsi     # 0x4eb4d
callq 0x12090
testl %eax, %eax
jne 0x2082f
callq 0x205cd
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e5dd(%rip), %rsi     # 0x4ef66
callq 0x12090
orl %r12d, %eax
jne 0x209e4
leaq 0x496ee(%rip), %r14     # 0x6a088
movq 0x5f0(%r14), %rdi
callq 0x1ac81
movq 0x8(%rbp), %rdi
callq 0x1acc3
movq %rax, 0x5f0(%r14)
cmpb $0x0, (%rax)
je 0x2082f
movq %rax, %rdi
leaq 0x2dade(%rip), %rsi     # 0x4e4a7
callq 0x124f0
testq %rax, %rax
je 0x2107e
movq %rax, %rdi
callq 0x12220
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e59c(%rip), %rsi     # 0x4ef8a
callq 0x12090
orl %r12d, %eax
jne 0x20a1c
movq 0x8(%rbp), %rdi
callq 0x20545
leaq 0x49680(%rip), %rcx     # 0x6a088
movl %eax, 0x5f8(%rcx)
cmpl $-0x1, %eax
jne 0x2082f
jmp 0x210ab
movq %r14, %rdi
leaq 0x2e592(%rip), %rsi     # 0x4efb8
callq 0x12090
orl %r12d, %eax
jne 0x20a64
leaq 0x49651(%rip), %rax     # 0x6a088
movq 0x600(%rax), %rdi
testq %rdi, %rdi
je 0x20a48
callq 0x1ac81
movq 0x8(%rbp), %rdi
callq 0x1acc3
leaq 0x49630(%rip), %rcx     # 0x6a088
movq %rax, 0x600(%rcx)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e557(%rip), %rsi     # 0x4efc5
callq 0x12090
orl %r12d, %eax
jne 0x20aa2
movq 0x8(%rbp), %rsi
leaq 0x4938d(%rip), %rdi     # 0x69e10
callq 0x204e0
leaq 0x495f9(%rip), %rcx     # 0x6a088
movl %eax, 0x608(%rcx)
negl %eax
jno 0x2082f
jmp 0x210e7
movq %r14, %rdi
leaq 0x2e56c(%rip), %rsi     # 0x4f018
callq 0x12090
orl %r12d, %eax
jne 0x20ac6
movq 0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x2117b
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e550(%rip), %rsi     # 0x4f020
callq 0x12090
orl %r12d, %eax
jne 0x20afd
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x4959e(%rip), %rcx     # 0x6a088
movl %eax, 0x60c(%rcx)
testl %eax, %eax
jne 0x2082f
jmp 0x210b7
movq %r14, %rdi
leaq 0x2e53e(%rip), %rsi     # 0x4f045
callq 0x12090
orl %r12d, %eax
jne 0x20b2f
movq 0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x1f11c
leaq 0x49565(%rip), %rcx     # 0x6a088
movq %rax, 0x610(%rcx)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e516(%rip), %rsi     # 0x4f04f
callq 0x12090
orl %r12d, %eax
jne 0x20b70
movq 0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x12190
leaq 0x49533(%rip), %rax     # 0x6a088
movsd %xmm0, 0x620(%rax)
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x2082f
jmp 0x21117
movq %r14, %rdi
leaq 0x2e501(%rip), %rsi     # 0x4f07b
callq 0x12090
orl %r12d, %eax
jne 0x20ba7
movq 0x8(%rbp), %rdi
callq 0x12820
leaq 0x494f4(%rip), %rcx     # 0x6a088
movl %eax, 0x628(%rcx)
testl %eax, %eax
jne 0x2082f
jmp 0x210f3
movq %r14, %rdi
leaq 0x2e4e7(%rip), %rsi     # 0x4f098
callq 0x12090
orl %r12d, %eax
jne 0x20bd6
movq 0x8(%rbp), %rdi
callq 0x20545
leaq 0x494bd(%rip), %rcx     # 0x6a088
movl %eax, 0x6d4(%rcx)
jmp 0x20a0e
movq %r14, %rdi
leaq 0x2e4c4(%rip), %rsi     # 0x4f0a4
callq 0x12090
orl %r12d, %eax
jne 0x20c02
movq 0x8(%rbp), %rdi
callq 0x20545
leaq 0x4948e(%rip), %rcx     # 0x6a088
movl %eax, 0x44(%rcx)
jmp 0x20a0e
movq %r14, %rdi
leaq 0x2e4a8(%rip), %rsi     # 0x4f0b4
callq 0x12090
orl %r12d, %eax
jne 0x20c31
movq 0x8(%rbp), %rdi
callq 0x20545
leaq 0x49462(%rip), %rcx     # 0x6a088
movl %eax, 0x5b8(%rcx)
jmp 0x20a0e
movq %r14, %rdi
leaq 0x2e483(%rip), %rsi     # 0x4f0be
callq 0x12090
orl %r12d, %eax
jne 0x20c70
movq 0x8(%rbp), %rdi
callq 0x12820
cmpl $0x2, %eax
pushq $0x1
popq %rcx
cmovll %ecx, %eax
movl $0x1f4, %ecx            # imm = 0x1F4
cmpl %ecx, %eax
cmovgel %ecx, %eax
leaq 0x49420(%rip), %rcx     # 0x6a088
movl %eax, 0x20(%rcx)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e447(%rip), %rsi     # 0x4f0c1
callq 0x12090
orl %r12d, %eax
jne 0x20cb4
movq 0x8(%rbp), %r14
movq %r14, %rdi
callq 0x12250
cmpq $0x200, %rax            # imm = 0x200
ja 0x2114f
movq %r14, %rdi
callq 0x1acc3
leaq 0x493dd(%rip), %rcx     # 0x6a088
movq %rax, 0x48(%rcx)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e43f(%rip), %rsi     # 0x4f0fd
callq 0x12090
orl %r12d, %eax
jne 0x20cea
leaq 0x493b9(%rip), %r14     # 0x6a088
movq 0x50(%r14), %rdi
callq 0x1ac81
movq 0x8(%rbp), %rdi
callq 0x1acc3
movq %rax, 0x50(%r14)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e411(%rip), %rsi     # 0x4f105
callq 0x12090
orl %r12d, %eax
jne 0x20d37
movq 0x8(%rbp), %rdi
callq 0x1f8f7
testl %eax, %eax
je 0x21123
leaq 0x49372(%rip), %r14     # 0x6a088
movq 0x6c8(%r14), %rdi
callq 0x1ac81
movq 0x8(%rbp), %rdi
callq 0x1acc3
movq %rax, 0x6c8(%r14)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e40e(%rip), %rsi     # 0x4f14f
callq 0x12090
movl 0x8(%rsp), %ecx
xorl $0x3, %ecx
orl %eax, %ecx
jne 0x20dc5
movq 0x8(%rbp), %rdi
callq 0x1785c
testq %rax, %rax
je 0x210c3
movq %rax, %r14
leaq 0x4931b(%rip), %rax     # 0x6a088
movq 0x28(%rax), %rdi
movq 0x8(%rbp), %rsi
callq 0x14b54
testl %eax, %eax
jne 0x2112f
movq 0x10(%rbp), %r12
movq %r12, %rdi
callq 0x21272
testq %rax, %rax
je 0x2082f
movq %r12, %rdi
callq 0x194fb
movq %rax, %r12
leaq 0x492df(%rip), %rax     # 0x6a088
movq 0x28(%rax), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x148e3
testl %eax, %eax
je 0x2082f
jmp 0x2115b
movq %r14, %rdi
leaq 0x2e3cd(%rip), %rsi     # 0x4f19c
callq 0x12090
orl %r12d, %eax
jne 0x20e01
leaq 0x492a8(%rip), %r14     # 0x6a088
movq 0x660(%r14), %rdi
callq 0x1ac81
movq 0x8(%rbp), %rdi
callq 0x1acc3
movq %rax, 0x660(%r14)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e3a5(%rip), %rsi     # 0x4f1b0
callq 0x12090
orl %r12d, %eax
jne 0x20e3f
movq 0x8(%rbp), %rdi
xorl %esi, %esi
pushq $0xa
popq %rdx
callq 0x124b0
leaq 0x4925e(%rip), %rcx     # 0x6a088
movq %rax, 0x658(%rcx)
testq %rax, %rax
jg 0x2082f
jmp 0x210cf
movq %r14, %rdi
leaq 0x2e3a6(%rip), %rsi     # 0x4f1ef
callq 0x12090
orl %r12d, %eax
jne 0x20e7d
movq 0x8(%rbp), %rdi
xorl %esi, %esi
pushq $0xa
popq %rdx
callq 0x124b0
leaq 0x49220(%rip), %rcx     # 0x6a088
movq %rax, 0x670(%rcx)
testq %rax, %rax
jns 0x2082f
jmp 0x2116f
movq %r14, %rdi
leaq 0x2e3aa(%rip), %rsi     # 0x4f231
callq 0x12090
movl 0x8(%rsp), %ecx
xorl $0x5, %ecx
orl %eax, %ecx
jne 0x20f0d
movq 0x8(%rbp), %rdi
callq 0x1ead4
cmpl $-0x1, %eax
je 0x210ff
movl %eax, %r12d
movq 0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x1f11c
movq %rax, 0x8(%rsp)
movq 0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x1f11c
movq %rax, %r14
movq 0x20(%rbp), %rdi
callq 0x12820
testl %eax, %eax
js 0x210db
movslq %r12d, %rcx
imulq $0x18, %rcx, %rcx
leaq 0x4919f(%rip), %rdx     # 0x6a088
movq 0x8(%rsp), %rsi
movq %rsi, 0x5c0(%rdx,%rcx)
movq %r14, 0x5c8(%rdx,%rcx)
movl %eax, %eax
movq %rax, 0x5d0(%rdx,%rcx)
jmp 0x2082f
movq %r14, %rdi
leaq 0x2e389(%rip), %rsi     # 0x4f2a0
callq 0x12090
orl %r12d, %eax
jne 0x20f3c
movq 0x8(%rbp), %rdi
callq 0x20545
leaq 0x49157(%rip), %rcx     # 0x6a088
movl %eax, 0x700(%rcx)
jmp 0x20a0e
movq %r14, %rdi
leaq 0x2e376(%rip), %rsi     # 0x4f2bc
callq 0x12090
testl %eax, %eax
jne 0x2110b
cmpl $0x2, 0x8(%rsp)
jne 0x2110b
movq 0x8(%rbp), %rsi
leaq 0x48f97(%rip), %rdi     # 0x69f00
callq 0x204e0
leaq 0x49113(%rip), %rcx     # 0x6a088
movl %eax, 0x5b4(%rcx)
negl %eax
jno 0x2082f
leaq 0x2e33d(%rip), %rax     # 0x4f2c7
jmp 0x20fd7
movq %rbx, %rdi
callq 0x1a53e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2de78(%rip), %rax     # 0x4ee22
jmp 0x20fd7
leaq 0x2de93(%rip), %rax     # 0x4ee46
jmp 0x20fd7
leaq 0x2dea6(%rip), %rax     # 0x4ee62
jmp 0x20fd7
leaq 0x2deb6(%rip), %rax     # 0x4ee7b
jmp 0x20fd7
leaq 0x2dec8(%rip), %rax     # 0x4ee96
jmp 0x20fd7
leaq 0x2def0(%rip), %rax     # 0x4eec7
movq %rax, (%rsp)
movq 0x4800e(%rip), %r14     # 0x68ff0
movq (%r14), %rcx
leaq 0x2e35d(%rip), %rdi     # 0x4f349
pushq $0x21
popq %rsi
pushq $0x1
popq %rdx
callq 0x12880
movq (%r14), %rdi
leaq 0x2e36a(%rip), %rsi     # 0x4f36b
movl %r13d, %edx
xorl %eax, %eax
callq 0x124c0
movq (%r14), %rdi
movq (%rbx,%r15,8), %rdx
leaq 0x2e37e(%rip), %rsi     # 0x4f397
xorl %eax, %eax
callq 0x124c0
movq (%r14), %rdi
leaq 0x324c6(%rip), %rsi     # 0x534f0
movq (%rsp), %rdx
xorl %eax, %eax
callq 0x124c0
pushq $0x1
popq %rdi
callq 0x12860
movq 0x8(%rbp), %rbx
callq 0x120d0
movl (%rax), %edi
callq 0x128e0
leaq 0x2deaf(%rip), %rsi     # 0x4ef03
pushq $0x3
popq %rdi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x15b9e
jmp 0x21035
leaq 0x2de7a(%rip), %rax     # 0x4eee7
jmp 0x20fd7
leaq 0x2deab(%rip), %rax     # 0x4ef24
jmp 0x20fd7
callq 0x194cc
movq %rax, %r14
callq 0x120d0
movl (%rax), %edi
callq 0x128e0
leaq 0x2ded5(%rip), %rsi     # 0x4ef6e
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x19db8
jmp 0x20fd7
leaq 0x2dee7(%rip), %rax     # 0x4ef99
jmp 0x20fd7
leaq 0x2df6d(%rip), %rax     # 0x4f02b
jmp 0x20fd7
leaq 0x2e072(%rip), %rax     # 0x4f13c
jmp 0x20fd7
leaq 0x2e0ef(%rip), %rax     # 0x4f1c5
jmp 0x20fd7
leaq 0x2e18a(%rip), %rax     # 0x4f26c
jmp 0x20fd7
leaq 0x2dee7(%rip), %rax     # 0x4efd5
jmp 0x20fd7
leaq 0x2df8e(%rip), %rax     # 0x4f088
jmp 0x20fd7
leaq 0x2e146(%rip), %rax     # 0x4f24c
jmp 0x20fd7
leaq 0x2e20c(%rip), %rax     # 0x4f31e
jmp 0x20fd7
leaq 0x2df43(%rip), %rax     # 0x4f061
jmp 0x20fd7
leaq 0x2dfe6(%rip), %rax     # 0x4f110
jmp 0x20fd7
leaq 0x2e028(%rip), %rdi     # 0x4f15e
leaq 0x2e033(%rip), %rsi     # 0x4f170
movl $0x140, %edx            # imm = 0x140
callq 0x240ca
pushq $0x1
popq %rdi
callq 0x12120
leaq 0x2df77(%rip), %rax     # 0x4f0cd
jmp 0x20fd7
movq %r12, %rdi
callq 0x19548
leaq 0x2e00f(%rip), %rax     # 0x4f179
jmp 0x20fd7
leaq 0x2e093(%rip), %rax     # 0x4f209
jmp 0x20fd7