// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: op_tc_if_a_laa_z
static bool op_tc_if_a_laa_z(s7_scheme *sc, s7_pointer code)
                {
                    s7_pointer if_test, if_false, la, laa, la_slot, laa_slot;
                    if_test = cdr(code);
                    if_false = cddr(if_test);
                    la = cdadr(if_test);
                    laa = cdr(la);
                    la_slot = let_slots(sc->envir);
                    laa_slot = next_slot(la_slot);

                    if (!no_bool_opt(code))
                    {
                        sc->pc = 0;
                        reset_opts(sc);
                        if (bool_optimize(sc, if_test))
                        {
                            opt_info *o, *o1, *o2;
                            int32_t start_pc;
                            o = sc->opts[0];
                            start_pc = sc->pc;
                            o1 = sc->opts[sc->pc];
                            if ((is_t_integer(slot_value(la_slot))) &&
                                    (is_t_integer(slot_value(laa_slot))))
                            {
                                if (int_optimize(sc, la))
                                {
                                    o2 = sc->opts[sc->pc];
                                    if (int_optimize(sc, laa))
                                    {
                                        s7_pointer val1, val2;
                                        slot_set_value(la_slot, val1 = make_mutable_integer(sc, integer(slot_value(la_slot))));
                                        slot_set_value(laa_slot, val2 = make_mutable_integer(sc, integer(slot_value(laa_slot))));
                                        while (true)
                                        {
                                            sc->pc = 0;
                                            if (o->v[0].fb(o))
                                            {
                                                s7_int i1;
                                                sc->pc++;
                                                i1 = o1->v[0].fi(o1);
                                                sc->pc++;
                                                integer(val2) = o2->v[0].fi(o2);
                                                integer(val1) = i1;
                                            }
                                            else break;
                                        }
                                        return(op_tc_z(sc, if_false));
                                    }
                                }
                            }
                            if ((is_float(slot_value(la_slot))) &&
                                    (is_float(slot_value(laa_slot))))
                            {
                                sc->pc = start_pc;
                                if (float_optimize(sc, la))
                                {
                                    o2 = sc->opts[sc->pc];
                                    if (float_optimize(sc, laa))
                                    {
                                        s7_pointer val1, val2;
                                        slot_set_value(la_slot, val1 = s7_make_mutable_real(sc, real(slot_value(la_slot))));
                                        slot_set_value(laa_slot, val2 = s7_make_mutable_real(sc, real(slot_value(laa_slot))));
                                        while (true)
                                        {
                                            sc->pc = 0;
                                            if (o->v[0].fb(o))
                                            {
                                                s7_double x1;
                                                sc->pc++;
                                                x1 = o1->v[0].fd(o1);
                                                sc->pc++;
                                                real(val2) = o2->v[0].fd(o2);
                                                real(val1) = x1;
                                            }
                                            else break;
                                        }
                                        return(op_tc_z(sc, if_false));
                                    }
                                }
                            }
                        }
                        else set_no_bool_opt(code);
                    }
                    while (true)
                    {
                        s7_pointer a1;
                        if (fx_call(sc, if_test) == sc->F) break;
                        a1 = fx_call(sc, la);
                        sc->w = a1;
                        slot_set_value(laa_slot, fx_call(sc, laa));
                        slot_set_value(la_slot, a1);
                    }
                    return(op_tc_z(sc, if_false));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10(%rsi), %r13
movq 0x10(%r13), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x10(%rcx), %rbp
movq 0x10(%rbp), %r14
movq 0x8(%rdi), %rax
movq 0x8(%rax), %r12
movq 0x18(%r12), %rax
movq %rax, (%rsp)
testb $0x8, 0x3(%rsi)
jne 0x99e8a
movq %rsi, %r15
andl $0x0, 0x2258(%rbx)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x87220
testb %al, %al
je 0x99d71
movq 0x2260(%rbx), %rax
movq %rax, 0x8(%rsp)
movslq 0x2258(%rbx), %r15
movq 0x2260(%rbx,%r15,8), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%r12), %rcx
movb (%rcx), %al
cmpb $0xb, %al
jne 0x99d89
movq (%rsp), %rax
movq 0x10(%rax), %rax
cmpb $0xb, (%rax)
jne 0x99d87
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x7e94f
testb %al, %al
je 0x99d7b
movq %r15, 0x18(%rsp)
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7e94f
movq 0x10(%r12), %rcx
testb %al, %al
je 0x99d82
movq 0x8(%rcx), %rsi
movq %rbx, %rdi
callq 0x7c936
movq %rax, %r14
movq %rax, 0x10(%r12)
movq (%rsp), %r12
movq 0x10(%r12), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x7c936
movq %rax, %r13
movq %rax, 0x10(%r12)
movq 0x8(%rsp), %r12
andl $0x0, 0x2258(%rbx)
movq %r12, %rdi
callq *(%r12)
testb %al, %al
je 0x99e9e
incl 0x2258(%rbx)
movq 0x10(%rsp), %rdi
callq *(%rdi)
movq %rax, %rbp
incl 0x2258(%rbx)
movq %r15, %rdi
callq *(%r15)
movq %rax, 0x8(%r13)
movq %rbp, 0x8(%r14)
jmp 0x99d35
orb $0x8, 0x3(%r15)
jmp 0x99e8a
movq 0x10(%r12), %rcx
jmp 0x99d87
movq 0x18(%rsp), %r15
movb (%rcx), %al
cmpb $0xd, %al
jne 0x99e8a
movq (%rsp), %rax
movq 0x10(%rax), %rax
cmpb $0xd, (%rax)
jne 0x99e8a
movl %r15d, 0x2258(%rbx)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x36881
testb %al, %al
je 0x99e8a
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x36881
testb %al, %al
je 0x99e8a
movq 0x10(%r12), %rax
movsd 0x8(%rax), %xmm0
movq %rbx, %rdi
callq 0xc0fe
movq %rax, %r14
movq %rax, 0x10(%r12)
movq (%rsp), %r12
movq 0x10(%r12), %rax
movsd 0x8(%rax), %xmm0
movq %rbx, %rdi
callq 0xc0fe
movq %rax, %r13
movq %rax, 0x10(%r12)
movq 0x8(%rsp), %r12
andl $0x0, 0x2258(%rbx)
movq %r12, %rdi
callq *(%r12)
testb %al, %al
je 0x99e9e
incl 0x2258(%rbx)
movq 0x10(%rsp), %rdi
callq *(%rdi)
movsd %xmm0, (%rsp)
incl 0x2258(%rbx)
movq %r15, %rdi
callq *(%r15)
movsd %xmm0, 0x8(%r13)
movsd (%rsp), %xmm0
movsd %xmm0, 0x8(%r14)
jmp 0x99e1b
movq 0x8(%rbp), %rsi
movq %rbx, %rdi
callq *0x20(%rbp)
movq %rax, %r15
movq %rax, 0x4d8(%rbx)
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq *0x20(%r14)
movq (%rsp), %rcx
movq %rax, 0x10(%rcx)
movq %r15, 0x10(%r12)
movq 0x8(%r13), %rsi
movq %rbx, %rdi
callq *0x20(%r13)
cmpq 0x120(%rbx), %rax
jne 0x99e5e
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa5fb5