// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: d_vd_ok
static bool d_vd_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    if (is_symbol(cadr(car_x)))
                    {
                        s7_d_vd_t vfunc;
                        vfunc = s7_d_vd_function(s_func);
                        if (vfunc)
                        {
                            s7_pointer sig;
                            sig = c_function_signature(s_func);
                            if ((is_pair(sig)) &&
                                    (is_symbol(cadr(sig))))
                            {
                                s7_pointer slot;
                                slot = opt_types_match(sc, cadr(sig), cadr(car_x));
                                if (slot)
                                {
                                    s7_pointer arg2;
                                    int32_t start;
                                    start = sc->pc;
                                    arg2 = caddr(car_x);
                                    opc->v[3].d_vd_f = vfunc;
                                    if (!is_pair(arg2))
                                    {
                                        opc->v[1].p = slot;
                                        opc->v[5].obj = (void *)c_object_value(slot_value(slot));
                                        if (is_real(arg2))
                                        {
                                            opc->v[2].x = s7_number_to_real(sc, arg2);
                                            opc->v[0].fd = opt_d_vd_c;
                                            return(oo_set_type_1(opc, 6, 1 + (5 << 4), OO_V));
                                        }
                                        opc->v[2].p = symbol_to_slot(sc, arg2);
                                        if (is_slot(opc->v[2].p))
                                        {
                                            if (is_float(slot_value(opc->v[2].p)))
                                            {
                                                opc->v[0].fd = opt_d_vd_s;
                                                return(oo_set_type_2(opc, 6, 1 + (5 << 4), 2, OO_V, OO_D));
                                            }
                                            if (float_optimize(sc, cddr(car_x)))
                                            {
                                                if (d_vd_f_combinable(sc, start))
                                                    return(true);
                                                opc->v[0].fd = opt_d_vd_f;
                                                opc->v[8].o1 = sc->opts[start];
                                                opc->v[9].fd = sc->opts[start]->v[0].fd;
                                                return(oo_set_type_2(opc, 10, 1 + (5 << 4), 2, OO_V, OO_P));
                                            }
                                            return(return_false(sc, car_x, __func__, __LINE__));
                                        }
                                    }
                                    else /* is pair arg2 */
                                    {
                                        if (float_optimize(sc, cddr(car_x)))
                                        {
                                            opc->v[1].p = slot;
                                            opc->v[5].obj = (void *)c_object_value(slot_value(slot));
                                            if (d_vd_f_combinable(sc, start))
                                                return(true);
                                            opc->v[0].fd = opt_d_vd_f;
                                            opc->v[8].o1 = sc->opts[start];
                                            opc->v[9].fd = sc->opts[start]->v[0].fd;
                                            return(oo_set_type_1(opc, 10, 1 + (5 << 4), OO_V));
                                        }
                                        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 %rdx, %rax
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rdx
cmpb $0xa, (%rdx)
jne 0x9df90
cmpb $0x30, (%rax)
jb 0x9df90
movq 0x8(%rax), %rax
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0x9df90
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x1, (%rcx)
je 0x9ddad
movq 0x10(%rcx), %rcx
testq %rcx, %rcx
jne 0x9dd9a
jmp 0x9df90
movq 0x8(%rcx), %r13
testq %r13, %r13
je 0x9df90
movq 0x38(%rax), %rax
cmpb $0x1, (%rax)
jne 0x9df90
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
cmpb $0xa, (%rsi)
jne 0x9df90
movq %r14, %rdi
callq 0xbacd7
testq %rax, %rax
je 0x9df90
movq %rax, %r12
movl 0x2258(%r14), %ebp
movslq %ebp, %rdx
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
movq %r13, 0x18(%rbx)
cmpb $0x1, (%rsi)
jne 0x9de84
movq %rdx, %r13
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x44f61
testb %al, %al
je 0x9dedf
movq %r12, 0x8(%rbx)
movq 0x10(%r12), %rax
movq 0x10(%rax), %rax
movq %rax, 0x28(%rbx)
movq %r14, %rdi
movl %ebp, %esi
callq 0xbc301
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x9df92
leaq 0x1e67f(%rip), %rcx     # 0xbc4d3
movq %rcx, (%rbx)
movq 0x2260(%r14,%r13,8), %rcx
movq %rcx, 0x40(%rbx)
movq (%rcx), %rcx
movq %rcx, 0x48(%rbx)
movabsq $0x10000000a, %rcx      # imm = 0x10000000A
movq %rcx, 0x60(%rbx)
movl $0x3, 0x70(%rbx)
jmp 0x9df92
movq %r12, 0x8(%rbx)
movq 0x10(%r12), %rax
movq 0x10(%rax), %rax
movq %rax, 0x28(%rbx)
movzbl (%rsi), %eax
leaq 0xacb11(%rip), %rcx     # 0x14a9b0
cmpb $0x1, (%rax,%rcx)
jne 0x9deeb
leaq 0x6c1a5(%rip), %rdx     # 0x10a051
movq %r14, %rdi
callq 0xd498
movsd %xmm0, 0x10(%rbx)
leaq 0x1e42f(%rip), %rax     # 0xbc2ef
movq %rax, (%rbx)
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, 0x60(%rbx)
movl $0x3, 0x70(%rbx)
movb $0x1, %al
jmp 0x9df92
movl %ebp, 0x2258(%r14)
jmp 0x9df90
movq %rdx, %r12
movq 0x8(%r14), %rdi
callq 0xbe33
movq %rax, 0x10(%rbx)
cmpb $0x20, (%rax)
jne 0x9df90
movq 0x10(%rax), %rax
cmpb $0xd, (%rax)
jne 0x9df35
leaq 0x1def6(%rip), %rax     # 0xbbe0a
movq %rax, (%rbx)
movabsq $0x200000006, %rax      # imm = 0x200000006
movq %rax, 0x60(%rbx)
movabsq $0x200000003, %rax      # imm = 0x200000003
movq %rax, 0x70(%rbx)
jmp 0x9ded8
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x44f61
testb %al, %al
je 0x9df90
movq %r14, %rdi
movl %ebp, %esi
callq 0xbc301
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x9df92
leaq 0x1e571(%rip), %rcx     # 0xbc4d3
movq %rcx, (%rbx)
movq 0x2260(%r14,%r12,8), %rcx
movq %rcx, 0x40(%rbx)
movq (%rcx), %rcx
movq %rcx, 0x48(%rbx)
movabsq $0x20000000a, %rcx      # imm = 0x20000000A
movq %rcx, 0x60(%rbx)
movq $0x3, 0x70(%rbx)
jmp 0x9df92
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq