// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: p_pii_ok
static bool p_pii_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_p_pii_t func;
                    func = s7_p_pii_function(s_func);
                    if ((func) &&
                            (is_symbol(cadr(car_x))))
                    {
                        s7_pointer slot1, obj;
                        slot1 = symbol_to_slot(sc, cadr(car_x));
                        if (!is_slot(slot1))
                            return(return_false(sc, car_x, __func__, __LINE__));
                        obj = slot_value(slot1);
                        if ((has_methods(obj)) || (is_immutable(obj)))
                            return(return_false(sc, car_x, __func__, __LINE__));
                        if ((is_normal_vector(obj)) &&
                                (vector_rank(obj) == 2))
                        {
                            s7_pointer indexp1, indexp2, slot;
                            indexp1 = cddr(car_x);
                            indexp2 = cdddr(car_x);
                            opc->v[1].p = slot1;
                            opc->v[4].p_pii_f = vector_ref_p_pii;
                            slot = opt_integer_symbol(sc, car(indexp2));
                            if (slot)
                            {
                                opc->v[3].p = slot;
                                slot = opt_integer_symbol(sc, car(indexp1));
                                if (slot)
                                {
                                    opc->v[2].p = slot;
                                    opc->v[0].fp = opt_p_pii_sss;
                                    return(oo_set_type_3(opc, 5, 1, 2, 3, OO_P, OO_I, OO_I));
                                }
                            }
                            if ((int_optimize(sc, indexp1)) &&
                                    (int_optimize(sc, indexp2)))
                            {
                                opc->v[0].fp = opt_p_pii_sff;
                                return(oo_set_type_1(opc, 5, 1, OO_PV));
                            }}}
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
cmpb $0x30, (%rdx)
jb 0xa43ee
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xa455a
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x34, (%rax)
je 0xa43f1
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0xa43db
jmp 0xa455a
xorl %eax, %eax
retq
cmpq $0x0, 0x8(%rax)
je 0xa455a
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rcx
cmpb $0xa, (%rcx)
jne 0xa455a
movq 0x8(%r14), %rsi
movq 0x18(%rsi), %r8
movq 0x20(%rcx), %rdi
movl $0x18, %edx
cmpq %rdi, %r8
je 0xa443b
jle 0xa4432
movq 0x10(%rsi), %rsi
movq 0x18(%rsi), %r8
cmpq %r8, %rdi
jl 0xa4425
cmpq %rdi, %r8
jne 0xa44e6
movq (%rcx,%rdx), %rdi
cmpb $0x20, (%rdi)
jne 0xa455a
movq 0x10(%rdi), %rcx
movl $0x410000ff, %edx       # imm = 0x410000FF
andl (%rcx), %edx
cmpl $0x15, %edx
jne 0xa455a
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
testq %rcx, %rcx
je 0xa455a
cmpq $0x2, 0x10(%rcx)
jne 0xa455a
movq 0x10(%rax), %r12
movq 0x10(%r12), %r15
movq %rdi, 0x8(%rbx)
leaq -0x22703(%rip), %rax    # 0x81d89
movq %rax, 0x20(%rbx)
movq 0x8(%r15), %rsi
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0xa4513
movq %rax, 0x18(%rbx)
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0xa4513
movq %rax, 0x10(%rbx)
leaq 0xabfe(%rip), %rax      # 0xaf0c0
movq %rax, (%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movl $0x3, 0x64(%rbx)
movl $0x1, %eax
movl $0x78, %ecx
jmp 0xa454c
movl $0x10, %edx
cmpb $0x1c, (%rsi)
jne 0xa443b
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0xa450d
cmpq %rcx, 0x8(%rdi)
je 0xa443f
movq 0x18(%rdi), %rdi
jmp 0xa44f8
movq 0x10(%rsi), %rsi
jmp 0xa44eb
movq %r14, %rdi
movq %r12, %rsi
callq 0x9fbc8
testb %al, %al
je 0xa455a
movq %r14, %rdi
movq %r15, %rsi
callq 0x9fbc8
testb %al, %al
je 0xa455a
leaq 0x9de4(%rip), %rax      # 0xae31c
movq %rax, (%rbx)
movl $0x1, 0x64(%rbx)
movl $0x6, %eax
movl $0x70, %ecx
movl $0x5, 0x60(%rbx)
movl %eax, (%rbx,%rcx)
movb $0x1, %al
jmp 0xa455c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq