// File: /workspace/github_c_makefile_star2_O1/buf1024[P]mysch/mysch.c
// Function: load_conf
int load_conf(sch_info_t* info, int flag)
{
    int ret = 0;
    ini_conf_t* ini = ini_create();
    ret = ini_load(ini, info->conf);
    if (ret != 0) {
        ini_destroy(ini);
        printf("ini_load failed.\n");
        return -1;
    }

    ini_sec_t* sec = ini_get_sec(ini, "COMMON");
    if(sec == NULL) {
        printf("ini_get_sec failed.\n");
        ini_destroy(ini);
        return -1;
    }

    READ_CONF_STR_OPT(sec, "RUN_USER", info->run_user);

    if(runas(info->run_user) != 0) {
        printf("runas %s failed.\n", info->run_user);
        return -1;
    }

    {
        char file_level[64] = { 0 };
        char log_path[256] = { 0 };
        char log_header[64] = { 0 };
        int log_buffer = 0;
        int log_sw_time = 0;

        READ_CONF_STR_MUST(sec, "LOG_LEVEL", file_level);
        READ_CONF_STR_MUST(sec, "LOG_PATH", log_path);
        READ_CONF_STR_MUST(sec, "LOG_HEADER", log_header);
        READ_CONF_INT_MUST(sec, "LOG_BUFFER", log_buffer);
        READ_CONF_INT_MUST(sec, "LOG_SWITCH_TIME", log_sw_time);

        if(log_buffer < 0 || log_sw_time < 0) {
            printf("log_buffer = %d or log_switch_time = %d invalid.\n",
                    log_buffer, log_sw_time);
            return -1;
        }
        if(log_sw_time > 86400) {
            log_sw_time %= 86400;
        }

        if (flag != LOAD_CONF_TEST) {
            if (flag == LOAD_CONF_RELOAD) {
                log_finish();
                log_clearup();
            }

            int lvl = log_get_level(file_level);

            if (log_initialize_console(lvl) != 0) {
                printf("log_initialize_console failed.\n");
                return -1;
            }

            if (log_initialize_file(lvl, log_path, log_header, log_buffer,
                        log_sw_time, -1) != 0) {
                printf("log_initialize_file failed.\n");
                return -1;
            }
            if (log_start() != 0) {
                printf("log_initilize failed.\n");
                return -1;
            }
            LOG_INFO("logger is ready.\n");
        }
    }

    READ_CONF_INT_MUST(sec, "SLEEP_TIME", info->sleep_time);
    READ_CONF_INT_MUST(sec, "KILL_CHILD_FLAG", info->kill_flag);
    READ_CONF_STR_OPT(sec, "PID_FILE", info->pid_file);

    {
        char prog_list[2048] = { 0 };
        char progs[128][64] = { { 0 } };
        int num = 0;
        READ_CONF_STR_MUST(sec, "PROG_LIST", prog_list);

        num = split(prog_list, '|', (char **)progs, 64, 128);
        if(num <= 0) {
            LOG_ERROR("split %s failed.\n", prog_list);
            ini_destroy(ini);
            log_finish();
            return -1;
        }

        if(flag == LOAD_CONF_RELOAD) {
            if(info->progq){
                list_iter* it = list_get_iterator(info->progq, AL_START_HEAD);
                list_node* n = NULL;
                while((n = list_next(it)) != NULL) {
                    prog_t* p = list_node_value(n);
                    if(p->cond) {
                        list_release(p->cond, AL_FREE);
                    }
                }

                list_release_iterator(it);
                list_release(info->progq, AL_FREE);
            }

            info->progq = list_create();
        }

        int i = 0;
        for(i=0; i<num; i++) {

            ini_sec_t* ssec = ini_get_sec(ini, progs[i]);
            if (ssec == NULL ) {
                LOG_ERROR("get section %s failed.\n", progs[i]);
                ini_destroy(ini);
                log_finish();
                return -1;
            }


            prog_t* prog = (prog_t*)malloc(sizeof(*prog));
            memset(prog, 0, sizeof(*prog));

            char run_cmd[1024] = {0};

            READ_CONF_STR_MUST(ssec, "RUN_COMMAND", run_cmd);
            READ_CONF_STR_MUST(ssec, "RUN_USER", prog->user);
            char run_flag[256] = {0};
            READ_CONF_STR_MUST(ssec, "RUN_FLAG", run_flag);
            if(strcasecmp(run_flag, "forkfirst") == 0){
                prog->flag = FORK_FIRST;
            }else if(strcasecmp(run_flag, "forkonce") == 0){
                prog->flag = FORK_ONCE;
            }else if(strcasecmp(run_flag, "forkwatch") == 0){
                prog->flag = FORK_WATCH;
            }else if(strcasecmp(run_flag, "forkperiod") == 0){
                prog->flag = FORK_PERIOD;
            }else{
                printf("syntax not right, available value: forkfirst forkonce forkwatch\n");
                return -1;
            } 
            int ncmd = 0;
            ncmd = split(run_cmd, ' ',  (char**)prog->argv, 128, 16);
            if(ncmd <= 0){
                LOG_ERROR("split cmd %s failed\n", run_cmd);
                free(prog);

                ini_destroy(ini);
                log_finish();
                return -1;
            }
            prog->argc = ncmd;
            strcpy(prog->cmd, prog->argv[0]);

            if(prog->flag) {
                char cond[1024] = {0};
                READ_CONF_STR_MUST(ssec, "RUN_TIME", cond);

                if(build_condition(prog, cond) != 0) {
                    LOG_ERROR("build_condition failed. condition=%s\n", cond);
                    free(prog);

                    ini_destroy(ini);
                    log_finish();
                    return -1;
                }
                char has_pid[1024] = {0};
                READ_CONF_STR_OPT(ssec, "RUN_HAS_PID_FILE", has_pid);
                if(strcmp(has_pid, "1") == 0) {
                    prog->has_pid_file = 1;
                } 
                if(prog->has_pid_file == 0) {
                    if(strcasecmp(has_pid, "yes") == 0) {
                        prog->has_pid_file = 1;
                    }
                }
                READ_CONF_STR_OPT(ssec, "RUN_PID_FILE", prog->pid_file);
            }


            list_iter* it = list_get_iterator(info->progq, AL_START_HEAD);
            list_node* node = NULL;
            while((node = list_next(it))) {
                prog_t* lp = list_node_value(node);
                if(lp->flag > prog->flag) {
                    break;
                }
            }
            if(node == NULL) {
                if(list_length(info->progq) == 0) {
                    list_add_node_head(info->progq, prog);
                }else{
                    list_add_node_tail(info->progq, prog);
                }
            }else{
                list_insert_node(info->progq, node, prog, 0);
            }
            list_release_iterator(it);
        }

        list_iter* it = list_get_iterator(info->progq, AL_START_HEAD);
        list_node* node = NULL;
        while((node = list_next(it))) {
            prog_t* lp = list_node_value(node);
            LOG_DEBUG("prog = %s\n", lp->cmd);
        }
        list_release_iterator(it);
    }


    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3528, %rsp           # imm = 0x3528
movl %esi, %r12d
movq %rdi, %r14
xorl %eax, %eax
callq 0x3895
movq %rax, %rbx
leaq 0x148(%r14), %rsi
movq %rax, %rdi
callq 0x38a1
testl %eax, %eax
je 0x5eec
movq %rbx, %rdi
callq 0x3820
leaq 0x294e(%rip), %rdi      # 0x881a
callq 0x20b0
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl %r15d, %eax
addq $0x3528, %rsp           # imm = 0x3528
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x23db(%rip), %rsi      # 0x82ce
movq %rbx, %rdi
callq 0x414e
testq %rax, %rax
je 0x5f4c
movq %rax, %r13
leaq 0x23cb(%rip), %rsi      # 0x82d5
movq %rax, %rdi
callq 0x41cb
testq %rax, %rax
je 0x5f26
leaq 0x108(%r14), %rdi
movq %rax, %rsi
callq 0x2090
leaq 0x108(%r14), %r15
movq %r15, %rdi
callq 0x536b
testl %eax, %eax
je 0x5f65
leaq 0x239e(%rip), %rdi      # 0x82de
movq %r15, %rsi
xorl %eax, %eax
callq 0x2160
jmp 0x5ed1
leaq 0x28b3(%rip), %rdi      # 0x8806
callq 0x20b0
movq %rbx, %rdi
callq 0x3820
jmp 0x5ed1
xorps %xmm0, %xmm0
movaps %xmm0, -0xd20(%rbp)
movaps %xmm0, -0xd30(%rbp)
movaps %xmm0, -0xd40(%rbp)
movaps %xmm0, -0xd50(%rbp)
leaq -0x3550(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x21a0
xorps %xmm0, %xmm0
movaps %xmm0, -0x520(%rbp)
movaps %xmm0, -0x530(%rbp)
movaps %xmm0, -0x540(%rbp)
movaps %xmm0, -0x550(%rbp)
leaq 0x2333(%rip), %rsi      # 0x82f0
movq %r13, %rdi
callq 0x41cb
movq %rax, %r15
testq %rax, %rax
je 0x5fde
leaq -0xd50(%rbp), %rdi
movq %r15, %rsi
callq 0x2090
jmp 0x5ff3
leaq 0x2315(%rip), %rdi      # 0x82fa
leaq 0x2304(%rip), %rsi      # 0x82f0
xorl %eax, %eax
callq 0x2160
testq %r15, %r15
je 0x5ed1
leaq 0x2324(%rip), %rsi      # 0x8327
movq %r13, %rdi
callq 0x41cb
movq %rax, %r15
testq %rax, %rax
je 0x6024
leaq -0x3550(%rbp), %rdi
movq %r15, %rsi
callq 0x2090
jmp 0x6039
leaq 0x22cf(%rip), %rdi      # 0x82fa
leaq 0x22f5(%rip), %rsi      # 0x8327
xorl %eax, %eax
callq 0x2160
testq %r15, %r15
je 0x5ed1
leaq 0x22e7(%rip), %rsi      # 0x8330
movq %r13, %rdi
callq 0x41cb
movq %rax, %r15
testq %rax, %rax
je 0x606a
leaq -0x550(%rbp), %rdi
movq %r15, %rsi
callq 0x2090
jmp 0x607f
leaq 0x2289(%rip), %rdi      # 0x82fa
leaq 0x22b8(%rip), %rsi      # 0x8330
xorl %eax, %eax
callq 0x2160
testq %r15, %r15
je 0x5ed1
leaq 0x22ac(%rip), %rsi      # 0x833b
movq %r13, %rdi
callq 0x41cb
movq %rax, %r15
testq %rax, %rax
je 0x60ac
movq %r15, %rdi
callq 0x2330
movl %eax, -0x30(%rbp)
jmp 0x60c8
leaq 0x2247(%rip), %rdi      # 0x82fa
leaq 0x2281(%rip), %rsi      # 0x833b
movl $0x0, -0x30(%rbp)
xorl %eax, %eax
callq 0x2160
testq %r15, %r15
je 0x5ed1
leaq 0x226e(%rip), %rsi      # 0x8346
movq %r13, %rdi
callq 0x41cb
movq %rax, %r15
testq %rax, %rax
je 0x60f4
movq %r15, %rdi
callq 0x2330
movl %eax, %edx
jmp 0x610b
leaq 0x21ff(%rip), %rdi      # 0x82fa
leaq 0x2244(%rip), %rsi      # 0x8346
xorl %eax, %eax
callq 0x2160
xorl %edx, %edx
testq %r15, %r15
je 0x5ed1
movl -0x30(%rbp), %esi
movl %esi, %eax
orl %edx, %eax
jns 0x6130
leaq 0x2232(%rip), %rdi      # 0x8356
xorl %eax, %eax
callq 0x2160
jmp 0x5ed1
movl %edx, %eax
movl $0xc22e4507, %ecx       # imm = 0xC22E4507
imulq %rax, %rcx
shrq $0x30, %rcx
imull $0x15180, %ecx, %eax    # imm = 0x15180
movl %edx, %ecx
subl %eax, %ecx
cmpl $0x15181, %edx          # imm = 0x15181
cmovll %edx, %ecx
testl %r12d, %r12d
je 0x61f0
movl %ecx, -0x38(%rbp)
cmpl $0x1, %r12d
jne 0x6172
xorl %eax, %eax
callq 0x498c
xorl %eax, %eax
callq 0x43bb
leaq -0xd50(%rbp), %rdi
callq 0x4204
movl %eax, %r15d
movl %eax, %edi
callq 0x4a90
testl %eax, %eax
je 0x6198
leaq 0x2614(%rip), %rdi      # 0x87a7
jmp 0x5ecc
leaq -0x3550(%rbp), %rsi
leaq -0x550(%rbp), %rdx
movl %r15d, %edi
movl -0x30(%rbp), %ecx
movl -0x38(%rbp), %r8d
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
callq 0x4aae
testl %eax, %eax
je 0x61cb
leaq 0x25c5(%rip), %rdi      # 0x878b
jmp 0x5ecc
xorl %eax, %eax
callq 0x437b
testl %eax, %eax
je 0x61e2
leaq 0x2598(%rip), %rdi      # 0x8775
jmp 0x5ecc
leaq 0x219f(%rip), %rdi      # 0x8388
xorl %eax, %eax
callq 0x46e4
leaq 0x21a3(%rip), %rsi      # 0x839a
movq %r13, %rdi
callq 0x41cb
testq %rax, %rax
movq %rax, -0x30(%rbp)
je 0x6215
movq %rax, %rdi
callq 0x2330
movl %eax, (%r14)
jmp 0x622a
leaq 0x20de(%rip), %rdi      # 0x82fa
leaq 0x2177(%rip), %rsi      # 0x839a
xorl %eax, %eax
callq 0x2160
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
cmpq $0x0, -0x30(%rbp)
je 0x5ed7
leaq 0x2163(%rip), %rsi      # 0x83a5
movq %r13, %rdi
callq 0x41cb
testq %rax, %rax
movq %rax, -0x30(%rbp)
je 0x6261
movq %rax, %rdi
callq 0x2330
movl %eax, 0x4(%r14)
jmp 0x6276
leaq 0x2092(%rip), %rdi      # 0x82fa
leaq 0x2136(%rip), %rsi      # 0x83a5
xorl %eax, %eax
callq 0x2160
cmpq $0x0, -0x30(%rbp)
je 0x5ed7
leaq 0x21f1(%rip), %rsi      # 0x8479
movq %r13, %rdi
callq 0x41cb
testq %rax, %rax
je 0x62a1
leaq 0x8(%r14), %rdi
movq %rax, %rsi
callq 0x2090
leaq -0xd50(%rbp), %rdi
movl $0x800, %edx            # imm = 0x800
xorl %esi, %esi
callq 0x21a0
leaq -0x3550(%rbp), %rdi
movl $0x2000, %edx           # imm = 0x2000
xorl %esi, %esi
callq 0x21a0
leaq 0x20e7(%rip), %rsi      # 0x83b5
movq %r13, %rdi
callq 0x41cb
movq %rax, %r13
testq %rax, %rax
je 0x62ef
leaq -0xd50(%rbp), %rdi
movq %r13, %rsi
callq 0x2090
jmp 0x6304
leaq 0x2004(%rip), %rdi      # 0x82fa
leaq 0x20b8(%rip), %rsi      # 0x83b5
xorl %eax, %eax
callq 0x2160
testq %r13, %r13
je 0x5ed7
leaq -0xd50(%rbp), %rdi
leaq -0x3550(%rbp), %rdx
movl $0x7c, %esi
movl $0x40, %ecx
movl $0x80, %r8d
callq 0x595a
testl %eax, %eax
jle 0x637c
movl %eax, %r13d
cmpl $0x1, %r12d
jne 0x63b8
movq 0x248(%r14), %rdi
testq %rdi, %rdi
je 0x63ac
xorl %esi, %esi
callq 0x3670
movq %rax, %r12
movq %rax, %rdi
callq 0x36d6
testq %rax, %rax
je 0x6396
movq 0x10(%rax), %rax
movq 0xa58(%rax), %rdi
testq %rdi, %rdi
je 0x6377
xorl %esi, %esi
callq 0x347b
movq %r12, %rdi
jmp 0x6356
leaq 0x203c(%rip), %rdi      # 0x83bf
leaq -0xd50(%rbp), %rsi
xorl %eax, %eax
callq 0x4838
jmp 0x67fb
movq %r12, %rdi
callq 0x36a5
movq 0x248(%r14), %rdi
xorl %esi, %esi
callq 0x347b
callq 0x3454
movq %rax, 0x248(%r14)
cmpl $0x2, %r13d
movl $0x1, %eax
cmovgel %r13d, %eax
movq %rax, -0x40(%rbp)
xorl %eax, %eax
movq %rax, -0x48(%rbp)
shlq $0x6, %rax
leaq (%rax,%rbp), %r12
addq $-0x3550, %r12          # imm = 0xCAB0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x414e
testq %rax, %rax
je 0x67bf
movq %rax, %r13
movl $0xa70, %edi            # imm = 0xA70
callq 0x22a0
movl $0xa70, %edx            # imm = 0xA70
movq %rax, -0x38(%rbp)
movq %rax, %rdi
xorl %esi, %esi
callq 0x21a0
movl $0x400, %edx            # imm = 0x400
leaq -0x550(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
callq 0x21a0
movq %r13, -0x30(%rbp)
movq %r13, %rdi
leaq 0x1fb3(%rip), %rsi      # 0x83e9
callq 0x41cb
movq %rax, %r13
testq %rax, %rax
je 0x6450
movq %r12, %rdi
movq %r13, %rsi
callq 0x2090
jmp 0x6465
leaq 0x1ea3(%rip), %rdi      # 0x82fa
leaq 0x1f8b(%rip), %rsi      # 0x83e9
xorl %eax, %eax
callq 0x2160
testq %r13, %r13
movq -0x38(%rbp), %r12
je 0x5ed7
movq -0x30(%rbp), %rdi
leaq 0x1e58(%rip), %rsi      # 0x82d5
callq 0x41cb
movq %rax, %r13
testq %rax, %rax
je 0x649c
leaq 0xa10(%r12), %rdi
movq %r13, %rsi
callq 0x2090
jmp 0x64b1
leaq 0x1e57(%rip), %rdi      # 0x82fa
leaq 0x1e2b(%rip), %rsi      # 0x82d5
xorl %eax, %eax
callq 0x2160
testq %r13, %r13
je 0x5ed7
movl $0x100, %edx            # imm = 0x100
leaq -0x150(%rbp), %rdi
xorl %esi, %esi
callq 0x21a0
movq -0x30(%rbp), %rdi
leaq 0x1f1d(%rip), %rsi      # 0x83f5
callq 0x41cb
movq %rax, %r13
testq %rax, %rax
je 0x64f6
leaq -0x150(%rbp), %rdi
movq %r13, %rsi
callq 0x2090
jmp 0x650b
leaq 0x1dfd(%rip), %rdi      # 0x82fa
leaq 0x1ef1(%rip), %rsi      # 0x83f5
xorl %eax, %eax
callq 0x2160
testq %r13, %r13
je 0x5ed7
leaq -0x150(%rbp), %r13
movq %r13, %rdi
leaq 0x1ed9(%rip), %rsi      # 0x83fe
callq 0x2040
testl %eax, %eax
je 0x6571
movq %r13, %rdi
leaq 0x1ed0(%rip), %rsi      # 0x8408
callq 0x2040
testl %eax, %eax
je 0x6578
movq %r13, %rdi
leaq 0x22b1(%rip), %rsi      # 0x87fc
callq 0x2040
testl %eax, %eax
je 0x657c
movq %r13, %rdi
leaq 0x1eb3(%rip), %rsi      # 0x8411
callq 0x2040
movl $0x2, %ecx
testl %eax, %eax
je 0x6581
jmp 0x680f
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x6581
xorl %ecx, %ecx
jmp 0x6581
movl $0x1, %ecx
movl %ecx, 0xa50(%r12)
leaq 0x210(%r12), %r13
leaq -0x550(%rbp), %rdi
movl $0x20, %esi
movq %r13, %rdx
movl $0x80, %ecx
movl $0x10, %r8d
callq 0x595a
testl %eax, %eax
jle 0x67ce
movl %eax, 0x20c(%r12)
leaq 0x10c(%r12), %rdi
movq %r13, %rsi
callq 0x2090
cmpl $0x0, 0xa50(%r12)
je 0x66e5
movl $0x400, %edx            # imm = 0x400
leaq -0x1150(%rbp), %rdi
xorl %esi, %esi
callq 0x21a0
movq -0x30(%rbp), %rdi
leaq 0x1e34(%rip), %rsi      # 0x8431
callq 0x41cb
movq %rax, %r13
testq %rax, %rax
je 0x661b
leaq -0x1150(%rbp), %rdi
movq %r13, %rsi
callq 0x2090
jmp 0x6630
leaq 0x1cd8(%rip), %rdi      # 0x82fa
leaq 0x1e08(%rip), %rsi      # 0x8431
xorl %eax, %eax
callq 0x2160
testq %r13, %r13
je 0x5ed7
movq %r12, %rdi
leaq -0x1150(%rbp), %rsi
callq 0x6820
testl %eax, %eax
leaq -0x1550(%rbp), %r13
jne 0x67de
movl $0x400, %edx            # imm = 0x400
movq %r13, %rdi
xorl %esi, %esi
callq 0x21a0
movq -0x30(%rbp), %rdi
leaq 0x1def(%rip), %rsi      # 0x8460
callq 0x41cb
testq %rax, %rax
je 0x6686
movq %r13, %rdi
movq %rax, %rsi
callq 0x2090
cmpw $0x31, -0x1550(%rbp)
jne 0x6699
movl $0x1, 0x8(%r12)
cmpl $0x0, 0x8(%r12)
movq -0x30(%rbp), %rdi
jne 0x66c5
movq %r13, %rdi
leaq 0x1dc2(%rip), %rsi      # 0x8471
callq 0x2040
movq -0x30(%rbp), %rdi
testl %eax, %eax
jne 0x66c5
movl $0x1, 0x8(%r12)
leaq 0x1da9(%rip), %rsi      # 0x8475
callq 0x41cb
testq %rax, %rax
je 0x66e5
movq %r12, %rdi
addq $0xc, %rdi
movq %rax, %rsi
callq 0x2090
movq 0x248(%r14), %rdi
xorl %esi, %esi
callq 0x3670
movq %rax, %r13
movq %r13, %rdi
callq 0x36d6
testq %rax, %rax
je 0x672d
movq 0x10(%rax), %rcx
movl 0xa50(%rcx), %ecx
cmpl 0xa50(%r12), %ecx
jle 0x66f6
movq 0x248(%r14), %rdi
movq %rax, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x3597
jmp 0x674d
movq 0x248(%r14), %rdi
cmpq $0x0, 0x10(%rdi)
je 0x6745
movq %r12, %rsi
callq 0x3535
jmp 0x674d
movq %r12, %rsi
callq 0x34d6
movq %r13, %rdi
callq 0x36a5
movq -0x48(%rbp), %rax
incq %rax
cmpq -0x40(%rbp), %rax
jne 0x63cb
movq 0x248(%r14), %rdi
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x3670
movq %rax, %rbx
movq %rax, %rdi
callq 0x36d6
testq %rax, %rax
je 0x67b2
movl $0x10c, %r12d           # imm = 0x10C
leaq 0x1cee(%rip), %r14      # 0x8482
movq 0x10(%rax), %rsi
addq %r12, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x4433
movq %rbx, %rdi
callq 0x36d6
testq %rax, %rax
jne 0x6794
movq %rbx, %rdi
callq 0x36a5
jmp 0x5ed7
leaq 0x1c0b(%rip), %rdi      # 0x83d1
movq %r12, %rsi
jmp 0x638a
leaq 0x1c47(%rip), %rdi      # 0x841c
leaq -0x550(%rbp), %rsi
jmp 0x67ec
leaq 0x1c55(%rip), %rdi      # 0x843a
leaq -0x1150(%rbp), %rsi
xorl %eax, %eax
callq 0x4838
movq %r12, %rdi
callq 0x2030
movq %rbx, %rdi
callq 0x3820
xorl %eax, %eax
callq 0x498c
jmp 0x5ed7
leaq 0x1fb0(%rip), %rdi      # 0x87c6
callq 0x20b0
jmp 0x5ed7