// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: SetListFromAny
static int SetListFromAny(Jim_Interp *interp, struct Jim_Obj *objPtr)
{
    struct JimParserCtx parser;
    const char *str;
    int strLen;
    Jim_Obj *fileNameObj;
    int linenr;

    if (objPtr->typePtr == &listObjType) {
        return JIM_OK;
    }


    if (Jim_IsDict(objPtr) && objPtr->bytes == NULL) {
        Jim_Dict *dict = objPtr->internalRep.dictValue;


        objPtr->typePtr = &listObjType;
        objPtr->internalRep.listValue.len = dict->len;
        objPtr->internalRep.listValue.maxLen = dict->maxLen;
        objPtr->internalRep.listValue.ele = dict->table;


        Jim_Free(dict->ht);


        Jim_Free(dict);
        return JIM_OK;
    }


    fileNameObj = Jim_GetSourceInfo(interp, objPtr, &linenr);
    Jim_IncrRefCount(fileNameObj);


    str = Jim_GetString(objPtr, &strLen);

    Jim_FreeIntRep(interp, objPtr);
    objPtr->typePtr = &listObjType;
    objPtr->internalRep.listValue.len = 0;
    objPtr->internalRep.listValue.maxLen = 0;
    objPtr->internalRep.listValue.ele = NULL;


    if (strLen) {
        JimParserInit(&parser, str, strLen, linenr);
        while (!parser.eof) {
            Jim_Obj *elementPtr;

            JimParseList(&parser);
            if (parser.tt != JIM_TT_STR && parser.tt != JIM_TT_ESC)
                continue;
            elementPtr = JimParserGetTokenObj(interp, &parser);
            Jim_SetSourceInfo(interp, elementPtr, fileNameObj, parser.tline);
            ListAppendElement(objPtr, elementPtr);
        }
    }
    Jim_DecrRefCount(interp, fileNameObj);
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, -0x30(%rbp)
movq 0x8(%rsi), %rcx
leaq 0x2704a(%rip), %r14     # 0x35368
cmpq %r14, %rcx
je 0xe6c5
movq %rsi, %r13
leaq 0x2705f(%rip), %rax     # 0x35390
cmpq %rax, %rcx
je 0xe367
leaq 0x26eab(%rip), %rdx     # 0x351e8
cmpq %rdx, %rcx
je 0xe383
leaq 0x26ec7(%rip), %rax     # 0x35210
cmpq %rax, %rcx
jne 0xe372
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0xb679
movl 0x1c(%rax), %ebx
addq $0x8, %rax
movq 0x8(%r13), %rcx
jmp 0xe38e
cmpq $0x0, (%r13)
je 0xe6d4
movq -0x30(%rbp), %rax
addq $0x128, %rax            # imm = 0x128
movl $0x1, %ebx
jmp 0xe38e
leaq 0x18(%r13), %rax
movl 0x20(%r13), %ebx
movq %rdx, %rcx
movq (%rax), %rax
incl 0x10(%rax)
movq (%r13), %r15
testq %r15, %r15
movq %rax, -0x80(%rbp)
jne 0xe3af
movq %r13, %rdi
callq *0x18(%rcx)
movq (%r13), %r15
movq 0x8(%r13), %rcx
movl 0x14(%r13), %r12d
testq %rcx, %rcx
je 0xe3ca
movq 0x8(%rcx), %rax
testq %rax, %rax
je 0xe3ca
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq *%rax
movq %r14, 0x8(%r13)
xorps %xmm0, %xmm0
movq %r13, -0x88(%rbp)
movups %xmm0, 0x18(%r13)
testl %r12d, %r12d
je 0xe69c
leaq -0x78(%rbp), %rcx
movq %r15, (%rcx)
movl %r12d, 0x8(%rcx)
movups %xmm0, 0x10(%rcx)
movups %xmm0, 0x20(%rcx)
movl %ebx, 0xc(%rcx)
movabsq $0x2000000001, %rax     # imm = 0x2000000001
movq %rax, 0x30(%rcx)
movl %ebx, 0x38(%rcx)
callq 0x64e0
movq %rax, %r13
movq (%r13), %rcx
movq -0x78(%rbp), %rax
movb (%rax), %sil
movzbl %sil, %edx
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0xe4bd
cmpl $0x7b, %edx
je 0xe50a
cmpl $0x22, %edx
jne 0xe52d
leaq 0x1(%rax), %rdx
movq %rdx, -0x78(%rbp)
movl -0x70(%rbp), %ecx
movl -0x6c(%rbp), %esi
decl %ecx
movl %ecx, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movl %esi, -0x58(%rbp)
movl $0x1, -0x54(%rbp)
movl $0x1, %r14d
je 0xe4b4
movzbl (%rdx), %eax
cmpl $0xa, %eax
je 0xe49e
cmpl $0x5c, %eax
je 0xe481
cmpl $0x22, %eax
jne 0xe4a3
jmp 0xe674
movl $0x2, -0x54(%rbp)
decl %ecx
movl %ecx, -0x70(%rbp)
je 0xe68d
incq %rdx
movl $0x2, %r14d
jmp 0xe4a3
incl %esi
movl %esi, -0x6c(%rbp)
movq %rdx, %rax
incq %rdx
movq %rdx, -0x78(%rbp)
decl %ecx
movl %ecx, -0x70(%rbp)
jne 0xe46a
movq %rax, -0x60(%rbp)
jmp 0xe593
movq %rax, -0x68(%rbp)
movl -0x70(%rbp), %edx
movl -0x6c(%rbp), %edi
movl %edi, -0x58(%rbp)
movl %edi, %r8d
leal 0x1(%r8), %r9d
cmpb $0xa, %sil
cmovel %r9d, %edi
cmovel %r9d, %r8d
decl %edx
movzbl 0x1(%rax), %esi
incq %rax
testb $0x20, 0x1(%rcx,%rsi,2)
jne 0xe4cd
movl %edi, -0x6c(%rbp)
movq %rax, -0x78(%rbp)
movl %edx, -0x70(%rbp)
decq %rax
movq %rax, -0x60(%rbp)
movl $0x6, -0x54(%rbp)
jmp 0xe668
incq %rax
movq %rax, -0x68(%rbp)
movl -0x6c(%rbp), %eax
movl %eax, -0x58(%rbp)
movl $0x1, -0x54(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x18039
movl -0x54(%rbp), %r14d
jmp 0xe593
movl -0x70(%rbp), %edx
testl %edx, %edx
je 0xe69c
movq %rax, -0x68(%rbp)
movl -0x6c(%rbp), %esi
movl %esi, -0x58(%rbp)
movl $0x1, -0x54(%rbp)
movl $0x1, %r14d
movzbl (%rax), %esi
testb $0x20, 0x1(%rcx,%rsi,2)
jne 0xe589
cmpb $0x5c, %sil
jne 0xe576
decl %edx
movl %edx, -0x70(%rbp)
je 0xe58c
movl $0x2, -0x54(%rbp)
incq %rax
movl $0x2, %r14d
movq %rax, %rsi
incq %rax
movq %rax, -0x78(%rbp)
decl %edx
movl %edx, -0x70(%rbp)
jne 0xe54f
jmp 0xe58f
decq %rax
movq %rax, %rsi
movq %rsi, -0x60(%rbp)
leal -0x3(%r14), %eax
cmpl $-0x2, %eax
jb 0xe668
movq -0x68(%rbp), %rbx
movl -0x60(%rbp), %r12d
subl %ebx, %r12d
incl %r12d
testl %r12d, %r12d
movl $0x0, %eax
cmovlel %eax, %r12d
leal 0x1(%r12), %esi
xorl %edi, %edi
callq *0x28cc1(%rip)          # 0x37288
movq %rax, %r15
cmpl $0x2, %r14d
jne 0xe5e3
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x18356
movl %eax, %r12d
jmp 0xe5f9
movl %r12d, %r14d
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6320
movb $0x0, (%r15,%r14)
movq -0x30(%rbp), %rdi
movq %r15, %rsi
movl %r12d, %edx
callq 0xaee8
movq %rax, %rbx
movl -0x58(%rbp), %r14d
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xe62a
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xe62a
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq *%rax
movq -0x80(%rbp), %rax
incl 0x10(%rax)
movq %rax, 0x18(%rbx)
movl %r14d, 0x20(%rbx)
leaq 0x26ba8(%rip), %rax     # 0x351e8
movq %rax, 0x8(%rbx)
movq %rbx, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
leaq -0x90(%rbp), %rcx
callq 0xe263
cmpl $0x0, -0x50(%rbp)
je 0xe415
jmp 0xe69c
leaq -0x1(%rdx), %rax
movq %rax, -0x60(%rbp)
incq %rdx
movq %rdx, -0x78(%rbp)
decl %ecx
movl %ecx, -0x70(%rbp)
jmp 0xe593
movq %rdx, -0x60(%rbp)
movl $0x2, %r14d
jmp 0xe5a0
movq -0x80(%rbp), %rsi
movl 0x10(%rsi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rsi)
cmpl $0x1, %eax
jg 0xe6c5
movq -0x30(%rbp), %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x758c
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%r13), %rbx
movq %r14, 0x8(%r13)
movl 0x20(%rbx), %eax
movl %eax, 0x20(%r13)
movl 0x24(%rbx), %eax
movl %eax, 0x24(%r13)
movq 0x18(%rbx), %rax
movq %rax, 0x18(%r13)
movq (%rbx), %rdi
xorl %esi, %esi
callq *0x28b8b(%rip)          # 0x37288
movq 0x28b84(%rip), %rax     # 0x37288
movq %rbx, %rdi
xorl %esi, %esi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax