// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: do_step1
static bool do_step1(s7_scheme *sc)
                {
                    /* on each iteration, each arg incr expr is evaluated and the value placed in caddr while we cdr down args */
                    while (true)
                    {
                        s7_pointer code;
                        if (is_null(sc->args))
                        {
                            s7_pointer x;
                            for (x = sc->code; is_pair(x); x = cdr(x)) /* sc->code here is the original sc->args list */
                            {
                                slot_set_value(car(x), slot_pending_value(car(x)));
                                slot_clear_has_pending_value(car(x));
                            }
                            pop_stack_no_op(sc);
                            return(true);
                        }
                        code = slot_expression(car(sc->args));
                        if (has_fx(code))
                        {
                            sc->value = fx_call(sc, code);
#if S7_DEBUGGING
                            /* can values happen here even in error? */
                            if (is_multiple_value(sc->value))
                                fprintf(stderr, "got multiple values! %s\n", DISPLAY(sc->value));
#endif
                            slot_set_pending_value(car(sc->args), sc->value);
                            sc->args = cdr(sc->args);                   /* go to next step var */
                        }
                        else
                        {
                            push_stack(sc, OP_DO_STEP2, sc->args, sc->code);
                            sc->code = car(code);
                            return(false);
                        }
                    }
                }

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rbx), %rax
cmpq 0x110(%rbx), %rax
je 0xeebbb
movq 0x8(%rax), %rax
movq 0x28(%rax), %rax
testb $0x4, 0x6(%rax)
jne 0xeec02
movq (%rbx), %rcx
movq 0x50(%rbx), %rdx
movq %rcx, (%rdx)
movq 0x8(%rbx), %rcx
movq 0x50(%rbx), %rdx
movq %rcx, 0x8(%rdx)
movq 0x10(%rbx), %rcx
movq 0x50(%rbx), %rdx
movq %rcx, 0x10(%rdx)
movq 0x50(%rbx), %rcx
movq $0x1e8, 0x18(%rcx)      # imm = 0x1E8
addq $0x20, 0x50(%rbx)
movq 0x8(%rax), %rax
movq %rax, (%rbx)
xorl %eax, %eax
xorl %ebp, %ebp
jmp 0xeec39
movq (%rbx), %rax
cmpb $0x1, (%rax)
jne 0xeebe0
movq 0x8(%rax), %rcx
movq 0x20(%rcx), %rdx
movq %rdx, 0x10(%rcx)
movq 0x8(%rax), %rcx
andq $-0x20000001, (%rcx)    # imm = 0xDFFFFFFF
movq 0x10(%rax), %rax
jmp 0xeebbe
movq 0x50(%rbx), %rax
leaq -0x20(%rax), %rcx
movq %rcx, 0x50(%rbx)
movups -0x20(%rax), %xmm0
movups %xmm0, (%rbx)
movq -0x10(%rax), %rax
movq %rax, 0x10(%rbx)
movb $0x1, %bpl
xorl %eax, %eax
jmp 0xeec39
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq *0x20(%rax)
movq %rax, 0x20(%rbx)
movq 0x10(%rbx), %rcx
movq 0x8(%rcx), %rcx
movq %rax, 0x20(%rcx)
movq 0x10(%rbx), %rax
movq 0x8(%rax), %rax
orq $0x20000000, (%rax)     # imm = 0x20000000
movq 0x10(%rbx), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rbx)
movb $0x1, %al
testb %al, %al
jne 0xeeb5c
andb $0x1, %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq