// File: /workspace/github_c_makefile_star2_O1/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, -0x78(%rbp)
movq 0x8(%rsi), %rax
leaq 0x28000(%rip), %r15     # 0x36358
cmpq %r15, %rax
je 0xe460
movq %rsi, %r14
leaq 0x28015(%rip), %rcx     # 0x36380
cmpq %rcx, %rax
jne 0xe37a
cmpq $0x0, (%r14)
je 0xe742
leaq 0x27e57(%rip), %rcx     # 0x361d8
cmpq %rcx, %rax
je 0xe3a3
leaq 0x27e73(%rip), %rcx     # 0x36200
cmpq %rcx, %rax
je 0xe3ad
movq -0x78(%rbp), %rax
addq $0x128, %rax            # imm = 0x128
movl $0x1, %ebx
jmp 0xe3c0
leaq 0x18(%r14), %rax
movl 0x20(%r14), %ebx
jmp 0xe3c0
movq -0x78(%rbp), %rdi
movq %r14, %rsi
callq 0xb66b
movl 0x1c(%rax), %ebx
addq $0x8, %rax
movq (%rax), %rax
movq %rax, -0x80(%rbp)
incl 0x10(%rax)
cmpq $0x0, (%r14)
jne 0xe3da
movq 0x8(%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movl 0x14(%r14), %r12d
movq (%r14), %r13
movq 0x8(%r14), %rax
testq %rax, %rax
je 0xe3fc
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xe3fc
movq -0x78(%rbp), %rdi
movq %r14, %rsi
callq *%rax
movq %r15, 0x8(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%r14)
testl %r12d, %r12d
je 0xe437
movq %r13, -0x70(%rbp)
movl %r12d, -0x68(%rbp)
movups %xmm0, -0x50(%rbp)
movups %xmm0, -0x60(%rbp)
movl %ebx, -0x64(%rbp)
movabsq $0x2000000001, %rax     # imm = 0x2000000001
movq %rax, -0x40(%rbp)
movl %ebx, -0x38(%rbp)
cmpl $0x0, -0x48(%rbp)
je 0xe46f
movq -0x80(%rbp), %rsi
movl 0x10(%rsi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rsi)
cmpl $0x1, %eax
jg 0xe460
movq -0x78(%rbp), %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x759a
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x64e0
movq %rax, %r12
movq %r14, -0x88(%rbp)
movq (%r12), %rdx
movq -0x70(%rbp), %rax
movzbl (%rax), %ecx
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0xe519
cmpl $0x7b, %ecx
je 0xe572
cmpl $0x22, %ecx
jne 0xe594
incq %rax
movq %rax, -0x70(%rbp)
movl -0x68(%rbp), %ecx
movl -0x64(%rbp), %edx
decl %ecx
movl %ecx, -0x68(%rbp)
movq %rax, -0x60(%rbp)
movl %edx, -0x50(%rbp)
movl $0x1, -0x4c(%rbp)
je 0xe510
movl -0x64(%rbp), %edx
movzbl (%rax), %esi
cmpl $0xa, %esi
je 0xe4fd
cmpl $0x5c, %esi
je 0xe4e2
cmpl $0x22, %esi
jne 0xe502
jmp 0xe70d
movl $0x2, -0x4c(%rbp)
decl %ecx
movl %ecx, -0x68(%rbp)
je 0xe61b
incq %rax
movq %rax, -0x70(%rbp)
jmp 0xe502
incl %edx
movl %edx, -0x64(%rbp)
incq %rax
movq %rax, -0x70(%rbp)
decl %ecx
movl %ecx, -0x68(%rbp)
jne 0xe4cb
movq -0x70(%rbp), %rax
jmp 0xe618
movq %rax, -0x60(%rbp)
movl -0x64(%rbp), %ecx
movl %ecx, -0x50(%rbp)
movq (%r12), %rcx
movzbl (%rax), %edi
testb $0x20, 0x1(%rcx,%rdi,2)
je 0xe55f
movl -0x68(%rbp), %edx
movl -0x64(%rbp), %esi
xorl %r8d, %r8d
cmpb $0xa, %dil
sete %r8b
addl %r8d, %esi
decl %edx
movzbl 0x1(%rax), %edi
incq %rax
testb $0x20, 0x1(%rcx,%rdi,2)
jne 0xe537
movl %esi, -0x64(%rbp)
movq %rax, -0x70(%rbp)
movl %edx, -0x68(%rbp)
decq %rax
movq %rax, -0x58(%rbp)
movl $0x6, -0x4c(%rbp)
jmp 0xe61f
incq %rax
movq %rax, -0x60(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0x50(%rbp)
movl $0x1, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x1852d
jmp 0xe61f
movl -0x68(%rbp), %ecx
testl %ecx, %ecx
je 0xe5f0
movq %rax, -0x60(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0x50(%rbp)
movl $0x1, -0x4c(%rbp)
movq (%r12), %rdx
movq -0x70(%rbp), %rax
movzbl (%rax), %esi
testb $0x20, 0x1(%rdx,%rsi,2)
jne 0xe60e
cmpb $0x5c, %sil
jne 0xe5d6
decl %ecx
je 0xe736
movl $0x2, -0x4c(%rbp)
incq %rax
movq %rax, %rsi
incq %rax
decl %ecx
je 0xe726
movzbl (%rax), %esi
testb $0x20, 0x1(%rdx,%rsi,2)
je 0xe5be
jmp 0xe611
movq %rax, -0x58(%rbp)
movq %rax, -0x60(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0x50(%rbp)
movabsq $0x100000007, %rax      # imm = 0x100000007
movq %rax, -0x4c(%rbp)
jmp 0xe61f
movl -0x68(%rbp), %ecx
movq %rax, -0x70(%rbp)
movl %ecx, -0x68(%rbp)
decq %rax
movq %rax, -0x58(%rbp)
movl -0x4c(%rbp), %eax
addl $-0x3, %eax
cmpl $-0x2, %eax
jb 0xe6fe
movq -0x60(%rbp), %rbx
movl -0x58(%rbp), %r13d
subl %ebx, %r13d
incl %r13d
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
leal 0x1(%r13), %esi
xorl %edi, %edi
callq *0x29c34(%rip)          # 0x38288
movq %rax, %r15
cmpl $0x2, -0x4c(%rbp)
jne 0xe670
movq %r15, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0x18812
movl %eax, %r13d
jmp 0xe693
movq %r12, %r14
movl %r13d, %r12d
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x6320
movb $0x0, (%r15,%r12)
movq %r14, %r12
movq -0x88(%rbp), %r14
movq -0x78(%rbp), %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0xaf08
movq %rax, %rbx
movl -0x50(%rbp), %r15d
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xe6c4
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xe6c4
movq -0x78(%rbp), %rdi
movq %rbx, %rsi
callq *%rax
movq -0x80(%rbp), %rax
incl 0x10(%rax)
movq %rax, 0x18(%rbx)
movl %r15d, 0x20(%rbx)
leaq 0x27afe(%rip), %rax     # 0x361d8
movq %rax, 0x8(%rbx)
movq %rbx, -0x90(%rbp)
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
leaq -0x90(%rbp), %rcx
callq 0xe29d
cmpl $0x0, -0x48(%rbp)
je 0xe47e
jmp 0xe437
leaq -0x1(%rax), %rdx
movq %rdx, -0x58(%rbp)
incq %rax
movq %rax, -0x70(%rbp)
decl %ecx
movl %ecx, -0x68(%rbp)
jmp 0xe61f
movq %rax, -0x70(%rbp)
movl %ecx, -0x68(%rbp)
movq %rsi, -0x58(%rbp)
jmp 0xe61f
movq %rax, -0x70(%rbp)
movl %ecx, -0x68(%rbp)
jmp 0xe61b
movq 0x18(%r14), %rbx
movq %r15, 0x8(%r14)
movl 0x20(%rbx), %eax
movl %eax, 0x20(%r14)
movl 0x24(%rbx), %eax
movl %eax, 0x24(%r14)
movq 0x18(%rbx), %rax
movq %rax, 0x18(%r14)
movq (%rbx), %rdi
xorl %esi, %esi
callq *0x29b1d(%rip)          # 0x38288
movq 0x29b16(%rip), %rax     # 0x38288
movq %rbx, %rdi
xorl %esi, %esi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax