// File: /workspace/github_c_makefile_star2_O0/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringCoreCommand
static int Jim_StringCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
    int len;
    int opt_case = 1;
    int option;
    static const char * const nocase_options[] = {
        "-nocase", NULL
    };
    static const char * const nocase_length_options[] = {
        "-nocase", "-length", NULL
    };

    enum {
        OPT_BYTELENGTH,
        OPT_BYTERANGE,
        OPT_CAT,
        OPT_COMPARE,
        OPT_EQUAL,
        OPT_FIRST,
        OPT_INDEX,
        OPT_IS,
        OPT_LAST,
        OPT_LENGTH,
        OPT_MAP,
        OPT_MATCH,
        OPT_RANGE,
        OPT_REPEAT,
        OPT_REPLACE,
        OPT_REVERSE,
        OPT_TOLOWER,
        OPT_TOTITLE,
        OPT_TOUPPER,
        OPT_TRIM,
        OPT_TRIMLEFT,
        OPT_TRIMRIGHT,
        OPT_COUNT
    };
    static const jim_subcmd_type cmds[OPT_COUNT + 1] = {
        JIM_DEF_SUBCMD("bytelength", "string", 1, 1),
        JIM_DEF_SUBCMD("byterange", "string first last", 3, 3),
        JIM_DEF_SUBCMD("cat", "?...?", 0, -1),
        JIM_DEF_SUBCMD("compare", "?-nocase? ?-length int? string1 string2", 2, 5),
        JIM_DEF_SUBCMD("equal", "?-nocase? ?-length int? string1 string2", 2, 5),
        JIM_DEF_SUBCMD("first", "subString string ?index?", 2, 3),
        JIM_DEF_SUBCMD("index", "string index", 2, 2),
        JIM_DEF_SUBCMD("is", "class ?-strict? str", 2, 3),
        JIM_DEF_SUBCMD("last", "subString string ?index?", 2, 3),
        JIM_DEF_SUBCMD("length","string", 1, 1),
        JIM_DEF_SUBCMD("map", "?-nocase? mapList string", 2, 3),
        JIM_DEF_SUBCMD("match", "?-nocase? pattern string", 2, 3),
        JIM_DEF_SUBCMD("range", "string first last", 3, 3),
        JIM_DEF_SUBCMD("repeat", "string count", 2, 2),
        JIM_DEF_SUBCMD("replace", "string first last ?string?", 3, 4),
        JIM_DEF_SUBCMD("reverse", "string", 1, 1),
        JIM_DEF_SUBCMD("tolower", "string", 1, 1),
        JIM_DEF_SUBCMD("totitle", "string", 1, 1),
        JIM_DEF_SUBCMD("toupper", "string", 1, 1),
        JIM_DEF_SUBCMD("trim", "string ?trimchars?", 1, 2),
        JIM_DEF_SUBCMD("trimleft", "string ?trimchars?", 1, 2),
        JIM_DEF_SUBCMD("trimright", "string ?trimchars?", 1, 2),
        { NULL }
    };
    const jim_subcmd_type *ct = Jim_ParseSubCmd(interp, cmds, argc, argv);
    if (!ct) {
        return JIM_ERR;
    }
    if (ct->function) {

        return ct->function(interp, argc, argv);
    }

    option = ct - cmds;

    switch (option) {
        case OPT_LENGTH:
            Jim_SetResultInt(interp, Jim_Utf8Length(interp, argv[2]));
            return JIM_OK;

        case OPT_BYTELENGTH:
            Jim_SetResultInt(interp, Jim_Length(argv[2]));
            return JIM_OK;

        case OPT_CAT:{
                Jim_Obj *objPtr;
                if (argc == 3) {

                    objPtr = argv[2];
                }
                else {
                    int i;

                    objPtr = Jim_NewStringObj(interp, "", 0);

                    for (i = 2; i < argc; i++) {
                        Jim_AppendObj(interp, objPtr, argv[i]);
                    }
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }

        case OPT_COMPARE:
        case OPT_EQUAL:
            {

                long opt_length = -1;
                int n = argc - 4;
                int i = 2;
                while (n > 0) {
                    int subopt;
                    if (Jim_GetEnum(interp, argv[i++], nocase_length_options, &subopt, NULL,
                            JIM_ENUM_ABBREV) != JIM_OK) {
badcompareargs:
                        Jim_SubCmdArgError(interp, ct, argv[0]);
                        return JIM_ERR;
                    }
                    if (subopt == 0) {

                        opt_case = 0;
                        n--;
                    }
                    else {

                        if (n < 2) {
                            goto badcompareargs;
                        }
                        if (Jim_GetLong(interp, argv[i++], &opt_length) != JIM_OK) {
                            return JIM_ERR;
                        }
                        n -= 2;
                    }
                }
                if (n) {
                    goto badcompareargs;
                }
                argv += argc - 2;
                if (opt_length < 0 && option != OPT_COMPARE && opt_case) {

                    Jim_SetResultBool(interp, Jim_StringEqObj(argv[0], argv[1]));
                }
                else {
                    const char *s1 = Jim_String(argv[0]);
                    int l1 = Jim_Utf8Length(interp, argv[0]);
                    const char *s2 = Jim_String(argv[1]);
                    int l2 = Jim_Utf8Length(interp, argv[1]);
                    if (opt_length >= 0) {
                        if (l1 > opt_length) {
                            l1 = opt_length;
                        }
                        if (l2 > opt_length) {
                            l2 = opt_length;
                        }
                    }
                    n = JimStringCompareUtf8(s1, l1, s2, l2, !opt_case);
                    Jim_SetResultInt(interp, option == OPT_COMPARE ? n : n == 0);
                }
                return JIM_OK;
            }

        case OPT_MATCH:
            if (argc != 4 &&
                (argc != 5 ||
                    Jim_GetEnum(interp, argv[2], nocase_options, &opt_case, NULL,
                        JIM_ENUM_ABBREV) != JIM_OK)) {
                Jim_WrongNumArgs(interp, 2, argv, "?-nocase? pattern string");
                return JIM_ERR;
            }
            if (opt_case == 0) {
                argv++;
            }
            Jim_SetResultBool(interp, Jim_StringMatchObj(interp, argv[2], argv[3], !opt_case));
            return JIM_OK;

        case OPT_MAP:{
                Jim_Obj *objPtr;

                if (argc != 4 &&
                    (argc != 5 ||
                        Jim_GetEnum(interp, argv[2], nocase_options, &opt_case, NULL,
                            JIM_ENUM_ABBREV) != JIM_OK)) {
                    Jim_WrongNumArgs(interp, 2, argv, "?-nocase? mapList string");
                    return JIM_ERR;
                }

                if (opt_case == 0) {
                    argv++;
                }
                objPtr = JimStringMap(interp, argv[2], argv[3], !opt_case);
                if (objPtr == NULL) {
                    return JIM_ERR;
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }

        case OPT_RANGE:{
                Jim_Obj *objPtr = Jim_StringRangeObj(interp, argv[2], argv[3], argv[4]);
                if (objPtr == NULL) {
                    return JIM_ERR;
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }

        case OPT_BYTERANGE:{
                Jim_Obj *objPtr = Jim_StringByteRangeObj(interp, argv[2], argv[3], argv[4]);
                if (objPtr == NULL) {
                    return JIM_ERR;
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }

        case OPT_REPLACE:{
                Jim_Obj *objPtr = JimStringReplaceObj(interp, argv[2], argv[3], argv[4], argc == 6 ? argv[5] : NULL);
                if (objPtr == NULL) {
                    return JIM_ERR;
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }


        case OPT_REPEAT:{
                Jim_Obj *objPtr;
                jim_wide count;

                if (Jim_GetWideExpr(interp, argv[3], &count) != JIM_OK) {
                    return JIM_ERR;
                }
                objPtr = Jim_NewStringObj(interp, "", 0);
                if (count > 0) {
                    while (count--) {
                        Jim_AppendObj(interp, objPtr, argv[2]);
                    }
                }
                Jim_SetResult(interp, objPtr);
                return JIM_OK;
            }

        case OPT_REVERSE:{
                char *buf, *p;
                const char *str;
                int i;

                str = Jim_GetString(argv[2], &len);
                buf = Jim_Alloc(len + 1);
                assert(buf);
                p = buf + len;
                *p = 0;
                for (i = 0; i < len; ) {
                    int c;
                    int l = utf8_tounicode(str, &c);
                    memcpy(p - l, str, l);
                    p -= l;
                    i += l;
                    str += l;
                }
                Jim_SetResult(interp, Jim_NewStringObjNoAlloc(interp, buf, len));
                return JIM_OK;
            }

        case OPT_INDEX:{
                int idx;
                const char *str;

                if (Jim_GetIndex(interp, argv[3], &idx) != JIM_OK) {
                    return JIM_ERR;
                }
                str = Jim_String(argv[2]);
                len = Jim_Utf8Length(interp, argv[2]);
                idx = JimRelToAbsIndex(len, idx);
                if (idx < 0 || idx >= len || str == NULL) {
                    Jim_SetResultString(interp, "", 0);
                }
                else if (len == Jim_Length(argv[2])) {

                    Jim_SetResultString(interp, str + idx, 1);
                }
                else {
                    int c;
                    int i = utf8_index(str, idx);
                    Jim_SetResultString(interp, str + i, utf8_tounicode(str + i, &c));
                }
                return JIM_OK;
            }

        case OPT_FIRST:
        case OPT_LAST:{
                int idx = 0, l1, l2;
                const char *s1, *s2;

                s1 = Jim_String(argv[2]);
                s2 = Jim_String(argv[3]);
                l1 = Jim_Utf8Length(interp, argv[2]);
                l2 = Jim_Utf8Length(interp, argv[3]);
                if (argc == 5) {
                    if (Jim_GetIndex(interp, argv[4], &idx) != JIM_OK) {
                        return JIM_ERR;
                    }
                    idx = JimRelToAbsIndex(l2, idx);
                    if (idx < 0) {
                        idx = 0;
                    }
                }
                else if (option == OPT_LAST) {
                    idx = l2;
                }
                if (option == OPT_FIRST) {
                    Jim_SetResultInt(interp, JimStringFirst(s1, l1, s2, l2, idx));
                }
                else {
#ifdef JIM_UTF8
                    Jim_SetResultInt(interp, JimStringLastUtf8(s1, l1, s2, idx));
#else
                    Jim_SetResultInt(interp, JimStringLast(s1, l1, s2, idx));
#endif
                }
                return JIM_OK;
            }

        case OPT_TRIM:
                Jim_SetResult(interp, JimStringTrim(interp, argv[2], argc == 4 ? argv[3] : NULL));
                return JIM_OK;
        case OPT_TRIMLEFT:
                Jim_SetResult(interp, JimStringTrimLeft(interp, argv[2], argc == 4 ? argv[3] : NULL));
                return JIM_OK;
        case OPT_TRIMRIGHT:{
                Jim_SetResult(interp, JimStringTrimRight(interp, argv[2], argc == 4 ? argv[3] : NULL));
                return JIM_OK;
        }

        case OPT_TOLOWER:
                Jim_SetResult(interp, JimStringToLower(interp, argv[2]));
                return JIM_OK;
        case OPT_TOUPPER:
                Jim_SetResult(interp, JimStringToUpper(interp, argv[2]));
                return JIM_OK;
        case OPT_TOTITLE:
                Jim_SetResult(interp, JimStringToTitle(interp, argv[2]));
                return JIM_OK;

        case OPT_IS:
            if (argc == 5 && !Jim_CompareStringImmediate(interp, argv[3], "-strict")) {
                Jim_SubCmdArgError(interp, ct, argv[0]);
                return JIM_ERR;
            }
            return JimStringIs(interp, argv[argc - 1], argv[2], argc == 5);
    }
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x290, %rsp            # imm = 0x290
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl $0x1, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %edx
movq -0x20(%rbp), %rcx
leaq 0x1da61(%rip), %rsi     # 0x473e0
callq 0x14710
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2999b
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movq -0x38(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x299c3
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movq -0x20(%rbp), %rdx
callq *%rax
movl %eax, -0x4(%rbp)
jmp 0x2ad26
movq -0x38(%rbp), %rax
leaq 0x1da12(%rip), %rcx     # 0x473e0
subq %rcx, %rax
shrq $0x5, %rax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movq %rax, -0x1d0(%rbp)
subq $0x15, %rax
ja 0x2ad1f
movq -0x1d0(%rbp), %rax
leaq 0xd8b6(%rip), %rcx      # 0x372b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x29a05
movq -0x10(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0xc730
movq -0x1d8(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29a66
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x40(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x29a7f
movq -0x10(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0xc700
movq -0x1e0(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29adc
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x48(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x3, -0x14(%rbp)
jne 0x29b07
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x50(%rbp)
jmp 0x29b52
movq -0x10(%rbp), %rdi
leaq 0x13ea0(%rip), %rsi     # 0x3d9b2
xorl %edx, %edx
callq 0x7990
movq %rax, -0x50(%rbp)
movl $0x2, -0x54(%rbp)
movl -0x54(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x29b50
movq -0x10(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq -0x20(%rbp), %rax
movslq -0x54(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
callq 0xc9e0
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x29b24
jmp 0x29b52
jmp 0x29b54
movq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29b8e
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x60(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq $-0x1, -0x68(%rbp)
movl -0x14(%rbp), %eax
subl $0x4, %eax
movl %eax, -0x6c(%rbp)
movl $0x2, -0x70(%rbp)
cmpl $0x0, -0x6c(%rbp)
jle 0x29c85
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x70(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x1d7d8(%rip), %rdx     # 0x473c0
leaq -0x74(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
movl $0x2, %r9d
callq 0x8590
cmpl $0x0, %eax
je 0x29c23
jmp 0x29c03
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq -0x20(%rbp), %rax
movq (%rax), %rdx
callq 0x145b0
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x0, -0x74(%rbp)
jne 0x29c3b
movl $0x0, -0x28(%rbp)
movl -0x6c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x29c80
cmpl $0x2, -0x6c(%rbp)
jge 0x29c43
jmp 0x29c03
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x70(%rbp)
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
leaq -0x68(%rbp), %rdx
callq 0xf4d0
cmpl $0x0, %eax
je 0x29c77
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movl -0x6c(%rbp), %eax
subl $0x2, %eax
movl %eax, -0x6c(%rbp)
jmp 0x29bbd
cmpl $0x0, -0x6c(%rbp)
je 0x29c90
jmp 0x29c03
movl -0x14(%rbp), %ecx
subl $0x2, %ecx
movq -0x20(%rbp), %rax
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x68(%rbp)
jge 0x29d35
cmpl $0x3, -0x2c(%rbp)
je 0x29d35
cmpl $0x0, -0x28(%rbp)
je 0x29d35
jmp 0x29cc1
movq -0x10(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0xcb50
movq -0x1e8(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29d25
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x80(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x29e80
movq -0x20(%rbp), %rax
movq (%rax), %rdi
callq 0x7960
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rsi
callq 0xc730
movl %eax, -0x8c(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x7960
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0xc730
movl %eax, -0x9c(%rbp)
cmpq $0x0, -0x68(%rbp)
jl 0x29dc0
movslq -0x8c(%rbp), %rax
cmpq -0x68(%rbp), %rax
jle 0x29da7
movq -0x68(%rbp), %rax
movl %eax, -0x8c(%rbp)
movslq -0x9c(%rbp), %rax
cmpq -0x68(%rbp), %rax
jle 0x29dbe
movq -0x68(%rbp), %rax
movl %eax, -0x9c(%rbp)
jmp 0x29dc0
movq -0x88(%rbp), %rdi
movl -0x8c(%rbp), %esi
movq -0x98(%rbp), %rdx
movl -0x9c(%rbp), %ecx
cmpl $0x0, -0x28(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %r8d
callq 0xcfb0
movl %eax, -0x6c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1f0(%rbp)
cmpl $0x3, -0x2c(%rbp)
jne 0x29e0d
movl -0x6c(%rbp), %eax
movl %eax, -0x1f4(%rbp)
jmp 0x29e1f
cmpl $0x0, -0x6c(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x1f4(%rbp)
movq -0x1f0(%rbp), %rdi
movl -0x1f4(%rbp), %eax
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29e70
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xa8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x29e80
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x4, -0x14(%rbp)
je 0x29ee9
cmpl $0x5, -0x14(%rbp)
jne 0x29ec4
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
leaq 0x1d505(%rip), %rdx     # 0x473b0
leaq -0x28(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
movl $0x2, %r9d
callq 0x8590
cmpl $0x0, %eax
je 0x29ee9
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rdx
movl $0x2, %esi
leaq 0x130d5(%rip), %rcx     # 0x3cfad
callq 0x7880
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x0, -0x28(%rbp)
jne 0x29efb
movq -0x20(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x20(%rbp)
jmp 0x29efd
movq -0x10(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdx
cmpl $0x0, -0x28(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %ecx
callq 0xcbd0
movq -0x200(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x29f7a
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xb0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x4, -0x14(%rbp)
je 0x29ff1
cmpl $0x5, -0x14(%rbp)
jne 0x29fcc
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
leaq 0x1d3fd(%rip), %rdx     # 0x473b0
leaq -0x28(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
movl $0x2, %r9d
callq 0x8590
cmpl $0x0, %eax
je 0x29ff1
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rdx
movl $0x2, %esi
leaq 0x12fb4(%rip), %rcx     # 0x3cf94
callq 0x7880
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x0, -0x28(%rbp)
jne 0x2a003
movq -0x20(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdx
cmpl $0x0, -0x28(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %ecx
callq 0x30550
movq %rax, -0xb8(%rbp)
cmpq $0x0, -0xb8(%rbp)
jne 0x2a047
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2a049
movq -0xb8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a08c
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xc0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdx
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rcx
callq 0xd1e0
movq %rax, -0xc8(%rbp)
cmpq $0x0, -0xc8(%rbp)
jne 0x2a0e4
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2a0e6
movq -0xc8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a129
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xd0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdx
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rcx
callq 0xd080
movq %rax, -0xd8(%rbp)
cmpq $0x0, -0xd8(%rbp)
jne 0x2a181
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2a183
movq -0xd8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a1c6
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xe0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rax
movq %rax, -0x220(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x218(%rbp)
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x210(%rbp)
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x208(%rbp)
cmpl $0x6, -0x14(%rbp)
jne 0x2a22f
movq -0x20(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x228(%rbp)
jmp 0x2a23a
xorl %eax, %eax
movq %rax, -0x228(%rbp)
jmp 0x2a23a
movq -0x208(%rbp), %rcx
movq -0x210(%rbp), %rdx
movq -0x218(%rbp), %rsi
movq -0x220(%rbp), %rdi
movq -0x228(%rbp), %r8
callq 0xd220
movq %rax, -0xe8(%rbp)
cmpq $0x0, -0xe8(%rbp)
jne 0x2a27f
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2a281
movq -0xe8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a2c4
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0xf0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
leaq -0x100(%rbp), %rdx
callq 0xf830
cmpl $0x0, %eax
je 0x2a307
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
leaq 0x136a0(%rip), %rsi     # 0x3d9b2
xorl %edx, %edx
callq 0x7990
movq %rax, -0xf8(%rbp)
cmpq $0x0, -0x100(%rbp)
jle 0x2a363
jmp 0x2a32c
movq -0x100(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x100(%rbp)
cmpq $0x0, %rax
je 0x2a361
movq -0x10(%rbp), %rdi
movq -0xf8(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdx
callq 0xc9e0
jmp 0x2a32c
jmp 0x2a363
jmp 0x2a365
movq -0xf8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a3a8
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x108(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
leaq -0x24(%rbp), %rsi
callq 0x89b0
movq %rax, -0x120(%rbp)
movq 0x1deaf(%rip), %rax     # 0x48290
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rsi
xorl %ecx, %ecx
movl %ecx, %edi
callq *%rax
movq %rax, -0x110(%rbp)
cmpq $0x0, -0x110(%rbp)
je 0x2a403
jmp 0x2a422
leaq 0x12c27(%rip), %rdi     # 0x3d031
leaq 0x10905(%rip), %rsi     # 0x3ad16
movl $0x4c38, %edx           # imm = 0x4C38
leaq 0x12c18(%rip), %rcx     # 0x3d035
callq 0x6230
movq -0x110(%rbp), %rax
movslq -0x24(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
movb $0x0, (%rax)
movl $0x0, -0x124(%rbp)
movl -0x124(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2a4ed
movq -0x120(%rbp), %rax
movzbl (%rax), %eax
movl %eax, -0x128(%rbp)
movl $0x1, -0x12c(%rbp)
movq -0x118(%rbp), %rdi
movslq -0x12c(%rbp), %rcx
xorl %eax, %eax
subq %rcx, %rax
addq %rax, %rdi
movq -0x120(%rbp), %rsi
movslq -0x12c(%rbp), %rdx
callq 0x6340
movl -0x12c(%rbp), %ecx
movq -0x118(%rbp), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x118(%rbp)
movl -0x12c(%rbp), %eax
addl -0x124(%rbp), %eax
movl %eax, -0x124(%rbp)
movl -0x12c(%rbp), %ecx
movq -0x120(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x120(%rbp)
jmp 0x2a44b
jmp 0x2a4ef
movq -0x10(%rbp), %rdi
movq -0x110(%rbp), %rsi
movl -0x24(%rbp), %edx
callq 0xc780
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a53e
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x138(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
leaq -0x13c(%rbp), %rdx
callq 0x87a0
cmpl $0x0, %eax
je 0x2a581
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x7960
movq %rax, -0x148(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0xc730
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %edi
movl -0x13c(%rbp), %esi
callq 0x10ae0
movl %eax, -0x13c(%rbp)
cmpl $0x0, -0x13c(%rbp)
jl 0x2a5db
movl -0x13c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x2a5db
cmpq $0x0, -0x148(%rbp)
jne 0x2a63e
jmp 0x2a5dd
movq -0x10(%rbp), %rdi
leaq 0x133ca(%rip), %rsi     # 0x3d9b2
xorl %edx, %edx
callq 0x7990
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a62b
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x150(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2a761
movl -0x24(%rbp), %eax
movl %eax, -0x22c(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0xc700
movl %eax, %ecx
movl -0x22c(%rbp), %eax
cmpl %ecx, %eax
jne 0x2a6d0
jmp 0x2a662
movq -0x10(%rbp), %rdi
movq -0x148(%rbp), %rsi
movslq -0x13c(%rbp), %rax
addq %rax, %rsi
movl $0x1, %edx
callq 0x7990
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a6bd
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x158(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2a75f
movl -0x13c(%rbp), %eax
movl %eax, -0x160(%rbp)
movq -0x10(%rbp), %rdi
movq -0x148(%rbp), %rsi
movslq -0x160(%rbp), %rax
addq %rax, %rsi
movq -0x148(%rbp), %rax
movslq -0x160(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -0x15c(%rbp)
movl $0x1, %edx
callq 0x7990
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a74f
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x168(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2a75f
jmp 0x2a761
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
movl $0x0, -0x16c(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x7960
movq %rax, -0x180(%rbp)
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x7960
movq %rax, -0x188(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0xc730
movl %eax, -0x170(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0xc730
movl %eax, -0x174(%rbp)
cmpl $0x5, -0x14(%rbp)
jne 0x2a828
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rsi
leaq -0x16c(%rbp), %rdx
callq 0x87a0
cmpl $0x0, %eax
je 0x2a7fc
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movl -0x174(%rbp), %edi
movl -0x16c(%rbp), %esi
callq 0x10ae0
movl %eax, -0x16c(%rbp)
cmpl $0x0, -0x16c(%rbp)
jge 0x2a826
movl $0x0, -0x16c(%rbp)
jmp 0x2a83c
cmpl $0x8, -0x2c(%rbp)
jne 0x2a83a
movl -0x174(%rbp), %eax
movl %eax, -0x16c(%rbp)
jmp 0x2a83c
cmpl $0x5, -0x2c(%rbp)
jne 0x2a8d7
jmp 0x2a848
movq -0x10(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x180(%rbp), %rdi
movl -0x170(%rbp), %esi
movq -0x188(%rbp), %rdx
movl -0x174(%rbp), %ecx
movl -0x16c(%rbp), %r8d
callq 0x307c0
movq -0x238(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a8c4
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x190(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2a95e
jmp 0x2a8d9
movq -0x10(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x180(%rbp), %rdi
movl -0x170(%rbp), %esi
movq -0x188(%rbp), %rdx
movl -0x16c(%rbp), %ecx
callq 0x30880
movq -0x240(%rbp), %rdi
movslq %eax, %rsi
callq 0x8d60
movq %rax, -0x198(%rbp)
movq -0x198(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a94e
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x198(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x2a95e
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2a96c
movq -0x10(%rbp), %rax
movq %rax, -0x250(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x248(%rbp)
cmpl $0x4, -0x14(%rbp)
jne 0x2a99d
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x258(%rbp)
jmp 0x2a9a8
xorl %eax, %eax
movq %rax, -0x258(%rbp)
jmp 0x2a9a8
movq -0x248(%rbp), %rsi
movq -0x250(%rbp), %rdi
movq -0x258(%rbp), %rdx
callq 0x30930
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2a9fe
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1a0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2aa1a
movq -0x10(%rbp), %rax
movq %rax, -0x268(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x260(%rbp)
cmpl $0x4, -0x14(%rbp)
jne 0x2aa4b
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x270(%rbp)
jmp 0x2aa56
xorl %eax, %eax
movq %rax, -0x270(%rbp)
jmp 0x2aa56
movq -0x260(%rbp), %rsi
movq -0x268(%rbp), %rdi
movq -0x270(%rbp), %rdx
callq 0x309a0
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2aaac
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1a8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2aac8
movq -0x10(%rbp), %rax
movq %rax, -0x280(%rbp)
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x278(%rbp)
cmpl $0x4, -0x14(%rbp)
jne 0x2aaf9
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x288(%rbp)
jmp 0x2ab04
xorl %eax, %eax
movq %rax, -0x288(%rbp)
jmp 0x2ab04
movq -0x278(%rbp), %rsi
movq -0x280(%rbp), %rdi
movq -0x288(%rbp), %rdx
callq 0x30a50
movq %rax, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2ab5a
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1b0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2ab76
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x30b80
movq %rax, -0x1b8(%rbp)
movq -0x1b8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2abc3
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1b8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2abdf
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x30bf0
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2ac2c
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1c0(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
jmp 0x2ac48
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x30c60
movq %rax, -0x1c8(%rbp)
movq -0x1c8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movl 0x10(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x10(%rcx)
cmpl $0x0, %eax
jg 0x2ac95
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x7a10
movq -0x1c8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x2ad26
cmpl $0x5, -0x14(%rbp)
jne 0x2acec
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
leaq 0x123af(%rip), %rdx     # 0x3d074
callq 0x77a0
cmpl $0x0, %eax
jne 0x2acec
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq -0x20(%rbp), %rax
movq (%rax), %rdx
callq 0x145b0
movl $0x1, -0x4(%rbp)
jmp 0x2ad26
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdx
cmpl $0x5, -0x14(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %ecx
callq 0x30d00
movl %eax, -0x4(%rbp)
jmp 0x2ad26
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x290, %rsp            # imm = 0x290
popq %rbp
retq
nopw %cs:(%rax,%rax)