// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: op_tc_if_a_z_if_a_la_z
static bool op_tc_if_a_z_if_a_la_z(s7_scheme *sc, s7_pointer code)
                {
                    s7_pointer if_test, if_true, if_false, f_test, f_true, f_false, la, la_slot, endp;
                    if_test = cdr(code);
                    if_true = cdr(if_test);
                    if_false = cadr(if_true);
                    f_test = cdr(if_false);
                    f_true = cdr(f_test);
                    f_false = cdr(f_true);
                    la = cdar(f_true);
                    la_slot = let_slots(sc->envir);

                    if (is_t_integer(slot_value(la_slot)))
                    {
                        opt_info *o;
                        sc->pc = 0;
                        o = sc->opts[0];
                        if (bool_optimize_nw(sc, if_test))
                        {
                            opt_info *o1;
                            o1 = sc->opts[sc->pc];
                            if (bool_optimize_nw(sc, f_test))
                            {
                                opt_info *o2;
                                o2 = 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)) {endp = if_true; break;}
                                        sc->pc++;
                                        if (o1->v[0].fb(o1))
                                        {
                                            sc->pc++;
                                            integer(val) = o2->v[0].fi(o2);
                                        }
                                        else {endp = f_false; break;}
                                    }
                                    return(op_tc_z(sc, endp));
                                }}}}

                    while (true)
                    {
                        if (fx_call(sc, if_test) != sc->F) {endp = if_true; break;}
                        if (fx_call(sc, f_test) == sc->F) {endp = f_false; break;}
                        slot_set_value(la_slot, fx_call(sc, la));
                    }
                    return(op_tc_z(sc, endp));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10(%rsi), %r15
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %r12
movq 0x10(%r12), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rcx), %r13
movq 0x8(%rdi), %rax
movq 0x8(%rax), %r14
movq 0x10(%r14), %rax
cmpb $0xb, (%rax)
jne 0x9a138
andl $0x0, 0x2258(%rbx)
movq 0x2260(%rbx), %rax
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x87382
testb %al, %al
je 0x9a138
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %rax
movq %rax, 0x18(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x87382
testb %al, %al
je 0x9a138
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %rbp
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7e94f
testb %al, %al
je 0x9a138
movq 0x10(%r14), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x7c936
movq %rax, %r15
movq %rax, 0x10(%r14)
movq 0x20(%rsp), %r14
movq 0x18(%rsp), %r12
andl $0x0, 0x2258(%rbx)
movq %r14, %rdi
callq *(%r14)
testb %al, %al
jne 0x9a173
incl 0x2258(%rbx)
movq %r12, %rdi
callq *(%r12)
testb %al, %al
je 0x9a17a
incl 0x2258(%rbx)
movq %rbp, %rdi
callq *(%rbp)
movq %rax, 0x8(%r15)
jmp 0x9a104
movq 0x8(%r15), %rsi
movq %rbx, %rdi
callq *0x20(%r15)
cmpq 0x120(%rbx), %rax
jne 0x9a173
movq 0x8(%r12), %rsi
movq %rbx, %rdi
callq *0x20(%r12)
cmpq 0x120(%rbx), %rax
je 0x9a17a
movq 0x8(%r13), %rsi
movq %rbx, %rdi
callq *0x20(%r13)
movq %rax, 0x10(%r14)
jmp 0x9a138
movq 0x10(%rsp), %rsi
jmp 0x9a17f
movq 0x8(%rsp), %rsi
movq %rbx, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa5fb5