// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_string_to_symbol_1
static inline s7_pointer g_string_to_symbol_1(s7_scheme *sc, s7_pointer str, s7_pointer caller)
    {
        if (is_string(str))
        {
            if (string_length(str) > 0)
                return(make_symbol_with_length(sc, string_value(str), string_length(str)));
            return(simple_wrong_type_argument_with_type(sc, caller, str, wrap_string(sc, "a non-null string", 17)));
            /* currently if the string has an embedded null, it marks the end of the new symbol name. */
        }
        return(method_or_bust_one_arg(sc, str, caller, list_1(sc, str), T_STRING));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
cmpb $0x13, (%rsi)
jne 0xf9be0
movq 0x8(%r15), %r14
testq %r14, %r14
jle 0xf9c46
movq 0x10(%r15), %r15
movq $0x0, 0x8(%rsp)
cmpq $0x8, %r14
ja 0xf9c9c
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x83e0
movq (%r12), %r12
movabsq $-0x7fecfd2d94c4151b, %rcx # imm = 0x801302D26B3BEAE5
movq %r12, %rax
mulq %rcx
shrq $0xe, %rdx
imulq $0x7fed, %rdx, %rax     # imm = 0x7FED
movq %r12, %r13
subq %rax, %r13
movq 0x148(%rbx), %rax
movq 0x10(%rax), %rax
movl %r13d, %ecx
movq (%rax,%rcx,8), %rax
cmpb $0x1, (%rax)
jne 0xf9d2d
cmpq 0x18(%rax), %r12
jne 0xf9bda
movl 0x2c(%rax), %ecx
cmpq %rcx, %r14
je 0xf9d4f
movq 0x10(%rax), %rax
jmp 0xf9bbf
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r14
cmpq 0x98(%rbx), %rax
ja 0xf9c06
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rcx
movq $0x200001, (%rcx)       # imm = 0x200001
movq %r15, 0x8(%rcx)
movq %r14, 0x10(%rcx)
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movl $0x13, %r8d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x95069
movq 0x8(%r12), %rsi
movq 0x140(%rbx), %rcx
movq 0x820(%rbx), %rax
movslq 0x7dc(%rbx), %rdx
movq (%rax,%rdx,8), %r8
leal 0x1(%rdx), %eax
andl $0x7, %eax
movl %eax, 0x7dc(%rbx)
leaq 0x21889(%rip), %rax     # 0x11b500
movq %rax, 0x10(%r8)
movq $0x11, 0x8(%r8)
movq %rbx, %rdi
movq %r15, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xed2a
movq (%r15), %r12
leaq 0x10(%rsp), %r13
movq $0x0, (%r13)
leaq 0x8(%r15), %rsi
cmpq $0x10, %r14
movl $0x10, %edx
cmovbq %r14, %rdx
addq $-0x8, %rdx
movq %r13, %rdi
callq 0x83e0
addq (%r13), %r12
movabsq $-0x7fecfd2d94c4151b, %rcx # imm = 0x801302D26B3BEAE5
movq %r12, %rax
mulq %rcx
shrq $0xe, %rdx
imulq $0x7fed, %rdx, %rax     # imm = 0x7FED
movq %r12, %r13
subq %rax, %r13
movq 0x148(%rbx), %rax
movq 0x10(%rax), %rax
movl %r13d, %ecx
movq (%rax,%rcx,8), %rbp
cmpb $0x1, (%rbp)
jne 0xf9d2d
cmpq 0x18(%rbp), %r12
jne 0xf9d27
movl 0x2c(%rbp), %eax
cmpq %rax, %r14
jne 0xf9d27
movq 0x20(%rbp), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x8c146
testb %al, %al
jne 0xf9d55
movq 0x10(%rbp), %rbp
jmp 0xf9d00
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
movl %r13d, %r8d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9632
movq 0x8(%rax), %rax
jmp 0xf9d59
movq 0x8(%rbp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq