// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_get_identifier
tp_t xoico_che_s_get_identifier( xoico_che_s* o, x_source* source, bl_t take_from_source )
{
    // xoico_che.x:389:1
    BLM_INIT_LEVEL(0);
    tp_t tp_identifier = 0;
    if( x_source_parse_bl(source,"#?(([0]>='A'&&[0]<='Z')||([0]>='a'&&[0]<='z')||[0]=='_'||[0]=='@'||[0]=='$'||([0]==':'&&([1]!=' '&&[1]!='\t'&&[1]!='\n'&&[1]!='/')))" ) )
    {
        sz_t source_index = take_from_source ? 0 : x_source_get_index(source);
        switch( x_source_inspect_char(source) )
        {
            case '@':
            {
                x_source_get_char(source);
                st_s* st_name = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create()));
                st_s_copy_sc(st_name,xoico_che_s_nameof(o,xoico_host_a_obj_type(o->host) ) );
                if( x_source_parse_bl(source,"#?(([0]>='A'&&[0]<='Z')||([0]>='a'&&[0]<='z')||[0]=='_'||([0]>='0'&&[0]<='9'))" ) )
                {
                    BLM_TRY_EXIT(x_source_parse_fa(source,"#:name", st_name ))
                }
                tp_identifier = xoico_che_s_entypeof(o,st_name->sc );
            }
            break;
    
            case '$':
            {
                x_source_get_char(source);
                tp_identifier = ((tp_t)(TYPEOF_type_deduce));
            }
            break;
    
            case ':':
            {
                BLM_TRY_EXIT(xoico_host_a_parse_name_tp(o->host,source, (&(tp_identifier)) ))
            }
            break;
    
            default:
            {BLM_INIT_LEVEL(4);
                st_s* st_name = ((st_s*)BLM_LEVEL_T_PUSH(4,st_s,st_s_create()));
                BLM_TRY_EXIT(x_source_parse_fa(source,"#name", st_name ))
                tp_identifier = xoico_che_s_entypeof(o,st_name->sc );
            BLM_DOWN();}
            break;
        }
    
        if( !take_from_source ) x_source_set_index(source,source_index );
    }
    
    BLM_RETURNV(tp_t, tp_identifier)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
leaq 0xfa7d4(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x717f5
andq $0x0, 0x10(%r14)
andq $0x0, 0x8(%rsp)
leaq 0x8fcee(%rip), %rsi     # 0xad30c
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x1d7fc
testb %bpl, %bpl
je 0x1d638
xorl %r14d, %r14d
jmp 0x1d643
movq %rbx, %rdi
callq 0x10a95
movq %rax, %r14
movq %rbx, %rdi
callq 0x1048a
cmpb $0x24, %al
je 0x1d73d
movzbl %al, %eax
cmpl $0x3a, %eax
je 0x1d709
cmpl $0x40, %eax
jne 0x1d759
movq %rbx, %rdi
callq 0x104a2
xorl %eax, %eax
callq 0x8eb65
leaq 0x18(%rsp), %rdi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
movq 0x10(%r15), %rdi
callq 0xe8a0
movq %r15, %rdi
movq %rax, %rsi
callq 0x1cf9d
movq %r12, %rdi
movq %rax, %rsi
callq 0x8e611
leaq 0x8fcd6(%rip), %rsi     # 0xad38f
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x1d6f3
leaq 0x8fd12(%rip), %rsi     # 0xad3de
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
je 0x1d6f3
movq %rax, %r13
leaq 0x18(%rsp), %rdi
callq 0x71b64
movl %r13d, %edi
callq 0x2dc20
movq 0x8(%r12), %rsi
addq $0xb0, %r15
movq %r15, %rdi
callq 0x6f48c
jmp 0x1d74f
movq 0x10(%r15), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0xdcb4
testq %rax, %rax
je 0x1d7ec
movq %rax, %r15
leaq 0x18(%rsp), %rdi
callq 0x71b64
movl %r15d, %edi
callq 0x2dc20
jmp 0x1d7ec
movq %rbx, %rdi
callq 0x104a2
movabsq $-0x59040ffc58933ff2, %rax # imm = 0xA6FBF003A76CC00E
movq %rax, 0x8(%rsp)
jmp 0x1d7ec
leaq 0x48(%rsp), %r12
movq %r12, 0x10(%rsp)
leaq 0x18(%rsp), %rsi
movq %r12, %rdi
callq 0x717f5
movq $0x4, 0x10(%r12)
xorl %eax, %eax
callq 0x8eb65
pushq $0x4
popq %rsi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %r12, %rdi
movq %rax, %rcx
callq 0x71967
movq %rax, %r12
leaq 0xa4986(%rip), %rsi     # 0xc2128
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
je 0x1d7c9
movq %rax, %r13
leaq 0x48(%rsp), %rdi
callq 0x71b64
movl %r13d, %edi
callq 0x2dc20
movq 0x8(%r12), %rsi
addq $0xb0, %r15
movq %r15, %rdi
callq 0x6f48c
movq %rax, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x71b48
testb %bpl, %bpl
jne 0x1d7fc
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b09
movq 0x8(%rsp), %rbx
leaq 0x18(%rsp), %rdi
callq 0x71b64
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq