// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: d_7pi_ok
static bool d_7pi_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    /* float-vector-ref is checked for a 1D float-vector arg, but other callers should do type checking */
                    s7_d_7pi_t ifunc;
                    ifunc = s7_d_7pi_function(s_func);
                    if (ifunc)
                    {
                        int32_t start;
                        start = sc->pc;
                        opc->v[3].d_7pi_f = ifunc;
                        if (is_symbol(cadr(car_x)))  /* (float-vector-ref v i) */
                        {
                            s7_pointer arg2, p, obj;
                            opc->v[1].p = symbol_to_slot(sc, cadr(car_x));
                            if (!is_slot(opc->v[1].p))
                                return(return_false(sc, car_x, __func__, __LINE__));

                            obj = slot_value(opc->v[1].p);
                            if ((car(car_x) == sc->float_vector_ref_symbol) &&
                                    ((!is_float_vector(obj)) ||
                                     (vector_rank(obj) > 1)))
                                return(return_false(sc, car_x, __func__, __LINE__));

                            arg2 = caddr(car_x);
                            if (!is_pair(arg2))
                            {
                                if (is_opt_int(arg2))
                                {
                                    opc->v[2].i = integer(arg2);
                                    opc->v[0].fd = opt_d_7pi_sc;
                                    return(oo_set_type_1(opc, 4, 1, OO_P));
                                }
                                p = opt_integer_symbol(sc, arg2);
                                if (p)
                                {
                                    opc->v[2].p = p;
                                    opc->v[0].fd = opt_d_7pi_ss;
                                    if ((car(car_x) == sc->float_vector_ref_symbol) &&
                                            (is_step_end(opc->v[2].p)) &&
                                            (denominator(slot_value(opc->v[2].p)) <= vector_length(slot_value(opc->v[1].p))))
                                    {
                                        opc->v[3].d_7pi_f = float_vector_ref_unchecked;
                                        return(oo_set_type_2(opc, 4, 1, 2, OO_FV, OO_I));
                                    }
                                    return(oo_set_type_2(opc, 4, 1, 2, OO_P, OO_I));
                                }
                                return(return_false(sc, car_x, __func__, __LINE__));
                            }
                            if (int_optimize(sc, cddr(car_x)))
                            {
                                opc->v[0].fd = opt_d_7pi_sf;
                                return(oo_set_type_1(opc, 4, 1, OO_P));
                            }
                            pc_fallback(sc, start);
                            return(return_false(sc, car_x, __func__, __LINE__));
                        }

                        if ((car(car_x) == sc->float_vector_ref_symbol) &&
                                ((!is_float_vector(cadr(car_x))) ||
                                 (vector_rank(cadr(car_x)) > 1)))          /* (float-vector-ref  #r2d((.1 .2) (.3 .4)) 3) */
                            return(return_false(sc, car_x, __func__, __LINE__));

                        if (cell_optimize(sc, cdr(car_x)))
                        {
                            opt_info *o2;
                            o2 = sc->opts[sc->pc];
                            if (int_optimize(sc, cddr(car_x)))
                            {
                                opc->v[0].fd = opt_d_7pi_ff;
                                opc->v[4].o1 = sc->opts[start];
                                opc->v[5].fp = sc->opts[start]->v[0].fp;
                                opc->v[8].o1 = o2;
                                opc->v[9].fi = o2->v[0].fi;
                                return(oo_set_type_0(opc, 10));
                            }
                        }
                        pc_fallback(sc, start);
                    }
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
cmpb $0x30, (%rdx)
jb 0x9e43c
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x9e626
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x5, (%rax)
je 0x9e43f
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x9e429
jmp 0x9e626
xorl %eax, %eax
retq
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x9e626
movl 0x2258(%r14), %ebp
movq %rax, 0x18(%rbx)
movq 0x10(%r15), %rsi
movq 0x8(%rsi), %rax
movb (%rax), %cl
cmpb $0xa, %cl
jne 0x9e4f1
movq 0x8(%r14), %rdx
movq 0x18(%rdx), %rdi
movq 0x20(%rax), %rsi
movl $0x18, %ecx
cmpq %rsi, %rdi
je 0x9e498
jle 0x9e48f
movq 0x10(%rdx), %rdx
movq 0x18(%rdx), %rdi
cmpq %rdi, %rsi
jl 0x9e482
cmpq %rsi, %rdi
jne 0x9e598
movq (%rax,%rcx), %r12
movq %r12, 0x8(%rbx)
cmpb $0x20, (%r12)
jne 0x9e626
movq 0x8(%r15), %rax
cmpq 0xef0(%r14), %rax
je 0x9e5c7
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
movzbl (%rsi), %ecx
cmpl $0x1, %ecx
je 0x9e5ef
cmpl $0xb, %ecx
jne 0x9e631
movq 0x8(%rsi), %rax
movq %rax, 0x10(%rbx)
leaq 0x1e2b4(%rip), %rax     # 0xbc7a0
jmp 0x9e605
movq 0x8(%r15), %rdx
cmpq 0xef0(%r14), %rdx
je 0x9e56e
movq %r14, %rdi
callq 0xa2000
testb %al, %al
je 0x9e61f
movslq 0x2258(%r14), %rax
movq 0x2260(%r14,%rax,8), %r12
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x9fbc8
testb %al, %al
je 0x9e61f
movslq %ebp, %rax
leaq 0x1e27a(%rip), %rcx     # 0xbc7b9
movq %rcx, (%rbx)
movq 0x2260(%r14,%rax,8), %rax
movq %rax, 0x20(%rbx)
movq (%rax), %rax
movq %rax, 0x28(%rbx)
movq %r12, 0x40(%rbx)
movq (%r12), %rax
movq %rax, 0x48(%rbx)
movq $0xa, 0x60(%rbx)
jmp 0x9e68e
cmpb $0x17, %cl
jne 0x9e626
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x9e4fe
cmpq $0x1, 0x10(%rax)
jle 0x9e4fe
jmp 0x9e626
movl $0x10, %ecx
cmpb $0x1c, (%rdx)
jne 0x9e498
movq 0x8(%rdx), %r12
testq %r12, %r12
je 0x9e5c1
cmpq %rax, 0x8(%r12)
je 0x9e49c
movq 0x18(%r12), %r12
jmp 0x9e5aa
movq 0x10(%rdx), %rdx
jmp 0x9e59d
movq 0x10(%r12), %rax
cmpb $0x17, (%rax)
jne 0x9e626
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x9e4bc
cmpq $0x1, 0x10(%rax)
jle 0x9e4bc
jmp 0x9e626
movq %r14, %rdi
movq %rax, %rsi
callq 0x9fbc8
testb %al, %al
je 0x9e61f
leaq 0x1cb40(%rip), %rax     # 0xbb145
movq %rax, (%rbx)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%rbx)
movl $0x0, 0x70(%rbx)
jmp 0x9e68e
movl %ebp, 0x2258(%r14)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0x9e626
movq %rax, 0x10(%rbx)
leaq 0x1f30(%rip), %rcx      # 0xa0579
movq %rcx, (%rbx)
movq 0x8(%r15), %rcx
cmpq 0xef0(%r14), %rcx
jne 0x9e672
testb $0x4, 0x3(%rax)
je 0x9e672
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%r12), %rcx
cmpq 0x8(%rcx), %rax
jle 0x9e692
movabsq $0x200000004, %rax      # imm = 0x200000004
movq %rax, 0x60(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movb $0x1, %al
jmp 0x9e628
leaq 0x2009(%rip), %rax      # 0xa06a2
movq %rax, 0x18(%rbx)
movabsq $0x200000004, %rax      # imm = 0x200000004
movq %rax, 0x60(%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
jmp 0x9e68a