// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_typespec_member
er_t xoico_che_s_trans_typespec_member( xoico_che_s* o, x_source* source, xoico_che_result* result, const xoico_typespec_s* in_typespec, xoico_typespec_s* out_typespec )
{
    // xoico_che_trans_typespec.x:28:1
    BLM_INIT_LEVEL(0);
    if( x_source_parse_bl(source,"#?'->'" ) )
    {
        if( in_typespec->indirection != 1 )
        {
            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Given indirection is '#<sz_t>'. '->' can only be used at indirection '1'.", in_typespec->indirection ))
        }
    }
    else
    {
        BLM_TRY(x_source_parse_fa(source,"." ))
    }
    BLM_TRY(x_source_parse_fa(source," " ))
    xoico_compiler_element_info_s* info = ((xoico_compiler_element_info_s*)BLM_LEVEL_T_PUSH(0,xoico_compiler_element_info_s,xoico_compiler_element_info_s_create()));
    
    char c = x_source_inspect_char(source);
    
    if( c >= '0' && c <= '9' )
    {
        xoico_typespec_s* typespec_adapted = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_clone(in_typespec)));
        sz_t adapted_indirection = 0;
        BLM_TRY(x_source_parse_fa(source,"#<sz_t*>", &adapted_indirection ))
    
        typespec_adapted->indirection = adapted_indirection;
    
        xoico_che_result_arr_s* result_adapted = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
        BLM_TRY(xoico_che_result_arr_s_push_sc(result_adapted,"(" ))
        BLM_TRY(xoico_che_s_adapt_expression(o,source, in_typespec, typespec_adapted, result,((xoico_che_result*)( result_adapted ))))
        BLM_TRY(xoico_che_result_arr_s_push_sc(result_adapted,")" ))
        xoico_che_result_a_clear(result);
        xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_adapted)) )));
        BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec_adapted, out_typespec ))
        BLM_RETURNV(er_t, 0)
    }
    
    if( c == '*' || c == '&' )
    {
        BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Postfix operators '&' and '*' are deprecated. Use numeric indirection level.\n" ))
    }
    
    if( x_source_parse_bl(source,"#=?'['" ) || x_source_parse_bl(source,"#=?'?['" ) ) // array subscript
    {
        bl_t bounds_check = false;
        if( x_source_parse_bl(source,"#=?'?'" ) )
        {
            BLM_TRY(x_source_parse_fa(source,"?[" ))
            bounds_check = true;
        }
        else
        {
            BLM_TRY(x_source_parse_fa(source,"[" ))
        }
    
        if( bounds_check ) BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Bounds check not yet available." ))
    
        if( in_typespec->indirection > 1 )
        {
            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Resolving subscript: Indirection '#<sz_t>' is too large.",
                in_typespec->indirection
            ))
        }
    
        BLM_TRY(xoico_che_result_push_fa(result,"#<sc_t>data[", ( in_typespec->indirection == 1 ) ? "->" : "." ))
        BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL ))
        BLM_TRY(x_source_parse_fa(source,"]" ))
        BLM_TRY(xoico_che_result_a_push_sc(result,"]" ))
    
        if( xoico_compiler_s_get_type_array_element_info(o->compiler,in_typespec->type, info ) )
        {
            BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result,&( info->type_info.typespec), out_typespec ))
        }
        else
        {
            BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL ))
        }
    }
    else // member (object or function)
    {BLM_INIT_LEVEL(1);
        xoico_che_result_arr_s* result_local = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(1,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
    
        /// function_without_brackets is used for shortcuts (e.g. .! or .#) that are expanded as unary member functions with implicit arguments
        bl_t function_without_brackets = false;
    
        tp_t tp_identifier = xoico_che_s_get_identifier(o,source, true );
        if( !tp_identifier )
        {
            if( x_source_parse_bl(source,"#=?'('" ) ) // anonymous function call
            {
                tp_identifier = xoico_che_s_entypeof(o,"" );
            }
            else if( x_source_parse_bl(source,"#?'!'" ) ) // function 'clone'
            {
                tp_identifier = xoico_che_s_entypeof(o,"clone" );
                function_without_brackets = true;
            }
            else if( x_source_parse_bl(source,"#?'#'" ) ) // function 'fork'
            {
                tp_identifier = xoico_che_s_entypeof(o,"fork" );
                function_without_brackets = true;
            }
            else
            {
                BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Identifier expected" ))
            }
        }
        BLM_TRY(xoico_che_result_arr_s_push_sc(result_local,xoico_che_s_nameof(o,tp_identifier ) ))
    
        BLM_TRY(xoico_che_s_trans_whitespace(o,source,((xoico_che_result*)( result_local ))))
    
        bl_t try_member_function = function_without_brackets || x_source_parse_bl(source,"#=?'('" );
        bl_t try_member_object   = !try_member_function;
    
        if( try_member_function )
        {
            if( xoico_che_s_is_builtin_func(o,tp_identifier ) )
            {
                xoico_typespec_s* typespec_builtin = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
                BLM_TRY(xoico_che_s_trans_builtin(o,tp_identifier, source, function_without_brackets, result, in_typespec,((xoico_che_result*)( result_local)), typespec_builtin ))
                xoico_che_result_a_copy(result,((const xoico_che_result*)(result_local )));
                BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec_builtin, out_typespec ))
            }
            else if( xoico_compiler_s_get_type_member_function_info(o->compiler,in_typespec->type, tp_identifier, info ) )
            {BLM_INIT_LEVEL(4);
                xoico_typespec_s* typespec_ret = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(4,xoico_typespec_s,xoico_typespec_s_create()));
                xoico_che_result* result_object_expr = ((xoico_che_result*)BLM_LEVEL_A_PUSH(4,xoico_che_result_a_clone(result)));
                xoico_che_result_a_clear(result);
                BLM_TRY(xoico_che_s_trans_function(o,source, function_without_brackets, info->func, result_object_expr, in_typespec, result, typespec_ret ))
                BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec_ret, out_typespec ))
            BLM_DOWN();}
            // possibly a compact function of a member object
            else if( xoico_compiler_s_get_type_member_object_info(o->compiler,in_typespec->type, tp_identifier, info ) )
            {
                try_member_object = true;
            }
            else // untraced member function
            {
                if( !o->waive_unknown_member_function )
                {
                    BLM_RETURNV(er_t, x_source_parse_error_fa(source,"'#<sc_t>' has no member function '#<sc_t>'.", xoico_che_s_nameof(o,in_typespec->type ), xoico_che_s_nameof(o,tp_identifier ) ))
                }
    
                xoico_che_result* result_arg_obj = ((xoico_che_result*)BLM_LEVEL_A_PUSH(0,xoico_che_result_a_clone(result)));
                xoico_che_result_a_clear(result);
    
                /// Untraced member functions of a group are always treated as 'aware'
                if( xoico_che_s_is_group(o,in_typespec->type ) )
                {
                    BLM_TRY(xoico_che_result_copy_fa(result,"#<sc_t>_a_#<sc_t>( ",
                        xoico_che_s_nameof(o,in_typespec->type ),
                        xoico_che_s_nameof(o,tp_identifier )
                    ))
                }
                else
                {
                    BLM_TRY(xoico_che_result_copy_fa(result,"#<sc_t>_#<sc_t>( ",
                        xoico_che_s_nameof(o,in_typespec->type ),
                        xoico_che_s_nameof(o,tp_identifier )
                    ))
                }
    
                {
                    xoico_typespec_s* typespec_obj = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_clone(in_typespec)));
                    typespec_obj->indirection = 1; // first argument of member functions
                    BLM_TRY(xoico_che_s_adapt_expression(o,source, in_typespec, typespec_obj, result_arg_obj, result ))
                }
    
                bl_t first = true;
                BLM_TRY(xoico_che_s_trans_whitespace(o,source,((xoico_che_result*)( result_local ))))
                while( !x_source_eos(source) )
                {BLM_INIT_LEVEL(4);
                    if( x_source_parse_bl(source,"#=?')'" ) ) BLM_BREAK_LEVEL(4);
    
                    xoico_che_result_arr_s* result_expr = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(4,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
                    if( !first ) BLM_TRY(x_source_parse_fa(source,"," ))
                    BLM_TRY(xoico_che_s_trans_expression(o,source,((xoico_che_result*)( result_expr)), NULL ))
                    BLM_TRY(xoico_che_s_trans_whitespace(o,source,((xoico_che_result*)( result_expr ))))
                    BLM_TRY(xoico_che_result_push_fa(result,"," ))
                    xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_expr)) )));
                    first = false;
                BLM_DOWN();}
    
                BLM_TRY(x_source_parse_fa(source,")" ))
                BLM_TRY(xoico_che_result_a_push_sc(result,")" ))
    
                BLM_TRY(xoico_che_s_trans_expression(o,source, result, NULL ))
            }
        }
    
        if( try_member_object ) // member object
        {
            // traced member object
            if( xoico_compiler_s_get_type_member_object_info(o->compiler,in_typespec->type, tp_identifier, info ) )
            {
                if( in_typespec->indirection <= 1 )
                {
                    BLM_TRY(xoico_che_result_push_fa(result,"#<sc_t>", ( in_typespec->indirection == 1 ) ? "->" : "." ))
                }
                else
                {BLM_INIT_LEVEL(4);
                    xoico_che_result* result_object_expr = ((xoico_che_result*)BLM_LEVEL_A_PUSH(4,xoico_che_result_a_clone(result)));
                    xoico_che_result_a_clear(result);
                    BLM_TRY(xoico_che_result_push_fa(result,"(#rn{*}(", in_typespec->indirection ))
                    xoico_che_result_a_push_result_d(result,((xoico_che_result*)bcore_fork(result_object_expr)) );
                    BLM_TRY(xoico_che_result_push_fa(result,"))." ))
                BLM_DOWN();}
                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,&( info->type_info.typespec), out_typespec ))
            }
    
            // traced member function used as element of type fp_t
            else if( xoico_compiler_s_get_type_member_function_info(o->compiler,in_typespec->type, tp_identifier, info ) )
            {BLM_INIT_LEVEL(4);
                xoico_che_result_a_clear(result);
                BLM_TRY(xoico_che_result_push_fa(result,"#<sc_t>_#<sc_t>", xoico_che_s_nameof(o,in_typespec->type ), xoico_che_s_nameof(o,tp_identifier ) ))
    
                xoico_typespec_s* typespec = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(4,xoico_typespec_s,xoico_typespec_s_create()));
                typespec->type = ((tp_t)(TYPEOF_fp_t));
                typespec->indirection = 0;
                typespec->access_class = ((tp_t)(TYPEOF_const));
                typespec->flag_addressable = false;
                BLM_TRY(xoico_che_s_trans_typespec_expression(o,source, result, typespec, out_typespec ))
            BLM_DOWN();}
    
            else // untraced member object
            {
                if( !o->waive_unknown_member_variable )
                {
                    BLM_RETURNV(er_t, x_source_parse_error_fa(source,"'#<sc_t>' has no member '#<sc_t>'.", xoico_che_s_nameof(o,in_typespec->type ), xoico_che_s_nameof(o,tp_identifier ) ))
                }
                BLM_TRY(xoico_che_result_push_fa(result,"#<sc_t>", ( in_typespec->indirection == 1 ) ? "->" : "." ))
                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_expression(o,source, result, NULL ))
            }
        }
    BLM_DOWN();}
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, (%rsp)
leaq 0xf5379(%rip), %rax     # 0x117dd0
movq (%rax), %rsi
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x717f5
andq $0x0, 0x10(%r14)
leaq 0x8add5(%rip), %rsi     # 0xad848
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x22a9c
movq 0x20(%r13), %rdx
cmpq $0x1, %rdx
je 0x22ab2
leaq 0x8b6a8(%rip), %rsi     # 0xae138
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd7c4
jmp 0x22ac8
leaq 0x8b0f0(%rip), %rsi     # 0xadb93
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22ac8
leaq 0x9ecc4(%rip), %rsi     # 0xc177d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
je 0x22aea
movq %rax, %rbp
leaq 0x60(%rsp), %rdi
callq 0x71b64
movq %rbp, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1c0df
leaq 0x60(%rsp), %rdi
movabsq $0x2b083548d3276fd7, %rdx # imm = 0x2B083548D3276FD7
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r14
movq %rbx, %rdi
callq 0x1048a
leal -0x30(%rax), %ecx
cmpb $0x9, %cl
ja 0x22c22
movq %r13, %rdi
callq 0xe0b1
leaq 0x60(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r14
leaq 0x30(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0x8b62f(%rip), %rsi     # 0xae182
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22ac8
movq %r15, 0x8(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x20(%r14)
callq 0x2637f
leaq 0x60(%rsp), %rdi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq %rax, %r15
leaq 0x87952(%rip), %rsi     # 0xaa4ee
movq %rax, %rdi
callq 0x209ff
testq %rax, %rax
jne 0x22ac8
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r14, %rcx
movq 0x8(%rsp), %r8
movq %r15, %r9
callq 0x1e44c
testq %rax, %rax
jne 0x22ac8
leaq 0xa6310(%rip), %rsi     # 0xc8ee7
movq %r15, %rdi
callq 0x209ff
testq %rax, %rax
jne 0x22ac8
movq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x235f4
movq %r15, %rdi
callq 0x6026d
movq %r13, %rdi
movq %rax, %rsi
callq 0x1de41
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r14, %rcx
movq %r12, %r8
callq 0x1f555
jmp 0x22ac8
cmpb $0x2a, %al
je 0x22c2e
movzbl %al, %eax
cmpl $0x26, %eax
jne 0x22c44
leaq 0x8b556(%rip), %rsi     # 0xae18b
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd7c4
jmp 0x22ac8
leaq 0x8af8c(%rip), %rsi     # 0xadbd7
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
jne 0x22c6a
leaq 0x8b57b(%rip), %rsi     # 0xae1d9
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x22cd4
leaq 0x8af5f(%rip), %rsi     # 0xadbd0
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x22ca0
leaq 0x8b55d(%rip), %rsi     # 0xae1e1
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22ac8
leaq 0x8b546(%rip), %rsi     # 0xae1e4
jmp 0x22c35
leaq 0x8b53b(%rip), %rsi     # 0xae1e2
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22ac8
movq 0x20(%r13), %rdx
cmpq $0x2, %rdx
jl 0x22d6a
leaq 0x8b535(%rip), %rsi     # 0xae204
jmp 0x22a90
movq %r14, 0x28(%rsp)
movabsq $-0x7850996cdf80346a, %rbp # imm = 0x87AF6693207FCB96
leaq 0x30(%rsp), %r14
movq %r14, 0x90(%rsp)
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x717f5
movq $0x1, 0x10(%r14)
callq 0x2637f
pushq $0x1
popq %rsi
movq %r14, %rdi
movq %rbp, %rdx
movq %rax, %rcx
callq 0x71967
movq %rax, 0x8(%rsp)
pushq $0x1
popq %rdx
movq (%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x1d5df
testq %rax, %rax
je 0x22d44
movl $0x0, 0x20(%rsp)
jmp 0x22e76
leaq 0x8833e(%rip), %rsi     # 0xab089
movq %rbx, %rdi
callq 0xe5ff
movl %eax, %r14d
testb %al, %al
je 0x22e27
leaq 0xa3867(%rip), %rsi     # 0xc65cc
jmp 0x22e61
cmpq $0x1, %rdx
leaq 0x8aada(%rip), %rax     # 0xad84f
leaq 0x8ae17(%rip), %rdx     # 0xadb93
cmoveq %rax, %rdx
leaq 0x8b4b6(%rip), %rsi     # 0xae23d
movq %r15, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x22ac8
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x1fc8a
testq %rax, %rax
jne 0x22ac8
leaq 0x9227c(%rip), %rsi     # 0xb5037
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22ac8
leaq 0x92262(%rip), %rsi     # 0xb5037
movq %r15, 0x8(%rsp)
movq %r15, %rdi
callq 0x1d59d
testq %rax, %rax
jne 0x22ac8
movq (%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x8(%r13), %rsi
movq %r14, %rdx
callq 0x1cc0a
testb %al, %al
je 0x2357b
addq $0x10, %r14
movq (%rsp), %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rcx
movq %r12, %r8
callq 0x1f555
jmp 0x2358e
leaq 0x9292d(%rip), %rsi     # 0xb575b
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x22e43
leaq 0x9ff5d(%rip), %rsi     # 0xc2d9e
jmp 0x22e61
leaq 0x8b400(%rip), %rsi     # 0xae24a
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x231ba
leaq 0xa83f0(%rip), %rsi     # 0xcb251
xorb $0x1, %r14b
movl %r14d, 0x20(%rsp)
leaq 0xb0(%rbp), %rdi
callq 0x6f48c
movq %rbp, %rdi
movq %rax, %rsi
movq %rax, 0x18(%rsp)
callq 0x1cf9d
movq %rbp, %r14
movq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
callq 0x209ff
testq %rax, %rax
je 0x22eab
movq %rax, %rbp
leaq 0x30(%rsp), %rdi
jmp 0x22ad0
movq %rbp, %rcx
movq %rbx, %rsi
movq %rcx, %rdx
callq 0x1dc6b
cmpb $0x0, 0x20(%rsp)
jne 0x22ed7
leaq 0x881c2(%rip), %rsi     # 0xab089
movq %rbx, %rdi
callq 0xe5ff
testb %al, %al
je 0x2306a
movq 0x18(%rsp), %r14
movq %r14, %rsi
callq 0x1ce75
testb %al, %al
je 0x22f7a
callq 0xe090
leaq 0x30(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movzbl 0x20(%rsp), %ecx
movq (%rsp), %rdi
movq %r14, %rsi
movq %rax, %r14
movq %rbx, %rdx
movq %r15, %r8
movq %r13, %r9
pushq %rax
pushq %rbp
callq 0x20617
addq $0x10, %rsp
testq %rax, %rax
jne 0x22e9e
movq %rbp, %r13
movq (%rbp), %rsi
movabsq $-0x2c7f7969b22e7014, %rdi # imm = 0xD38086964DD18FEC
callq 0x999d4
movq (%r15), %rdi
callq 0x2d533
cmpq %r15, %rbp
je 0x22f68
movq %r13, %rdx
movq %rax, %rdi
movq %r15, %rsi
callq *0x90(%rax)
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r14, %rcx
jmp 0x2354c
movq (%rsp), %rax
movq %rax, %rbp
movq 0x18(%rax), %rdi
movq 0x8(%r13), %rsi
movq %r14, %rdx
movq 0x28(%rsp), %rcx
callq 0x1c8b0
testb %al, %al
je 0x23049
movq %r15, %r14
leaq 0x98(%rsp), %r15
movq %r15, 0x10(%rsp)
leaq 0x30(%rsp), %rsi
movq %r15, %rdi
callq 0x717f5
movq $0x4, 0x10(%r15)
callq 0xe090
pushq $0x4
popq %rsi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
movq %r15, %rdi
movq %rax, %rcx
callq 0x71967
movq %rax, %rbp
movq %r14, %rdi
callq 0x23604
movq %r15, %rdi
pushq $0x4
popq %rsi
movq %rax, %rdx
callq 0x71a90
movq %rax, %r15
movq %r14, %rdi
callq 0x235f4
movq 0x28(%rsp), %rax
movq 0x48(%rax), %rcx
movzbl 0x20(%rsp), %edx
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r15, %r8
movq %rbp, %r15
movq %r13, %r9
pushq %rbp
pushq %r14
callq 0x20854
addq $0x10, %rsp
testq %rax, %rax
jne 0x232ce
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %rcx
jmp 0x2319a
movq 0x18(%rbp), %rdi
movq 0x8(%r13), %rsi
movq %r14, %rdx
movq 0x28(%rsp), %rcx
callq 0x1ca0e
testb %al, %al
movq (%rsp), %r14
je 0x231d0
movq 0x18(%r14), %rdi
movq 0x8(%r13), %rsi
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %rbp
movq %rbp, %rcx
callq 0x1ca0e
testb %al, %al
je 0x230c4
cmpq $0x1, 0x20(%r13)
jg 0x23241
leaq 0x8a7b5(%rip), %rax     # 0xad84f
leaq 0x8aaf2(%rip), %rdx     # 0xadb93
cmoveq %rax, %rdx
leaq 0x9fa5d(%rip), %rsi     # 0xc2b09
movq %r15, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x22e9e
jmp 0x23525
movq 0x18(%r14), %rdi
movq 0x8(%r13), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rcx
callq 0x1c8b0
testb %al, %al
je 0x232de
leaq 0x98(%rsp), %rbp
movq %rbp, 0x10(%rsp)
leaq 0x30(%rsp), %rsi
movq %rbp, %rdi
callq 0x717f5
movq $0x4, 0x10(%rbp)
movq %r15, %rdi
callq 0x235f4
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x1cf9d
movq %rax, %r13
movq %r14, %rdi
movq 0x18(%rsp), %rsi
callq 0x1cf9d
leaq 0x87c4e(%rip), %rsi     # 0xaad7c
movq %r15, %rdi
movq %r13, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x232ce
callq 0xe090
leaq 0x98(%rsp), %rdi
pushq $0x4
popq %rsi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
movq %rax, %rcx
callq 0x71967
movabsq $0x6db6f178cd6db4b8, %rcx # imm = 0x6DB6F178CD6DB4B8
movq %rcx, 0x8(%rax)
andq $0x0, 0x20(%rax)
movabsq $0x65c9718e19e3df34, %rcx # imm = 0x65C9718E19E3DF34
movq %rcx, 0x10(%rax)
movb $0x0, 0x2e(%rax)
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
movq %r12, %r8
callq 0x1f555
testq %rax, %rax
jne 0x232ce
leaq 0x10(%rsp), %rdi
callq 0x71b48
jmp 0x2355d
leaq 0x8a224(%rip), %rsi     # 0xad3e5
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd7c4
jmp 0x22e9e
cmpb $0x0, 0xc(%r14)
je 0x23344
movq %r15, %rdi
callq 0x23604
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x71a90
movq %rax, 0x20(%rsp)
movq %r15, %rdi
callq 0x235f4
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x1e874
movl %eax, %ebp
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x1cf9d
movq %r15, %r12
movq %rax, %r15
movq %r14, %rdi
movq 0x18(%rsp), %rsi
callq 0x1cf9d
testb %bpl, %bpl
je 0x233a1
leaq 0x8b040(%rip), %rsi     # 0xae27c
jmp 0x233a8
leaq 0x98(%rsp), %r14
movq %r14, 0x10(%rsp)
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x717f5
movq $0x4, 0x10(%r14)
movq %r15, %rdi
callq 0x23604
pushq $0x4
popq %rsi
movq %r14, %rdi
movq %rax, %rdx
callq 0x71a90
movq %rax, %r14
movq %r15, %rdi
callq 0x235f4
movq 0x20(%r13), %rdx
leaq 0x8b013(%rip), %rsi     # 0xae2a2
movq %r15, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x232ce
movq %r14, %rdi
callq 0x6026d
movq %r15, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x8aff3(%rip), %rsi     # 0xae2ab
movq %r15, %r14
movq %r15, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
je 0x23514
movq %rax, %rbp
leaq 0x98(%rsp), %rdi
jmp 0x22ad0
cmpb $0x0, 0xb(%r14)
je 0x23369
cmpq $0x1, 0x20(%r13)
leaq 0x8a55a(%rip), %rax     # 0xad84f
leaq 0x8a897(%rip), %rdx     # 0xadb93
cmoveq %rax, %rdx
leaq 0x9f802(%rip), %rsi     # 0xc2b09
movq %r15, %rdi
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x22e9e
movq 0x8(%rsp), %rdi
callq 0x6026d
movq %r15, %rdi
movq %rax, %rsi
callq 0x1de41
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x1fc8a
jmp 0x23554
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x1cf9d
movq %r14, %rdi
movq %rax, %r14
movq 0x18(%rsp), %rsi
callq 0x1cf9d
leaq 0x8aee9(%rip), %rsi     # 0xae250
jmp 0x2338c
movq 0x8(%r13), %rsi
movq %r14, %rdi
callq 0x1cf9d
movq %r14, %rdi
movq %rax, %r14
movq 0x18(%rsp), %rsi
callq 0x1cf9d
leaq 0x8af23(%rip), %rsi     # 0xae2af
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xd7c4
jmp 0x22e9e
leaq 0x8aee8(%rip), %rsi     # 0xae290
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2362e
testq %rax, %rax
jne 0x22e9e
movq %r13, %rdi
callq 0xe0b1
leaq 0x30(%rsp), %rdi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
xorl %esi, %esi
movq %rax, %rcx
callq 0x71967
movq $0x1, 0x20(%rax)
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %rax, %rcx
movq 0x20(%rsp), %r8
movq %r12, %r13
movq %r12, %r9
callq 0x1e44c
testq %rax, %rax
jne 0x22e9e
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
callq 0x1dc6b
movb $0x1, %bpl
leaq 0x98(%rsp), %r12
movq %rbx, %rdi
callq 0xe626
testb %al, %al
jne 0x235b3
movq %r12, 0x10(%rsp)
movq %r12, %rdi
leaq 0x30(%rsp), %rsi
callq 0x717f5
movq 0x10(%rsp), %r14
movq $0x4, 0x10(%r14)
movq %rbx, %rdi
leaq 0x87090(%rip), %rsi     # 0xaa4f1
callq 0xe5ff
testb %al, %al
jne 0x235a6
callq 0x2637f
movq %r14, %rdi
pushq $0x4
popq %rsi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0x71967
movq %rax, %r14
testb $0x1, %bpl
jne 0x234ae
movq %rbx, %rdi
leaq 0x87ca6(%rip), %rsi     # 0xab144
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x23599
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x1fc8a
testq %rax, %rax
jne 0x23599
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1dc6b
movq %r13, %r15
movq %r13, %rdi
leaq 0x87c64(%rip), %rsi     # 0xab144
xorl %eax, %eax
callq 0x1edfd
testq %rax, %rax
jne 0x23599
movq %r14, %rdi
callq 0x6026d
movq %r15, %rdi
movq %rax, %rsi
callq 0x1de41
leaq 0x10(%rsp), %rdi
callq 0x71b48
xorl %ebp, %ebp
jmp 0x23428
leaq 0x10(%rsp), %rdi
callq 0x71b48
movq %r14, %r15
movq (%rsp), %r14
movq 0x8(%rsp), %rdi
callq 0x6026d
movq %r15, %rdi
movq %rax, %rsi
callq 0x1de41
movq 0x28(%rsp), %rcx
addq $0x10, %rcx
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %r8
callq 0x1f555
testq %rax, %rax
jne 0x22e9e
leaq 0x90(%rsp), %rdi
callq 0x71b48
leaq 0x60(%rsp), %rdi
callq 0x71b64
xorl %ebp, %ebp
jmp 0x22ad5
movq (%rsp), %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
xorl %ecx, %ecx
callq 0x1fc8a
testq %rax, %rax
jne 0x22ac8
jmp 0x2356a
movq %rax, %rbp
movq 0x10(%rsp), %rdi
jmp 0x22ad0
movq 0x10(%rsp), %rdi
pushq $0x4
popq %rsi
callq 0x71b7a
leaq 0xa592d(%rip), %rsi     # 0xc8ee7
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd600
testq %rax, %rax
jne 0x22e9e
leaq 0xa5913(%rip), %rsi     # 0xc8ee7
movq %r13, %rdi
callq 0x1d59d
testq %rax, %rax
jne 0x22e9e
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
jmp 0x23338