// File: /workspace/github_c_makefile_star2_O1/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x475ad
testq %rax, %rax
je 0xa4bc8
movq %rax, %r12
movq 0x10(%r15), %rax
movq 0x8(%rax), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xa4bc8
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 0xa4b5b
leaq 0x1f8ca(%rip), %rax     # 0xc4400
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 0xa4bb2
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa4bc1
movl 0x2258(%r14), %eax
cmpl $0x2, %eax
jl 0xa4b80
leal -0x2(%rax), %ecx
cmpq %rbx, 0x2260(%r14,%rcx,8)
je 0xa4bd3
movslq %ebp, %rax
leaq 0x1f890(%rip), %rcx     # 0xc441a
movq %rcx, (%rbx)
movq 0x2260(%r14,%rax,8), %rcx
movq %rcx, 0x20(%rbx)
movq 0x2260(%r14,%rax,8), %rax
movq (%rax), %rax
movq %rax, 0x28(%rbx)
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, 0x60(%rbx)
movl $0x1, 0x70(%rbx)
movb $0x1, %al
jmp 0xa4bca
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 0x1efb1(%rip), %rdx     # 0xc3b98
cmpq %rdx, %rcx
je 0xa4c42
leaq 0x24b7(%rip), %rdx      # 0xa70aa
cmpq %rdx, %rcx
jne 0xa4b80
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 0x1f874(%rip), %rax     # 0xc448b
movq %rax, (%rbx)
decl 0x2258(%r14)
movabsq $0x200000007, %rax      # imm = 0x200000007
movq %rax, 0x60(%rbx)
movabsq $0x300000001, %rax      # imm = 0x300000001
movq %rax, 0x70(%rbx)
jmp 0xa4bbd
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 0x1f7e0(%rip), %rax     # 0xc4451
movq %rax, (%rbx)
decl 0x2258(%r14)
movabsq $0x300000007, %rax      # imm = 0x300000007
movq %rax, 0x60(%rbx)
movabsq $0x300000001, %rax      # imm = 0x300000001
movq %rax, 0x70(%rbx)
movl $0x2, 0x78(%rbx)
jmp 0xa4bbd