// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_type
er_t xoico_che_s_trans_type( xoico_che_s* o, x_source* source, xoico_che_result* result, xoico_typespec_s* out_typespec )
{
    // xoico_che.x:1165: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,"#?([0]=='!'&&[1]!='=')" ) )
    {
        x_source_get_char(source);
        if( xoico_che_s_is_group(o,tp_identifier ) )
        {
            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Operator '!': lvalue is a group." ))
        }
        xoico_che_result_arr_s_clear(result_local);
    
        BLM_TRY(xoico_che_result_push_fa(((xoico_che_result*)(result_local)),"#<sc_t>_create()", xoico_che_s_nameof(o,tp_identifier ) ))
    
        xoico_typespec_s* typespec = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
        typespec->type = tp_identifier;
        typespec->indirection = 1;
        typespec->flag_addressable = false;
        typespec->access_class = TYPEOF_discardable;
    
        if( x_source_parse_bl(source,"#=?'^'" ) )
        {
            BLM_TRY(xoico_che_s_trans_builtin_scope(o,source,((const xoico_che_result*)( result_local)), typespec, result, NULL ))
            typespec->access_class = TYPEOF_mutable;
        }
        else
        {
            xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_local)) )));
        }
    
        BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec, out_typespec ))
    }
    else 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 $0x68, %rsp
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
leaq 0x16cfb4(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0xe0431
movq $0x0, 0x10(%rbx)
callq 0x4c277
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbp
leaq 0x28(%rsp), %rcx
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x35495
movq %rax, %rbx
testq %rax, %rax
jne 0x3c47f
movq %rbx, 0x8(%rsp)
movq %r14, 0x18(%rsp)
movq %r13, 0x30(%rsp)
movq %r15, 0x20(%rsp)
movq %rbp, %r14
movq %r12, %rsi
movq %rbp, %rdx
callq 0x374b3
movq (%r12), %rbx
leaq 0x16de29(%rip), %r13    # 0x1a9cc8
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x3befa
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x3befa
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x3befa
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x3c422
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x3bf2a
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x16dda9(%rip), %rdi    # 0x1a9cc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xffa8e(%rip), %rdx     # 0x13b9bf
movq %r15, %rdi
movq %r12, %rsi
callq 0x10aa16
movq (%r12), %rbx
movl (%r13), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%r13,%rcx,8), %rdx
movq 0x18(%r13,%rcx,8), %rsi
andq %rbx, %rsi
shlq $0x4, %rsi
leaq (%rdx,%rsi), %rcx
movq (%rdx,%rsi), %rdx
testb %al, %al
je 0x3c020
movl $0x8, %eax
cmpq %rbx, %rdx
je 0x3bfa4
movq 0x10(%rcx), %rdx
movl $0x18, %eax
cmpq %rbx, %rdx
je 0x3bfa4
movq 0x20(%rcx), %rdx
movl $0x28, %eax
cmpq %rbx, %rdx
je 0x3bfa4
movq 0x30(%rcx), %rdx
movl $0x38, %eax
cmpq %rbx, %rdx
jne 0x3c49b
movq (%rcx,%rax), %r15
testq %r15, %r15
jne 0x3bfd4
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x16dcff(%rip), %rdi    # 0x1a9cc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0x17(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq %r12, %rdi
callq *0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
addq $0x50, %rdi
callq 0xd4857
testb %al, %al
je 0x3c12f
leaq 0xff9c8(%rip), %rsi     # 0x13b9d6
movq %r12, %rdi
xorl %eax, %eax
callq 0xddb2
movq %rax, %rbx
jmp 0x3c47f
movl $0x8, %eax
cmpq %rbx, %rdx
je 0x3c058
movq 0x10(%rcx), %rdx
movl $0x18, %eax
cmpq %rbx, %rdx
je 0x3c058
movq 0x20(%rcx), %rdx
movl $0x28, %eax
cmpq %rbx, %rdx
je 0x3c058
movq 0x30(%rcx), %rdx
movl $0x38, %eax
cmpq %rbx, %rdx
jne 0x3c4a3
movq (%rcx,%rax), %r15
movq 0x20(%rsp), %r13
testq %r15, %r15
jne 0x3c08d
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x16dc46(%rip), %rdi    # 0x1a9cc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0x10773c(%rip), %rdx    # 0x1437d0
movq %r15, %rdi
movq %r12, %rsi
callq 0x10aa16
testb %al, %al
je 0x3c222
callq 0x10060
xorl %r15d, %r15d
leaq 0x38(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbx
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
movq %rax, 0x8(%rbx)
movq %r15, 0x20(%rbx)
movb $0x0, 0x2e(%rbx)
movq %r15, 0x10(%rbx)
movq 0x28(%rsp), %rsi
movq 0x18(%rsp), %rdi
callq 0x3417e
leaq 0xff914(%rip), %rsi     # 0x13ba0f
movq %r13, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3bd77
movq %rax, %r15
testq %rax, %rax
je 0x3c11f
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %r15, 0x8(%rsp)
testq %r15, %r15
je 0x3c2d5
xorl %eax, %eax
jmp 0x3c474
movq 0x8(%r14), %rbx
leaq 0x16cce6(%rip), %rax    # 0x1a8e20
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbx, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x3c194
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x3c194
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x3c194
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x3c4ab
movq (%rax,%rcx), %r15
addq $0x8, %rbp
testq %r15, %r15
jne 0x3c1c8
movabsq $-0x5073d588c3beb52e, %rdi # imm = 0xAF8C2A773C414AD2
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x16cc63(%rip), %rdi    # 0x1a8e20
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0xf6359
movq 0x28(%rsp), %rsi
movq 0x18(%rsp), %rdi
callq 0x3417e
leaq 0xff80c(%rip), %rsi     # 0x13b9f7
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3bd77
movq %rax, %rbx
testq %rax, %rax
je 0x3c20f
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
je 0x3c2e8
movq 0x8(%rsp), %rbx
jmp 0x3c489
movq %r14, %rdi
callq 0xc8348
movq %rax, %rbx
movq (%r13), %r14
leaq 0x166278(%rip), %rax    # 0x1a24b0
movl 0x166272(%rip), %ecx    # 0x1a24b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x3c296
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x3c296
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x3c296
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x3c4b3
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x3c2c6
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x1661f5(%rip), %rdi    # 0x1a24b0
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r13, %rdi
movq %rbx, %rsi
callq *0x38(%r15)
jmp 0x3c47d
movq 0x18(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbx, %rcx
jmp 0x3c44e
callq 0x10060
leaq 0x38(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbp
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rbp)
movq $0x1, 0x20(%rbp)
movb $0x0, 0x2e(%rbp)
movabsq $-0x12e90733f18038df, %rax # imm = 0xED16F8CC0E7FC721
movq %rax, 0x10(%rbp)
movq (%r12), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x3c38b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x3c38b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x3c38b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x3c4bb
movq (%rax,%rcx), %r15
movq 0x20(%rsp), %r13
testq %r15, %r15
jne 0x3c3c0
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x16d913(%rip), %rdi    # 0x1a9cc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xff641(%rip), %rdx     # 0x13ba08
movq %r15, %rdi
movq %r12, %rsi
callq 0x10aa16
testb %al, %al
je 0x3c42a
movq %r14, %rdx
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
movq %rbp, %rcx
movq %r13, %r8
xorl %r9d, %r9d
callq 0x3c584
movq %rax, %rbx
testq %rax, %rax
je 0x3c409
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
jne 0x3c128
movabsq $-0x2c53c3baa9910217, %rax # imm = 0xD3AC3C45566EFDE9
movq %rax, 0x10(%rbp)
jmp 0x3c442
xorl %r15d, %r15d
jmp 0x3befe
movq %r14, %rdi
callq 0xc8348
movq %r13, %rdi
movq %rax, %rsi
callq 0x37d93
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
movq 0x30(%rsp), %r8
callq 0x3cec1
movq %rax, %rbx
testq %rax, %rax
sete %al
je 0x3c474
leaq 0x38(%rsp), %rdi
callq 0xe0b30
xorl %eax, %eax
movq %rbx, 0x8(%rsp)
testb %al, %al
movq 0x8(%rsp), %rbx
je 0x3c489
xorl %ebx, %ebx
leaq 0x38(%rsp), %rdi
callq 0xe0b30
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x3bfa8
xorl %r15d, %r15d
jmp 0x3c05c
xorl %r15d, %r15d
jmp 0x3c198
xorl %r15d, %r15d
jmp 0x3c29a
xorl %r15d, %r15d
jmp 0x3c38f