// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: p_p_ok
static bool p_p_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_p_p_t ppf;
                    int32_t start;
                    start = sc->pc;
                    if (is_t_integer(cadr(car_x)))
                    {
                        s7_i_i_t iif;
                        s7_i_7i_t i7if;
                        opc->v[1].i = integer(cadr(car_x));
                        iif = s7_i_i_function(s_func);
                        if (iif)
                        {
                            opc->v[2].i_i_f = iif;
                            opc->v[0].fp = opt_p_i_c;
                            return(oo_set_type_0(opc, 3));
                        }
                        i7if = s7_i_7i_function(s_func);
                        if (i7if)
                        {
                            opc->v[2].i_7i_f = i7if;
                            opc->v[0].fp = opt_p_7i_c;
                            return(oo_set_type_0(opc, 3));
                        }
                    }
                    if (is_float(cadr(car_x)))
                    {
                        s7_d_d_t ddf;
                        s7_d_7d_t d7df;
                        opc->v[1].x = real(cadr(car_x));
                        ddf = s7_d_d_function(s_func);
                        if (ddf)
                        {
                            opc->v[2].d_d_f = ddf;
                            opc->v[0].fp = opt_p_d_c;
                            return(oo_set_type_0(opc, 3));
                        }
                        d7df = s7_d_7d_function(s_func);
                        if (d7df)
                        {
                            opc->v[2].d_7d_f = d7df;
                            opc->v[0].fp = opt_p_7d_c;
                            return(oo_set_type_0(opc, 3));
                        }
                    }
                    ppf = s7_p_p_function(s_func);
                    if (ppf)
                    {
                        opc->v[2].p_p_f = ppf;
                        if ((ppf == symbol_to_string_p) &&
                                (is_optimized(car_x)) &&
                                (c_callee(car_x) == g_symbol_to_string_uncopied))
                            opc->v[2].p_p_f = symbol_to_string_uncopied_p;

                        if (is_symbol(cadr(car_x)))
                        {
                            opc->v[1].p = opt_simple_symbol(sc, cadr(car_x));
                            if (!opc->v[1].p)
                                return(return_false(sc, car_x, __func__, __LINE__));
                            opc->v[0].fp = opt_p_p_s;
                            return(oo_set_type_1(opc, 3, 1, OO_P));
                        }
                        if (!is_pair(cadr(car_x)))
                        {
                            opc->v[1].p = cadr(car_x);
                            opc->v[0].fp = opt_p_p_c;
                            return(oo_set_type_0(opc, 3));
                        }
                        if (cell_optimize(sc, cdr(car_x)))
                        {
                            if (!p_p_f_combinable(sc, opc))
                            {
                                opc->v[0].fp = opt_p_p_f;
                                return(oo_set_type_0(opc, 3));
                            }
                            oo_check(sc, opc);
                            return(true);
                        }
                    }
                    pc_fallback(sc, start);
                    if ((is_safe_procedure(s_func)) &&
                            (c_function_required_args(s_func) <= 1) &&
                            (c_function_all_args(s_func) >= 1))
                    {
                        s7_pointer slot;
                        opc->v[2].call = cf_call(sc, car_x, s_func, 1);
                        if (is_symbol(cadr(car_x)))
                        {
                            slot = opt_simple_symbol(sc, cadr(car_x));
                            if (slot)
                            {
                                opc->v[1].p = slot;
                                opc->v[0].fp = opt_p_call_s;
                                return(oo_set_type_1(opc, 3, 1, OO_P));
                            }
                        }
                        else
                        {
                            if (!is_pair(cadr(car_x)))
                            {
                                opc->v[1].p = cadr(car_x);
                                opc->v[0].fp = opt_p_call_c;
                                return(oo_set_type_0(opc, 3));
                            }
                            if (cell_optimize(sc, cdr(car_x)))
                            {
                                opc->v[0].fp = opt_p_call_f;
                                return(oo_set_type_0(opc, 3));
                            }}}
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movl 0x2258(%rdi), %ebp
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0xa9eb3
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
movq %r12, %rdi
callq 0x479bd
testq %rax, %rax
je 0xa9e96
movq %rax, 0x10(%rbx)
leaq 0xbb86(%rip), %rax      # 0xb5a17
jmp 0xaa092
movq %r12, %rdi
callq 0xa8a8e
testq %rax, %rax
je 0xa9eb3
movq %rax, 0x10(%rbx)
leaq 0xbbd6(%rip), %rax      # 0xb5a84
jmp 0xaa092
movq 0x10(%r15), %rax
movq 0x8(%rax), %rax
cmpb $0xd, (%rax)
jne 0xa9f04
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x8(%rbx)
movq %r12, %rdi
callq 0x4733d
testq %rax, %rax
je 0xa9ee7
movq %rax, 0x10(%rbx)
leaq 0xbc13(%rip), %rax      # 0xb5af5
jmp 0xaa092
movq %r12, %rdi
callq 0xb5b56
testq %rax, %rax
je 0xa9f04
movq %rax, 0x10(%rbx)
leaq 0xbc84(%rip), %rax      # 0xb5b83
jmp 0xaa092
movq %r12, %rdi
callq 0xb5be8
testq %rax, %rax
je 0xa9fe5
movq %rax, 0x10(%rbx)
leaq -0x20012(%rip), %rcx    # 0x89f0e
cmpq %rcx, %rax
jne 0xa9f45
cmpw $0x801, (%r15)          # imm = 0x801
jne 0xa9f45
leaq 0xbce1(%rip), %rax      # 0xb5c15
cmpq %rax, 0x20(%r15)
jne 0xa9f45
leaq 0xbde0(%rip), %rax      # 0xb5d21
movq %rax, 0x10(%rbx)
movq 0x10(%r15), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %ecx
cmpl $0x1, %ecx
je 0xa9f97
cmpl $0xa, %ecx
jne 0xaa087
movq %r14, %rdi
callq 0xac2d6
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0xaa0c0
leaq 0x8c82(%rip), %rax      # 0xb2bfc
movq %rax, (%rbx)
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, 0x60(%rbx)
movl $0x0, 0x70(%rbx)
jmp 0xaa09d
movq %r14, %rdi
movq %rax, %rsi
callq 0xa8bbb
testb %al, %al
je 0xa9fe5
movl 0x2258(%r14), %eax
cmpl $0x2, %eax
jl 0xa9fd9
leal -0x2(%rax), %ecx
cmpq %rbx, 0x2260(%r14,%rcx,8)
jne 0xa9fd9
decl %eax
movq 0x2260(%r14,%rax,8), %rax
leaq 0x8c2c(%rip), %rcx      # 0xb2bfc
cmpq %rcx, (%rax)
je 0xaa0d1
leaq 0x6784(%rip), %rax      # 0xb0764
jmp 0xaa092
movl %ebp, 0x2258(%r14)
testb $0x20, 0x2(%r12)
je 0xaa0c0
cmpq $0x1, 0x18(%r12)
jg 0xaa0c0
cmpq $0x0, 0x28(%r12)
jle 0xaa0c0
cmpw $0x801, (%r15)          # imm = 0x801
jne 0xaa031
movzwl 0x4(%r15), %eax
leal -0x17f(%rax), %ecx
cmpl $0x7, %ecx
jb 0xaa031
cmpl $0x4, %eax
jae 0xaa101
movq 0x8(%r12), %rax
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
movq %r15, %rcx
xorl %r8d, %r8d
callq *0x48(%rax)
addq $0x10, %rax
movq (%rax), %rax
movq %rax, 0x10(%rbx)
movq 0x10(%r15), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %ecx
cmpl $0x1, %ecx
je 0xaa0a8
cmpl $0xa, %ecx
jne 0xaa0c4
movq %r14, %rdi
callq 0xac2d6
testq %rax, %rax
je 0xaa0c0
movq %rax, 0x8(%rbx)
leaq 0xbda8(%rip), %rax      # 0xb5e2a
jmp 0xa9f7a
movq %rsi, 0x8(%rbx)
leaq 0x6677(%rip), %rax      # 0xb0709
movq %rax, (%rbx)
movq $0x3, 0x60(%rbx)
movb $0x1, %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq %rax, %rsi
callq 0xa8bbb
testb %al, %al
je 0xaa0c0
leaq 0xbdb0(%rip), %rax      # 0xb5e6e
jmp 0xaa092
xorl %eax, %eax
jmp 0xaa09f
movq %rsi, 0x8(%rbx)
leaq 0xbd7f(%rip), %rax      # 0xb5e4e
jmp 0xaa092
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rbx)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
leaq 0xbdd1(%rip), %rax      # 0xb5eb9
movq %rax, (%rbx)
decl 0x2258(%r14)
movabsq $0x100000004, %rax      # imm = 0x100000004
jmp 0xa9f87
leaq 0x20(%r15), %rax
jmp 0xaa04e