// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_RangeCoreCommand
static int Jim_RangeCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
    jim_wide start = 0, end, step = 1;
    int len, i;
    Jim_Obj *objPtr;

    if (argc < 2 || argc > 4) {
        Jim_WrongNumArgs(interp, 1, argv, "?start? end ?step?");
        return JIM_ERR;
    }
    if (argc == 2) {
        if (Jim_GetWideExpr(interp, argv[1], &end) != JIM_OK)
            return JIM_ERR;
    }
    else {
        if (Jim_GetWideExpr(interp, argv[1], &start) != JIM_OK ||
            Jim_GetWideExpr(interp, argv[2], &end) != JIM_OK)
            return JIM_ERR;
        if (argc == 4 && Jim_GetWideExpr(interp, argv[3], &step) != JIM_OK)
            return JIM_ERR;
    }
    if ((len = JimRangeLen(start, end, step)) == -1) {
        Jim_SetResultString(interp, "Invalid (infinite?) range specified", -1);
        return JIM_ERR;
    }
    objPtr = Jim_NewListObj(interp, NULL, 0);
    ListEnsureLength(objPtr, len);
    for (i = 0; i < len; i++)
        ListAppendElement(objPtr, Jim_NewIntObj(interp, start + i * step));
    Jim_SetResult(interp, objPtr);
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %rbx
movq $0x0, -0x40(%rbp)
movq $0x1, -0x30(%rbp)
leal -0x5(%r12), %eax
cmpl $-0x4, %eax
ja 0x213e3
leaq 0xbffe(%rip), %rcx      # 0x2d3c6
movl $0x1, %r14d
movq %rbx, %rdi
movl $0x1, %esi
movq %r15, %rdx
callq 0x7446
jmp 0x21587
movq 0x8(%r15), %rsi
cmpl $0x2, %r12d
jne 0x214c7
leaq -0x38(%rbp), %rdx
movq %rbx, %rdi
callq 0xd7f8
movl $0x1, %r14d
testl %eax, %eax
jne 0x21587
movl $0x1, %esi
movq -0x40(%rbp), %r12
movq -0x38(%rbp), %rcx
xorl %r13d, %r13d
cmpq %r12, %rcx
jne 0x2152b
movq %rbx, %rdi
movq %rsi, %r15
callq 0xae38
movq %rax, %r14
leaq 0x13f2f(%rip), %rax     # 0x35368
movq %rax, 0x8(%r14)
movq $0x0, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%r14)
movq %r14, %rdi
movl %r13d, %esi
callq 0x1939a
testl %r13d, %r13d
je 0x2149f
movl %r13d, %r13d
movq %rbx, %rdi
callq 0xae38
leaq 0x13e82(%rip), %rcx     # 0x352f0
movq %rcx, 0x8(%rax)
movq $0x0, (%rax)
movq %r12, 0x18(%rax)
movq %rax, -0x48(%rbp)
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
leaq -0x48(%rbp), %rcx
callq 0xe263
addq %r15, %r12
decq %r13
jne 0x2145f
incl 0x10(%r14)
movq (%rbx), %rsi
movl 0x10(%rsi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rsi)
cmpl $0x1, %eax
jg 0x214bc
movq %rbx, %rdi
callq 0x758c
movq %r14, (%rbx)
xorl %r14d, %r14d
jmp 0x21587
leaq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0xd7f8
movl $0x1, %r14d
testl %eax, %eax
jne 0x21587
movq 0x10(%r15), %rsi
leaq -0x38(%rbp), %rdx
movq %rbx, %rdi
callq 0xd7f8
testl %eax, %eax
jne 0x21587
movl $0x1, %esi
cmpl $0x4, %r12d
jne 0x21410
movq 0x18(%r15), %rsi
leaq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0xd7f8
testl %eax, %eax
jne 0x21587
movq -0x30(%rbp), %rsi
testq %rsi, %rsi
jne 0x21410
jmp 0x2154b
testq %rsi, %rsi
setg %al
cmpq %r12, %rcx
setl %dl
testb %al, %dl
jne 0x2154b
testq %rsi, %rsi
sets %al
subq %r12, %rcx
setg %dl
testb %al, %dl
je 0x21599
leaq 0xbe87(%rip), %rsi      # 0x2d3d9
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
movq %rax, %r14
incl 0x10(%rax)
movq (%rbx), %rsi
movl 0x10(%rsi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rsi)
cmpl $0x1, %eax
jg 0x2157e
movq %rbx, %rdi
callq 0x758c
movq %r14, (%rbx)
movl $0x1, %r14d
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rcx, %rax
negq %rax
cmovsq %rcx, %rax
movq %rsi, %rcx
negq %rcx
cmovsq %rsi, %rcx
decq %rax
cqto
idivq %rcx
movl $0x7ffffffe, %r13d      # imm = 0x7FFFFFFE
cmpq %r13, %rax
cmovlq %rax, %r13
incl %r13d
jmp 0x21424