// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: opt_cell_if
static bool opt_cell_if(s7_scheme *sc, s7_pointer car_x, int32_t len)
                {
                    opt_info *opc;
                    opc = alloc_opo(sc, car_x);
                    if (len == 3)
                    {
                        opt_info *next;
                        next = sc->opts[sc->pc];
                        if ((is_proper_list_2(sc, cadr(car_x))) && /* (not arg) */
                                (caadr(car_x) == sc->not_symbol))
                        {
                            if ((bool_optimize(sc, cdadr(car_x))) &&
                                    (cell_optimize(sc, cddr(car_x))))
                            {
                                opc->v[0].fp = opt_if_nbp;
                                opc->v[1].i = sc->pc - 1;
                                if (next->v[0].fb == opt_b_p_f)
                                {
                                    opc->v[2].b_p_f = next->v[2].b_p_f;
                                    opc->v[0].fp = opt_if_nbp_f;
                                    return(oo_set_type_0(opc, 3));
                                }
                                if (next->v[0].fb == opt_b_p_s)
                                {
                                    opc->v[2].b_p_f = next->v[2].b_p_f;
                                    opc->v[3].p = next->v[1].p;
                                    opc->v[0].fp = opt_if_nbp_s;
                                    return(oo_set_type_1(opc, 4, 3, OO_P));
                                }
                                if (next->v[0].fb == opt_b_pi_fs)
                                {
                                    opc->v[2].b_pi_f = next->v[2].b_pi_f;
                                    opc->v[3].p = next->v[1].p;
                                    opc->v[0].fp = opt_if_nbp_fs;
                                    return(oo_set_type_1(opc, 4, 3, OO_P));
                                }
                                if ((next->v[0].fb == opt_b_pp_sf) ||
                                        (next->v[0].fb == opt_b_7pp_sf))
                                {
                                    if (next->v[0].fb == opt_b_pp_sf)
                                    {
                                        opc->v[2].b_pp_f = next->v[3].b_pp_f;
                                        opc->v[0].fp = opt_if_nbp_sf;
                                    }
                                    else
                                    {
                                        opc->v[2].b_7pp_f = next->v[3].b_7pp_f;
                                        opc->v[0].fp = opt_if_nbp_7sf;
                                    }
                                    opc->v[3].p = next->v[1].p;
                                    return(oo_set_type_1(opc, 4, 3, OO_P));
                                }
                                if ((next->v[0].fb == opt_b_pp_sc) ||
                                        (next->v[0].fb == opt_b_7pp_sc))
                                {
                                    if (next->v[0].fb == opt_b_pp_sc)
                                    {
                                        opc->v[3].b_pp_f = next->v[3].b_pp_f;
                                        opc->v[0].fp = opt_if_nbp_sc;
                                    }
                                    else
                                    {
                                        opc->v[3].b_7pp_f = next->v[3].b_7pp_f;
                                        opc->v[0].fp = opt_if_nbp_7sc;
                                    }
                                    opc->v[2].p = next->v[1].p;
                                    opc->v[4].p = next->v[2].p;
                                    return(oo_set_type_1(opc, 5, 2, OO_P));
                                }
                                if ((next->v[0].fb == opt_b_ii_ss) || (next->v[0].fb == opt_b_ii_ss_eq) ||
                                        (next->v[0].fb == opt_b_ii_ss_lt) || (next->v[0].fb == opt_b_ii_ss_gt) ||
                                        (next->v[0].fb == opt_b_ii_ss_leq) || (next->v[0].fb == opt_b_ii_ss_geq))
                                {
                                    opc->v[3].b_ii_f = next->v[3].b_ii_f;
                                    opc->v[2].p = next->v[1].p;
                                    opc->v[4].p = next->v[2].p;
                                    opc->v[0].fp = opt_if_nbp_ss;
                                    return(oo_set_type_2(opc, 5, 2, 4, OO_I, OO_I));
                                }
                                return(oo_set_type_0(opc, 2));
                            }
                        }
                        else
                        {
                            opt_info *bop;
                            bop = sc->opts[sc->pc];
                            if (bool_optimize(sc, cdr(car_x)))
                            {
                                opt_info *top;
                                top = sc->opts[sc->pc];
                                if (cell_optimize(sc, cddr(car_x)))
                                {
                                    opc->v[0].fp = opt_if_bp;
                                    opc->v[1].i = sc->pc - 1;

                                    if (next->v[0].fb == p_to_b)
                                    {
                                        opc->v[0].fp = opt_if_bp_pb;
                                        return(oo_set_type_0(opc, 2));
                                    }
                                    if (next->v[0].fb == opt_b_p_f)
                                    {
                                        opc->v[2].b_p_f = next->v[2].b_p_f;
                                        opc->v[0].fp = opt_if_bp_f;
                                        return(oo_set_type_0(opc, 3));
                                    }
                                    if (next->v[0].fb == opt_b_ii_fc)
                                    {
                                        opc->v[0].fp = opt_if_bp_ii_fc;
                                        return(oo_set_type_0(opc, 2));
                                    }
                                    opc->v[2].o1 = bop;
                                    opc->v[3].fb = bop->v[0].fb;
                                    opc->v[4].o1 = top;
                                    opc->v[5].fp = top->v[0].fp;
                                    return(oo_set_type_0(opc, 6));
                                }
                            }
                        }
                        return(return_false(sc, car_x, __func__, __LINE__));
                    }
                    if (len == 4)
                    {
                        if ((bool_optimize(sc, cdr(car_x))) &&
                                (cell_optimize(sc, cddr(car_x))))
                        {
                            opc->v[0].fp = opt_if_bpp;
                            opc->v[1].i = sc->pc - 1;
                            if (cell_optimize(sc, cdddr(car_x)))
                            {
                                opc->v[3].i = sc->pc - 1;
                                return(oo_set_type_0(opc, 4));
                            }}}
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movslq 0x2258(%rdi), %rax
cmpq $0x100, %rax            # imm = 0x100
jge 0xa6de6
movq %rsi, %r14
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%rbx)
movq 0x2260(%rbx,%rax,8), %r15
movq $0x0, 0x38(%r15)
cmpl $0x4, %edx
je 0xa6b08
cmpl $0x3, %edx
jne 0xa6c82
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r12
movq 0x10(%r14), %rsi
movq 0x8(%rsi), %rcx
cmpb $0x1, (%rcx)
jne 0xa6a60
movq 0x10(%rcx), %rax
cmpb $0x1, (%rax)
jne 0xa6a60
movq 0x10(%rax), %rdx
cmpq 0x110(%rbx), %rdx
jne 0xa6a60
movq 0x8(%rcx), %rcx
cmpq 0x1368(%rbx), %rcx
je 0xa6bbf
movq %rbx, %rdi
callq 0xa9b3b
testb %al, %al
je 0xa6c82
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r13
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa2000
testb %al, %al
je 0xa6c82
leaq 0x59b7(%rip), %rax      # 0xac455
movq %rax, (%r15)
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x8(%r15)
movq (%r12), %rax
leaq 0x35f1(%rip), %rcx      # 0xaa0ab
cmpq %rcx, %rax
je 0xa6b80
leaq 0x4be6(%rip), %rcx      # 0xab6b0
cmpq %rcx, %rax
je 0xa6b89
leaq 0x4d3d(%rip), %rcx      # 0xab817
cmpq %rcx, %rax
je 0xa6ba6
movq %r12, 0x10(%r15)
movq (%r12), %rax
movq %rax, 0x18(%r15)
movq %r13, 0x20(%r15)
movq (%r13), %rax
movq %rax, 0x28(%r15)
movq $0x6, 0x60(%r15)
jmp 0xa6bb8
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0xa9b3b
testb %al, %al
je 0xa6c82
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa2000
testb %al, %al
je 0xa6c82
leaq 0x5ab5(%rip), %rax      # 0xac5f0
movq %rax, (%r15)
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x8(%r15)
movq 0x10(%r14), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa2000
testb %al, %al
je 0xa6c82
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x18(%r15)
movq $0x4, 0x60(%r15)
jmp 0xa6bb8
leaq 0x5915(%rip), %rax      # 0xac49c
jmp 0xa6bad
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
leaq 0x5962(%rip), %rax      # 0xac4fb
movq %rax, (%r15)
movq $0x3, 0x60(%r15)
jmp 0xa6bb8
leaq 0x59c4(%rip), %rax      # 0xac571
movq %rax, (%r15)
movq $0x2, 0x60(%r15)
movb $0x1, %al
jmp 0xa6c84
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa9b3b
testb %al, %al
je 0xa6c82
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa2000
testb %al, %al
je 0xa6c82
leaq 0x54bf(%rip), %rax      # 0xac0b0
movq %rax, (%r15)
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x8(%r15)
movq (%r12), %rax
leaq 0x4aa3(%rip), %rcx      # 0xab6b0
cmpq %rcx, %rax
je 0xa6c8e
leaq 0x4a77(%rip), %rcx      # 0xab690
cmpq %rcx, %rax
je 0xa6ca3
leaq 0x4c86(%rip), %rcx      # 0xab8af
cmpq %rcx, %rax
je 0xa6cbe
leaq 0x4e30(%rip), %rcx      # 0xaba69
cmpq %rcx, %rax
setne %dl
leaq 0x4e67(%rip), %rsi      # 0xabaad
cmpq %rsi, %rax
setne %sil
testb %sil, %dl
jne 0xa6cf5
cmpq %rcx, %rax
leaq 0x55ef(%rip), %rax      # 0xac24f
leaq 0x5666(%rip), %rcx      # 0xac2cd
cmoveq %rax, %rcx
movq 0x18(%r12), %rax
movq %rax, 0x10(%r15)
movq %rcx, (%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
jmp 0xa6cda
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
leaq 0x546f(%rip), %rax      # 0xac10d
jmp 0xa6b99
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
leaq 0x54c7(%rip), %rax      # 0xac183
jmp 0xa6cd7
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
leaq 0x54f5(%rip), %rax      # 0xac1cc
movq %rax, (%r15)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%r15)
movl $0x0, 0x70(%r15)
jmp 0xa6bb8
leaq 0x4d42(%rip), %rcx      # 0xaba3e
cmpq %rcx, %rax
setne %dl
leaq 0x4d47(%rip), %rsi      # 0xaba50
cmpq %rsi, %rax
setne %sil
testb %sil, %dl
jne 0xa6d54
cmpq %rcx, %rax
leaq 0x563f(%rip), %rax      # 0xac35e
leaq 0x5685(%rip), %rcx      # 0xac3ab
cmoveq %rax, %rcx
movq 0x18(%r12), %rax
movq %rax, 0x18(%r15)
movq %rcx, (%r15)
movq 0x8(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x10(%r12), %rax
movq %rax, 0x20(%r15)
movabsq $0x100000005, %rax      # imm = 0x100000005
jmp 0xa6ce4
leaq 0x4636(%rip), %rcx      # 0xab391
cmpq %rcx, %rax
je 0xa6da0
leaq 0x460e(%rip), %rcx      # 0xab375
cmpq %rcx, %rax
je 0xa6da0
leaq 0x45e6(%rip), %rcx      # 0xab359
cmpq %rcx, %rax
je 0xa6da0
leaq 0x45be(%rip), %rcx      # 0xab33d
cmpq %rcx, %rax
je 0xa6da0
leaq 0x4594(%rip), %rcx      # 0xab31f
cmpq %rcx, %rax
je 0xa6da0
leaq 0x4985(%rip), %rcx      # 0xab71c
cmpq %rcx, %rax
jne 0xa6bb0
movq 0x18(%r12), %rax
movq %rax, 0x18(%r15)
movq 0x8(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x10(%r12), %rax
movq %rax, 0x20(%r15)
leaq 0x563a(%rip), %rax      # 0xac3fc
movq %rax, (%r15)
movabsq $0x200000005, %rax      # imm = 0x200000005
movq %rax, 0x60(%r15)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x70(%r15)
jmp 0xa6bb8
addq $0x2190, %rbx           # imm = 0x2190
movq %rbx, %rdi
movl $0x1, %esi
callq 0x8530