// File: /workspace/github_c_makefile_star2_O1/BernardTatin[P]s7sh/s7.c
// Function: p_piip_ok
static bool p_piip_ok(s7_scheme *sc, opt_info *opc, s7_pointer s_func, s7_pointer car_x)
                {
                    /* this currently assumes s_func == vector-set! because there aren't any other p_piip functions(!) */
                    s7_p_piip_t func;
                    func = s7_p_piip_function(s_func);
                    if ((func) &&
                            (is_symbol(cadr(car_x))))
                    {
                        s7_pointer slot1, obj;
                        slot1 = symbol_to_slot(sc, cadr(car_x));
                        if (!is_slot(slot1))
                            return(return_false(sc, car_x, __func__, __LINE__));
                        obj = slot_value(slot1);
                        if ((has_methods(obj)) || (is_immutable(obj)))
                            return(return_false(sc, car_x, __func__, __LINE__));
                        if ((is_any_vector(obj)) && /* vector_set_p_piip calls vector_setter(obj) */
                                (vector_rank(obj) == 2))
                        {
                            s7_pointer indexp1, indexp2, valp, slot;
                            indexp1 = cddr(car_x);
                            indexp2 = cdddr(car_x);
                            valp = cddddr(car_x);
                            opc->v[1].p = slot1;
                            opc->v[5].p_piip_f = vector_set_p_piip;
                            slot = opt_integer_symbol(sc, car(indexp2));
                            if (slot)
                            {
                                opc->v[3].p = slot;
                                slot = opt_integer_symbol(sc, car(indexp1));
                                if (slot)
                                {
                                    opc->v[2].p = slot;
                                    if ((is_symbol(car(valp))) ||
                                            (is_unquoted_pair(car(valp))))
                                    {
                                        if (cell_optimize(sc, valp))
                                        {
                                            opc->v[0].fp = opt_p_piip_sssf;
                                            return(oo_set_type_3(opc, 6, 1, 2, 3, OO_P, OO_I, OO_I));
                                        }
                                        return(return_false(sc, car_x, __func__, __LINE__));
                                    }
                                    opc->v[0].fp = opt_p_piip_sssc;
                                    opc->v[4].p = (is_pair(car(valp))) ? cadar(valp) : car(valp);
                                    return(oo_set_type_3(opc, 6, 1, 2, 3, OO_P, OO_I, OO_I));
                                }
                            }
                            if ((int_optimize(sc, indexp1)) &&
                                    (int_optimize(sc, indexp2)) &&
                                    (cell_optimize(sc, valp)))
                            {
                                opc->v[0].fp = opt_p_piip_sfff;
                                return(oo_set_type_1(opc, 6, 1, (is_typed_vector(obj)) ? OO_TV : OO_PV));
                            }}}
                    return(return_false(sc, car_x, __func__, __LINE__));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x30, (%rdx)
jb 0xabf72
movq 0x8(%rdx), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
sete %sil
je 0xabf6d
cmpl $0x37, (%rax)
je 0xabf65
movq 0x10(%rax), %rax
testq %rax, %rax
sete %sil
je 0xabf6d
cmpl $0x37, (%rax)
jne 0xabf53
movq 0x8(%rax), %rdx
xorl %esi, %esi
jmp 0xabf6d
testb %sil, %sil
je 0xabf74
xorl %edx, %edx
testq %rdx, %rdx
je 0xac008
movq 0x10(%rcx), %rax
movq 0x8(%rax), %rcx
cmpb $0xa, (%rcx)
jne 0xac008
movq 0x8(%r14), %rsi
movq 0x18(%rsi), %r8
movq 0x20(%rcx), %rdi
movl $0x18, %edx
cmpq %rdi, %r8
je 0xabfeb
jle 0xabfaf
movq 0x10(%rsi), %rsi
movq 0x18(%rsi), %r8
cmpq %r8, %rdi
jl 0xabfa2
cmpq %rdi, %r8
je 0xabfeb
movl $0x10, %edx
cmpb $0x1c, (%rsi)
jne 0xabfeb
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
sete %r9b
je 0xabfd7
cmpq %rcx, 0x8(%rdi)
je 0xabfda
movq 0x18(%rdi), %rdi
jmp 0xabfc2
movq %r8, %rdi
testb %r9b, %r9b
je 0xabfef
movq 0x10(%rsi), %rsi
cmpb $0x1c, (%rsi)
movq %rdi, %r8
je 0xabfbe
movq (%rcx,%rdx), %rdi
cmpb $0x20, (%rdi)
jne 0xabfff
movq 0x10(%rdi), %r15
testb $0x41, 0x3(%r15)
je 0xac01b
xorl %ebp, %ebp
xorl %eax, %eax
testb %bpl, %bpl
je 0xac00a
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzbl (%r15), %ecx
leaq 0xa6bfa(%rip), %rdx     # 0x152c20
movb $0x1, %bpl
cmpb $0x1, (%rcx,%rdx)
jne 0xac137
movq 0x18(%r15), %rcx
movq 0x20(%rcx), %rcx
testq %rcx, %rcx
je 0xac137
cmpq $0x2, 0x10(%rcx)
jne 0xac137
movq 0x10(%rax), %r13
movq 0x10(%r13), %r12
movq 0x10(%r12), %rax
movq %rax, (%rsp)
movq %rdi, 0x8(%rbx)
leaq -0x23b27(%rip), %rax    # 0x88544
movq %rax, 0x28(%rbx)
movq 0x8(%r12), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xac0dc
movq %rax, 0x18(%rbx)
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0xa639f
testq %rax, %rax
je 0xac0dc
movq %rax, 0x10(%rbx)
movq (%rsp), %rsi
movq 0x8(%rsi), %rax
movzbl (%rax), %ecx
cmpl $0xa, %ecx
je 0xac0c0
cmpl $0x1, %ecx
jne 0xac13c
movq 0x8(%rax), %rax
cmpq 0x17b0(%r14), %rax
je 0xac13c
movq %r14, %rdi
callq 0xa8bbb
testb %al, %al
je 0xabfff
leaq 0x3a16(%rip), %rax      # 0xafaed
movq %rax, (%rbx)
jmp 0xac15b
movq %r14, %rdi
movq %r13, %rsi
callq 0xa66f0
testb %al, %al
je 0xac137
movq %r14, %rdi
movq %r12, %rsi
callq 0xa66f0
testb %al, %al
je 0xac137
movq %r14, %rdi
movq (%rsp), %rsi
callq 0xa8bbb
movl %eax, %ecx
testb %cl, %cl
je 0xac003
leaq 0x3a74(%rip), %rax      # 0xafb8b
movq %rax, (%rbx)
movzwl 0x6(%r15), %eax
andl $0x2, %eax
leal 0x6(,%rax,4), %eax
movl $0x1, 0x64(%rbx)
movl $0x70, %ecx
jmp 0xac181
jmp 0xac003
leaq 0x3a16(%rip), %rax      # 0xafb59
movq %rax, (%rbx)
movq 0x8(%rsi), %rax
cmpb $0x1, (%rax)
jne 0xac157
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x20(%rbx)
movabsq $0x300000006, %rax      # imm = 0x300000006
movq %rax, 0x60(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x70(%rbx)
movl $0x1, %eax
movl $0x78, %ecx
movl $0x6, 0x60(%rbx)
movl %eax, (%rbx,%rcx)
movb $0x1, %al
xorl %ebp, %ebp
jmp 0xac003