// File: /workspace/github_c_makefile_star2_O1/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 0x10(%rcx), %rax
movq 0x8(%rax), %r13
cmpb $0xa, (%r13)
jne 0xa4987
movq %rcx, %r15
movq %rdx, %rbp
movq %rdi, %r14
movq %rsi, %rbx
movq %rdx, %rdi
callq 0x47475
movb $0x1, %dl
testq %rax, %rax
je 0xa4983
movq %rax, %r12
movq 0x8(%rbp), %rax
movq 0x38(%rax), %rax
cmpb $0x1, (%rax)
jne 0xa4983
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
cmpb $0xa, (%rsi)
jne 0xa4983
movq %r14, %rdi
movq %r13, %rdx
callq 0xc2a5c
testq %rax, %rax
je 0xa4a02
movq %rax, %r13
movl 0x2258(%r14), %ebp
movslq %ebp, %rdx
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rsi
movq %r12, 0x18(%rbx)
movq %rbx, %r12
cmpb $0x1, (%rsi)
jne 0xa499a
movq %rdx, %rbx
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa49fb
movq %r13, 0x8(%r12)
movq 0x10(%r13), %rax
movq 0x10(%rax), %rax
movq %rax, 0x28(%r12)
movq %r14, %rdi
movl %ebp, %esi
callq 0xc408f
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0xa49f7
leaq 0x1f919(%rip), %rcx     # 0xc4261
movq %rcx, (%r12)
movq 0x2260(%r14,%rbx,8), %rcx
movq %rcx, 0x40(%r12)
movq 0x2260(%r14,%rbx,8), %rcx
movq (%rcx), %rcx
movq %rcx, 0x48(%r12)
movabsq $0x10000000a, %rcx      # imm = 0x10000000A
movq %rcx, 0x60(%r12)
movl $0x3, 0x70(%r12)
jmp 0xa49f7
testb %dl, %dl
je 0xa4989
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, 0x8(%r12)
movq 0x10(%r13), %rax
movq 0x10(%rax), %rax
movq %rax, 0x28(%r12)
movzbl (%rsi), %eax
leaq 0xadffa(%rip), %rcx     # 0x1529b0
cmpb $0x1, (%rax,%rcx)
jne 0xa4a09
leaq 0x6e57e(%rip), %rdx     # 0x112f41
movq %r14, %rdi
callq 0xe212
movsd %xmm0, 0x10(%r12)
leaq 0x1f6a4(%rip), %rax     # 0xc407d
movq %rax, (%r12)
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, 0x60(%r12)
movl $0x3, 0x70(%r12)
movb $0x1, %al
xorl %edx, %edx
jmp 0xa4983
movl %ebp, 0x2258(%r14)
movb $0x1, %dl
jmp 0xa4983
movq %rdx, %rbx
movq %r14, %rdi
callq 0xccb2
movq %rax, %rcx
movq %rax, 0x10(%r12)
cmpb $0x20, (%rax)
movb $0x1, %dl
jne 0xa4983
movq 0x10(%rcx), %rax
cmpb $0xd, (%rax)
jne 0xa4a5b
leaq 0x1f161(%rip), %rax     # 0xc3b98
movq %rax, (%r12)
movabsq $0x200000006, %rax      # imm = 0x200000006
movq %rax, 0x60(%r12)
movabsq $0x200000003, %rax      # imm = 0x200000003
movq %rax, 0x70(%r12)
jmp 0xa49f5
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa4aca
movq %r14, %rdi
movl %ebp, %esi
callq 0xc408f
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0xa49f7
leaq 0x1f7d5(%rip), %rcx     # 0xc4261
movq %rcx, (%r12)
movq 0x2260(%r14,%rbx,8), %rcx
movq %rcx, 0x40(%r12)
movq 0x2260(%r14,%rbx,8), %rcx
movq (%rcx), %rcx
movq %rcx, 0x48(%r12)
movabsq $0x20000000a, %rcx      # imm = 0x20000000A
movq %rcx, 0x60(%r12)
movq $0x3, 0x70(%r12)
jmp 0xa49f7
xorl %eax, %eax
jmp 0xa49f7