// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: opt_cell_and
static bool opt_cell_and(s7_scheme *sc, s7_pointer car_x, int32_t len)
                {
                    opt_info *opc;
                    opc = alloc_opo(sc, car_x);
                    if (len == 3)
                    {
                        opt_info *wrapper;
                        int32_t start;
                        opc->v[0].fp = ((car(car_x) == sc->or_symbol) ? opt_or_pp : opt_and_pp);
                        wrapper = sc->opts[sc->pc];
                        start = sc->pc;
                        if (!cell_optimize(sc, cdr(car_x)))
                        {
                            pc_fallback(sc, start);
                            if (!bool_optimize_nw(sc, cdr(car_x)))
                                return(return_false(sc, car_x, __func__, __LINE__));
                            if (oo_size(wrapper) < 8) oo_resize(wrapper, 8);
                            wrapper->v[7].fb = wrapper->v[0].fb;
                            wrapper->v[0].fp = b_to_p;
                        }
                        start = sc->pc;
                        if (!cell_optimize(sc, cddr(car_x)))
                        {
                            pc_fallback(sc, start);
                            if (!bool_optimize_nw(sc, cddr(car_x)))
                                return(return_false(sc, car_x, __func__, __LINE__));
                            if (oo_size(wrapper) < 8) oo_resize(wrapper, 8);
                            wrapper->v[7].fb = wrapper->v[0].fb;
                            wrapper->v[0].fp = b_to_p;
                        }
                        opc->v[1].i = sc->pc - 1;
                        return(oo_set_type_0(opc, 2));
                    }
                    if (len > 0)
                    {
                        s7_pointer p;
                        opc->v[1].i = (len - 1);
                        opc->v[0].fp = ((car(car_x) == sc->or_symbol) ? opt_or_any_p : opt_and_any_p);
                        for (p = cdr(car_x); is_pair(p); p = cdr(p))
                        {
                            opt_info *wrapper;
                            int32_t start;
                            wrapper = sc->opts[sc->pc];
                            start = sc->pc;
                            if (!cell_optimize(sc, p))
                            {
                                pc_fallback(sc, start);
                                if (!bool_optimize_nw(sc, p))
                                    return(return_false(sc, car_x, __func__, __LINE__));
                                if (oo_size(wrapper) < 8) oo_resize(wrapper, 8);
                                wrapper->v[7].fb = wrapper->v[0].fb;
                                wrapper->v[0].fp = b_to_p;
                            }
                        }
                        opc->v[2].i = sc->pc - 1;
                        return(oo_set_type_0(opc, 3));
                    }
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movl %edx, 0x3c(%rsp)
movq 0x48(%rsp), %rdi
callq 0xe15e0
movq %rax, 0x30(%rsp)
cmpl $0x3, 0x3c(%rsp)
jne 0xf2512
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x48(%rsp), %rax
movq 0x1828(%rax), %rsi
leaq 0x9f28(%rip), %rcx      # 0xfc2a0
leaq 0x9e41(%rip), %rax      # 0xfc1c0
cmpq %rsi, %rdx
cmoveq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movq 0x48(%rsp), %rcx
movslq 0x2258(%rcx), %rcx
movq 0x2260(%rax,%rcx,8), %rax
movq %rax, 0x28(%rsp)
movq 0x48(%rsp), %rax
movl 0x2258(%rax), %eax
movl %eax, 0x24(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rsi
callq 0xe9db0
testb $0x1, %al
jne 0xf243b
movq 0x48(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0xe59a0
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rsi
callq 0xf8720
testb $0x1, %al
jne 0xf2401
movb $0x0, 0x57(%rsp)
jmp 0xf267d
movq 0x28(%rsp), %rax
cmpl $0x8, 0x60(%rax)
jge 0xf241b
movq 0x28(%rsp), %rdi
movl $0x8, %esi
callq 0xec320
movq 0x28(%rsp), %rax
movq (%rax), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x38(%rax)
movq 0x28(%rsp), %rax
leaq 0x9f48(%rip), %rcx      # 0xfc380
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movl 0x2258(%rax), %eax
movl %eax, 0x24(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
callq 0xe9db0
testb $0x1, %al
jne 0xf24d2
movq 0x48(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0xe59a0
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
callq 0xf8720
testb $0x1, %al
jne 0xf2498
movb $0x0, 0x57(%rsp)
jmp 0xf267d
movq 0x28(%rsp), %rax
cmpl $0x8, 0x60(%rax)
jge 0xf24b2
movq 0x28(%rsp), %rdi
movl $0x8, %esi
callq 0xec320
movq 0x28(%rsp), %rax
movq (%rax), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x38(%rax)
movq 0x28(%rsp), %rax
leaq 0x9eb1(%rip), %rcx      # 0xfc380
movq %rcx, (%rax)
movq 0x48(%rsp), %rax
movl 0x2258(%rax), %eax
subl $0x1, %eax
movslq %eax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x30(%rsp), %rdi
movl $0x2, %esi
leaq 0xfceb2(%rip), %rdx     # 0x1ef3af
movl $0xf759, %ecx           # imm = 0xF759
callq 0xe4820
andb $0x1, %al
movb %al, 0x57(%rsp)
jmp 0xf267d
cmpl $0x0, 0x3c(%rsp)
jle 0xf2678
movl 0x3c(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x48(%rsp), %rax
movq 0x1828(%rax), %rsi
leaq 0x9f74(%rip), %rcx      # 0xfc4c0
leaq 0x9e8d(%rip), %rax      # 0xfc3e0
cmpq %rsi, %rdx
cmoveq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, (%rax)
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0xf263b
movq 0x48(%rsp), %rax
movq 0x48(%rsp), %rcx
movslq 0x2258(%rcx), %rcx
movq 0x2260(%rax,%rcx,8), %rax
movq %rax, 0x10(%rsp)
movq 0x48(%rsp), %rax
movl 0x2258(%rax), %eax
movl %eax, 0xc(%rsp)
movq 0x48(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xe9db0
testb $0x1, %al
jne 0xf2626
movq 0x48(%rsp), %rdi
movl 0xc(%rsp), %esi
callq 0xe59a0
movq 0x48(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0xf8720
testb $0x1, %al
jne 0xf25ec
movb $0x0, 0x57(%rsp)
jmp 0xf267d
movq 0x10(%rsp), %rax
cmpl $0x8, 0x60(%rax)
jge 0xf2606
movq 0x10(%rsp), %rdi
movl $0x8, %esi
callq 0xec320
movq 0x10(%rsp), %rax
movq (%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x38(%rax)
movq 0x10(%rsp), %rax
leaq 0x9d5d(%rip), %rcx      # 0xfc380
movq %rcx, (%rax)
jmp 0xf2628
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0xf2570
movq 0x48(%rsp), %rax
movl 0x2258(%rax), %eax
subl $0x1, %eax
movslq %eax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x30(%rsp), %rdi
movl $0x3, %esi
leaq 0xfcd49(%rip), %rdx     # 0x1ef3af
movl $0xf771, %ecx           # imm = 0xF771
callq 0xe4820
andb $0x1, %al
movb %al, 0x57(%rsp)
jmp 0xf267d
movb $0x0, 0x57(%rsp)
movb 0x57(%rsp), %al
andb $0x1, %al
addq $0x58, %rsp
retq
nopl (%rax,%rax)