// File: /workspace/github_c_makefile_star2_O1/msteveb[P]autosetup/./jimsh0.c
// Function: JimGetScript
static ScriptObj *JimGetScript(Jim_Interp *interp, Jim_Obj *objPtr)
{
    if (objPtr == interp->emptyObj) {

        objPtr = interp->nullScriptObj;
    }

    if (objPtr->typePtr != &scriptObjType || ((struct ScriptObj *)Jim_GetIntRepPtr(objPtr))->substFlags) {
        JimSetScriptFromAny(interp, objPtr);
    }

    return (ScriptObj *)Jim_GetIntRepPtr(objPtr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %rdi, -0x38(%rbp)
cmpq %rsi, 0x128(%rdi)
jne 0xb697
movq -0x38(%rbp), %rax
movq 0x120(%rax), %rsi
movq 0x8(%rsi), %rax
leaq 0x2ab5e(%rip), %rcx     # 0x36200
cmpq %rcx, %rax
jne 0xb6b5
movq 0x18(%rsi), %rcx
cmpl $0x0, 0x14(%rcx)
je 0xbd81
cmpq $0x0, (%rsi)
movq %rsi, -0x40(%rbp)
jne 0xb6ca
movq -0x40(%rbp), %rdi
callq *0x18(%rax)
movq -0x40(%rbp), %rsi
movl 0x14(%rsi), %ebx
movq (%rsi), %r14
movq 0x8(%rsi), %rax
leaq 0x2aafd(%rip), %rcx     # 0x361d8
cmpq %rcx, %rax
je 0xb6fd
leaq 0x2ab19(%rip), %rcx     # 0x36200
cmpq %rcx, %rax
je 0xb706
movq -0x38(%rbp), %rax
addq $0x128, %rax            # imm = 0x128
movl $0x1, %ecx
jmp 0xb71a
leaq 0x18(%rsi), %rax
movl 0x20(%rsi), %ecx
jmp 0xb71a
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0xb66b
movl 0x1c(%rax), %ecx
addq $0x8, %rax
movslq %ebx, %rdx
movq (%rax), %rax
movq %rax, -0xa8(%rbp)
leaq -0x298(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x14, -0x8(%rax)
movq %r14, -0x48(%rbp)
movq %r14, -0x90(%rbp)
movq %rdx, -0xa0(%rbp)
movl %edx, -0x88(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -0x70(%rbp)
movups %xmm0, -0x80(%rbp)
movl %ecx, -0x84(%rbp)
movabsq $0x2000000001, %rax     # imm = 0x2000000001
movq %rax, -0x60(%rbp)
movl %ecx, -0x58(%rbp)
cmpl $0x0, -0x68(%rbp)
je 0xbb19
movq -0x48(%rbp), %rsi
addq -0xa0(%rbp), %rsi
leaq -0x2a8(%rbp), %r12
movq %r12, %rdi
xorl %edx, %edx
movl $0x8, %ecx
xorl %r8d, %r8d
callq 0x18041
movl $0x28, %esi
xorl %edi, %edi
callq *0x2cad9(%rip)          # 0x38288
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq $0x0, 0x20(%rax)
movl $0x1, 0x18(%rax)
movq -0xa8(%rbp), %rcx
movq %rcx, 0x8(%rax)
incl 0x10(%rcx)
movl -0x5c(%rbp), %ecx
movl %ecx, 0x24(%rax)
movl -0x58(%rbp), %ecx
movq %rax, -0xa0(%rbp)
movl %ecx, 0x20(%rax)
movslq 0xc(%r12), %rax
testq %rax, %rax
jle 0xb81d
movq -0x2a8(%rbp), %rcx
movq %rax, %rdx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
xorl %esi, %esi
xorl %edi, %edi
cmpl $0x7, 0xc(%rcx,%rsi)
sete %dil
addl %edi, %eax
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0xb807
movq -0x2a8(%rbp), %rcx
movl 0x10(%rcx), %ecx
movq -0xa0(%rbp), %r12
movl %ecx, -0x94(%rbp)
movl %ecx, 0x1c(%r12)
movslq %eax, %rsi
shlq $0x4, %rsi
xorl %r15d, %r15d
xorl %edi, %edi
callq *0x2ca3d(%rip)          # 0x38288
movq %rax, (%r12)
movq %rax, -0xb0(%rbp)
leaq 0x10(%rax), %rdx
cmpl $0x0, -0x29c(%rbp)
jle 0xbd1c
xorl %esi, %esi
movslq %r15d, %rax
leaq (%rax,%rax,2), %r14
shlq $0x3, %r14
addq -0x2a8(%rbp), %r14
movl 0xc(%r14), %eax
cmpl $0x6, %eax
jne 0xb88d
incl %r15d
addq $0x18, %r14
jmp 0xb87b
cmpl $0x1, %eax
jne 0xb911
movl 0x24(%r14), %eax
addl $-0x6, %eax
movl $0x1, %r8d
cmpl $0x3, %eax
jb 0xb917
leaq 0x18(%r14), %r13
movl 0x8(%r14), %eax
cmpl $0x6, %eax
je 0xb8c7
cmpl $0x1, %eax
jne 0xb8f5
movq (%r14), %rcx
cmpb $0x2a, (%rcx)
je 0xbafb
cmpl $0x6, %eax
jne 0xb8f5
movq (%r14), %rdi
movq %rdx, -0x48(%rbp)
movl $0x6, %edx
movl %esi, %ebx
leaq 0x212a6(%rip), %rsi     # 0x2cb82
callq 0x60b0
movl $0x1, %r8d
movl %ebx, %esi
movq -0x48(%rbp), %rdx
testl %eax, %eax
je 0xbafb
cmpl $0x20, 0x24(%r12)
jne 0xb917
movl $0x7d, 0x24(%r12)
movl 0x28(%r14), %eax
movl %eax, 0x20(%r12)
jmp 0xb917
movl $0x1, %r8d
movq %r14, %r13
movl 0xc(%r13), %eax
addl $-0x9, %eax
xorl %edi, %edi
cmpl $-0x4, %eax
ja 0xb940
addq $0x24, %r13
xorl %edi, %edi
incl %edi
movl (%r13), %eax
addl $-0x9, %eax
addq $0x18, %r13
cmpl $-0x3, %eax
jb 0xb92e
imull %r8d, %edi
testl %edi, %edi
je 0xb99d
cmpl $0x1, %edi
je 0xba0d
movl %esi, -0x2c(%rbp)
movl $0xa, 0x8(%rdx)
movslq %edi, %rbx
movl %edi, %r13d
movq -0x38(%rbp), %rdi
movq %rdx, %r14
callq 0xae58
movl %r13d, %edi
movq %r14, %rdx
leaq 0x2a966(%rip), %rcx     # 0x362e0
movq %rcx, 0x8(%rax)
movq $0x0, (%rax)
movq %rbx, 0x18(%rax)
movq %rax, (%r14)
incl 0x10(%rax)
addq $0x10, %rdx
testl %r13d, %r13d
js 0xba03
movl -0x2c(%rbp), %esi
jmp 0xba0d
testl %esi, %esi
je 0xb9f9
movq -0xb0(%rbp), %r14
movl $0x9, 0x8(%r14)
movq -0x38(%rbp), %rdi
movq %rdx, %rbx
movl %esi, %r13d
callq 0xae58
leaq 0x2c8d2(%rip), %rcx     # 0x38298
movq %rcx, (%rax)
movl $0x0, 0x14(%rax)
leaq 0x2b359(%rip), %rcx     # 0x36d30
movq %rcx, 0x8(%rax)
movl %r13d, 0x1c(%rax)
movl -0x94(%rbp), %ecx
movl %ecx, 0x18(%rax)
movq %rax, (%r14)
incl 0x10(%rax)
movq %rbx, -0xb0(%rbp)
leaq 0x10(%rbx), %rdx
incl %r15d
xorl %esi, %esi
jmp 0xbaec
incl %r15d
notl %edi
movl -0x2c(%rbp), %esi
decl %esi
testl %esi, %esi
jne 0xba29
movq -0x2a8(%rbp), %rax
movslq %r15d, %rcx
leaq (%rcx,%rcx,2), %rcx
movl 0x10(%rax,%rcx,8), %eax
movl %eax, -0x94(%rbp)
incl %esi
testl %edi, %edi
je 0xbaec
movl %esi, -0x2c(%rbp)
movq %r15, -0xb8(%rbp)
movslq %r15d, %rax
shlq $0x3, %rax
leaq (%rax,%rax,2), %r15
negl %edi
xorl %ebx, %ebx
movl %edi, -0xa8(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x2a8(%rbp), %r14
leaq (%r14,%r15), %rsi
movl 0xc(%r14,%r15), %eax
movl %eax, 0x8(%rdx)
movq -0x38(%rbp), %rdi
callq 0x18797
movq -0x48(%rbp), %rdx
movq %rax, %r13
movq %rax, (%rdx)
incl 0x10(%rax)
movq 0x8(%r12), %r12
movl 0x10(%r14,%r15), %r14d
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xbaa8
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xbaa8
movq -0x38(%rbp), %rdi
movq %r13, %rsi
callq *%rax
movq -0x48(%rbp), %rdx
incl 0x10(%r12)
movq %r12, 0x18(%r13)
movl %r14d, 0x20(%r13)
leaq 0x2a71c(%rip), %rax     # 0x361d8
movq %rax, 0x8(%r13)
addq $0x10, %rdx
addq $0x18, %r15
decl %ebx
movl -0xa8(%rbp), %edi
cmpl %ebx, %edi
movq -0xa0(%rbp), %r12
jne 0xba52
movq -0xb8(%rbp), %r15
subl %ebx, %r15d
movl -0x2c(%rbp), %esi
cmpl -0x29c(%rbp), %r15d
jl 0xb869
jmp 0xbb06
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
jmp 0xb91a
xorl %eax, %eax
testl %esi, %esi
setne %al
shll $0x4, %eax
addq $-0x10, %rax
jmp 0xbd23
leaq -0x2a8(%rbp), %r12
leaq -0x90(%rbp), %r13
movl -0x88(%rbp), %ebx
testl %ebx, %ebx
je 0xbb8a
movq -0x90(%rbp), %r14
movzbl (%r14), %r15d
cmpl $0x23, %r15d
jne 0xbb56
cmpl $0x0, -0x60(%rbp)
je 0xbcc3
movq %r13, %rdi
callq 0x184de
jmp 0xbb27
cmpl $0x3b, %r15d
ja 0xbca5
movl %r15d, %eax
movabsq $0x100003200, %rcx      # imm = 0x100003200
btq %rax, %rcx
jae 0xbbc5
cmpl $0x0, -0x64(%rbp)
jne 0xbcbc
movq %r13, %rdi
callq 0x180eb
jmp 0xbccb
movq -0x90(%rbp), %rax
movq %rax, -0x80(%rbp)
decq %rax
movq %rax, -0x78(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x70(%rbp)
movl $0x7, -0x6c(%rbp)
cmpl $0x0, -0x64(%rbp)
je 0xbbb9
movl $0x22, -0x5c(%rbp)
movl $0x1, -0x68(%rbp)
jmp 0xbccb
movabsq $0x800000000000400, %rcx # imm = 0x800000000000400
btq %rax, %rcx
jae 0xbc63
movl $0x1, -0x60(%rbp)
cmpl $0x0, -0x64(%rbp)
jne 0xbcc3
movq %r14, -0x80(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x70(%rbp)
callq 0x64e0
movq (%rax), %rax
cmpb $0x3b, %r15b
je 0xbc12
movzwl (%rax,%r15,2), %ecx
andl $0x2000, %ecx           # imm = 0x2000
je 0xbc53
movl -0x84(%rbp), %ecx
xorl %edx, %edx
cmpb $0xa, %r15b
sete %dl
addl %edx, %ecx
decl %ebx
movzbl 0x1(%r14), %r15d
incq %r14
cmpl $0x3b, %r15d
je 0xbc18
movzwl (%rax,%r15,2), %edx
andl $0x2000, %edx           # imm = 0x2000
jne 0xbc18
movl %ecx, -0x84(%rbp)
movq %r14, -0x90(%rbp)
movl %ebx, -0x88(%rbp)
decq %r14
movq %r14, -0x78(%rbp)
movl $0x7, -0x6c(%rbp)
jmp 0xbccb
cmpq $0x24, %rax
jne 0xbca5
movl $0x0, -0x60(%rbp)
movq %r13, %rdi
callq 0x18311
testl %eax, %eax
je 0xbccb
movq -0x90(%rbp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, -0x90(%rbp)
movq %rax, -0x78(%rbp)
movq %rax, -0x80(%rbp)
decl -0x88(%rbp)
movl $0x2, -0x6c(%rbp)
jmp 0xbccb
cmpl $0x5b, %r15d
je 0xbcf4
cmpl $0x5c, %r15d
jne 0xbcbc
cmpb $0xa, 0x1(%r14)
je 0xbb73
movl $0x0, -0x60(%rbp)
movq %r13, %rdi
callq 0x18156
movq -0x80(%rbp), %rsi
movl -0x78(%rbp), %edx
subl %esi, %edx
incl %edx
movl -0x6c(%rbp), %ecx
movl -0x70(%rbp), %r8d
movq %r12, %rdi
callq 0x18041
cmpl $0x0, -0x68(%rbp)
je 0xbb27
jmp 0xb77e
movl $0x0, -0x60(%rbp)
incq %r14
movq %r14, -0x80(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x70(%rbp)
movl $0x5, -0x6c(%rbp)
movq %r13, %rdi
callq 0x185da
jmp 0xbccb
movq $-0x10, %rax
addq %rax, %rdx
subq (%r12), %rdx
shrq $0x4, %rdx
movl %edx, 0x10(%r12)
movq -0x2a8(%rbp), %rdi
leaq -0x298(%rbp), %rax
cmpq %rax, %rdi
je 0xbd4e
xorl %esi, %esi
callq *0x2c53a(%rip)          # 0x38288
movq -0x40(%rbp), %rsi
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0xbd72
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xbd72
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq *%rax
movq -0x40(%rbp), %rsi
movq %r12, 0x18(%rsi)
leaq 0x2a483(%rip), %rax     # 0x36200
movq %rax, 0x8(%rsi)
movq 0x18(%rsi), %rax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq