// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: s7_set_setter
s7_pointer s7_set_setter(s7_scheme *sc, s7_pointer p, s7_pointer setter)
                {
                    if (is_symbol(p))
                    {
                        if (slot_has_setter(global_slot(p)))
                        {
                            s7_int index;
                            for (index = 0; index < sc->protected_setters_loc; index++)
                                if (vector_element(sc->protected_setter_symbols, index) == p)
                                {
                                    s7_pointer old_func;
                                    old_func = vector_element(sc->protected_setters, index);
                                    if ((is_procedure_or_macro(old_func)) && /* i.e. not #f! */
                                            (is_immutable(old_func)))
                                        return(setter);
                                    vector_element(sc->protected_setters, index) = setter;
                                    slot_set_setter(global_slot(p), setter);
                                    if ((setter != sc->F) && (s7_is_aritable(sc, setter, 3)))
                                        set_has_let_arg(setter);
                                    return(setter);
                                }
                        }
                        if (setter != sc->F)
                        {
                            slot_set_has_setter(global_slot(p));
                            symbol_set_has_setter(p);
                            slot_set_has_setter(global_slot(p));
                            protect_setter(sc, p, setter);
                            slot_set_setter(global_slot(p), setter);
                            if (s7_is_aritable(sc, setter, 3))
                                set_has_let_arg(setter);
                            return(setter);
                        }
                        slot_set_setter(global_slot(p), setter);
                        return(setter);
                    }
                    return(g_set_setter(sc, set_plist_2(sc, p, setter)));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpb $0xa, (%rsi)
jne 0x3ffa5
movq 0x10(%r15), %rax
movq (%rax), %rcx
btl $0x12, %ecx
jae 0x3fe31
movq 0x100(%r14), %rsi
testq %rsi, %rsi
jle 0x3fe31
movq 0xe0(%r14), %rdx
movq 0x10(%rdx), %rdi
xorl %edx, %edx
cmpq %r15, (%rdi,%rdx,8)
je 0x40007
incq %rdx
cmpq %rdx, %rsi
jne 0x3fe1f
cmpq %rbx, 0x120(%r14)
je 0x3ffd8
movl $0x40000, %edx          # imm = 0x40000
orq %rdx, %rcx
movq %rcx, (%rax)
orb $0x4, 0x2(%r15)
movq 0x10(%r15), %rax
orq %rdx, (%rax)
movq 0xf8(%r14), %r13
movq 0x100(%r14), %rax
cmpq %rax, %r13
jne 0x3ff41
leaq (,%r13,2), %rbp
movq 0xd8(%r14), %rax
movq 0x18(%rax), %rsi
movq %r13, %r12
shlq $0x4, %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x9fd6
movq $0x0, 0x20(%rax)
movq 0xd8(%r14), %rcx
movq %rax, 0x18(%rcx)
movq (%rax), %rax
movq 0xd8(%r14), %rcx
movq %rax, 0x10(%rcx)
movq 0xd8(%r14), %rax
movq %rbp, 0x8(%rax)
movq 0xe0(%r14), %rax
movq 0x18(%rax), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x9fd6
movq 0xe0(%r14), %rcx
movq %rax, 0x18(%rcx)
movq (%rax), %rax
movq 0xe0(%r14), %rcx
movq %rax, 0x10(%rcx)
movq 0xe0(%r14), %rax
movq %rbp, 0x8(%rax)
cmpq %rbp, %r13
jge 0x3ff33
movq 0x140(%r14), %rax
movq %r13, %rcx
movq 0xd8(%r14), %rdx
movq 0x10(%rdx), %rdx
movq %rax, (%rdx,%rcx,8)
movq 0xe0(%r14), %rdx
movq 0x140(%r14), %rax
movq 0x10(%rdx), %rdx
movq %rax, (%rdx,%rcx,8)
incq %rcx
decq %r13
jne 0x3ff06
movq %rbp, 0xf8(%r14)
movq 0x100(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x100(%r14)
movq 0xd8(%r14), %rcx
movq 0x10(%rcx), %rcx
movq %rbx, (%rcx,%rax,8)
movq 0xe0(%r14), %rcx
movq 0x10(%rcx), %rcx
movq %r15, (%rcx,%rax,8)
movq 0x10(%r15), %rax
cmpb $0x30, (%rbx)
movq %rbx, %rcx
jne 0x3ff87
testb $0x2, 0x6(%rbx)
movq %rbx, %rcx
je 0x3ff87
movq 0x8(%rbx), %rcx
movq 0x50(%rcx), %rcx
movq %rcx, 0x28(%rax)
movl $0x3, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3f86f
testb %al, %al
je 0x3fff5
orb $0x1, 0x6(%rbx)
jmp 0x3fff5
movq 0x708(%r14), %rax
movq %r15, 0x8(%rax)
movq 0x710(%r14), %rax
movq %rbx, 0x8(%rax)
movq 0x708(%r14), %rsi
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4006d
cmpb $0x30, (%rbx)
movq %rbx, %rcx
jne 0x3fff1
testb $0x2, 0x6(%rbx)
movq %rbx, %rcx
je 0x3fff1
movq 0x8(%rbx), %rcx
movq 0x50(%rcx), %rcx
movq %rcx, 0x28(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xd8(%r14), %rax
movq 0x10(%rax), %rax
movq (%rax,%rdx,8), %rcx
movzbl (%rcx), %esi
leaq 0x10c310(%rip), %rdi    # 0x14c330
cmpb $0x0, (%rsi,%rdi)
jne 0x40033
leaq 0x10c343(%rip), %rdi    # 0x14c370
cmpb $0x1, (%rsi,%rdi)
jne 0x40039
testb $0x1, 0x3(%rcx)
jne 0x3fff5
movq %rbx, (%rax,%rdx,8)
movq 0x10(%r15), %rax
cmpb $0x30, (%rbx)
movq %rbx, %rcx
jne 0x4005a
testb $0x2, 0x6(%rbx)
movq %rbx, %rcx
je 0x4005a
movq 0x8(%rbx), %rcx
movq 0x50(%rcx), %rcx
movq %rcx, 0x28(%rax)
cmpq %rbx, 0x120(%r14)
jne 0x3ff8b
jmp 0x3fff5