// File: /workspace/github_c_makefile_star2_O3/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
subq $0x10, %rsp
movq 0x8(%rsi), %r14
testq %r14, %r14
je 0xd8645
movq %rdi, %rbx
movl $0x8000000, %r15d       # imm = 0x8000000
leaq 0x724b0(%rip), %r12     # 0x14a9b0
movq (%r14), %rax
movq 0x10(%r14), %r13
btl $0x19, %eax
jb 0xd85ba
movb (%r13), %al
cmpb $0xd, %al
jne 0xd856d
movsd 0x8(%r13), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xd854a
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0xa550
movsd 0x8(%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0x500000d, (%rax)      # imm = 0x500000D
movsd %xmm0, 0x8(%rax)
movq %rax, 0x10(%r14)
movb (%r13), %al
cmpb $0xb, %al
jne 0xd85b2
movq 0x8(%r13), %r13
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xd8594
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0x500000b, (%rax)      # imm = 0x500000B
movq %r13, 0x8(%rax)
movq %rax, 0x10(%r14)
movq (%r14), %rax
orq %r15, %rax
jmp 0xd862b
movq 0x28(%r14), %rsi
movb (%rsi), %cl
cmpb $0x1, %cl
jne 0xd85ea
testb $0x8, 0x3(%rsi)
je 0xd862e
movzbl (%r13), %ecx
cmpq $0xb, %rcx
jne 0xd85fb
movl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
callq 0x9fbc8
jmp 0xd8614
cmpq 0x110(%rbx), %rsi
je 0xd861d
cmpb (%r13), %cl
je 0xd861d
jmp 0xd8625
cmpb $0x1, (%rcx,%r12)
jne 0xd861d
movl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
callq 0x44f61
movl %eax, %ecx
movq (%r14), %rax
testb %cl, %cl
je 0xd8625
orq $0x8000000, %rax        # imm = 0x8000000
jmp 0xd862b
andq $-0x8000001, %rax       # imm = 0xF7FFFFFF
movq %rax, (%r14)
shrl $0x1b, %eax
andl $0x1, %eax
je 0xd8647
movq 0x18(%r14), %r14
testq %r14, %r14
jne 0xd8500
jmp 0xd8647
movb $0x1, %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq