// File: /workspace/github_c_makefile_star2_O3/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 0xf2180
movq 0x8(%r15), %rax
movq 0x10(%rax), %r12
movzbl (%r12), %eax
cmpq $0x2c, %rax
ja 0xf2120
movabsq $0x108800000000, %rcx   # imm = 0x108800000000
btq %rax, %rcx
jae 0xf2120
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x289b7(%rip), %rsi     # 0x11aa92
movl $0x9, %edx
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 0xf492d
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
leaq 0x2a3eb(%rip), %rsi     # 0x11c501
movl $0x2, %edx
jmp 0xf2214
movq %r14, %rdi
movq %r12, %rsi
movl $0xa, %edx
xorl %ecx, %ecx
callq 0x91b3a
movzbl (%rax), %eax
leaq 0x58834(%rip), %rcx     # 0x14a970
cmpb $0x0, (%rax,%rcx)
jne 0xf20cc
movq 0x8(%r15), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
jle 0xf2170
addq %r12, %rax
leaq 0x63d07(%rip), %rcx     # 0x155e60
movzbl (%r12), %edx
cmpb $0x0, (%rdx,%rcx)
jne 0xf20cc
incq %r12
cmpq %rax, %r12
jb 0xf2159
movq (%r15), %rax
movq %rax, %rcx
orq $0x800000, %rcx         # imm = 0x800000
movq %rcx, (%r15)
btq $0x37, %rax
jb 0xf21ab
cmpl $0x2, %ebp
je 0xf2195
cmpl $0x3, %ebp
jne 0xf21ab
movb $0x3a, %al
jmp 0xf2197
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 0xf2200
movq 0x20(%rbx), %rdi
movq 0x8(%r15), %rax
movq 0x8(%rax), %rdx
leaq (%rdx,%rdi), %r12
cmpq 0x18(%rbx), %r12
jl 0xf21e6
leaq (%r12,%r12), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x94b07
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