// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: op_tc_if_a_z_la
static bool op_tc_if_a_z_la(s7_scheme *sc, s7_pointer code)
                {
                    s7_pointer if_test, if_true, la, la_slot;
                    if_test = cdr(code);
                    if_true = cdr(if_test);
                    la = cdadr(if_true);
                    la_slot = let_slots(sc->envir);

                    if (is_t_integer(slot_value(la_slot)))
                    {
                        sc->pc = 0;
                        reset_opts(sc);
                        if (bool_optimize(sc, if_test))
                        {
                            opt_info *o, *o1;
                            o = sc->opts[0];
                            o1 = sc->opts[sc->pc];
                            if (int_optimize(sc, la))
                            {
                                s7_pointer val;
                                slot_set_value(la_slot, val = make_mutable_integer(sc, integer(slot_value(la_slot))));
                                while (true)
                                {
                                    sc->pc = 0;
                                    if (o->v[0].fb(o)) break;
                                    sc->pc++;
                                    integer(val) = o1->v[0].fi(o1);
                                }
                                return(op_tc_z(sc, if_true));
                            }
                        }
                    }
                    while (true)
                    {
                        if (fx_call(sc, if_test) != sc->F) break;
                        slot_set_value(la_slot, fx_call(sc, la));
                    }
                    return(op_tc_z(sc, if_true));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10(%rsi), %r14
movq 0x10(%r14), %r12
movq 0x10(%r12), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %r15
movq 0x8(%rdi), %rax
movq 0x8(%rax), %r13
movq 0x10(%r13), %rax
cmpb $0xb, (%rax)
jne 0xcc001
movl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb0a63
testb %al, %al
je 0xcc001
movq %r12, 0x10(%rsp)
movq 0x2260(%rbx), %r12
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %rax
movq %rax, 0x18(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa66f0
testb %al, %al
je 0xcbfe7
movb %al, 0xf(%rsp)
movq 0x10(%r13), %rax
movq 0x8(%rax), %rbp
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xcbf49
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0x500000b, (%rax)      # imm = 0x500000B
movq %rbp, 0x8(%rax)
movq %rax, 0x20(%rsp)
movq %rax, 0x10(%r13)
movl $0x0, 0x2258(%rbx)
movq %r12, %rdi
callq *(%r12)
testb %al, %al
movq 0x18(%rsp), %rbp
jne 0xcbfb7
incl 0x2258(%rbx)
movq %rbp, %rdi
callq *(%rbp)
movq 0x20(%rsp), %rcx
movq %rax, 0x8(%rcx)
movl $0x0, 0x2258(%rbx)
movq %r12, %rdi
callq *(%r12)
testb %al, %al
je 0xcbf8d
movq 0x10(%rsp), %rcx
movzwl 0x6(%rcx), %eax
andl $0x4, %eax
movl %eax, %ebp
shrl $0x2, %ebp
testl %eax, %eax
je 0xcbfdc
movq 0x8(%rcx), %rsi
movq %rbx, %rdi
callq *0x20(%rcx)
movq %rax, 0x20(%rbx)
jmp 0xcbfe3
movq 0x8(%rcx), %rax
movq %rax, (%rbx)
movb 0xf(%rsp), %al
testb %al, %al
movq 0x10(%rsp), %r12
je 0xcc001
jmp 0xcc042
movq 0x8(%r15), %rsi
movq %rbx, %rdi
callq *0x20(%r15)
movq %rax, 0x10(%r13)
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq *0x20(%r14)
cmpq 0x120(%rbx), %rax
je 0xcbff2
movzwl 0x6(%r12), %eax
andl $0x4, %eax
movl %eax, %ebp
shrl $0x2, %ebp
testl %eax, %eax
je 0xcc03a
movq 0x8(%r12), %rsi
movq %rbx, %rdi
callq *0x20(%r12)
movq %rax, 0x20(%rbx)
jmp 0xcc042
movq 0x8(%r12), %rax
movq %rax, (%rbx)
andb $0x1, %bpl
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq