// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/deps/hiredis/hiredis.c
// Function: redisvFormatCommand
int redisvFormatCommand(char **target, const char *format, va_list ap) {
    const char *c = format;
    char *cmd = NULL; /* final command */
    int pos; /* position in final command */
    sds curarg, newarg; /* current argument */
    int touched = 0; /* was the current argument touched? */
    char **curargv = NULL, **newargv = NULL;
    int argc = 0;
    int totlen = 0;
    int j;

    /* Abort if there is not target to set */
    if (target == NULL)
        return -1;

    /* Build the command string accordingly to protocol */
    curarg = sdsempty();
    if (curarg == NULL)
        return -1;

    while(*c != '\0') {
        if (*c != '%' || c[1] == '\0') {
            if (*c == ' ') {
                if (touched) {
                    newargv = realloc(curargv,sizeof(char*)*(argc+1));
                    if (newargv == NULL) goto err;
                    curargv = newargv;
                    curargv[argc++] = curarg;
                    totlen += bulklen(sdslen(curarg));

                    /* curarg is put in argv so it can be overwritten. */
                    curarg = sdsempty();
                    if (curarg == NULL) goto err;
                    touched = 0;
                }
            } else {
                newarg = sdscatlen(curarg,c,1);
                if (newarg == NULL) goto err;
                curarg = newarg;
                touched = 1;
            }
        } else {
            char *arg;
            size_t size;

            /* Set newarg so it can be checked even if it is not touched. */
            newarg = curarg;

            switch(c[1]) {
            case 's':
                arg = va_arg(ap,char*);
                size = strlen(arg);
                if (size > 0)
                    newarg = sdscatlen(curarg,arg,size);
                break;
            case 'b':
                arg = va_arg(ap,char*);
                size = va_arg(ap,size_t);
                if (size > 0)
                    newarg = sdscatlen(curarg,arg,size);
                break;
            case '%':
                newarg = sdscat(curarg,"%");
                break;
            default:
                /* Try to detect printf format */
                {
                    static const char intfmts[] = "diouxX";
                    char _format[16];
                    const char *_p = c+1;
                    size_t _l = 0;
                    va_list _cpy;

                    /* Flags */
                    if (*_p != '\0' && *_p == '#') _p++;
                    if (*_p != '\0' && *_p == '0') _p++;
                    if (*_p != '\0' && *_p == '-') _p++;
                    if (*_p != '\0' && *_p == ' ') _p++;
                    if (*_p != '\0' && *_p == '+') _p++;

                    /* Field width */
                    while (*_p != '\0' && isdigit(*_p)) _p++;

                    /* Precision */
                    if (*_p == '.') {
                        _p++;
                        while (*_p != '\0' && isdigit(*_p)) _p++;
                    }

                    /* Copy va_list before consuming with va_arg */
                    va_copy(_cpy,ap);

                    /* Integer conversion (without modifiers) */
                    if (strchr(intfmts,*_p) != NULL) {
                        va_arg(ap,int);
                        goto fmt_valid;
                    }

                    /* Double conversion (without modifiers) */
                    if (strchr("eEfFgGaA",*_p) != NULL) {
                        va_arg(ap,double);
                        goto fmt_valid;
                    }

                    /* Size: char */
                    if (_p[0] == 'h' && _p[1] == 'h') {
                        _p += 2;
                        if (*_p != '\0' && strchr(intfmts,*_p) != NULL) {
                            va_arg(ap,int); /* char gets promoted to int */
                            goto fmt_valid;
                        }
                        goto fmt_invalid;
                    }

                    /* Size: short */
                    if (_p[0] == 'h') {
                        _p += 1;
                        if (*_p != '\0' && strchr(intfmts,*_p) != NULL) {
                            va_arg(ap,int); /* short gets promoted to int */
                            goto fmt_valid;
                        }
                        goto fmt_invalid;
                    }

                    /* Size: long long */
                    if (_p[0] == 'l' && _p[1] == 'l') {
                        _p += 2;
                        if (*_p != '\0' && strchr(intfmts,*_p) != NULL) {
                            va_arg(ap,long long);
                            goto fmt_valid;
                        }
                        goto fmt_invalid;
                    }

                    /* Size: long */
                    if (_p[0] == 'l') {
                        _p += 1;
                        if (*_p != '\0' && strchr(intfmts,*_p) != NULL) {
                            va_arg(ap,long);
                            goto fmt_valid;
                        }
                        goto fmt_invalid;
                    }

                fmt_invalid:
                    va_end(_cpy);
                    goto err;

                fmt_valid:
                    _l = (_p+1)-c;
                    if (_l < sizeof(_format)-2) {
                        memcpy(_format,c,_l);
                        _format[_l] = '\0';
                        newarg = sdscatvprintf(curarg,_format,_cpy);

                        /* Update current position (note: outer blocks
                         * increment c twice so compensate here) */
                        c = _p-1;
                    }

                    va_end(_cpy);
                    break;
                }
            }

            if (newarg == NULL) goto err;
            curarg = newarg;

            touched = 1;
            c++;
        }
        c++;
    }

    /* Add the last argument if needed */
    if (touched) {
        newargv = realloc(curargv,sizeof(char*)*(argc+1));
        if (newargv == NULL) goto err;
        curargv = newargv;
        curargv[argc++] = curarg;
        totlen += bulklen(sdslen(curarg));
    } else {
        sdsfree(curarg);
    }

    /* Clear curarg because it was put in curargv or was free'd. */
    curarg = NULL;

    /* Add bytes needed to hold multi bulk count */
    totlen += 1+intlen(argc)+2;

    /* Build the command at protocol level */
    cmd = malloc(totlen+1);
    if (cmd == NULL) goto err;

    pos = sprintf(cmd,"*%d\r\n",argc);
    for (j = 0; j < argc; j++) {
        pos += sprintf(cmd+pos,"$%zu\r\n",sdslen(curargv[j]));
        memcpy(cmd+pos,curargv[j],sdslen(curargv[j]));
        pos += sdslen(curargv[j]);
        sdsfree(curargv[j]);
        cmd[pos++] = '\r';
        cmd[pos++] = '\n';
    }
    assert(pos == totlen);
    cmd[pos] = '\0';

    free(curargv);
    *target = cmd;
    return totlen;

err:
    while(argc--)
        sdsfree(curargv[argc]);
    free(curargv);

    if (curarg != NULL)
        sdsfree(curarg);

    /* No need to check cmd since it is the last statement that can fail,
     * but do it anyway to be as defensive as possible. */
    if (cmd != NULL)
        free(cmd);

    return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movl $0x0, -0x4c(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movl $0x0, -0x64(%rbp)
movl $0x0, -0x68(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x1bb4f
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x1c7a2
callq 0x1ed50
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x1bb6b
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x1c7a2
jmp 0x1bb6d
movq -0x28(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1c52a
movq -0x28(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x25, %eax
jne 0x1bb9a
movq -0x28(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x0, %eax
jne 0x1bc6e
movq -0x28(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x1bc38
cmpl $0x0, -0x4c(%rbp)
je 0x1bc36
movq -0x58(%rbp), %rdi
movl -0x64(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
shlq $0x3, %rsi
callq 0x10460
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
jne 0x1bbda
jmp 0x1c74d
movq -0x60(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x40(%rbp), %rdx
movq -0x58(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x40(%rbp), %rdi
callq 0x1b740
movq %rax, %rdi
callq 0x1c7b0
movq %rax, %rcx
movslq -0x68(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x68(%rbp)
callq 0x1ed50
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x1bc2f
jmp 0x1c74d
movl $0x0, -0x4c(%rbp)
jmp 0x1bc69
movq -0x40(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x1, %edx
callq 0x1f8a0
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x1bc5a
jmp 0x1c74d
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movl $0x1, -0x4c(%rbp)
jmp 0x1c519
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movsbl 0x1(%rax), %eax
movl %eax, -0xc4(%rbp)
subl $0x25, %eax
je 0x1be2f
jmp 0x1bc8f
movl -0xc4(%rbp), %eax
subl $0x62, %eax
je 0x1bd44
jmp 0x1bca0
movl -0xc4(%rbp), %eax
subl $0x73, %eax
jne 0x1be48
jmp 0x1bcb1
movq -0x20(%rbp), %rax
movq %rax, -0xd0(%rbp)
movl (%rax), %eax
movl %eax, -0xc8(%rbp)
cmpl $0x28, %eax
ja 0x1bceb
movq -0xd0(%rbp), %rcx
movl -0xc8(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xd8(%rbp)
jmp 0x1bd08
movq -0xd0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
callq 0x101a0
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
jbe 0x1bd3f
movq -0x40(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x80(%rbp), %rdx
callq 0x1f8a0
movq %rax, -0x48(%rbp)
jmp 0x1c4f2
movq -0x20(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl (%rax), %eax
movl %eax, -0xdc(%rbp)
cmpl $0x28, %eax
ja 0x1bd7e
movq -0xe8(%rbp), %rcx
movl -0xdc(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xf0(%rbp)
jmp 0x1bd9b
movq -0xe8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x100(%rbp)
movl (%rax), %eax
movl %eax, -0xf4(%rbp)
cmpl $0x28, %eax
ja 0x1bde3
movq -0x100(%rbp), %rcx
movl -0xf4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x108(%rbp)
jmp 0x1be00
movq -0x100(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
jbe 0x1be2a
movq -0x40(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x80(%rbp), %rdx
callq 0x1f8a0
movq %rax, -0x48(%rbp)
jmp 0x1c4f2
movq -0x40(%rbp), %rdi
leaq 0x719b3(%rip), %rsi     # 0x8d7ed
callq 0x1f930
movq %rax, -0x48(%rbp)
jmp 0x1c4f2
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq $0x0, -0xa0(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1be92
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x23, %eax
jne 0x1be92
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1bec2
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x30, %eax
jne 0x1bec2
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1bef2
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x1bef2
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1bf22
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x1bf22
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1bf52
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2b, %eax
jne 0x1bf52
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
jmp 0x1bf54
movq -0x98(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x109(%rbp)
je 0x1bf95
callq 0x106e0
movq (%rax), %rax
movq -0x98(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
setne %al
movb %al, -0x109(%rbp)
movb -0x109(%rbp), %al
testb $0x1, %al
jne 0x1bfa1
jmp 0x1bfb5
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
jmp 0x1bf54
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x1c039
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x10a(%rbp)
je 0x1c017
callq 0x106e0
movq (%rax), %rax
movq -0x98(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
setne %al
movb %al, -0x10a(%rbp)
movb -0x10a(%rbp), %al
testb $0x1, %al
jne 0x1c023
jmp 0x1c037
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
jmp 0x1bfd6
jmp 0x1c039
leaq -0xc0(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movups (%rcx), %xmm0
movups %xmm0, (%rax)
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x71731(%rip), %rdi     # 0x8d794
callq 0x101c0
cmpq $0x0, %rax
je 0x1c0d1
movq -0x20(%rbp), %rax
movq %rax, -0x118(%rbp)
movl (%rax), %eax
movl %eax, -0x110(%rbp)
cmpl $0x28, %eax
ja 0x1c0a8
movq -0x118(%rbp), %rcx
movl -0x110(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x120(%rbp)
jmp 0x1c0c5
movq -0x118(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rax
jmp 0x1c478
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x7170d(%rip), %rdi     # 0x8d7ef
callq 0x101c0
cmpq $0x0, %rax
je 0x1c168
movq -0x20(%rbp), %rax
movq %rax, -0x138(%rbp)
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x130(%rbp)
movl 0x4(%rax), %eax
movl %eax, -0x124(%rbp)
cmpl $0xa0, %eax
ja 0x1c13f
movq -0x130(%rbp), %rcx
movl -0x124(%rbp), %edx
movq -0x138(%rbp), %rsi
movslq %edx, %rax
addq 0x10(%rsi), %rax
addl $0x10, %edx
movl %edx, (%rcx)
movq %rax, -0x140(%rbp)
jmp 0x1c15c
movq -0x138(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x140(%rbp)
movq -0x140(%rbp), %rax
jmp 0x1c478
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x68, %eax
jne 0x1c234
movq -0x98(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x68, %eax
jne 0x1c234
movq -0x98(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1c22f
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x715d3(%rip), %rdi     # 0x8d794
callq 0x101c0
cmpq $0x0, %rax
je 0x1c22f
movq -0x20(%rbp), %rax
movq %rax, -0x150(%rbp)
movl (%rax), %eax
movl %eax, -0x144(%rbp)
cmpl $0x28, %eax
ja 0x1c206
movq -0x150(%rbp), %rcx
movl -0x144(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x158(%rbp)
jmp 0x1c223
movq -0x150(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
jmp 0x1c478
jmp 0x1c46c
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x68, %eax
jne 0x1c2ec
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1c2e7
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x7151b(%rip), %rdi     # 0x8d794
callq 0x101c0
cmpq $0x0, %rax
je 0x1c2e7
movq -0x20(%rbp), %rax
movq %rax, -0x168(%rbp)
movl (%rax), %eax
movl %eax, -0x15c(%rbp)
cmpl $0x28, %eax
ja 0x1c2be
movq -0x168(%rbp), %rcx
movl -0x15c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x170(%rbp)
jmp 0x1c2db
movq -0x168(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x170(%rbp)
movq -0x170(%rbp), %rax
jmp 0x1c478
jmp 0x1c46c
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x6c, %eax
jne 0x1c3b8
movq -0x98(%rbp), %rax
movsbl 0x1(%rax), %eax
cmpl $0x6c, %eax
jne 0x1c3b8
movq -0x98(%rbp), %rax
addq $0x2, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1c3b3
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x7144f(%rip), %rdi     # 0x8d794
callq 0x101c0
cmpq $0x0, %rax
je 0x1c3b3
movq -0x20(%rbp), %rax
movq %rax, -0x180(%rbp)
movl (%rax), %eax
movl %eax, -0x174(%rbp)
cmpl $0x28, %eax
ja 0x1c38a
movq -0x180(%rbp), %rcx
movl -0x174(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x188(%rbp)
jmp 0x1c3a7
movq -0x180(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rax
jmp 0x1c478
jmp 0x1c46c
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x6c, %eax
jne 0x1c46a
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x1c468
movq -0x98(%rbp), %rax
movsbl (%rax), %esi
leaq 0x71397(%rip), %rdi     # 0x8d794
callq 0x101c0
cmpq $0x0, %rax
je 0x1c468
movq -0x20(%rbp), %rax
movq %rax, -0x198(%rbp)
movl (%rax), %eax
movl %eax, -0x18c(%rbp)
cmpl $0x28, %eax
ja 0x1c442
movq -0x198(%rbp), %rcx
movl -0x18c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1a0(%rbp)
jmp 0x1c45f
movq -0x198(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
jmp 0x1c478
jmp 0x1c46c
jmp 0x1c46c
leaq -0xc0(%rbp), %rax
jmp 0x1c74d
movq -0x98(%rbp), %rax
addq $0x1, %rax
movq -0x28(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0xa0(%rbp)
cmpq $0xe, -0xa0(%rbp)
jae 0x1c4eb
leaq -0x90(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0xa0(%rbp), %rdx
callq 0x103b0
movq -0xa0(%rbp), %rax
movb $0x0, -0x90(%rbp,%rax)
movq -0x40(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x1fc80
movq %rax, -0x48(%rbp)
movq -0x98(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x28(%rbp)
leaq -0xc0(%rbp), %rax
cmpq $0x0, -0x48(%rbp)
jne 0x1c4fe
jmp 0x1c74d
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movl $0x1, -0x4c(%rbp)
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
jmp 0x1bb6d
cmpl $0x0, -0x4c(%rbp)
je 0x1c598
movq -0x58(%rbp), %rdi
movl -0x64(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
shlq $0x3, %rsi
callq 0x10460
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
jne 0x1c556
jmp 0x1c74d
movq -0x60(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x40(%rbp), %rdx
movq -0x58(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x40(%rbp), %rdi
callq 0x1b740
movq %rax, %rdi
callq 0x1c7b0
movq %rax, %rcx
movslq -0x68(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x68(%rbp)
jmp 0x1c5a1
movq -0x40(%rbp), %rdi
callq 0x1ee80
movq $0x0, -0x40(%rbp)
movl -0x64(%rbp), %edi
callq 0x1c7e0
addl $0x1, %eax
addl $0x2, %eax
addl -0x68(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x10410
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
jne 0x1c5db
jmp 0x1c74d
movq -0x30(%rbp), %rdi
movl -0x64(%rbp), %edx
leaq 0x7120f(%rip), %rsi     # 0x8d7f8
movb $0x0, %al
callq 0x105f0
movl %eax, -0x34(%rbp)
movl $0x0, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x1c6fc
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x1b8(%rbp)
movq -0x58(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1b740
movq -0x1b8(%rbp), %rdi
movq %rax, %rdx
leaq 0x711c4(%rip), %rsi     # 0x8d7fe
movb $0x0, %al
callq 0x105f0
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x1b0(%rbp)
movq -0x58(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x1a8(%rbp)
movq -0x58(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1b740
movq -0x1b0(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
movq %rax, %rdx
callq 0x103b0
movq -0x58(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1b740
movq %rax, %rcx
movslq -0x34(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x34(%rbp)
movq -0x58(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1ee80
movq -0x30(%rbp), %rax
movl -0x34(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x34(%rbp)
movslq %ecx, %rcx
movb $0xd, (%rax,%rcx)
movq -0x30(%rbp), %rax
movl -0x34(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x34(%rbp)
movslq %ecx, %rcx
movb $0xa, (%rax,%rcx)
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x1c5fa
movl -0x34(%rbp), %eax
cmpl -0x68(%rbp), %eax
jne 0x1c706
jmp 0x1c725
leaq 0x710f8(%rip), %rdi     # 0x8d805
leaq 0x71096(%rip), %rsi     # 0x8d7aa
movl $0x37a, %edx            # imm = 0x37A
leaq 0x710f3(%rip), %rcx     # 0x8d813
callq 0x10230
movq -0x30(%rbp), %rax
movslq -0x34(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x58(%rbp), %rdi
callq 0x10050
movq -0x30(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl -0x68(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x1c7a2
jmp 0x1c74f
movl -0x64(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x64(%rbp)
cmpl $0x0, %eax
je 0x1c772
movq -0x58(%rbp), %rax
movslq -0x64(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1ee80
jmp 0x1c74f
movq -0x58(%rbp), %rdi
callq 0x10050
cmpq $0x0, -0x40(%rbp)
je 0x1c78b
movq -0x40(%rbp), %rdi
callq 0x1ee80
cmpq $0x0, -0x30(%rbp)
je 0x1c79b
movq -0x30(%rbp), %rdi
callq 0x10050
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl -0x4(%rbp), %eax
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
nop