// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: d_id_ok
static bool d_id_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_d_id_t flt_func;
                    flt_func = s7_d_id_function(s_func);
                    if (flt_func)
                    {
                        s7_pointer p;
                        p = opt_integer_symbol(sc, cadr(car_x));
                        if (p)
                        {
                            int32_t start;
                            start = sc->pc;
                            opc->v[3].d_id_f = flt_func;
                            opc->v[1].p = p;
                            if (is_t_real(caddr(car_x)))
                            {
                                opc->v[0].fd = opt_d_id_sc;
                                opc->v[2].x = real(caddr(car_x));
                                return(oo_set_type_1(opc, 4, 1, OO_I));
                            }
                            if (float_optimize(sc, cddr(car_x)))
                            {
                                if (d_id_sf_combinable(sc, opc))
                                    return(true);
                                opc->v[0].fd = opt_d_id_sf;
                                opc->v[4].o1 = sc->opts[start];
                                opc->v[5].fd = sc->opts[start]->v[0].fd;
                                return(oo_set_type_1(opc, 6, 1, OO_I));
                            }
                            pc_fallback(sc, start);
                        }
                    }
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
cmpb $0x30, (%rdx)
jb 0x9dfdb
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x9e0b5
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x4, (%rax)
je 0x9dfde
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x9dfc8
jmp 0x9e0b5
xorl %eax, %eax
retq
movq 0x8(%rax), %r12
testq %r12, %r12
je 0x9e0b5
movq 0x10(%r15), %rax
movq 0x8(%rax), %rsi
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0x9e0b5
movl 0x2258(%r14), %ebp
movq %r12, 0x18(%rbx)
movq %rax, 0x8(%rbx)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq 0x8(%rsi), %rax
cmpb $0xd, (%rax)
jne 0x9e050
leaq 0x1e647(%rip), %rax     # 0xbc672
movq %rax, (%rbx)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x10(%rbx)
movabsq $0x100000004, %rax      # imm = 0x100000004
jmp 0x9e09f
movq %r14, %rdi
callq 0x44f61
testb %al, %al
je 0x9e0ae
movl 0x2258(%r14), %eax
cmpl $0x2, %eax
jl 0x9e075
leal -0x2(%rax), %ecx
cmpq %rbx, 0x2260(%r14,%rcx,8)
je 0x9e0c0
movslq %ebp, %rax
leaq 0x1e60d(%rip), %rcx     # 0xbc68c
movq %rcx, (%rbx)
movq 0x2260(%r14,%rax,8), %rax
movq %rax, 0x20(%rbx)
movq (%rax), %rax
movq %rax, 0x28(%rbx)
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, 0x60(%rbx)
movl $0x1, 0x70(%rbx)
movb $0x1, %al
jmp 0x9e0b7
movl %ebp, 0x2258(%r14)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
decl %eax
movq 0x2260(%r14,%rax,8), %rax
movq (%rax), %rcx
leaq 0x1dd36(%rip), %rdx     # 0xbbe0a
cmpq %rdx, %rcx
je 0x9e12f
leaq 0x2448(%rip), %rdx      # 0xa0528
cmpq %rdx, %rcx
jne 0x9e075
movq 0x8(%rax), %rcx
movq %rcx, 0x30(%rbx)
movq 0x28(%rax), %rcx
movq %rcx, 0x10(%rbx)
movq 0x18(%rax), %rax
movq %rax, 0x28(%rbx)
leaq 0x1e5f9(%rip), %rax     # 0xbc6fd
movq %rax, (%rbx)
decl 0x2258(%r14)
movabsq $0x200000007, %rax      # imm = 0x200000007
movq %rax, 0x60(%rbx)
movl $0x1, 0x70(%rbx)
movl $0x3, %eax
movl $0x74, %ecx
jmp 0x9e18e
movq 0x18(%rbx), %rcx
movq %rcx, 0x20(%rbx)
movq 0x8(%rax), %rcx
movq %rcx, 0x10(%rbx)
movq 0x28(%rax), %rcx
movq %rcx, 0x30(%rbx)
movq 0x18(%rax), %rcx
movq %rcx, 0x28(%rbx)
movq 0x10(%rax), %rax
movq %rax, 0x18(%rbx)
leaq 0x1e565(%rip), %rax     # 0xbc6c3
movq %rax, (%rbx)
decl 0x2258(%r14)
movabsq $0x300000001, %rax      # imm = 0x300000001
movq %rax, 0x70(%rbx)
movabsq $0x300000007, %rax      # imm = 0x300000007
movq %rax, 0x60(%rbx)
movl $0x2, %eax
movl $0x78, %ecx
movl %eax, (%rbx,%rcx)
jmp 0x9e0aa