// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: i_7pii_ok
static bool i_7pii_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_i_7pii_t pfunc;
                    pfunc = s7_i_7pii_function(s_func);
                    if (pfunc)
                    {
                        s7_pointer sig;
                        sig = c_function_signature(s_func);
                        if ((is_pair(sig)) &&
                                (is_symbol(cadr(car_x))))
                        {
                            s7_pointer fname, slot;
                            fname = car(car_x);

                            if ((fname == sc->int_vector_set_symbol) || (fname == sc->byte_vector_set_symbol))
                                return(opt_int_vector_set(sc, (fname == sc->int_vector_set_symbol) ? OO_IV : OO_BV, opc, cadr(car_x), cddr(car_x), NULL, cdddr(car_x)));

                            slot = opt_types_match(sc, cadr(sig), cadr(car_x));
                            if (slot)
                            {
                                s7_pointer arg2, p;
                                int32_t start;
                                start = sc->pc;
                                opc->v[1].p = slot;

                                if (((fname == sc->int_vector_ref_symbol) || (fname == sc->byte_vector_ref_symbol)) &&
                                        (vector_rank(slot_value(slot)) != 2))
                                    return(return_false(sc, car_x, __func__, __LINE__));

                                arg2 = caddr(car_x);
                                p = opt_integer_symbol(sc, arg2);
                                if (p)
                                {
                                    opc->v[2].p = p;
                                    p = opt_integer_symbol(sc, cadddr(car_x));
                                    if (p)
                                    {
                                        opc->v[3].p = p;
                                        opc->v[4].i_7pii_f = pfunc;
                                        opc->v[0].fi = opt_i_7pii_sss;
                                        return(oo_set_type_3(opc, 5, 1, 2, 3, OO_P, OO_I, OO_I));
                                    }
                                    if (int_optimize(sc, cdddr(car_x)))
                                    {
                                        opc->v[3].i_7pii_f = pfunc;
                                        opc->v[0].fi = opt_i_7pii_ssf;
                                        opc->v[4].o1 = sc->opts[start];
                                        opc->v[5].fi = sc->opts[start]->v[0].fi;
                                        return(oo_set_type_2(opc, 6, 1, 2, OO_P, OO_I));
                                    }
                                    return(return_false(sc, car_x, __func__, __LINE__));
                                }
                                if ((int_optimize(sc, cddr(car_x))) &&
                                        (int_optimize(sc, cdddr(car_x))))
                                {
                                    opc->v[3].i_7pii_f = pfunc;
                                    opc->v[0].fi = opt_i_7pii_sff;
                                    return(oo_set_type_1(opc, 4, 1, OO_P));
                                }
                                pc_fallback(sc, start);
                            }
                        }
                    }
                    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 %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x85a9e
testq %rax, %rax
je 0x8007b
movq %rax, %r15
movq 0x8(%r13), %rax
movq 0x38(%rax), %rdx
cmpb $0x1, (%rdx)
jne 0x8007b
movq 0x10(%r12), %rax
movq 0x8(%rax), %rcx
cmpb $0xa, (%rcx)
jne 0x8007b
movq 0x8(%r12), %r13
cmpq 0xfb0(%r14), %r13
je 0x7ffaf
cmpq 0xc38(%r14), %r13
je 0x7ffb3
movq 0x10(%rdx), %rax
movq 0x8(%rax), %rsi
movq %r14, %rdi
movq %rcx, %rdx
callq 0x92f1b
testq %rax, %rax
je 0x8007b
movl 0x2258(%r14), %ebp
movq %rax, 0x8(%rbx)
cmpq 0xfa8(%r14), %r13
je 0x7ff10
cmpq 0xc30(%r14), %r13
jne 0x7ff30
movq 0x10(%rax), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x8007b
cmpq $0x2, 0x10(%rax)
jne 0x8007b
movq 0x10(%r12), %rax
movq 0x10(%rax), %r13
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x7e6b7
testq %rax, %rax
je 0x7ffd5
movq %rax, 0x10(%rbx)
movq 0x10(%r12), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r12
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0x7e6b7
testq %rax, %rax
je 0x80028
movq %rax, 0x18(%rbx)
movq %r15, 0x20(%rbx)
leaq 0x97e(%rip), %rax       # 0x80902
movq %rax, (%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movabsq $0x300000005, %rax      # imm = 0x300000005
movq %rax, 0x60(%rbx)
movl $0x1, 0x78(%rbx)
jmp 0x80077
pushq $0x4
jmp 0x7ffb5
pushq $0xa
popq %rsi
movq 0x10(%rax), %r8
movq 0x10(%r8), %rax
movq %rax, (%rsp)
movq %r14, %rdi
movq %rbx, %rdx
xorl %r9d, %r9d
callq 0x80239
jmp 0x8007d
movq %r14, %rdi
movq %r13, %rsi
callq 0x7e94f
testb %al, %al
je 0x8001f
movq 0x10(%r12), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x7e94f
testb %al, %al
je 0x8001f
movq %r15, 0x18(%rbx)
leaq 0x566(%rip), %rax       # 0x8056e
movq %rax, (%rbx)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%rbx)
andl $0x0, 0x70(%rbx)
jmp 0x80077
movl %ebp, 0x2258(%r14)
jmp 0x8007b
movq %r14, %rdi
movq %r12, %rsi
callq 0x7e94f
testb %al, %al
je 0x8007b
movslq %ebp, %rax
movq %r15, 0x18(%rbx)
leaq 0x4d9(%rip), %rcx       # 0x8051e
movq %rcx, (%rbx)
movq 0x2260(%r14,%rax,8), %rax
movq %rax, 0x20(%rbx)
movq (%rax), %rax
movq %rax, 0x28(%rbx)
movabsq $0x200000006, %rax      # imm = 0x200000006
movq %rax, 0x60(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movb $0x1, %al
jmp 0x8007d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq