// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: symbol_to_port
static inline void symbol_to_port(s7_scheme *sc, s7_pointer obj, s7_pointer port, use_write_t use_write, shared_info *ci)
    {
        /* I think this is the only place we print a symbol's name */
        if ((!is_clean_symbol(obj)) &&
                (symbol_needs_slashification(sc, obj)))
        {
            port_write_string(port)(sc, "(symbol \"", 9, port);
            slashify_string_to_port(sc, port, symbol_name(obj), symbol_name_length(obj), NOT_IN_QUOTES);
            port_write_string(port)(sc, "\")", 2, port);
        }
        else
        {
            if (!is_keyword(obj))
            {
                if (use_write == P_READABLE)
                    port_write_character(port)(sc, '\'', port);
                else
                {
                    if (use_write == P_KEY)
                        port_write_character(port)(sc, ':', port);
                }
            }
            if (is_string_port(port))
            {
                s7_int new_len;
                new_len = port_position(port) + symbol_name_length(obj);
                if (new_len >= port_data_size(port))
                    resize_port_data(sc, port, new_len * 2);
                memcpy((void *)(port_data(port) + port_position(port)), (void *)symbol_name(obj), symbol_name_length(obj));
                port_position(port) = new_len;
            }
            else port_write_string(port)(sc, symbol_name(obj), symbol_name_length(obj), port);
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
btl $0x17, %eax
jb 0xc092d
movq 0x8(%r15), %rax
movq 0x10(%rax), %r12
movzbl (%r12), %eax
cmpq $0x2c, %rax
ja 0xc08d3
movabsq $0x108800000000, %rcx   # imm = 0x108800000000
btq %rax, %rcx
jae 0xc08d3
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x261a0(%rip), %rsi     # 0xe6a32
pushq $0x9
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq *0x10(%rax)
movq 0x8(%r15), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rdx
movq %r14, %rdi
movq %rbx, %rsi
xorl %r8d, %r8d
callq 0xc281e
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
leaq 0x27bd6(%rip), %rsi     # 0xe84a1
pushq $0x2
popq %rdx
jmp 0xc09c1
pushq $0xa
popq %rdx
movq %r14, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x74d92
movzbl (%rax), %eax
leaq 0x59083(%rip), %rcx     # 0x119970
cmpb $0x0, (%rax,%rcx)
jne 0xc0883
movq 0x8(%r15), %rax
movq 0x8(%rax), %rax
addq %r12, %rax
leaq 0x6455b(%rip), %rcx     # 0x124e60
cmpq %rax, %r12
jae 0xc091d
movzbl (%r12), %edx
incq %r12
cmpb $0x0, (%rdx,%rcx)
je 0xc0905
jmp 0xc0883
movq (%r15), %rax
movq %rax, %rcx
orq $0x800000, %rcx         # imm = 0x800000
movq %rcx, (%r15)
btq $0x37, %rax
jb 0xc0958
cmpl $0x2, %ebp
je 0xc0942
cmpl $0x3, %ebp
jne 0xc0958
movb $0x3a, %al
jmp 0xc0944
movb $0x27, %al
movq 0x8(%rbx), %rcx
movq 0x48(%rcx), %rcx
movzbl %al, %esi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x8(%rcx)
movq 0x8(%rbx), %rax
cmpl $0x1, 0x4(%rax)
jne 0xc09ad
movq 0x20(%rbx), %rdi
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdx
leaq (%rdx,%rdi), %r12
cmpq 0x18(%rbx), %r12
jl 0xc0993
leaq (%r12,%r12), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x772c3
movq 0x20(%rbx), %rdi
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdx
addq 0x10(%rbx), %rdi
movq 0x10(%rax), %rsi
callq 0x83e0
movq %r12, 0x20(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x8(%r15), %rcx
movq 0x8(%rcx), %rdx
movq 0x10(%rcx), %rsi
movq %r14, %rdi
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax