// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: d_d_ok
static bool d_d_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_d_d_t func;
                    s7_d_7d_t func7 = NULL;
                    int32_t start;
                    start = sc->pc;

                    func = s7_d_d_function(s_func);
                    if (!func) func7 = s7_d_7d_function(s_func);
                    if ((func) || (func7))
                    {
                        s7_pointer p;
                        if (func)
                            opc->v[3].d_d_f = func;
                        else opc->v[3].d_7d_f = func7;
                        if (is_real(cadr(car_x)))
                        {
                            if ((!is_float(cadr(car_x))) &&                          /* (random 1) != (random 1.0) */
                                    ((car(car_x) == sc->random_symbol) ||
                                     (car(car_x) == sc->sin_symbol) ||
                                     (car(car_x) == sc->cos_symbol)))
                                return(return_false(sc, car_x, __func__, __LINE__));
                            opc->v[1].x = s7_number_to_real(sc, cadr(car_x));
                            if (func)
                                opc->v[0].fd = opt_d_d_c;
                            else opc->v[0].fd = opt_d_7d_c;
                            return(oo_set_type_0(opc, 4));
                        }
                        p = opt_float_symbol(sc, cadr(car_x));
                        if ((p) &&
                                (!has_methods(slot_value(p))))
                        {
                            opc->v[1].p = p;
                            if (func)
                                opc->v[0].fd = opt_d_d_s;
                            else opc->v[0].fd = opt_d_7d_s;
                            return(oo_set_type_1(opc, 4, 1, OO_D));
                        }
                        if (float_optimize(sc, cdr(car_x)))
                        {
                            if (func)
                                opc->v[0].fd = opt_d_d_f;
                            else opc->v[0].fd = opt_d_7d_f;
                            return(oo_set_type_0(opc, 4));
                        }
                        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, %r15
movl 0x2258(%rdi), %ebp
movq %rdx, %rdi
callq 0x4733d
movq %rax, %r14
testq %rax, %rax
je 0xa3dc9
movb $0x1, %cl
movq %r14, %rax
jmp 0xa3dd7
movq %r13, %rdi
callq 0xb5b56
testq %rax, %rax
setne %cl
testb %cl, %cl
je 0xa3ed4
movq %rax, 0x18(%rbx)
movq 0x10(%r12), %r13
movq 0x8(%r13), %rsi
movzbl (%rsi), %eax
leaq 0xaebba(%rip), %rcx     # 0x1529b0
cmpb $0x1, (%rax,%rcx)
jne 0xa3e2b
cmpb $0xd, %al
jne 0xa3ea8
leaq 0x6f136(%rip), %rdx     # 0x112f41
movq %r15, %rdi
callq 0xe212
testq %r14, %r14
movsd %xmm0, 0x8(%rbx)
leaq 0x1f1ab(%rip), %rax     # 0xc2fcd
leaq 0x1f19c(%rip), %rcx     # 0xc2fc5
jmp 0xa3e95
movq %r15, %rdi
callq 0xa6424
testq %rax, %rax
je 0xa3e75
movq 0x10(%rax), %rcx
testb $0x40, 0x3(%rcx)
jne 0xa3e75
testq %r14, %r14
movq %rax, 0x8(%rbx)
leaq 0x1f19f(%rip), %rax     # 0xc2fef
leaq 0x1f188(%rip), %rcx     # 0xc2fdf
cmoveq %rax, %rcx
movq %rcx, (%rbx)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%rbx)
movl $0x2, 0x70(%rbx)
jmp 0xa3ea4
movq %r15, %rdi
movq %r13, %rsi
callq 0x47b96
testb %al, %al
je 0xa3ee7
testq %r14, %r14
leaq 0x1f1a5(%rip), %rax     # 0xc3033
leaq 0x1f171(%rip), %rcx     # 0xc3006
cmoveq %rax, %rcx
movq %rcx, (%rbx)
movq $0x4, 0x60(%rbx)
movb $0x1, %al
jmp 0xa3ece
movq 0x8(%r12), %rax
cmpq 0x1430(%r15), %rax
je 0xa3ecc
cmpq 0x14d8(%r15), %rax
je 0xa3ecc
cmpq 0xe28(%r15), %rax
jne 0xa3e04
xorl %eax, %eax
xorl %ecx, %ecx
testb %cl, %cl
je 0xa3ed6
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %ebp, 0x2258(%r15)
movb $0x1, %cl
jmp 0xa3ed0