// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/src/redis-cli.c
// Function: cliInitHelp
static void cliInitHelp(void) {
    int commandslen = sizeof(commandHelp)/sizeof(struct commandHelp);
    int groupslen = sizeof(commandGroups)/sizeof(char*);
    int i, len, pos = 0;
    helpEntry tmp;

    helpEntriesLen = len = commandslen+groupslen;
    helpEntries = zmalloc(sizeof(helpEntry)*len);

    for (i = 0; i < groupslen; i++) {
        tmp.argc = 1;
        tmp.argv = zmalloc(sizeof(sds));
        tmp.argv[0] = sdscatprintf(sdsempty(),"@%s",commandGroups[i]);
        tmp.full = tmp.argv[0];
        tmp.type = CLI_HELP_GROUP;
        tmp.org = NULL;
        helpEntries[pos++] = tmp;
    }

    for (i = 0; i < commandslen; i++) {
        tmp.argv = sdssplitargs(commandHelp[i].name,&tmp.argc);
        tmp.full = sdsnew(commandHelp[i].name);
        tmp.type = CLI_HELP_COMMAND;
        tmp.org = &commandHelp[i];
        helpEntries[pos++] = tmp;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl $0xc5, -0x4(%rbp)
movl $0xe, -0x8(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x4(%rbp), %eax
addl -0x8(%rbp), %eax
movl %eax, -0x10(%rbp)
movl %eax, 0x89168(%rip)     # 0xa15e4
movslq -0x10(%rbp), %rdi
shlq $0x5, %rdi
callq 0x19760
movq %rax, 0x89158(%rip)     # 0xa15e8
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x8(%rbp), %eax
jge 0x1854a
movl $0x1, -0x34(%rbp)
movl $0x8, %edi
callq 0x19760
movq %rax, -0x30(%rbp)
callq 0x1ed50
movq %rax, %rdi
movslq -0xc(%rbp), %rcx
leaq 0x88e35(%rip), %rax     # 0xa1300
movq (%rax,%rcx,8), %rdx
leaq 0x744aa(%rip), %rsi     # 0x8c980
movb $0x0, %al
callq 0x1fe10
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movl $0x2, -0x38(%rbp)
movq $0x0, -0x20(%rbp)
movq 0x890e0(%rip), %rax     # 0xa15e8
movl -0x14(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x14(%rbp)
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rcx
movq %rcx, 0x18(%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x18497
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jge 0x18607
movslq -0xc(%rbp), %rcx
leaq 0x86e38(%rip), %rax     # 0x9f3a0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdi
leaq -0x38(%rbp), %rsi
addq $0x4, %rsi
callq 0x20e50
movq %rax, -0x30(%rbp)
movslq -0xc(%rbp), %rcx
leaq 0x86e12(%rip), %rax     # 0x9f3a0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdi
callq 0x1ed70
movq %rax, -0x28(%rbp)
movl $0x1, -0x38(%rbp)
movslq -0xc(%rbp), %rcx
leaq 0x86ded(%rip), %rax     # 0x9f3a0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq 0x89023(%rip), %rax     # 0xa15e8
movl -0x14(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x14(%rbp)
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rcx
movq %rcx, 0x18(%rax)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x18551
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)