// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: p_ii_ok
static bool p_ii_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x, int32_t pstart)
                {
                    s7_p_ii_t ifunc;
                    ifunc = s7_p_ii_function(s_func);
                    if (ifunc)
                    {
                        s7_pointer p2;
                        p2 = opt_integer_symbol(sc, caddr(car_x));
                        if (p2)
                        {
                            s7_pointer p1;
                            p1 = opt_integer_symbol(sc, cadr(car_x));
                            if (p1)
                            {
                                opc->v[1].p = p1;
                                opc->v[2].p = p2;
                                opc->v[3].p_ii_f = ifunc;
                                opc->v[0].fp = opt_p_ii_ss;
                                return(oo_set_type_2(opc, 4, 1, 2, OO_I, OO_I));
                            }
                            if (int_optimize(sc, cdr(car_x)))
                            {
                                opc->v[2].p = p2;
                                opc->v[3].p_ii_f = ifunc;
                                opc->v[0].fp = opt_p_ii_fs;
                                return(oo_set_type_1(opc, 4, 2, OO_I));
                            }
                            pc_fallback(sc, pstart);
                            return(return_false(sc, car_x, __func__, __LINE__));
                        }
                        if ((int_optimize(sc, cdr(car_x))) &&
                                (int_optimize(sc, cddr(car_x))))
                        {
                            opc->v[3].p_ii_f = ifunc;
                            opc->v[0].fp = opt_p_ii_ff;
                            return(oo_set_type_0(opc, 4));
                        }
                    }
                    pc_fallback(sc, pstart);
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rsi, %r15
movq %rdi, %r14
cmpb $0x30, (%rdx)
jb 0xaa677
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
sete %cl
je 0xaa673
cmpl $0x25, (%rax)
je 0xaa66b
movq 0x10(%rax), %rax
testq %rax, %rax
sete %cl
je 0xaa673
cmpl $0x25, (%rax)
jne 0xaa65a
movq 0x8(%rax), %rbx
xorl %ecx, %ecx
jmp 0xaa673
testb %cl, %cl
je 0xaa679
xorl %ebx, %ebx
testq %rbx, %rbx
je 0xaa78a
movl %r8d, 0x4(%rsp)
movq 0x10(%r12), %r13
movq 0x10(%r13), %rax
movq 0x8(%rax), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xaa6e9
movq %rax, %rbp
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xaa731
movq %rax, 0x8(%r15)
movq %rbp, 0x10(%r15)
movq %rbx, 0x18(%r15)
leaq 0xb84d(%rip), %rax      # 0xb5f15
movq %rax, (%r15)
movabsq $0x200000004, %rax      # imm = 0x200000004
movq %rax, 0x60(%r15)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x70(%r15)
jmp 0xaa768
movq %r14, %rdi
movq %r13, %rsi
callq 0xa66f0
movb $0x1, %bpl
testb %al, %al
je 0xaa76e
movq 0x10(%r12), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0xa66f0
movl %eax, %ecx
testb %cl, %cl
movl 0x4(%rsp), %r8d
je 0xaa785
movq %rbx, 0x18(%r15)
leaq 0xb860(%rip), %rax      # 0xb5f82
movq %rax, (%r15)
movq $0x4, 0x60(%r15)
movb $0x1, %al
jmp 0xaa783
movq %r14, %rdi
movq %r13, %rsi
callq 0xa66f0
testb %al, %al
je 0xaa775
movq %rbp, 0x10(%r15)
movq %rbx, 0x18(%r15)
leaq 0xb7eb(%rip), %rax      # 0xb5f3a
movq %rax, (%r15)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%r15)
movl $0x1, 0x70(%r15)
movb $0x1, %al
xorl %ebp, %ebp
jmp 0xaa76e
movl 0x4(%rsp), %r8d
jmp 0xaa785
movl 0x4(%rsp), %r8d
movl %r8d, 0x2258(%r14)
xorl %eax, %eax
xorl %ebp, %ebp
testb %bpl, %bpl
je 0xaa793
movl %r8d, 0x2258(%r14)
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq