// File: /workspace/github_c_makefile_star2_O2/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 0x32a07
movq 0x10(%r15), %rdi
movq (%rdi), %rcx
btl $0x12, %ecx
jb 0x32a3a
cmpq %rbx, 0x120(%r14)
je 0x32a69
movl $0x40000, %eax          # imm = 0x40000
orq %rax, %rcx
movq %rcx, (%rdi)
orb $0x4, 0x2(%r15)
movq 0x10(%r15), %rcx
orq %rax, (%rcx)
movq 0xf8(%r14), %r13
movq 0x100(%r14), %rax
cmpq %rax, %r13
jne 0x32ad1
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 0x9859
andq $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 0x9859
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 0x32ac3
movq 0xd8(%r14), %rax
movq 0x140(%r14), %rcx
movq 0x10(%rax), %rax
movq %rcx, (%rax,%r13,8)
movq 0xe0(%r14), %rax
movq 0x10(%rax), %rax
movq %rcx, (%rax,%r13,8)
incq %r13
jmp 0x329d4
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 0x32b46
movq 0x100(%r14), %rdx
xorl %eax, %eax
testq %rdx, %rdx
cmovleq %rax, %rdx
cmpq %rax, %rdx
je 0x32911
movq 0xe0(%r14), %rsi
movq 0x10(%rsi), %rsi
cmpq %r15, (%rsi,%rax,8)
je 0x32a76
incq %rax
jmp 0x32a4a
movq %rbx, %rsi
callq 0x32b2e
jmp 0x32b1c
movq 0xd8(%r14), %rcx
movq 0x10(%rcx), %rcx
movq (%rcx,%rax,8), %rdx
movzbl (%rdx), %esi
leaq 0xe88a1(%rip), %rdi     # 0x11b330
cmpb $0x0, (%rsi,%rdi)
jne 0x32aa2
leaq 0xe88d4(%rip), %rdi     # 0x11b370
cmpb $0x1, (%rsi,%rdi)
jne 0x32aa8
testb $0x1, 0x3(%rdx)
jne 0x32b1c
movq %rbx, (%rcx,%rax,8)
movq 0x10(%r15), %rdi
movq %rbx, %rsi
callq 0x32b2e
cmpq %rbx, 0x120(%r14)
jne 0x32b06
jmp 0x32b1c
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), %rdi
movq %rbx, %rsi
callq 0x32b2e
pushq $0x3
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x32378
testb %al, %al
je 0x32b1c
orb $0x1, 0x6(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq