// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: set_implicit_iterator
static goto_t set_implicit_iterator(s7_scheme *sc, s7_pointer cx)
                {
                    s7_pointer setter;
                    setter = iterator_sequence(cx);
                    if ((is_any_closure(setter)) || (is_any_macro(setter)))
                        setter = closure_setter(iterator_sequence(cx));
                    else setter = sc->F;
                    if (is_procedure(setter))
                    {
                        push_op_stack(sc, setter);
                        push_stack(sc, OP_EVAL_ARGS1, sc->nil, sc->nil);
                        sc->code = cadr(sc->code);    /* the (as yet unevaluated) value, incoming code was ((obj) val) */
                    }
                    else
                    {
                        if (is_any_macro(setter))
                        {
                            sc->args = list_1(sc, cadr(sc->code));
                            sc->code = setter;
                            return(goto_apply);
                        }
                        s7_error(sc, sc->syntax_error_symbol, set_elist_3(sc, no_setter_string, caar(sc->code), prepackaged_type_names[type(cx)]));
                    }
                    sc->cur_op = optimize_op(sc->code);
                    return(goto_top_no_pop);
                }

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x90363(%rip), %rax     # 0x222730
testb $0x1, (%rax,%rcx)
jne 0x1923ea
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x89abc(%rip), %rax     # 0x21bea0
testb $0x1, (%rax,%rcx)
je 0x1923fe
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movq %rax, 0x38(%rsp)
jmp 0x19240f
movq 0x48(%rsp), %rax
movq 0x120(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x89a40(%rip), %rax     # 0x21be60
testb $0x1, (%rax,%rcx)
jne 0x19244f
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x14, %eax
jne 0x1924f2
movq 0x38(%rsp), %rax
movq (%rax), %rax
andq $0x200000, %rax         # imm = 0x200000
cmpq $0x0, %rax
je 0x1924f2
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rdx
movq 0x68(%rdx), %rax
movq %rax, %rsi
addq $0x8, %rsi
movq %rsi, 0x68(%rdx)
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movq 0x110(%rax), %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 $0x193, %ecx            # imm = 0x193
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
movq 0x10(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
jmp 0x192637
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x8999d(%rip), %rax     # 0x21bea0
testb $0x1, (%rax,%rcx)
je 0x1925d4
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x48(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x48(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x192557
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, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, (%rax)
movl $0xa, 0x54(%rsp)
jmp 0x192656
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x48(%rsp), %rdi
movq 0x92965(%rip), %rsi     # 0x224f60
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq 0x40(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x87f74(%rip), %rax     # 0x21a590
movq (%rax,%rcx,8), %rcx
callq 0xf240
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq 0x48(%rsp), %rax
movq (%rax), %rax
movzwl 0x4(%rax), %eax
movl %eax, %ecx
movq 0x48(%rsp), %rax
movq %rcx, 0x18(%rax)
movl $0x9, 0x54(%rsp)
movl 0x54(%rsp), %eax
addq $0x58, %rsp
retq
nop