// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: opt_float_vector_set
static bool opt_float_vector_set(s7_scheme *sc, opt_info *opc, s7_pointer v, s7_pointer indexp1, s7_pointer indexp2, s7_pointer valp)
                {
                    s7_pointer settee;
                    /* fprintf(stderr, "%s: %s %s %s %s\n", __func__, DISPLAY(v), DISPLAY(indexp1), (indexp2) ? DISPLAY(indexp1) : "null", DISPLAY(valp)); */
                    settee = symbol_to_slot(sc, v);
                    if ((is_slot(settee)) &&
                            (!is_immutable(slot_value(settee))))
                    {
                        s7_pointer slot;
                        int32_t start;
                        opc->v[1].p = settee;
                        start = sc->pc;
                        if (is_float_vector(slot_value(settee)))
                        {
                            if ((!indexp2) &&
                                    (vector_rank(slot_value(settee)) == 1))
                            {
                                opc->v[4].d_7pid_f = float_vector_set_d_7pid;
                                slot = opt_integer_symbol(sc, car(indexp1));
                                if (slot)
                                {
                                    opc->v[2].p = slot;
                                    if ((is_step_end(opc->v[2].p)) &&
                                            (denominator(slot_value(opc->v[2].p)) <= vector_length(slot_value(settee))))
                                        opc->v[4].d_7pid_f = float_vector_set_unchecked;
                                    slot = opt_float_symbol(sc, car(valp));
                                    if (slot)
                                    {
                                        opc->v[3].p = slot;
                                        opc->v[0].fd = opt_d_7pid_sss;
                                        return(oo_set_type_3(opc, 5, 1, 2, 3, OO_FV, OO_I, OO_D));
                                    }
                                    if (is_real(car(valp)))
                                    {
                                        opc->v[3].x = s7_real(car(valp));
                                        opc->v[0].fd = opt_d_7pid_ssc;
                                        return(oo_set_type_2(opc, 5, 1, 2, OO_FV, OO_I));
                                    }
                                    if (float_optimize(sc, valp))
                                    {
                                        if (d_7pid_ssf_combinable(sc, opc))
                                            return(true);
                                        opc->v[0].fd = opt_d_7pid_ssf;
                                        return(oo_set_type_2(opc, 5, 1, 2, OO_FV, OO_I));
                                    }
                                    pc_fallback(sc, start);
                                }
                                if ((int_optimize(sc, indexp1)) &&
                                        (float_optimize(sc, valp)))
                                {
                                    opc->v[0].fd = opt_d_7pid_sff;
                                    return(oo_set_type_1(opc, 5, 1, OO_FV));
                                }
                                return(return_false(sc, NULL, __func__, __LINE__));
                            }

                            if ((indexp2) &&
                                    (vector_rank(slot_value(settee)) == 2))
                            {
                                opc->v[5].d_7piid_f = float_vector_set_d_7piid;
                                slot = opt_integer_symbol(sc, car(indexp2));
                                if (slot)
                                {
                                    opc->v[3].p = slot;
                                    if (is_t_integer(car(indexp1)))
                                    {
                                        if (float_optimize(sc, valp))
                                        {
                                            opc->v[0].fd = opt_d_7piid_scsf;
                                            opc->v[2].i = integer(car(indexp1));
                                            opc->v[10].o1 = sc->opts[start];      /* can't use v[6 + 7] here -- d_to_p (for example) use v[7].fd for original v[0].fd */
                                            opc->v[11].fd = sc->opts[start]->v[0].fd;
                                            return(oo_set_type_2(opc, 12, 1, 3, OO_FV, OO_I));
                                        }
                                        return(return_false(sc, NULL, __func__, __LINE__));
                                    }
                                    slot = opt_integer_symbol(sc, car(indexp1));
                                    if (slot)
                                    {
                                        opc->v[2].p = slot;
                                        if (is_real(car(valp)))
                                        {
                                            opc->v[0].fd = opt_d_7piid_sssc;
                                            opc->v[4].x = s7_real(car(valp));
                                            return(oo_set_type_3(opc, 6, 1, 2, 3, OO_FV, OO_I, OO_I));
                                        }
                                        if (float_optimize(sc, valp))
                                        {
                                            opc->v[0].fd = opt_d_7piid_sssf;
                                            return(oo_set_type_3(opc, 6, 1, 2, 3, OO_FV, OO_I, OO_I));
                                        }
                                        pc_fallback(sc, start);
                                    }
                                    if ((int_optimize(sc, indexp1)) &&
                                            (int_optimize(sc, indexp2)) &&
                                            (float_optimize(sc, valp)))
                                    {
                                        opc->v[0].fd = opt_d_7piid_sfff;
                                        return(oo_set_type_1(opc, 6, 1, OO_FV));
                                    }}}}
                    }
                    return(return_false(sc, NULL, __func__, __LINE__));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r15
movq %r8, %r13
movq %rcx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rcx
movq 0x18(%rcx), %rdi
movq 0x20(%rdx), %rsi
movl $0x18, %eax
cmpq %rsi, %rdi
je 0x9f4f7
jle 0x9f4ee
movq 0x10(%rcx), %rcx
movq 0x18(%rcx), %rdi
cmpq %rdi, %rsi
jl 0x9f4e1
cmpq %rsi, %rdi
jne 0x9f5d3
movq (%rdx,%rax), %rbp
cmpb $0x20, (%rbp)
jne 0x9f891
movq 0x10(%rbp), %rax
testb $0x1, 0x3(%rax)
jne 0x9f891
movq %rbp, 0x8(%rbx)
movq 0x10(%rbp), %rax
cmpb $0x17, (%rax)
jne 0x9f891
movl 0x2258(%r14), %ecx
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
testq %r13, %r13
je 0x9f600
testq %rax, %rax
je 0x9f891
cmpq $0x2, 0x10(%rax)
jne 0x9f891
movl %ecx, %ebp
leaq -0x1e73c(%rip), %rax    # 0x80e1d
movq %rax, 0x28(%rbx)
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0x9f891
movq %rax, 0x18(%rbx)
movq 0x8(%r12), %rsi
cmpb $0xb, (%rsi)
jne 0x9f6a4
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9f891
movslq %ebp, %rax
leaq 0xe0b(%rip), %rcx       # 0xa03ac
movq %rcx, (%rbx)
movq 0x8(%r12), %rcx
movq 0x8(%rcx), %rcx
movq %rcx, 0x10(%rbx)
movq 0x2260(%r14,%rax,8), %rax
movq %rax, 0x50(%rbx)
movq (%rax), %rax
movq %rax, 0x58(%rbx)
movabsq $0x20000000c, %rax      # imm = 0x20000000C
jmp 0x9f790
movl $0x10, %eax
cmpb $0x1c, (%rcx)
jne 0x9f4f7
movq 0x8(%rcx), %rbp
testq %rbp, %rbp
je 0x9f5fa
cmpq %rdx, 0x8(%rbp)
je 0x9f4fb
movq 0x18(%rbp), %rbp
jmp 0x9f5e5
movq 0x10(%rcx), %rcx
jmp 0x9f5d8
testq %rax, %rax
je 0x9f610
cmpq $0x1, 0x10(%rax)
jne 0x9f891
movl %ecx, 0x4(%rsp)
leaq -0x1e8a6(%rip), %rax    # 0x80d75
movq %rax, 0x20(%rbx)
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0x9f7b5
movq %rax, 0x10(%rbx)
testb $0x4, 0x3(%rax)
je 0x9f65c
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jg 0x9f65c
leaq 0x2b3(%rip), %rax       # 0x9f90b
movq %rax, 0x20(%rbx)
movq 0x8(%r15), %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0x9f915
testq %rax, %rax
je 0x9f6ee
movq %rax, 0x18(%rbx)
leaq 0x303(%rip), %rax       # 0x9f97e
movq %rax, (%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, 0x70(%rbx)
movabsq $0x300000005, %rax      # imm = 0x300000005
movq %rax, 0x60(%rbx)
movl $0x2, %eax
jmp 0x9f838
movq %r14, %rdi
callq 0x9f8a2
testq %rax, %rax
je 0x9f84b
movq %rax, 0x10(%rbx)
movq 0x8(%r15), %rax
movzbl (%rax), %eax
leaq 0xab2e9(%rip), %rcx     # 0x14a9b0
cmpb $0x1, (%rax,%rcx)
jne 0x9f73f
leaq 0xd2b(%rip), %rax       # 0xa03ff
movq %rax, (%rbx)
movq 0x8(%r15), %rsi
cmpb $0xd, (%rsi)
jne 0x9f7ff
movsd 0x8(%rsi), %xmm0
jmp 0x9f812
movzbl (%r13), %eax
leaq 0xab2b6(%rip), %rcx     # 0x14a9b0
cmpb $0x1, (%rax,%rcx)
jne 0x9f70c
cmpb $0xd, %al
jne 0x9f761
movsd 0x8(%r13), %xmm0
jmp 0x9f777
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9f7aa
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9f9d2
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x9f893
leaq 0x430(%rip), %rax       # 0x9fb6d
jmp 0x9f783
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9f844
leaq 0xcd9(%rip), %rax       # 0xa0432
movq %rax, (%rbx)
jmp 0x9f817
movq 0xab2c8(%rip), %rdi     # 0x14aa30
leaq 0x6a909(%rip), %rdx     # 0x10a078
movq %r13, %rsi
callq 0xd498
movsd %xmm0, 0x18(%rbx)
leaq 0x229(%rip), %rax       # 0x9f9ac
movq %rax, (%rbx)
movabsq $0x200000005, %rax      # imm = 0x200000005
movq %rax, 0x60(%rbx)
movl $0x5, 0x70(%rbx)
movl $0x1, %eax
movl $0x74, %ecx
jmp 0x9f83d
movl 0x4(%rsp), %eax
movl %eax, 0x2258(%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x9fbc8
testb %al, %al
je 0x9f891
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9f891
leaq 0xb5b(%rip), %rax       # 0xa033d
movq %rax, (%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, 0x60(%rbx)
movl $0x5, %eax
movl $0x70, %ecx
jmp 0x9f83d
movq 0xab22a(%rip), %rdi     # 0x14aa30
leaq 0x6a86b(%rip), %rdx     # 0x10a078
callq 0xd498
movsd %xmm0, 0x20(%rbx)
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, 0x70(%rbx)
movabsq $0x300000006, %rax      # imm = 0x300000006
movq %rax, 0x60(%rbx)
movl $0x1, %eax
movl $0x78, %ecx
movl %eax, (%rbx,%rcx)
movb $0x1, %al
jmp 0x9f893
movl %ebp, 0x2258(%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x9fbc8
testb %al, %al
je 0x9f891
movq %r14, %rdi
movq %r13, %rsi
callq 0x9fbc8
testb %al, %al
je 0x9f891
movq %r14, %rdi
movq %r15, %rsi
callq 0x44f61
testb %al, %al
je 0x9f891
leaq 0xc1c(%rip), %rax       # 0xa049b
movq %rax, (%rbx)
movabsq $0x100000006, %rax      # imm = 0x100000006
jmp 0x9f7ef
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq