// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: has_safe_steppers
static bool has_safe_steppers(s7_scheme *sc, s7_pointer frame)
                {
                    s7_pointer slot;
                    for (slot = let_slots(frame); tis_slot(slot); slot = next_slot(slot))
                    {
                        s7_pointer step_expr, val;
                        val = slot_value(slot);
                        if (slot_has_expression(slot))
                        {
                            step_expr = slot_expression(slot);
                            if (!is_pair(step_expr))
                            {
                                if ((is_null(step_expr)) ||
                                        (type(step_expr) == type(val)))
                                    set_safe_stepper(slot);
                                else clear_safe_stepper(slot);
                            }
                            else
                            {
                                if (is_safe_stepper_expr(step_expr))
                                {
                                    if (is_t_integer(val))
                                    {
                                        sc->pc = 0;
                                        reset_opts(sc);
                                        if (int_optimize(sc, step_expr))
                                            set_safe_stepper(slot);
                                        else clear_safe_stepper(slot);
                                    }
                                    else
                                    {
                                        if (is_real(val))
                                        {
                                            sc->pc = 0;
                                            reset_opts(sc);
                                            if (float_optimize(sc, step_expr))
                                                set_safe_stepper(slot);
                                            else clear_safe_stepper(slot);
                                        }
                                        else set_safe_stepper(slot);  /* ?? shouldn't this check types ?? */
                                    }
                                }
                            }
                        }
                        else
                        {
                            if (is_t_real(val))
                                slot_set_value(slot, s7_make_mutable_real(sc, real(val)));
                            if (is_t_integer(val))
                                slot_set_value(slot, make_mutable_integer(sc, integer(val)));
                            set_safe_stepper(slot);
                        }
                        if (!is_safe_stepper(slot))
                            return(false);
                    }
                    return(true);
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
addq $0x8, %rsi
movl $0x8000000, %r14d       # imm = 0x8000000
leaq 0x6e5d9(%rip), %r15     # 0x1199b0
movq (%rsi), %r12
testq %r12, %r12
je 0xab4ae
movq (%r12), %rcx
movq 0x10(%r12), %r13
btl $0x19, %ecx
jb 0xab42f
movb (%r13), %al
cmpb $0xd, %al
jne 0xab411
movsd 0x8(%r13), %xmm0
movq %rbx, %rdi
callq 0xc0fe
movq %rax, 0x10(%r12)
movb (%r13), %al
cmpb $0xb, %al
jne 0xab426
movq 0x8(%r13), %rsi
movq %rbx, %rdi
callq 0x7c936
movq %rax, 0x10(%r12)
movq (%r12), %rcx
orq %r14, %rcx
jmp 0xab49b
movq 0x28(%r12), %rsi
movb (%rsi), %al
cmpb $0x1, %al
jne 0xab45c
testb $0x8, 0x3(%rsi)
je 0xab49f
movzbl (%r13), %eax
cmpq $0xb, %rax
jne 0xab46d
andl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
callq 0x7e94f
jmp 0xab483
cmpq 0x110(%rbx), %rsi
je 0xab48b
cmpb (%r13), %al
je 0xab48b
jmp 0xab494
cmpb $0x1, (%rax,%r15)
jne 0xab48b
andl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
callq 0x36881
movq (%r12), %rcx
testb %al, %al
je 0xab494
orq $0x8000000, %rcx        # imm = 0x8000000
jmp 0xab49b
andq $-0x8000001, %rcx       # imm = 0xF7FFFFFF
movq %rcx, (%r12)
leaq 0x18(%r12), %rsi
btl $0x1b, %ecx
jb 0xab3d7
testq %r12, %r12
sete %al
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq