// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
leaq 0x18c0ae(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xbfe80
movq -0x68(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0x110(%rbp)
callq 0x35ee0
movq -0x110(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
callq 0xc01a0
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x70(%rbp), %rdx
leaq -0x78(%rbp), %rcx
callq 0x236f0
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x26327
movq -0x80(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x88(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x70(%rbp), %rdx
callq 0x23fd0
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
je 0x26370
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0x18(%rbp), %rdi
leaq 0x11094f(%rip), %rsi    # 0x136cca
callq 0x6700
testb $0x1, %al
jne 0x26389
jmp 0x265bc
movq -0x18(%rbp), %rdi
callq 0xa490
movq -0x10(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x25740
testb $0x1, %al
jne 0x263a5
jmp 0x263d7
movq -0x18(%rbp), %rdi
leaq 0x110931(%rip), %rsi    # 0x136ce1
movb $0x0, %al
callq 0x4c80
movq %rax, -0xa0(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0xa0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0x70(%rbp), %rdi
callq 0x26760
movq -0x70(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x10(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x22840
movq -0x118(%rbp), %rdi
movq %rax, %rdx
leaq 0x1108f9(%rip), %rsi    # 0x136d02
movb $0x0, %al
callq 0x261b0
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x26448
movq -0xa8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0x30(%rbp), %rax
movq %rax, -0x120(%rbp)
callq 0x5d20
movq -0x120(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
callq 0xc01a0
movq %rax, -0xb8(%rbp)
movq -0x78(%rbp), %rcx
movq -0xb8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0xb8(%rbp), %rax
movq $0x1, 0x20(%rax)
movq -0xb8(%rbp), %rax
movb $0x0, 0x2e(%rax)
movq -0xb8(%rbp), %rax
movabsq $-0x12e90733f18038df, %rcx # imm = 0xED16F8CC0E7FC721
movq %rcx, 0x10(%rax)
movq -0x18(%rbp), %rdi
leaq 0x11084e(%rip), %rsi    # 0x136d13
callq 0x6700
testb $0x1, %al
jne 0x264d0
jmp 0x26540
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x70(%rbp), %rdx
movq -0xb8(%rbp), %rcx
movq -0x20(%rbp), %r8
xorl %eax, %eax
movl %eax, %r9d
callq 0x26790
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x26529
movq -0xc0(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0xc8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0xb8(%rbp), %rax
movabsq $-0x2c53c3baa9910217, %rcx # imm = 0xD3AC3C45566EFDE9
movq %rcx, 0x10(%rax)
jmp 0x26563
movq -0x20(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x70(%rbp), %rdi
callq 0x9d3d0
movq -0x128(%rbp), %rdi
movq %rax, %rsi
callq 0x24290
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0xb8(%rbp), %rcx
movq -0x28(%rbp), %r8
callq 0x27020
movq %rax, -0xd0(%rbp)
cmpq $0x0, -0xd0(%rbp)
je 0x265b7
movq -0xd0(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
jmp 0x26727
movq -0x18(%rbp), %rdi
leaq 0x119d6d(%rip), %rsi    # 0x140334
callq 0x6700
testb $0x1, %al
jne 0x265d5
jmp 0x26702
movq -0x30(%rbp), %rax
movq %rax, -0x138(%rbp)
callq 0x5d20
movq -0x138(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
callq 0xc01a0
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movabsq $0x6d07f9ef5b68e8a2, %rcx # imm = 0x6D07F9EF5B68E8A2
movq %rcx, 0x8(%rax)
movq -0xe0(%rbp), %rax
movq $0x0, 0x20(%rax)
movq -0xe0(%rbp), %rax
movb $0x0, 0x2e(%rax)
movq -0xe0(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x10(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x22840
movq -0x130(%rbp), %rdi
movq %rax, %rdx
leaq 0x1106aa(%rip), %rsi    # 0x136d1a
movb $0x0, %al
callq 0x261b0
movq %rax, -0xe8(%rbp)
cmpq $0x0, -0xe8(%rbp)
je 0x266af
movq -0xe8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0xf0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0xe0(%rbp), %rcx
movq -0x28(%rbp), %r8
callq 0x27020
movq %rax, -0xf8(%rbp)
cmpq $0x0, -0xf8(%rbp)
je 0x26700
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x100(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x26746
jmp 0x26725
movq -0x20(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x70(%rbp), %rdi
callq 0x9d3d0
movq -0x140(%rbp), %rdi
movq %rax, %rsi
callq 0x24290
jmp 0x26727
movq $0x0, -0x108(%rbp)
movq -0x68(%rbp), %rdi
callq 0xc0720
movq -0x108(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw %cs:(%rax,%rax)