// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_name
er_t xoico_che_s_trans_name( xoico_che_s* o, x_source* source, xoico_che_result* result, xoico_typespec_s* out_typespec )
{
    // xoico_che.x:1227:1
    BLM_INIT_LEVEL(0);
    xoico_che_result_arr_s* result_local = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
    tp_t tp_identifier;
    BLM_TRY(xoico_che_s_trans_identifier(o,source,((xoico_che_result*)( result_local)),&( tp_identifier )))
    BLM_TRY(xoico_che_s_trans_whitespace(o,source,((xoico_che_result*)( result_local ))))
    if( x_source_parse_bl(source,"#?'~'" ) )
    {
        xoico_typespec_s* typespec = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
        typespec->type = ((tp_t)(TYPEOF_tp_t));
        typespec->indirection = 0;
        typespec->flag_addressable = false;
        typespec->access_class = 0;
        BLM_TRY(xoico_che_result_push_fa(result,"((tp_t)(TYPEOF_#<sc_t>))", xoico_che_s_nameof(o,tp_identifier ) ))
        BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec, out_typespec ))
    }
    else
    {
        xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_local)) )));
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r15
leaq 0x16194f(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0xd6675
movq $0x0, 0x10(%r14)
callq 0x46f7e
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r14
leaq 0x20(%rsp), %rcx
movq %r15, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x3315f
testq %rax, %rax
je 0x3a4d8
movq %rax, %rbp
jmp 0x3a6e3
movq %r15, 0x18(%rsp)
movq %rbx, 0x8(%rsp)
movq %r13, %rsi
movq %r14, 0x10(%rsp)
movq %r14, %rdx
callq 0x34da0
movq (%r13), %rbp
leaq 0x1627cb(%rip), %rax    # 0x19ccc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x3a553
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x3a553
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x3a553
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x3a55c
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x3a583
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x162750(%rip), %rdi    # 0x19ccc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
leaq 0xfe0be(%rip), %rdx     # 0x138648
movq %r14, %rdi
movq %r13, %r15
movq %r13, %rsi
callq 0xffe2b
testb %al, %al
movq %r12, %rbx
je 0x3a635
callq 0xffc0
xorl %r14d, %r14d
leaq 0x28(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
movq %rax, 0x8(%r13)
movq %r14, 0x20(%r13)
movb $0x0, 0x2e(%r13)
movq %r14, 0x10(%r13)
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x31f9d
leaq 0xf6414(%rip), %rsi     # 0x130a0f
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x38f32
testq %rax, %rax
jne 0x3a4d0
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %r13, %rcx
movq 0x8(%rsp), %r8
callq 0x39e38
testq %rax, %rax
jne 0x3a4d0
jmp 0x3a6e1
movq 0x10(%rsp), %rdi
callq 0xbe7e4
movq %rax, %r14
movq (%rbx), %r15
leaq 0x15ae64(%rip), %rax    # 0x1954b0
movl 0x15ae5e(%rip), %ecx    # 0x1954b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x3a6a6
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x3a6a6
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x3a6a6
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x3a6af
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x3a6d6
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x15ade5(%rip), %rdi    # 0x1954b0
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbx, %rdi
movq %r14, %rsi
callq *0x38(%r12)
xorl %ebp, %ebp
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movq %rbp, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq