// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/src/config.c
// Function: rewriteConfig
int rewriteConfig(char *path) {
    struct rewriteConfigState *state;
    sds newcontent;
    int retval;

    /* Step 1: read the old config into our rewrite state. */
    if ((state = rewriteConfigReadOldFile(path)) == NULL) return -1;

    /* Step 2: rewrite every single option, replacing or appending it inside
     * the rewrite state. */

    rewriteConfigYesNoOption(state,"daemonize",server.daemonize,0);
    rewriteConfigStringOption(state,"pidfile",server.pidfile,CONFIG_DEFAULT_PID_FILE);
    rewriteConfigNumericalOption(state,"port",server.port,CONFIG_DEFAULT_SERVER_PORT);
    rewriteConfigNumericalOption(state,"tcp-backlog",server.tcp_backlog,CONFIG_DEFAULT_TCP_BACKLOG);
    rewriteConfigBindOption(state);
    rewriteConfigStringOption(state,"unixsocket",server.unixsocket,NULL);
    rewriteConfigOctalOption(state,"unixsocketperm",server.unixsocketperm,CONFIG_DEFAULT_UNIX_SOCKET_PERM);
    rewriteConfigNumericalOption(state,"timeout",server.maxidletime,CONFIG_DEFAULT_CLIENT_TIMEOUT);
    rewriteConfigNumericalOption(state,"tcp-keepalive",server.tcpkeepalive,CONFIG_DEFAULT_TCP_KEEPALIVE);
    rewriteConfigNumericalOption(state,"slave-announce-port",server.slave_announce_port,CONFIG_DEFAULT_SLAVE_ANNOUNCE_PORT);
    rewriteConfigEnumOption(state,"loglevel",server.verbosity,loglevel_enum,CONFIG_DEFAULT_VERBOSITY);
    rewriteConfigStringOption(state,"logfile",server.logfile,CONFIG_DEFAULT_LOGFILE);
    rewriteConfigYesNoOption(state,"syslog-enabled",server.syslog_enabled,CONFIG_DEFAULT_SYSLOG_ENABLED);
    rewriteConfigStringOption(state,"syslog-ident",server.syslog_ident,CONFIG_DEFAULT_SYSLOG_IDENT);
    rewriteConfigSyslogfacilityOption(state);
    rewriteConfigSaveOption(state);
    rewriteConfigNumericalOption(state,"databases",server.dbnum,CONFIG_DEFAULT_DBNUM);
    rewriteConfigYesNoOption(state,"stop-writes-on-bgsave-error",server.stop_writes_on_bgsave_err,CONFIG_DEFAULT_STOP_WRITES_ON_BGSAVE_ERROR);
    rewriteConfigYesNoOption(state,"rdbcompression",server.rdb_compression,CONFIG_DEFAULT_RDB_COMPRESSION);
    rewriteConfigYesNoOption(state,"rdbchecksum",server.rdb_checksum,CONFIG_DEFAULT_RDB_CHECKSUM);
    rewriteConfigStringOption(state,"dbfilename",server.rdb_filename,CONFIG_DEFAULT_RDB_FILENAME);
    rewriteConfigDirOption(state);
    rewriteConfigSlaveofOption(state);
    rewriteConfigStringOption(state,"slave-announce-ip",server.slave_announce_ip,CONFIG_DEFAULT_SLAVE_ANNOUNCE_IP);
    rewriteConfigStringOption(state,"masterauth",server.masterauth,NULL);
    rewriteConfigYesNoOption(state,"slave-serve-stale-data",server.repl_serve_stale_data,CONFIG_DEFAULT_SLAVE_SERVE_STALE_DATA);
    rewriteConfigYesNoOption(state,"slave-read-only",server.repl_slave_ro,CONFIG_DEFAULT_SLAVE_READ_ONLY);
    rewriteConfigNumericalOption(state,"repl-ping-slave-period",server.repl_ping_slave_period,CONFIG_DEFAULT_REPL_PING_SLAVE_PERIOD);
    rewriteConfigNumericalOption(state,"repl-timeout",server.repl_timeout,CONFIG_DEFAULT_REPL_TIMEOUT);
    rewriteConfigBytesOption(state,"repl-backlog-size",server.repl_backlog_size,CONFIG_DEFAULT_REPL_BACKLOG_SIZE);
    rewriteConfigBytesOption(state,"repl-backlog-ttl",server.repl_backlog_time_limit,CONFIG_DEFAULT_REPL_BACKLOG_TIME_LIMIT);
    rewriteConfigYesNoOption(state,"repl-disable-tcp-nodelay",server.repl_disable_tcp_nodelay,CONFIG_DEFAULT_REPL_DISABLE_TCP_NODELAY);
    rewriteConfigYesNoOption(state,"repl-diskless-sync",server.repl_diskless_sync,CONFIG_DEFAULT_REPL_DISKLESS_SYNC);
    rewriteConfigNumericalOption(state,"repl-diskless-sync-delay",server.repl_diskless_sync_delay,CONFIG_DEFAULT_REPL_DISKLESS_SYNC_DELAY);
    rewriteConfigNumericalOption(state,"slave-priority",server.slave_priority,CONFIG_DEFAULT_SLAVE_PRIORITY);
    rewriteConfigNumericalOption(state,"min-slaves-to-write",server.repl_min_slaves_to_write,CONFIG_DEFAULT_MIN_SLAVES_TO_WRITE);
    rewriteConfigNumericalOption(state,"min-slaves-max-lag",server.repl_min_slaves_max_lag,CONFIG_DEFAULT_MIN_SLAVES_MAX_LAG);
    rewriteConfigStringOption(state,"requirepass",server.requirepass,NULL);
    rewriteConfigNumericalOption(state,"maxclients",server.maxclients,CONFIG_DEFAULT_MAX_CLIENTS);
    rewriteConfigBytesOption(state,"maxmemory",server.maxmemory,CONFIG_DEFAULT_MAXMEMORY);
    rewriteConfigEnumOption(state,"maxmemory-policy",server.maxmemory_policy,maxmemory_policy_enum,CONFIG_DEFAULT_MAXMEMORY_POLICY);
    rewriteConfigNumericalOption(state,"maxmemory-samples",server.maxmemory_samples,CONFIG_DEFAULT_MAXMEMORY_SAMPLES);
    rewriteConfigYesNoOption(state,"appendonly",server.aof_state != AOF_OFF,0);
    rewriteConfigStringOption(state,"appendfilename",server.aof_filename,CONFIG_DEFAULT_AOF_FILENAME);
    rewriteConfigEnumOption(state,"appendfsync",server.aof_fsync,aof_fsync_enum,CONFIG_DEFAULT_AOF_FSYNC);
    rewriteConfigYesNoOption(state,"no-appendfsync-on-rewrite",server.aof_no_fsync_on_rewrite,CONFIG_DEFAULT_AOF_NO_FSYNC_ON_REWRITE);
    rewriteConfigNumericalOption(state,"auto-aof-rewrite-percentage",server.aof_rewrite_perc,AOF_REWRITE_PERC);
    rewriteConfigBytesOption(state,"auto-aof-rewrite-min-size",server.aof_rewrite_min_size,AOF_REWRITE_MIN_SIZE);
    rewriteConfigNumericalOption(state,"lua-time-limit",server.lua_time_limit,LUA_SCRIPT_TIME_LIMIT);
    rewriteConfigYesNoOption(state,"cluster-enabled",server.cluster_enabled,0);
    rewriteConfigStringOption(state,"cluster-config-file",server.cluster_configfile,CONFIG_DEFAULT_CLUSTER_CONFIG_FILE);
    rewriteConfigYesNoOption(state,"cluster-require-full-coverage",server.cluster_require_full_coverage,CLUSTER_DEFAULT_REQUIRE_FULL_COVERAGE);
    rewriteConfigNumericalOption(state,"cluster-node-timeout",server.cluster_node_timeout,CLUSTER_DEFAULT_NODE_TIMEOUT);
    rewriteConfigNumericalOption(state,"cluster-migration-barrier",server.cluster_migration_barrier,CLUSTER_DEFAULT_MIGRATION_BARRIER);
    rewriteConfigNumericalOption(state,"cluster-slave-validity-factor",server.cluster_slave_validity_factor,CLUSTER_DEFAULT_SLAVE_VALIDITY);
    rewriteConfigNumericalOption(state,"slowlog-log-slower-than",server.slowlog_log_slower_than,CONFIG_DEFAULT_SLOWLOG_LOG_SLOWER_THAN);
    rewriteConfigNumericalOption(state,"latency-monitor-threshold",server.latency_monitor_threshold,CONFIG_DEFAULT_LATENCY_MONITOR_THRESHOLD);
    rewriteConfigNumericalOption(state,"slowlog-max-len",server.slowlog_max_len,CONFIG_DEFAULT_SLOWLOG_MAX_LEN);
    rewriteConfigNotifykeyspaceeventsOption(state);
    rewriteConfigNumericalOption(state,"hash-max-ziplist-entries",server.hash_max_ziplist_entries,OBJ_HASH_MAX_ZIPLIST_ENTRIES);
    rewriteConfigNumericalOption(state,"hash-max-ziplist-value",server.hash_max_ziplist_value,OBJ_HASH_MAX_ZIPLIST_VALUE);
    rewriteConfigNumericalOption(state,"list-max-ziplist-size",server.list_max_ziplist_size,OBJ_LIST_MAX_ZIPLIST_SIZE);
    rewriteConfigNumericalOption(state,"list-compress-depth",server.list_compress_depth,OBJ_LIST_COMPRESS_DEPTH);
    rewriteConfigNumericalOption(state,"set-max-intset-entries",server.set_max_intset_entries,OBJ_SET_MAX_INTSET_ENTRIES);
    rewriteConfigNumericalOption(state,"zset-max-ziplist-entries",server.zset_max_ziplist_entries,OBJ_ZSET_MAX_ZIPLIST_ENTRIES);
    rewriteConfigNumericalOption(state,"zset-max-ziplist-value",server.zset_max_ziplist_value,OBJ_ZSET_MAX_ZIPLIST_VALUE);
    rewriteConfigNumericalOption(state,"hll-sparse-max-bytes",server.hll_sparse_max_bytes,CONFIG_DEFAULT_HLL_SPARSE_MAX_BYTES);
    rewriteConfigYesNoOption(state,"activerehashing",server.activerehashing,CONFIG_DEFAULT_ACTIVE_REHASHING);
    rewriteConfigYesNoOption(state,"protected-mode",server.protected_mode,CONFIG_DEFAULT_PROTECTED_MODE);
    rewriteConfigClientoutputbufferlimitOption(state);
    rewriteConfigNumericalOption(state,"hz",server.hz,CONFIG_DEFAULT_HZ);
    rewriteConfigYesNoOption(state,"aof-rewrite-incremental-fsync",server.aof_rewrite_incremental_fsync,CONFIG_DEFAULT_AOF_REWRITE_INCREMENTAL_FSYNC);
    rewriteConfigYesNoOption(state,"aof-load-truncated",server.aof_load_truncated,CONFIG_DEFAULT_AOF_LOAD_TRUNCATED);
    rewriteConfigEnumOption(state,"supervised",server.supervised_mode,supervised_mode_enum,SUPERVISED_NONE);

    /* Rewrite Sentinel config if in Sentinel mode. */
    if (server.sentinel_mode) rewriteConfigSentinelOption(state);

    /* Step 3: remove all the orphaned lines in the old file, that is, lines
     * that were used by a config option and are no longer used, like in case
     * of multiple "save" options or duplicated options. */
    rewriteConfigRemoveOrphaned(state);

    /* Step 4: generate a new configuration file from the modified state
     * and write it into the original file. */
    newcontent = rewriteConfigGetContentFromState(state);
    retval = rewriteConfigOverwriteFile(server.configfile,newcontent);

    sdsfree(newcontent);
    rewriteConfigReleaseState(state);
    return retval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x52331
testq %rax, %rax
je 0x5360c
movq %rax, %rbx
leaq 0xa69e2(%rip), %rbp     # 0xf98a8
movl 0x61c(%rbp), %edx
leaq 0x62751(%rip), %rsi     # 0xb5624
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x52678
movq 0x60(%rbp), %rdx
leaq 0x628bb(%rip), %rsi     # 0xb57a3
leaq 0x5d7d0(%rip), %rcx     # 0xb06bf
movq %rbx, %rdi
callq 0x526d6
movslq 0xa0(%rbp), %rdx
leaq 0x6232c(%rip), %rsi     # 0xb5231
movl $0x18eb, %ecx           # imm = 0x18EB
movq %rbx, %rdi
callq 0x52767
movslq 0xa4(%rbp), %rdx
leaq 0x62316(%rip), %rsi     # 0xb5236
movl $0x1ff, %ecx            # imm = 0x1FF
movq %rbx, %rdi
callq 0x52767
movq %rbx, %rdi
callq 0x52bb0
movq 0x130(%rbp), %rdx
leaq 0x5b1e0(%rip), %rsi     # 0xae123
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x526d6
movl 0x138(%rbp), %edx
leaq 0x62325(%rip), %rsi     # 0xb527f
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x527b6
movslq 0x5fc(%rbp), %rdx
leaq 0x629f3(%rip), %rsi     # 0xb5965
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52767
movslq 0x600(%rbp), %rdx
leaq 0x62247(%rip), %rsi     # 0xb51d1
movl $0x12c, %ecx            # imm = 0x12C
movq %rbx, %rdi
callq 0x52767
movslq 0x898(%rbp), %rdx
leaq 0x62c02(%rip), %rsi     # 0xb5ba7
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52767
movl 0x5f8(%rbp), %edx
leaq 0x62326(%rip), %rsi     # 0xb52e2
leaq 0xa614d(%rip), %rcx     # 0xf9110
pushq $0x2
popq %r8
movq %rbx, %rdi
callq 0x52802
movq 0x7a0(%rbp), %rdx
leaq 0x62350(%rip), %rsi     # 0xb532d
leaq 0x5f421(%rip), %rcx     # 0xb2405
movq %rbx, %rdi
callq 0x526d6
movl 0x7a8(%rbp), %edx
leaq 0x62358(%rip), %rsi     # 0xb5351
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movq 0x7b0(%rbp), %rdx
leaq 0x6234f(%rip), %rsi     # 0xb5360
leaq 0x5bfa0(%rip), %rcx     # 0xaefb8
movq %rbx, %rdi
callq 0x526d6
movq %rbx, %rdi
callq 0x52869
movq %rbx, %rdi
callq 0x528d8
movslq 0x610(%rbp), %rdx
leaq 0x62394(%rip), %rsi     # 0xb53d2
pushq $0x10
popq %rcx
movq %rbx, %rdi
callq 0x52767
movl 0x784(%rbp), %edx
leaq 0x62b14(%rip), %rsi     # 0xb5b6a
pushq $0x1
popq %r14
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x750(%rbp), %edx
leaq 0x62587(%rip), %rsi     # 0xb55f9
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x754(%rbp), %edx
leaq 0x6257e(%rip), %rsi     # 0xb5608
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movq 0x748(%rbp), %rdx
leaq 0x62708(%rip), %rsi     # 0xb57ab
leaq 0x5bf14(%rip), %rcx     # 0xaefbe
movq %rbx, %rdi
callq 0x526d6
movq %rbx, %rdi
callq 0x52966
movq %rbx, %rdi
callq 0x529aa
movq 0x8a0(%rbp), %rdx
leaq 0x62ac5(%rip), %rsi     # 0xb5b95
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x526d6
movq 0x820(%rbp), %rdx
leaq 0x624df(%rip), %rsi     # 0xb55c7
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x526d6
movl 0x880(%rbp), %edx
leaq 0x624d3(%rip), %rsi     # 0xb55d2
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x884(%rbp), %edx
leaq 0x624d2(%rip), %rsi     # 0xb55e9
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movslq 0x7c8(%rbp), %rdx
leaq 0x62346(%rip), %rsi     # 0xb5476
pushq $0xa
popq %r15
movq %rbx, %rdi
movq %r15, %rcx
callq 0x52767
movslq 0x834(%rbp), %rdx
leaq 0x6236c(%rip), %rsi     # 0xb54b9
pushq $0x3c
popq %rcx
movq %rbx, %rdi
callq 0x52767
movq 0x7d8(%rbp), %rdx
leaq 0x623f2(%rip), %rsi     # 0xb5558
movl $0x100000, %ecx         # imm = 0x100000
movq %rbx, %rdi
callq 0x5261a
movq 0x7f8(%rbp), %rdx
leaq 0x62411(%rip), %rsi     # 0xb5592
movl $0xe10, %ecx            # imm = 0xE10
movq %rbx, %rdi
callq 0x5261a
movl 0x890(%rbp), %edx
leaq 0x6234d(%rip), %rsi     # 0xb54e8
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movl 0x814(%rbp), %edx
leaq 0x6234f(%rip), %rsi     # 0xb5501
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movslq 0x818(%rbp), %rdx
leaq 0x6234a(%rip), %rsi     # 0xb5514
pushq $0x5
popq %r13
movq %rbx, %rdi
movq %r13, %rcx
callq 0x52767
movslq 0x894(%rbp), %rdx
leaq 0x6299f(%rip), %rsi     # 0xb5b86
pushq $0x64
popq %r12
movq %rbx, %rdi
movq %r12, %rcx
callq 0x52767
movslq 0x808(%rbp), %rdx
leaq 0x629b7(%rip), %rsi     # 0xb5bbb
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52767
movslq 0x80c(%rbp), %rdx
leaq 0x629da(%rip), %rsi     # 0xb5bf6
movq %rbx, %rdi
movq %r15, %rcx
callq 0x52767
movq 0x58(%rbp), %rdx
leaq 0x62535(%rip), %rsi     # 0xb5767
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x526d6
movl 0x904(%rbp), %edx
leaq 0x6219b(%rip), %rsi     # 0xb53e4
movl $0x2710, %ecx           # imm = 0x2710
movq %rbx, %rdi
callq 0x52767
movq 0x908(%rbp), %rdx
leaq 0x621a5(%rip), %rsi     # 0xb5409
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x5261a
movl 0x910(%rbp), %edx
leaq 0x62198(%rip), %rsi     # 0xb5413
leaq 0xa5d7e(%rip), %rcx     # 0xf9000
pushq $0x5
popq %r8
movq %rbx, %rdi
callq 0x52802
movslq 0x914(%rbp), %rdx
leaq 0x621a1(%rip), %rsi     # 0xb543d
movq %rbx, %rdi
movq %r13, %rcx
callq 0x52767
xorl %edx, %edx
cmpl $0x0, 0x668(%rbp)
setne %dl
leaq 0x62377(%rip), %rsi     # 0xb5631
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movq 0x670(%rbp), %rdx
leaq 0x6236a(%rip), %rsi     # 0xb563c
leaq 0x5bcee(%rip), %rcx     # 0xaefc7
movq %rbx, %rdi
callq 0x526d6
movl 0x66c(%rbp), %edx
leaq 0x623a7(%rip), %rsi     # 0xb5695
leaq 0xa5ebb(%rip), %rcx     # 0xf91b0
movq %rbx, %rdi
pushq $0x2
popq %r8
callq 0x52802
movl 0x678(%rbp), %edx
leaq 0x6236d(%rip), %rsi     # 0xb567b
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movslq 0x67c(%rbp), %rdx
leaq 0x623a9(%rip), %rsi     # 0xb56cf
movq %rbx, %rdi
movq %r12, %rcx
callq 0x52767
movq 0x680(%rbp), %rdx
leaq 0x623dd(%rip), %rsi     # 0xb571c
movl $0x4000000, %ecx        # imm = 0x4000000
movq %rbx, %rdi
callq 0x5261a
movq 0x9e8(%rbp), %rdx
leaq 0x626dc(%rip), %rsi     # 0xb5a36
movl $0x1388, %ecx           # imm = 0x1388
movq %rbx, %rdi
callq 0x52767
movl 0x99c(%rbp), %edx
leaq 0x625a2(%rip), %rsi     # 0xb5916
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52678
movq 0x9a8(%rbp), %rdx
leaq 0x6259a(%rip), %rsi     # 0xb5926
leaq 0x5bc43(%rip), %rcx     # 0xaefd6
movq %rbx, %rdi
callq 0x526d6
movl 0x9c0(%rbp), %edx
leaq 0x62592(%rip), %rsi     # 0xb593a
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movq 0x9a0(%rbp), %rdx
leaq 0x62597(%rip), %rsi     # 0xb5958
movl $0x3a98, %ecx           # imm = 0x3A98
movq %rbx, %rdi
callq 0x52767
movslq 0x9b8(%rbp), %rdx
leaq 0x625bb(%rip), %rsi     # 0xb5997
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x52767
movslq 0x9bc(%rbp), %rdx
leaq 0x625ec(%rip), %rsi     # 0xb59e1
movq %rbx, %rdi
movq %r15, %r12
movq %r15, %rcx
callq 0x52767
movq 0x408(%rbp), %rdx
leaq 0x62634(%rip), %rsi     # 0xb5a45
movl $0x2710, %ecx           # imm = 0x2710
movq %rbx, %rdi
callq 0x52767
movq 0xa18(%rbp), %rdx
leaq 0x62631(%rip), %rsi     # 0xb5a5d
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52767
movq 0x410(%rbp), %rdx
leaq 0x6265b(%rip), %rsi     # 0xb5a9f
movl $0x80, %ecx
movq %rbx, %rdi
callq 0x52767
movq %rbx, %rdi
callq 0x52a28
movq 0x940(%rbp), %rdx
leaq 0x6237b(%rip), %rsi     # 0xb57e2
movl $0x200, %ecx            # imm = 0x200
movq %rbx, %rdi
callq 0x52767
movq 0x948(%rbp), %rdx
leaq 0x62379(%rip), %rsi     # 0xb57fb
pushq $0x40
popq %r15
movq %rbx, %rdi
movq %r15, %rcx
callq 0x52767
movslq 0x970(%rbp), %rdx
leaq 0x623a3(%rip), %rsi     # 0xb5842
pushq $-0x2
popq %rcx
movq %rbx, %rdi
callq 0x52767
movslq 0x974(%rbp), %rdx
leaq 0x623a0(%rip), %rsi     # 0xb5858
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x52767
movq 0x950(%rbp), %rdx
leaq 0x6239c(%rip), %rsi     # 0xb586c
movl $0x200, %ecx            # imm = 0x200
movq %rbx, %rdi
callq 0x52767
movq 0x958(%rbp), %rdx
leaq 0x62398(%rip), %rsi     # 0xb5883
movl $0x80, %ecx
movq %rbx, %rdi
callq 0x52767
movq 0x960(%rbp), %rdx
leaq 0x62396(%rip), %rsi     # 0xb589c
movq %rbx, %rdi
movq %r15, %rcx
callq 0x52767
movq 0x968(%rbp), %rdx
leaq 0x62394(%rip), %rsi     # 0xb58b3
movl $0xbb8, %ecx            # imm = 0xBB8
movq %rbx, %rdi
callq 0x52767
movl 0x50(%rbp), %edx
leaq 0x620de(%rip), %rsi     # 0xb5614
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x318(%rbp), %edx
leaq 0x61cad(%rip), %rsi     # 0xb51fb
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movq %rbx, %rdi
callq 0x52aad
movslq 0x20(%rbp), %rdx
leaq 0x620c2(%rip), %rsi     # 0xb562e
movq %rbx, %rdi
movq %r12, %rcx
callq 0x52767
movl 0x6e8(%rbp), %edx
leaq 0x621b2(%rip), %rsi     # 0xb5736
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x6f4(%rbp), %edx
leaq 0x621b8(%rip), %rsi     # 0xb5754
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x52678
movl 0x618(%rbp), %edx
leaq 0x626c2(%rip), %rsi     # 0xb5c76
leaq 0xa5ba5(%rip), %rcx     # 0xf9160
movq %rbx, %rdi
xorl %r8d, %r8d
callq 0x52802
cmpl $0x0, 0x9c(%rbp)
je 0x535d7
movq %rbx, %rdi
callq 0x6c2ba
movq %rbx, %rdi
callq 0x52cfe
movq %rbx, %rdi
callq 0x52c53
movq %rax, %r14
movq 0x8(%rbp), %rdi
movq %rax, %rsi
callq 0x52da1
movl %eax, %ebp
movq %r14, %rdi
callq 0x311c8
movq %rbx, %rdi
callq 0x52cd4
movl %ebp, %eax
jmp 0x5360f
pushq $-0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq