// File: /workspace/github_c_makefile_star2_O2/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, -0x40(%rbp)
cmpq %rsi, 0x128(%rdi)
jne 0xadb8
movq -0x40(%rbp), %rax
movq 0x120(%rax), %rsi
leaq 0x264f1(%rip), %rax     # 0x312b0
cmpq %rax, 0x8(%rsi)
jne 0xadd3
movq 0x18(%rsi), %rax
cmpl $0x0, 0x14(%rax)
je 0xb365
movq %rsi, %rbx
leaq -0x9c(%rbp), %r12
movq %rsi, %rdi
movq %r12, %rsi
callq 0x7fc7
movq %rax, %r15
leaq -0xbc(%rbp), %r13
movq -0x40(%rbp), %rdi
movq %rbx, -0xb0(%rbp)
movq %rbx, %rsi
movq %r13, %rdx
callq 0xb377
movq %rax, -0x38(%rbp)
leaq -0x2a0(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x14, -0x8(%rax)
movl (%r12), %eax
movl (%r13), %ecx
leaq -0x90(%rbp), %r13
movq %r15, -0x98(%rbp)
movq %r15, (%r13)
movl %eax, 0x8(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r13)
movups %xmm0, 0x20(%r13)
movl %ecx, 0xc(%r13)
movabsq $0x2000000001, %rax     # imm = 0x2000000001
movq %rax, 0x30(%r13)
movl %ecx, 0x38(%r13)
xorl %eax, %eax
leaq -0x2b0(%rbp), %r14
testl %eax, %eax
jne 0xb032
movl -0x88(%rbp), %r15d
movq -0x90(%rbp), %rbx
testl %r15d, %r15d
je 0xaf35
movzbl (%rbx), %r12d
cmpl $0x23, %r12d
jne 0xaea2
cmpl $0x0, -0x60(%rbp)
je 0xaf0b
movq %r13, %rdi
callq 0x15eb7
jmp 0xae71
leal -0xc(%r12), %eax
cmpl $0x2, %eax
jb 0xaee4
cmpl $0x9, %r12d
je 0xaee4
cmpl $0xa, %r12d
je 0xaefa
cmpl $0x20, %r12d
je 0xaee4
cmpl $0x24, %r12d
je 0xaf66
cmpl $0x3b, %r12d
je 0xaefa
cmpl $0x5b, %r12d
je 0xafa2
cmpl $0x5c, %r12d
jne 0xaeea
cmpb $0xa, 0x1(%rbx)
jne 0xaeea
cmpl $0x0, -0x64(%rbp)
je 0xaef0
andl $0x0, -0x60(%rbp)
jmp 0xaf0b
movq %r13, %rdi
callq 0x15a5f
jmp 0xaf13
movl $0x1, -0x60(%rbp)
cmpl $0x0, -0x64(%rbp)
je 0xafb3
movq %r13, %rdi
callq 0x15ae0
movq -0x80(%rbp), %rsi
movl -0x78(%rbp), %edx
subl %esi, %edx
incl %edx
movl -0x6c(%rbp), %ecx
movl -0x70(%rbp), %r8d
movq %r14, %rdi
callq 0x159bb
movl -0x68(%rbp), %eax
jmp 0xae69
movq %rbx, -0x80(%rbp)
decq %rbx
movq %rbx, -0x78(%rbp)
movl -0x84(%rbp), %eax
movl %eax, -0x70(%rbp)
movl $0x7, -0x6c(%rbp)
cmpl $0x0, -0x64(%rbp)
je 0xaf5d
movl $0x22, -0x5c(%rbp)
movl $0x1, -0x68(%rbp)
jmp 0xaf13
andl $0x0, -0x60(%rbp)
movq %r13, %rdi
callq 0x15c85
testl %eax, %eax
je 0xaf13
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 0xaf13
andl $0x0, -0x60(%rbp)
movq %r13, %rdi
callq 0x15c64
jmp 0xaf13
movq %r13, %r14
movq %rbx, -0x80(%rbp)
movl -0x84(%rbp), %r13d
movl %r13d, -0x70(%rbp)
callq 0x64e0
movq (%rax), %rax
movl %r13d, %ecx
cmpb $0x3b, %r12b
je 0xafe6
movzbl %r12b, %edx
movzwl (%rax,%rdx,2), %edx
andl $0x2000, %edx           # imm = 0x2000
je 0xb000
leal 0x1(%rcx), %edx
cmpb $0xa, %r12b
cmovel %edx, %r13d
cmovel %edx, %ecx
decl %r15d
movb 0x1(%rbx), %r12b
incq %rbx
jmp 0xafd0
movl %r13d, -0x84(%rbp)
movq %rbx, -0x90(%rbp)
movl %r15d, -0x88(%rbp)
decq %rbx
movq %rbx, -0x78(%rbp)
movl $0x7, -0x6c(%rbp)
movq %r14, %r13
leaq -0x2b0(%rbp), %r14
jmp 0xaf13
movslq -0x9c(%rbp), %rax
movq -0x98(%rbp), %rsi
addq %rax, %rsi
leaq -0x2b0(%rbp), %r12
pushq $0x8
popq %rcx
xorl %ebx, %ebx
movq %r12, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x159bb
pushq $0x28
popq %rsi
xorl %edi, %edi
callq *0x28221(%rip)          # 0x33288
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
andq $0x0, 0x20(%rax)
movl $0x1, 0x18(%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
incl 0x10(%rcx)
movl -0x5c(%rbp), %ecx
movl %ecx, 0x24(%rax)
movl -0x58(%rbp), %ecx
movq %rax, -0x38(%rbp)
movl %ecx, 0x20(%rax)
movl 0xc(%r12), %eax
testl %eax, %eax
movl $0x0, %edx
cmovgl %eax, %edx
movq (%r12), %rcx
imulq $0x18, %rdx, %rdx
cmpq %rbx, %rdx
je 0xb0c7
xorl %esi, %esi
cmpl $0x7, 0xc(%rcx,%rbx)
sete %sil
addl %esi, %eax
addq $0x18, %rbx
jmp 0xb0af
movl 0x10(%rcx), %ecx
movq -0x38(%rbp), %rbx
movl %ecx, -0x44(%rbp)
movl %ecx, 0x1c(%rbx)
movslq %eax, %rsi
shlq $0x4, %rsi
xorl %r14d, %r14d
xorl %edi, %edi
callq *0x281a2(%rip)          # 0x33288
movq %rax, (%rbx)
movq %rax, -0xa8(%rbp)
movq %rax, %r12
addq $0x10, %r12
movl $0x0, -0x2c(%rbp)
cmpl -0x2a4(%rbp), %r14d
jge 0xb2f0
movslq %r14d, %rax
imulq $0x18, %rax, %r15
addq -0x2b0(%rbp), %r15
movl 0xc(%r15), %eax
cmpl $0x6, %eax
jne 0xb12b
incl %r14d
addq $0x18, %r15
jmp 0xb119
cmpl $0x1, %eax
jne 0xb18f
movl 0x24(%r15), %eax
addl $-0x6, %eax
cmpl $0x3, %eax
jb 0xb18f
leaq 0x18(%r15), %r13
movl 0x8(%r15), %eax
cmpl $0x6, %eax
je 0xb15b
cmpl $0x1, %eax
jne 0xb174
movq (%r15), %rax
cmpb $0x2a, (%rax)
pushq $-0x1
popq %rcx
jne 0xb174
jmp 0xb195
movq (%r15), %rdi
leaq 0x1ca0f(%rip), %rsi     # 0x27b74
pushq $0x6
popq %rdx
callq 0x60b0
pushq $-0x1
popq %rcx
testl %eax, %eax
je 0xb195
movq -0x38(%rbp), %rax
cmpl $0x20, 0x24(%rax)
jne 0xb18f
movl $0x7d, 0x24(%rax)
movq %rax, %rcx
movl 0x28(%r15), %eax
movl %eax, 0x20(%rcx)
movq %r15, %r13
pushq $0x1
popq %rcx
addq $0xc, %r13
xorl %ebx, %ebx
movl (%r13), %eax
addl $-0x9, %eax
cmpl $-0x4, %eax
ja 0xb1af
addq $0x18, %r13
addl %ecx, %ebx
jmp 0xb19b
cmpl $0x1, %ebx
je 0xb1ee
testl %ebx, %ebx
movl -0x2c(%rbp), %r15d
je 0xb29d
movl $0xa, 0x8(%r12)
movslq %ebx, %rsi
movq -0x40(%rbp), %rdi
callq 0x8212
movq %rax, (%r12)
incl 0x10(%rax)
addq $0x10, %r12
testl %ebx, %ebx
jns 0xb1f2
incl %r14d
notl %ebx
decl %r15d
jmp 0xb1f2
movl -0x2c(%rbp), %r15d
testl %r15d, %r15d
movl %r15d, -0x2c(%rbp)
je 0xb200
movslq %r14d, %r14
jmp 0xb215
movq -0x2b0(%rbp), %rax
movslq %r14d, %r14
imulq $0x18, %r14, %rcx
movl 0x10(%rax,%rcx), %eax
movl %eax, -0x44(%rbp)
movq %r14, -0xb8(%rbp)
imulq $0x18, %r14, %r14
negl %ebx
xorl %eax, %eax
cmpl %eax, %ebx
je 0xb28b
movl %ebx, %r13d
movq -0x2b0(%rbp), %rbx
leaq (%rbx,%r14), %rsi
movl %eax, -0x98(%rbp)
movl 0xc(%rbx,%r14), %eax
movl %eax, 0x8(%r12)
movq %r12, %r15
movq -0x40(%rbp), %r12
movq %r12, %rdi
callq 0x161ac
movq %rax, (%r15)
incl 0x10(%rax)
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rdx
movl 0x10(%rbx,%r14), %ecx
movl %r13d, %ebx
movq %r12, %rdi
movq %r15, %r12
movq %rax, %rsi
callq 0xb3cf
movl -0x98(%rbp), %eax
addq $0x10, %r12
decl %eax
addq $0x18, %r14
jmp 0xb224
incl -0x2c(%rbp)
movq -0xb8(%rbp), %r14
subl %eax, %r14d
jmp 0xb0fe
testl %r15d, %r15d
je 0xb2e8
movq -0xa8(%rbp), %rbx
movl $0x9, 0x8(%rbx)
movq -0x40(%rbp), %rdi
leaq 0x1e386(%rip), %rsi     # 0x29641
xorl %edx, %edx
callq 0x7363
leaq 0x26a67(%rip), %rcx     # 0x31d30
movq %rcx, 0x8(%rax)
movl %r15d, 0x1c(%rax)
movl -0x44(%rbp), %ecx
movl %ecx, 0x18(%rax)
movq %rax, (%rbx)
incl 0x10(%rax)
movq %r12, -0xa8(%rbp)
addq $0x10, %r12
incl %r14d
jmp 0xb0f7
xorl %eax, %eax
cmpl $0x0, -0x2c(%rbp)
setne %al
shll $0x4, %eax
addq %r12, %rax
movq -0x38(%rbp), %rcx
subq (%rcx), %rax
addq $-0x10, %rax
shrq $0x4, %rax
movl %eax, 0x10(%rcx)
movq -0x2b0(%rbp), %rdi
leaq -0x2a0(%rbp), %rax
cmpq %rax, %rdi
je 0xb32c
xorl %esi, %esi
callq *0x27f5c(%rip)          # 0x33288
movq -0xb0(%rbp), %rbx
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xb34e
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xb34e
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
callq *%rax
movq -0x38(%rbp), %rax
movq %rax, 0x18(%rbx)
leaq 0x25f53(%rip), %rax     # 0x312b0
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq