// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: d_7pid_ok
static bool d_7pid_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_d_7pid_t f;
                    f = s7_d_7pid_function(s_func);
                    if ((f) &&
                            (is_symbol(cadr(car_x))))
                    {
                        s7_pointer head, slot;
                        int32_t start;
                        start = sc->pc;

                        head = car(car_x);
                        opc->v[4].d_7pid_f = f;

                        if (head == sc->float_vector_set_symbol)
                            return(opt_float_vector_set(sc, opc, cadr(car_x), cddr(car_x), NULL, cdddr(car_x)));

                        opc->v[1].p = symbol_to_slot(sc, cadr(car_x));
                        if (is_slot(opc->v[1].p))
                        {
                            slot = opt_integer_symbol(sc, caddr(car_x));
                            if (slot)
                            {
                                opc->v[2].p = slot;
                                slot = opt_float_symbol(sc, cadddr(car_x));
                                if (slot)
                                {
                                    opc->v[3].p = slot;
                                    opc->v[0].fd = opt_d_7pid_sss;
                                    return(oo_set_type_3(opc, 5, 1, 2, 3, OO_P, OO_I, OO_D));
                                }
                                if (float_optimize(sc, cdddr(car_x)))
                                {
                                    if (d_7pid_ssf_combinable(sc, opc))
                                        return(true);
                                    opc->v[0].fd = opt_d_7pid_ssf;
                                    return(oo_set_type_2(opc, 5, 1, 2, OO_P, OO_I));
                                }
                                pc_fallback(sc, start);
                            }
                            if ((int_optimize(sc, cddr(car_x))) &&
                                    (float_optimize(sc, cdddr(car_x))))
                            {
                                opc->v[0].fd = opt_d_7pid_sff;
                                return(oo_set_type_1(opc, 5, 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, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x47615
testq %rax, %rax
je 0xa568d
movq 0x10(%r15), %rcx
movq 0x8(%rcx), %rcx
cmpb $0xa, (%rcx)
jne 0xa568d
movl 0x2258(%r14), %ebp
movq 0x8(%r15), %rcx
movq %rax, 0x20(%rbx)
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdx
cmpq 0xef8(%r14), %rcx
je 0xa55c0
movq 0x8(%r14), %rcx
movq 0x18(%rcx), %rdi
movq 0x20(%rdx), %rsi
movl $0x18, %eax
cmpq %rsi, %rdi
je 0xa5537
jle 0xa54fb
movq 0x10(%rcx), %rcx
movq 0x18(%rcx), %rdi
cmpq %rdi, %rsi
jl 0xa54ee
cmpq %rsi, %rdi
je 0xa5537
movl $0x10, %eax
cmpb $0x1c, (%rcx)
jne 0xa5537
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
sete %r8b
je 0xa5523
cmpq %rdx, 0x8(%rsi)
je 0xa5526
movq 0x18(%rsi), %rsi
jmp 0xa550e
movq %rdi, %rsi
testb %r8b, %r8b
je 0xa553b
movq 0x10(%rcx), %rcx
cmpb $0x1c, (%rcx)
movq %rsi, %rdi
je 0xa550a
movq (%rdx,%rax), %rsi
movq %rsi, 0x8(%rbx)
movb $0x1, %r13b
cmpb $0x20, (%rsi)
jne 0xa5688
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xa562f
movq %rax, 0x10(%rbx)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r12
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0xa6424
testq %rax, %rax
je 0xa55de
movq %rax, 0x18(%rbx)
leaq 0xf0a(%rip), %rax       # 0xa649f
movq %rax, (%rbx)
movabsq $0x300000005, %rax      # imm = 0x300000005
movq %rax, 0x60(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movl $0x2, 0x78(%rbx)
jmp 0xa567a
movq 0x10(%rax), %rcx
movq 0x10(%rcx), %r9
xorl %r13d, %r13d
movq %r14, %rdi
movq %rbx, %rsi
xorl %r8d, %r8d
callq 0xa5f60
jmp 0xa5688
movq %r14, %rdi
movq %r12, %rsi
callq 0x47b96
testb %al, %al
je 0xa5628
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa64f3
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0xa567c
leaq 0x108e(%rip), %rcx      # 0xa6695
movq %rcx, (%rbx)
movabsq $0x200000005, %rcx      # imm = 0x200000005
movq %rcx, 0x60(%rbx)
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, 0x70(%rbx)
jmp 0xa567c
movl %ebp, 0x2258(%r14)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0xa66f0
testb %al, %al
je 0xa5681
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa5681
leaq 0x185d(%rip), %rax      # 0xa6ebf
movq %rax, (%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, 0x60(%rbx)
movl $0x0, 0x70(%rbx)
movb $0x1, %al
xorl %r13d, %r13d
jmp 0xa5688
movl %ebp, 0x2258(%r14)
testb %r13b, %r13b
je 0xa568f
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq