// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: op_define_unchecked
static bool op_define_unchecked(s7_scheme *sc)
                {
                    set_current_code(sc, sc->code);
                    sc->code = cdr(sc->code);

                    if (sc->cur_op == OP_DEFINE_STAR_UNCHECKED) /* sc->cur_op changed above if define* */
                    {
                        uint64_t typ;
                        if (is_pair(cdar(sc->code))) typ = T_CLOSURE_STAR | closure_bits(cdr(sc->code)); else typ = T_CLOSURE;
                        sc->value = make_closure(sc, cdar(sc->code), cdr(sc->code), typ, CLOSURE_ARITY_NOT_SET);
                        sc->code = caar(sc->code);
                        return(false);
                    }

                    if (!is_pair(car(sc->code)))
                    {
                        s7_pointer x;
                        x = car(sc->code);
                        sc->code = cadr(sc->code);
                        if (is_pair(sc->code))
                        {
                            push_stack(sc, OP_DEFINE1, sc->nil, x);
                            sc->cur_op = optimize_op(sc->code);
                            return(true);
                        }
                        if (is_symbol(sc->code))
                            sc->value = lookup_global(sc, sc->code);
                        else sc->value = sc->code;
                        sc->code = x;
                    }
                    else
                    {
                        s7_pointer x,args;
                        /* a closure.  If we called this same code earlier (a local define), the only thing
                         *   that is new here is the environment -- we can't blithely save the closure object
                         *   in opt2 somewhere, and pick it up the next time around (since call/cc might take
                         *   us back to the previous case).  We also can't re-use opt2(sc->code) because opt2
                         *   is not cleared in the gc.
                         */
                        args = cdar(sc->code);
                        make_closure_with_let(sc, x, args, cdr(sc->code), sc->envir, (is_null(args)) ? 0 : CLOSURE_ARITY_NOT_SET);
                        sc->value = T_Pos(x);
                        sc->code = caar(sc->code);
                    }
                    return(false);
                }

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq (%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
cmpq $0x23a, 0x18(%rax)      # imm = 0x23A
jne 0x13fd85
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x13fd1d
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rcx
movabsq $0x12000000001000, %rax # imm = 0x12000000001000
andq (%rcx), %rax
orq $0x29, %rax
movq %rax, 0x40(%rsp)
jmp 0x13fd26
movq $0x28, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rsi
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdx
movq 0x40(%rsp), %rcx
movl $0x40000000, %r8d       # imm = 0x40000000
callq 0x18d250
movq %rax, %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
movb $0x0, 0x57(%rsp)
jmp 0x1400a1
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x13ff2b
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x13fe60
jmp 0x13fddc
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rax
movq 0x50(%rax), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x48(%rsp), %rax
movq 0x50(%rax), %rax
movq %rcx, 0x8(%rax)
movq 0x48(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x48(%rsp), %rax
movq 0x50(%rax), %rax
movq %rcx, 0x10(%rax)
movq 0x48(%rsp), %rax
movq 0x50(%rax), %rax
movl $0x19e, %ecx            # imm = 0x19E
movq %rcx, 0x18(%rax)
movq 0x48(%rsp), %rax
movq 0x50(%rax), %rcx
addq $0x20, %rcx
movq %rcx, 0x50(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movzwl 0x4(%rax), %eax
movl %eax, %ecx
movq 0x48(%rsp), %rax
movq %rcx, 0x18(%rax)
movb $0x1, 0x57(%rsp)
jmp 0x1400a1
movq 0x48(%rsp), %rax
movq (%rax), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
jne 0x13ff08
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq (%rax), %rax
andq $0x10000, %rax          # imm = 0x10000
cmpq $0x0, %rax
je 0x13fea2
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
jmp 0x13fef8
movq 0x48(%rsp), %rdi
movq 0x48(%rsp), %rax
movq (%rax), %rsi
callq 0xde990
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x13fecd
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x13fee4
movq 0x48(%rsp), %rdi
movq 0x48(%rsp), %rax
movq (%rax), %rsi
callq 0xdead0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x20(%rax)
jmp 0x13ff19
movq 0x48(%rsp), %rax
movq (%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
jmp 0x14009c
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0x13ff42
movq 0x48(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x48(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x13ff66
movq 0x48(%rsp), %rdi
callq 0xc670
movq 0x48(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movabsq $0x12000000001000, %rcx # imm = 0x12000000001000
andq (%rax), %rcx
orq $0x10000028, %rcx       # imm = 0x10000028
movq 0x20(%rsp), %rax
movq %rcx, (%rax)
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x140000
movq 0x20(%rsp), %rax
movq (%rax), %rcx
orq $0x100, %rcx            # imm = 0x100
movq %rcx, (%rax)
jmp 0x140012
movq 0x20(%rsp), %rax
movq (%rax), %rcx
orq $0x400, %rcx            # imm = 0x400
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x48(%rsp), %rax
movq 0x120(%rax), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x18(%rsp), %rdx
movq 0x48(%rsp), %rax
movq 0x110(%rax), %rsi
movl $0x40000000, %ecx       # imm = 0x40000000
xorl %eax, %eax
cmpq %rsi, %rdx
cmovel %eax, %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x28(%rax)
movq 0x48(%rsp), %rax
movq 0x240(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x240(%rax)
movq 0x20(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
movb $0x0, 0x57(%rsp)
movb 0x57(%rsp), %al
andb $0x1, %al
addq $0x58, %rsp
retq
nopl (%rax)