// File: /workspace/github_c_makefile_star2_O3/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 %r12
pushq %rbx
cmpb $0x30, (%rdx)
jb 0x9d392
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x9d392
movq %rsi, %rbx
movq %rdi, %r14
movl 0x2258(%rdi), %r12d
movq %rax, %rdx
cmpl $0xc, (%rdx)
je 0x9d376
movq 0x10(%rdx), %rdx
testq %rdx, %rdx
jne 0x9d366
jmp 0x9d38d
movq 0x8(%rdx), %rdx
movb $0x1, %bpl
testq %rdx, %rdx
jne 0x9d3aa
jmp 0x9d38d
cmpl $0x2a, (%rax)
je 0x9d39f
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x9d384
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rax), %rdx
xorl %ebp, %ebp
testq %rdx, %rdx
je 0x9d394
movq %rdx, 0x18(%rbx)
movq 0x10(%rcx), %r15
movq 0x8(%r15), %rsi
movzbl (%rsi), %eax
leaq 0xad5f0(%rip), %rdx     # 0x14a9b0
cmpb $0x1, (%rax,%rdx)
jne 0x9d3f9
cmpb $0xd, %al
jne 0x9d47a
leaq 0x6cc7c(%rip), %rdx     # 0x10a051
movq %r14, %rdi
callq 0xd498
leaq 0x1de4a(%rip), %rax     # 0xbb22e
leaq 0x1de4b(%rip), %rcx     # 0xbb236
testb %bpl, %bpl
cmovneq %rax, %rcx
movsd %xmm0, 0x8(%rbx)
jmp 0x9d467
movq %r14, %rdi
callq 0x9f915
testq %rax, %rax
je 0x9d443
movq 0x10(%rax), %rcx
testb $0x40, 0x3(%rcx)
jne 0x9d443
movq %rax, 0x8(%rbx)
leaq 0x1de2d(%rip), %rax     # 0xbb248
leaq 0x1de36(%rip), %rcx     # 0xbb258
testb %bpl, %bpl
cmovneq %rax, %rcx
movq %rcx, (%rbx)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, 0x60(%rbx)
movl $0x2, 0x70(%rbx)
jmp 0x9d472
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9d4aa
leaq 0x1de16(%rip), %rax     # 0xbb26f
leaq 0x1de3c(%rip), %rcx     # 0xbb29c
testb %bpl, %bpl
cmovneq %rax, %rcx
movq %rcx, (%rbx)
movq $0x4, 0x60(%rbx)
movb $0x1, %bpl
jmp 0x9d394
movq 0x8(%rcx), %rax
cmpq 0x1430(%r14), %rax
je 0x9d392
cmpq 0x14d8(%r14), %rax
je 0x9d392
cmpq 0xe28(%r14), %rax
jne 0x9d3ce
jmp 0x9d392
movl %r12d, 0x2258(%r14)
jmp 0x9d392