// File: /workspace/github_c_makefile_star2_O1/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 0xadb77
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 0xad887
cmpl $0x3, %edx
jne 0xad941
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r12
movq 0x10(%r14), %rsi
movq 0x8(%rsi), %rax
cmpb $0x1, (%rax)
jne 0xad7e2
movq 0x10(%rax), %rcx
cmpb $0x1, (%rcx)
jne 0xad7e2
movq 0x10(%rcx), %rcx
cmpq 0x110(%rbx), %rcx
jne 0xad7e2
movq 0x8(%rax), %rcx
cmpq 0x1368(%rbx), %rcx
je 0xad94f
movq %rbx, %rdi
callq 0xb0a63
testb %al, %al
je 0xad941
movslq 0x2258(%rbx), %rax
movq 0x2260(%rbx,%rax,8), %r13
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa8bbb
testb %al, %al
je 0xad941
leaq 0x5c10(%rip), %rcx      # 0xb3430
movq %rcx, (%r15)
movslq 0x2258(%rbx), %rcx
decq %rcx
movq %rcx, 0x8(%r15)
movq (%r12), %rcx
leaq 0x376e(%rip), %rdx      # 0xb0faa
cmpq %rdx, %rcx
je 0xad8fd
leaq 0x4e02(%rip), %rdx      # 0xb264e
cmpq %rdx, %rcx
je 0xad906
leaq 0x4f59(%rip), %rdx      # 0xb27b5
cmpq %rdx, %rcx
je 0xad920
movq %r12, 0x10(%r15)
movq (%r12), %rcx
movq %rcx, 0x18(%r15)
movq %r13, 0x20(%r15)
movq (%r13), %rcx
movq %rcx, 0x28(%r15)
movl $0x6, %ecx
jmp 0xad92f
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0xb0a63
testb %al, %al
je 0xad941
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa8bbb
testb %al, %al
je 0xad941
leaq 0x5d1b(%rip), %rax      # 0xb35d5
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 0xa8bbb
testb %al, %al
je 0xad941
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x18(%r15)
movq $0x4, 0x60(%r15)
movb $0x1, %cl
jmp 0xad943
leaq 0x5b73(%rip), %rcx      # 0xb3477
jmp 0xad927
movq 0x10(%r12), %rcx
movq %rcx, 0x10(%r15)
leaq 0x5bc0(%rip), %rcx      # 0xb34d6
movq %rcx, (%r15)
movl $0x3, %ecx
jmp 0xad92f
leaq 0x5c25(%rip), %rcx      # 0xb354c
movq %rcx, (%r15)
movl $0x2, %ecx
movl $0x0, 0x64(%r15)
movl %ecx, 0x60(%r15)
movb $0x1, %cl
testb %al, %al
jne 0xad943
xorl %ecx, %ecx
movl %ecx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xb0a63
testb %al, %al
je 0xad941
movq 0x10(%r14), %rax
movq 0x10(%rax), %rsi
movq %rbx, %rdi
callq 0xa8bbb
testb %al, %al
je 0xad941
leaq 0x5711(%rip), %rax      # 0xb308b
movq %rax, (%r15)
movslq 0x2258(%rbx), %rax
decq %rax
movq %rax, 0x8(%r15)
movq (%r12), %rax
leaq 0x4cb8(%rip), %rcx      # 0xb264e
cmpq %rcx, %rax
je 0xada0b
leaq 0x4c5f(%rip), %rcx      # 0xb2601
cmpq %rcx, %rax
je 0xada2b
leaq 0x4e9b(%rip), %rcx      # 0xb284d
cmpq %rcx, %rax
je 0xada46
leaq 0x5045(%rip), %rcx      # 0xb2a07
cmpq %rcx, %rax
setne %dl
leaq 0x507c(%rip), %rsi      # 0xb2a4b
cmpq %rsi, %rax
setne %sil
testb %sil, %dl
jne 0xada7d
cmpq %rcx, %rax
leaq 0x5841(%rip), %rax      # 0xb322a
leaq 0x58b8(%rip), %rcx      # 0xb32a8
cmoveq %rax, %rcx
movq 0x18(%r12), %rax
movq %rax, 0x10(%r15)
movq %rcx, (%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
jmp 0xada62
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
leaq 0x56cd(%rip), %rax      # 0xb30e8
movq %rax, (%r15)
movq $0x3, 0x60(%r15)
jmp 0xad8f9
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
leaq 0x571a(%rip), %rax      # 0xb315e
jmp 0xada5f
movq 0x10(%r12), %rax
movq %rax, 0x10(%r15)
movq 0x8(%r12), %rax
movq %rax, 0x18(%r15)
leaq 0x5748(%rip), %rax      # 0xb31a7
movq %rax, (%r15)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%r15)
movl $0x0, 0x70(%r15)
jmp 0xad8f9
leaq 0x4f58(%rip), %rcx      # 0xb29dc
cmpq %rcx, %rax
setne %dl
leaq 0x4f5d(%rip), %rsi      # 0xb29ee
cmpq %rsi, %rax
setne %sil
testb %sil, %dl
jne 0xadadc
cmpq %rcx, %rax
movq 0x18(%r12), %rax
movq %rax, 0x18(%r15)
leaq 0x5889(%rip), %rax      # 0xb3339
leaq 0x58cf(%rip), %rcx      # 0xb3386
cmoveq %rax, %rcx
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 0xada6c
leaq 0x47dc(%rip), %rcx      # 0xb22bf
cmpq %rcx, %rax
je 0xadb31
leaq 0x47b4(%rip), %rcx      # 0xb22a3
cmpq %rcx, %rax
je 0xadb31
leaq 0x478c(%rip), %rcx      # 0xb2287
cmpq %rcx, %rax
je 0xadb31
leaq 0x4764(%rip), %rcx      # 0xb226b
cmpq %rcx, %rax
je 0xadb31
leaq 0x473a(%rip), %rcx      # 0xb224d
cmpq %rcx, %rax
je 0xadb31
leaq 0x4b9b(%rip), %rcx      # 0xb26ba
cmpq %rcx, %rax
je 0xadb31
movq $0x2, 0x60(%r15)
jmp 0xad8f9
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 0x5884(%rip), %rax      # 0xb33d7
movq %rax, (%r15)
movabsq $0x200000005, %rax      # imm = 0x200000005
movq %rax, 0x60(%r15)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x70(%r15)
jmp 0xad8f9
addq $0x2190, %rbx           # imm = 0x2190
movq %rbx, %rdi
movl $0x1, %esi
callq 0x9530