// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: d_ddd_ok
static bool d_ddd_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    s7_d_ddd_t f;

                    f = s7_d_ddd_function(s_func);
                    if (f)
                    {
                        int32_t start;
                        s7_pointer arg1, arg2, slot;
                        arg1 = cadr(car_x);
                        arg2 = caddr(car_x);
                        start = sc->pc;
                        opc->v[4].d_ddd_f = f;
                        slot = opt_float_symbol(sc, arg1);
                        if (slot)
                        {
                            opc->v[1].p = slot;
                            slot = opt_float_symbol(sc, arg2);
                            if (slot)
                            {
                                s7_pointer arg3;
                                opc->v[2].p = slot;
                                arg3 = cadddr(car_x);
                                slot = opt_float_symbol(sc, arg3);
                                if (slot)
                                {
                                    opc->v[3].p = slot;
                                    opc->v[0].fd = opt_d_ddd_sss;
                                    return(oo_set_type_3(opc, 5, 1, 2, 3, OO_D, OO_D, OO_D));
                                }
                                if (float_optimize(sc, cdddr(car_x)))
                                {
                                    opc->v[0].fd = opt_d_ddd_ssf;
                                    return(oo_set_type_2(opc, 5, 1, 2, OO_D, OO_D));
                                }
                                pc_fallback(sc, start);
                            }
                            if ((float_optimize(sc, cddr(car_x))) &&
                                    (float_optimize(sc, cdddr(car_x))))
                            {
                                opc->v[0].fd = opt_d_ddd_sff;
                                return(oo_set_type_1(opc, 5, 1, OO_D));
                            }
                            pc_fallback(sc, start);
                        }
                        if ((float_optimize(sc, cdr(car_x))) &&
                                (float_optimize(sc, cddr(car_x))) &&
                                (float_optimize(sc, cdddr(car_x))))
                        {
                            if (d_ddd_fff_combinable(sc, opc, start))
                                return(true);
                            opc->v[0].fd = opt_d_ddd_fff;
                            /* (* (env pulsef) (blackman pulse2) (polywave gen (rand-interp rnd)))
                             *  (* (env e)...) is common = opt_d_v: v3 v5 -> opc
                             * (+ k (* 2 alpha) -2.0) (* scl ang ang) (- n k 1)
                             */
                            return(oo_set_type_0(opc, 5));
                        }
                        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 0x478ed
testq %rax, %rax
je 0xa53f9
movq 0x10(%r15), %rcx
movq 0x8(%rcx), %rsi
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %r12
movl 0x2258(%r14), %ebp
movq %rax, 0x20(%rbx)
movq %r14, %rdi
callq 0xa6424
testq %rax, %rax
je 0xa530f
movq %rax, 0x8(%rbx)
movq %r14, %rdi
movq %r12, %rsi
callq 0xa6424
testq %rax, %rax
je 0xa52b8
movq %rax, 0x10(%rbx)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %r12
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0xa6424
testq %rax, %rax
je 0xa5277
movq %rax, 0x18(%rbx)
leaq 0x1f349(%rip), %rax     # 0xc4595
movq %rax, (%rbx)
movabsq $0x300000005, %rax      # imm = 0x300000005
movq %rax, 0x60(%rbx)
movabsq $0x200000002, %rax      # imm = 0x200000002
movq %rax, 0x70(%rbx)
movl $0x2, 0x78(%rbx)
jmp 0xa53ee
movq %r14, %rdi
movq %r12, %rsi
callq 0x47b96
testb %al, %al
je 0xa52b1
leaq 0x1f335(%rip), %rax     # 0xc45c2
movq %rax, (%rbx)
movabsq $0x200000005, %rax      # imm = 0x200000005
movq %rax, 0x60(%rbx)
movabsq $0x200000002, %rax      # imm = 0x200000002
movq %rax, 0x70(%rbx)
jmp 0xa53ee
movl %ebp, 0x2258(%r14)
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa5308
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa5308
leaq 0x1f33f(%rip), %rax     # 0xc462a
movq %rax, (%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, 0x60(%rbx)
movl $0x2, 0x70(%rbx)
jmp 0xa53ee
movl %ebp, 0x2258(%r14)
movq 0x10(%r15), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa53f2
movq 0x10(%r15), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa53f2
movq 0x10(%r15), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x47b96
testb %al, %al
je 0xa53f2
movslq %ebp, %rdx
movq 0x2260(%r14,%rdx,8), %rax
movq (%rax), %rax
leaq 0x1d3e(%rip), %rcx      # 0xa70aa
cmpq %rcx, %rax
jne 0xa53dc
movq 0x20(%rbx), %rsi
movq %rsi, 0x38(%rbx)
movq 0x2260(%r14,%rdx,8), %rsi
movq 0x18(%rsi), %rdi
movq %rdi, 0x8(%rbx)
movq 0x28(%rsi), %rdi
movq %rdi, 0x10(%rbx)
movq 0x8(%rsi), %rsi
movq %rsi, 0x40(%rbx)
movq 0x2268(%r14,%rdx,8), %rsi
cmpq %rcx, (%rsi)
jne 0xa53b3
movq 0x2270(%r14,%rdx,8), %rsi
cmpq %rcx, (%rsi)
je 0xa5404
leaq 0x1f3bc(%rip), %rdx     # 0xc4776
movq %rdx, (%rbx)
movabsq $0x100000009, %rdx      # imm = 0x100000009
movq %rdx, 0x60(%rbx)
movl $0x70, %edx
movl $0x3, (%rbx,%rdx)
cmpq %rcx, %rax
je 0xa53ee
leaq 0x1f2c5(%rip), %rax     # 0xc46a8
movq %rax, (%rbx)
movq $0x5, 0x60(%rbx)
movb $0x1, %al
jmp 0xa53fb
movl %ebp, 0x2258(%r14)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1f32a(%rip), %rsi     # 0xc4735
movq %rsi, (%rbx)
movq 0x2268(%r14,%rdx,8), %rsi
movq 0x18(%rsi), %rdi
movq %rdi, 0x18(%rbx)
movq 0x28(%rsi), %rdi
movq %rdi, 0x20(%rbx)
movq 0x8(%rsi), %rsi
movq %rsi, 0x48(%rbx)
movq 0x2270(%r14,%rdx,8), %rdx
movq 0x18(%rdx), %rsi
movq %rsi, 0x28(%rbx)
movq 0x28(%rdx), %rsi
movq %rsi, 0x30(%rbx)
movq 0x8(%rdx), %rdx
movq %rdx, 0x50(%rbx)
addl $-0x3, 0x2258(%r14)
movabsq $0x30000000b, %rdx      # imm = 0x30000000B
movq %rdx, 0x60(%rbx)
movabsq $0x300000003, %rdx      # imm = 0x300000003
movq %rdx, 0x70(%rbx)
movl $0x78, %edx
jmp 0xa53d0