// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_che_s_trans_function_args
er_t xoico_che_s_trans_function_args( xoico_che_s* o, x_source* source, bl_t function_without_brackets, const xoico_func_s* func, const xoico_che_result* result_object_expr, const xoico_typespec_s* typespec_object, xoico_che_result* result, xoico_typespec_s* typespec_return )
{
    // xoico_che_function.x:32:1
    BLM_INIT_LEVEL(0);
    tp_t transient_return_type = 0;
    
    tp_t object_type = func->obj_type;
    const xoico_signature_s* signature = func->signature;
    typespec_return->type = 0;
    
    if( function_without_brackets )
    {
        BLM_TRY(xoico_che_result_a_push_sc(result,"(" ))
    }
    else
    {
        BLM_TRY(xoico_che_s_trans(o,source, "(", result ))
    }
    
    tp_t cast_to_var = signature->typespec_ret.transient ? signature->typespec_ret.transient->cast_to_var : 0;
    
    tp_t ret_transient_class = signature->typespec_ret.transient ? signature->typespec_ret.transient->class : 0;
    
    const xoico_transient_map_s* transient_map = NULL;
    
    if( signature->arg_o )
    {
        if( !result_object_expr )
        {
            xoico_che_result_arr_s* result_expr   = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
            xoico_typespec_s* typespec_expr = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
            BLM_TRY(xoico_che_s_trans_expression(o,source,((xoico_che_result*)( result_expr)), typespec_expr ))
            result_object_expr =((const xoico_che_result*)( result_expr));
            typespec_object = typespec_expr;
            if( signature->args.size > 0 ) BLM_TRY(x_source_parse_fa(source," ," ))
        }
    
        transient_map = ( typespec_object ) ? xoico_che_s_get_transient_map(o,typespec_object->type ) : NULL;
    
        xoico_typespec_s* typespec_object_adapted = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_clone(&(signature->arg_o->typespec))));
    
        if( object_type ) BLM_TRY(xoico_typespec_s_relent(typespec_object_adapted,o->host, object_type ))
    
        if( typespec_object->type )
        {
            if
            (
                ret_transient_class &&
                signature->arg_o->typespec.transient &&
                signature->arg_o->typespec.transient->class == ret_transient_class
            )
            {
                transient_return_type = typespec_object->type;
            }
            BLM_TRY(xoico_che_s_adapt_expression(o,source, typespec_object, typespec_object_adapted, result_object_expr, result ))
        }
        else
        {
            xoico_che_result_a_push_result_c(result,result_object_expr );
        }
        if( signature->args.size > 0 ) BLM_TRY(xoico_che_result_a_push_sc(result,"," ))
    
        if( cast_to_var == signature->arg_o->name )
        {
            xoico_typespec_s_copy(typespec_return,typespec_object );
            typespec_return->indirection = typespec_object_adapted->indirection;
        }
    }
    
    if( transient_map && ret_transient_class )
    {
        if( !transient_return_type ) transient_return_type = xoico_transient_map_s_get(transient_map,ret_transient_class );
    }
    
    {const xoico_args_s* __a=&(signature->args );if(__a)for(sz_t __i=0;__i<__a->size;__i++){const xoico_arg_s* arg=__a->data[__i];
    {
        if( xoico_arg_s_is_variadic(arg) ) break;
    
        xoico_che_result_arr_s* result_expr = ((xoico_che_result_arr_s*)BLM_LEVEL_T_PUSH(0,xoico_che_result_arr_s,xoico_che_result_arr_s_create()));
        xoico_typespec_s* typespec_expr = ((xoico_typespec_s*)BLM_LEVEL_T_PUSH(0,xoico_typespec_s,xoico_typespec_s_create()));
        BLM_TRY(x_source_parse_fa(source," " ))
    
        if( __i > 0 )
        {
            BLM_TRY(x_source_parse_fa(source," ," ))
            BLM_TRY(xoico_che_result_a_push_sc(result,"," ))
        }
    
        BLM_TRY(xoico_che_s_trans_whitespace(o,source,((xoico_che_result*)( result_expr ))))
        if( x_source_parse_bl(source,"#?')'" ) ) BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Function argument '#<sc_t>': No value passed.", xoico_che_s_nameof(o,arg->name ) ))
    
        BLM_TRY(xoico_che_s_trans_expression(o,source,((xoico_che_result*)( result_expr)), typespec_expr ))
    
        if( typespec_expr->type )
        {
            if( arg->typespec.transient )
            {
                if( transient_return_type == 0 && arg->typespec.transient->class == ret_transient_class )
                {
                    transient_return_type = typespec_expr->type;
                }
    
                if( transient_map )
                {
                    tp_t t = xoico_transient_map_s_get(transient_map,ret_transient_class );
                    if( xoico_che_s_is_stamp(o,t ) )
                    {
                        if( typespec_expr->type != t )
                        {
                            BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Function argument '#<sc_t>': Type '#<sc_t>' expected but type '#<sc_t>' passed.", xoico_che_s_nameof(o,arg->name ), xoico_che_s_nameof(o,t ), xoico_che_s_nameof(o,typespec_expr->type ) ))
                        }
                    }
                }
            }
    
            BLM_TRY(xoico_che_s_adapt_expression(o,source, typespec_expr,&( arg->typespec),((const xoico_che_result*)( result_expr)), result ))
        }
        else
        {
            xoico_che_result_a_push_result_d(result,((xoico_che_result*)(((xoico_che_result_arr_s*)bcore_fork(result_expr)) )));
        }
    
        if( cast_to_var == arg->name )
        {
            xoico_typespec_s_copy(typespec_return,typespec_expr );
            typespec_return->indirection = arg->typespec.indirection;
        }
    }
    
    }}if( xoico_args_s_is_variadic(&(signature->args)) )
    {
        while( !x_source_eos(source) && !x_source_parse_bl(source," #=?')'" ) )
        {
            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( function_without_brackets )
    {
        BLM_TRY(xoico_che_result_a_push_sc(result,")" ))
    }
    else
    {
        BLM_TRY(x_source_parse_fa(source," " ))
        BLM_TRY(xoico_che_s_trans(o,source, ")", result ))
    }
    
    
    if( typespec_return->type == 0 )
    {
        xoico_typespec_s_copy(typespec_return,&(signature->typespec_ret ));
        if( transient_return_type != 0 ) typespec_return->type = transient_return_type;
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r13
movq %rdi, 0x20(%rsp)
movq 0xc8(%rsp), %r12
movq 0xc0(%rsp), %rbp
leaq 0x161d24(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0xe0431
xorl %eax, %eax
movq %rax, 0x10(%r14)
movq 0x18(%rbx), %rsi
movq 0x40(%rbx), %r14
movq %rax, 0x8(%r12)
movl %r15d, 0x4c(%rsp)
testl %r15d, %r15d
movq %r13, 0x8(%rsp)
je 0x471a1
movq %rbp, %r13
movq (%rbp), %rbx
leaq 0x15b3c0(%rip), %rax    # 0x1a24b0
movl 0x15b3ba(%rip), %ecx    # 0x1a24b0
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 0x4714e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x4714e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x4714e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x47fb2
movq %rsi, %r15
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x47181
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0x15b33a(%rip), %rdi    # 0x1a24b0
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xf1366(%rip), %rsi     # 0x1384ee
movq %r13, %rbx
movq %r13, %rdi
callq *0x20(%rbp)
movq %rax, (%rsp)
testq %rax, %rax
movq 0x8(%rsp), %r13
jne 0x471c2
jmp 0x471e2
movq %rsi, %r15
leaq 0xf1343(%rip), %rdx     # 0x1384ee
movq %r13, %rsi
movq %rbp, %rcx
callq 0x34adf
movq %rax, (%rsp)
testq %rax, %rax
movq %rbp, %rbx
je 0x471e2
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq (%rsp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x38(%r14), %rax
testq %rax, %rax
je 0x471f6
movq 0x10(%rax), %rcx
movq %rcx, 0x40(%rsp)
jmp 0x471ff
movq $0x0, 0x40(%rsp)
movq 0x18(%rsp), %rbp
testq %rax, %rax
je 0x4720f
movq 0x8(%rax), %rsi
jmp 0x47211
xorl %esi, %esi
cmpq $0x0, 0x50(%r14)
movq %rsi, 0x28(%rsp)
je 0x472e8
cmpq $0x0, 0x10(%rsp)
jne 0x472ca
callq 0x4c277
leaq 0x50(%rsp), %rbp
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rbp, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
callq 0x10060
movq %rbp, %rdi
xorl %esi, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
movq %rax, %rcx
callq 0xe0676
movq %rax, %rbp
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movq %r12, 0x10(%rsp)
movq %r12, %rdx
movq %rax, %rcx
callq 0x3dbae
movq %rax, %r13
testq %rax, %rax
je 0x4729e
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r13, (%rsp)
testq %r13, %r13
je 0x47f73
movq %rbx, %r13
xorl %ebx, %ebx
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rbp
testb %bl, %bl
movq %r13, %rbx
movq 0x8(%rsp), %r13
je 0x471cc
testq %rbp, %rbp
je 0x472f9
movq 0x8(%rbp), %rsi
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x32dd0
movq %rax, 0x30(%rsp)
jmp 0x47302
movq $0x0, 0x30(%rsp)
xorl %r12d, %r12d
jmp 0x4758a
movq $0x0, 0x30(%rsp)
movq 0x50(%r14), %rdi
addq $0x20, %rdi
callq 0x101d1
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
movq %rax, %rcx
callq 0xe0676
testq %r15, %r15
je 0x47341
movabsq $0x213393bef2495d15, %rcx # imm = 0x213393BEF2495D15
cmpq %rcx, 0x8(%rax)
jne 0x47341
movq %r15, 0x8(%rax)
movq 0x8(%rbp), %rsi
testq %rsi, %rsi
movq 0x28(%rsp), %rdx
movq %rbp, 0x18(%rsp)
movq %rax, 0x38(%rsp)
je 0x473bd
testq %rdx, %rdx
je 0x47378
movq 0x50(%r14), %rcx
movq 0x38(%rcx), %rcx
testq %rcx, %rcx
je 0x47378
xorl %r12d, %r12d
cmpq %rdx, 0x8(%rcx)
cmoveq %rsi, %r12
jmp 0x4737b
xorl %r12d, %r12d
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rax, %rcx
movq 0x10(%rsp), %r8
movq %rbx, %r9
callq 0x3a7f5
movq %rax, %r15
testq %rax, %rax
je 0x473ac
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
je 0x47469
movq %r12, %rbp
jmp 0x47537
movq (%rbx), %rbp
leaq 0x15b0e9(%rip), %rsi    # 0x1a24b0
movl 0x15b0e3(%rip), %ecx    # 0x1a24b0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rsi,%rcx,8), %rdx
movq 0x18(%rsi,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rsi
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x47425
movq 0x10(%rsi), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x47425
movq 0x20(%rsi), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x47425
movq 0x30(%rsi), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x47fca
movq (%rsi,%rcx), %r13
testq %r13, %r13
jne 0x47455
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x15b066(%rip), %rdi    # 0x1a24b0
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq *0x30(%r13)
xorl %r12d, %r12d
movq 0x8(%rsp), %r13
cmpq $0x0, 0x68(%r14)
je 0x4753e
movq (%rbx), %r15
leaq 0x15b032(%rip), %rax    # 0x1a24b0
movl 0x15b02c(%rip), %ecx    # 0x1a24b0
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 0x474dc
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x474dc
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x474dc
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x47fc3
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x4750c
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r15, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0x15afaf(%rip), %rdi    # 0x1a24b0
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0xf1c31(%rip), %rsi     # 0x139144
movq %rbx, %rdi
callq *0x20(%rbp)
movq %rax, %r15
testq %rax, %rax
je 0x4752f
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
movq %r12, %rbp
testq %r15, %r15
je 0x47541
movq %rbx, %r12
xorl %ebx, %ebx
jmp 0x47577
movq %r12, %rbp
movq %rbx, %r12
movq 0x50(%r14), %rax
movb $0x1, %bl
movq 0x40(%rsp), %rcx
cmpq 0x50(%rax), %rcx
movq 0xc8(%rsp), %r15
jne 0x47577
movq %r15, %rdi
movq 0x18(%rsp), %rsi
callq 0xff8e
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x20(%r15)
movq 0x28(%rsp), %rsi
testb %bl, %bl
movq %r12, %rbx
movq %rbp, %r12
je 0x471cc
cmpq $0x0, 0x30(%rsp)
je 0x475b7
testq %rsi, %rsi
je 0x475b7
testq %r12, %r12
jne 0x475b7
movq 0x30(%rsp), %rax
leaq 0x8(%rax), %rdi
callq 0xd3f11
testq %rax, %rax
je 0x475b4
movq (%rax), %r12
jmp 0x475b7
xorl %r12d, %r12d
cmpq $0x0, 0x68(%r14)
je 0x47b16
movq %r12, 0x38(%rsp)
movq 0x30(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x80(%rsp)
leaq 0x50(%rsp), %rbp
xorl %ebx, %ebx
movq 0x60(%r14), %rax
movq (%rax,%rbx,8), %r12
cmpb $0x0, 0x4f(%r12)
je 0x475f6
movl $0x2, %ebp
jmp 0x47667
callq 0x4c277
movq %rbp, %rdi
xorl %esi, %esi
movabsq $-0x7850996cdf80346a, %rdx # imm = 0x87AF6693207FCB96
movq %rax, %rcx
callq 0xe0676
movq %rax, 0x18(%rsp)
callq 0x10060
movq %rbp, %rdi
xorl %esi, %esi
movabsq $-0x641110359430e9c5, %rdx # imm = 0x9BEEEFCA6BCF163B
movq %rax, %rcx
callq 0xe0676
movq %rax, 0x10(%rsp)
movq %r13, %rdi
leaq 0x10736b(%rip), %rsi    # 0x14e9ad
xorl %eax, %eax
callq 0xda10
movq %rax, %r15
testq %rax, %rax
je 0x4765d
movq %rbp, %rdi
callq 0xe0b30
movq %r15, (%rsp)
movl $0x1, %ebp
testq %r15, %r15
je 0x4768a
xorl %r15d, %r15d
testb %r15b, %r15b
je 0x47b1f
incq %rbx
cmpq 0x68(%r14), %rbx
leaq 0x50(%rsp), %rbp
jb 0x475df
jmp 0x47b1a
testq %rbx, %rbx
je 0x47795
movq %r13, %rdi
leaq 0xf1aa6(%rip), %rsi     # 0x139143
xorl %eax, %eax
callq 0xda10
movq %rax, %r15
testq %rax, %rax
je 0x476ba
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x47667
movq 0xc0(%rsp), %rax
movq (%rax), %r15
movl 0x15ade0(%rip), %eax    # 0x1a24b0
cltq
leaq (%rax,%rax,2), %rax
leaq 0x15add3(%rip), %rdx    # 0x1a24b0
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x4772e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x4772e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x4772e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x479f3
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x4775e
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x15ad5d(%rip), %rdi    # 0x1a24b0
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0xc0(%rsp), %rdi
leaq 0xf19d7(%rip), %rsi     # 0x139144
callq *0x20(%r13)
movq %rax, %r15
testq %rax, %rax
je 0x47787
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
movq 0x8(%rsp), %r13
jne 0x47667
movq %r13, %rsi
movq 0x18(%rsp), %rdx
callq 0x374b3
movq (%r13), %r15
leaq 0x16251b(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x47806
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x47806
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x47806
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x479eb
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x47836
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x16249d(%rip), %rdi    # 0x1a9cc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r13, %rdi
movq 0x8(%rsp), %r13
movq %r13, %rsi
leaq 0xf1849(%rip), %rdx     # 0x139091
callq 0x10aa16
testb %al, %al
je 0x4788a
movq 0x50(%r12), %rsi
movq 0x20(%rsp), %rdi
callq 0x3417e
xorl %r15d, %r15d
movq %r13, %rdi
leaq 0xf4c9f(%rip), %rsi     # 0x13c50c
movq %rax, %rdx
xorl %eax, %eax
callq 0xddb2
movq %rax, (%rsp)
leaq 0x50(%rsp), %rdi
callq 0xe0b30
jmp 0x4766a
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x3dbae
movq %rax, %r15
testq %rax, %rax
je 0x478b7
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x47667
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x47925
movq 0x38(%r12), %rcx
testq %rcx, %rcx
je 0x47a8a
cmpq $0x0, 0x38(%rsp)
movq 0x28(%rsp), %rsi
jne 0x478fb
cmpq %rsi, 0x8(%rcx)
movl $0x0, %ecx
cmovneq %rcx, %rax
movq %rax, 0x38(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x47a8a
movq 0x80(%rsp), %rdi
callq 0xd3f11
testq %rax, %rax
je 0x479fb
movq (%rax), %r15
jmp 0x479fe
movq 0x18(%rsp), %rdi
callq 0xc8348
movq %rax, %rsi
movq 0xc0(%rsp), %rax
movq (%rax), %r15
movl 0x15ab6d(%rip), %eax    # 0x1a24b0
cltq
leaq (%rax,%rax,2), %rax
leaq 0x15ab60(%rip), %rdx    # 0x1a24b0
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x479a1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x479a1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x479a1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x47b0f
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x479db
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %rsi, 0x18(%rsp)
movq %r15, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0x15aae5(%rip), %rdi    # 0x1a24b0
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x18(%rsp), %rsi
movq 0xc0(%rsp), %rdi
callq *0x38(%rbp)
jmp 0x47acd
xorl %r13d, %r13d
jmp 0x4780a
xorl %r13d, %r13d
jmp 0x47732
xorl %r15d, %r15d
movq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x3ac2f
movb $0x1, %r13b
testb %al, %al
je 0x47a80
movq 0x10(%rsp), %rax
cmpq %r15, 0x8(%rax)
je 0x47a80
movq 0x50(%r12), %rsi
movq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x3417e
movq %rax, (%rsp)
movq %r13, %rdi
movq %r15, %rsi
callq 0x3417e
movq %rax, %r15
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rsi
movq %r13, %rdi
callq 0x3417e
xorl %r13d, %r13d
movq 0x8(%rsp), %rdi
leaq 0xf4ad9(%rip), %rsi     # 0x13c53a
movq (%rsp), %rdx
movq %r15, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0xddb2
movq %rax, (%rsp)
leaq 0x50(%rsp), %rdi
callq 0xe0b30
testb %r13b, %r13b
je 0x47b02
movq 0x8(%rsp), %r13
leaq 0x20(%r12), %rcx
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %r8
movq 0xc0(%rsp), %r9
callq 0x3a7f5
movq %rax, %r15
testq %rax, %rax
je 0x47ac4
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x47667
xorl %ebp, %ebp
movb $0x1, %r15b
movq 0x40(%rsp), %rax
cmpq 0x50(%r12), %rax
jne 0x4766a
movq 0xc8(%rsp), %r13
movq %r13, %rdi
movq 0x10(%rsp), %rsi
callq 0xff8e
movq 0x40(%r12), %rax
movq %rax, 0x20(%r13)
jmp 0x47b05
xorl %r15d, %r15d
movq 0x8(%rsp), %r13
jmp 0x4766a
xorl %ebp, %ebp
jmp 0x479a5
movb $0x1, %al
jmp 0x47b32
movl $0x2, %ebp
cmpl $0x2, %ebp
sete %al
movq 0xc0(%rsp), %rbx
movq 0x38(%rsp), %r12
testb %al, %al
je 0x471cc
movq 0x68(%r14), %rax
testq %rax, %rax
je 0x47e05
movq 0x60(%r14), %rcx
movq -0x8(%rcx,%rax,8), %rax
cmpb $0x1, 0x4f(%rax)
jne 0x47e05
leaq 0x162167(%rip), %rbp    # 0x1a9cc8
movq (%r13), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x47bbf
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x47bbf
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x47bbf
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x47ded
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x47beb
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%r15)
jne 0x47c01
movq %r15, %rdi
leaq 0xfd315(%rip), %rsi     # 0x144f11
callq 0xf592c
movq 0x8(%rsp), %r13
movq %r13, %rdi
callq *0x40(%r15)
testb %al, %al
jne 0x47e05
movq (%r13), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x47c73
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x47c73
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x47c73
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x47df5
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x47c9f
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rdi
movq 0x8(%rsp), %r13
movq %r13, %rsi
leaq 0xf083f(%rip), %rdx     # 0x1384f0
callq 0x10aa16
testb %al, %al
jne 0x47e05
movq %r13, %rdi
leaq 0xf147b(%rip), %rsi     # 0x139143
xorl %eax, %eax
callq 0xda10
movq %rax, %r15
testq %rax, %rax
je 0x47ce5
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x471cc
movq (%rbx), %r13
movl 0x15a7b9(%rip), %eax    # 0x1a24b0
cltq
leaq (%rax,%rax,2), %rax
leaq 0x15a7ac(%rip), %rdx    # 0x1a24b0
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x47d55
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x47d55
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x47d55
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x47dfd
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x47d85
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r13, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x15a736(%rip), %rdi    # 0x1a24b0
movq %r13, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbx, %rdi
leaq 0xf13b5(%rip), %rsi     # 0x139144
callq *0x20(%r15)
movq %rax, %r15
testq %rax, %rax
je 0x47da9
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
movq 0x8(%rsp), %r13
jne 0x471cc
movq 0x20(%rsp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x3dbae
movq %rax, %r15
testq %rax, %rax
je 0x47ddf
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
je 0x47b61
jmp 0x471cc
xorl %r15d, %r15d
jmp 0x47bc3
xorl %r15d, %r15d
jmp 0x47c77
xorl %r15d, %r15d
jmp 0x47d59
cmpb $0x0, 0x4c(%rsp)
je 0x47ede
movq %r12, %r13
movq (%rbx), %r15
leaq 0x15a693(%rip), %rax    # 0x1a24b0
movl 0x15a68d(%rip), %ecx    # 0x1a24b0
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 0x47e7b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x47e7b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x47e7b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x47fd2
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x47eab
movabsq $-0x3dfc7e0a250a30dc, %rdi # imm = 0xC20381F5DAF5CF24
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x15a610(%rip), %rdi    # 0x1a24b0
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
leaq 0x10e08b(%rip), %rsi    # 0x155f3d
movq %rbx, %rdi
callq *0x20(%r12)
movq %rax, %r15
testq %rax, %rax
je 0x47ed0
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
movq %r13, %r12
jne 0x471cc
jmp 0x47f3f
leaq 0x106ac8(%rip), %rsi    # 0x14e9ad
movq %r13, %rdi
xorl %eax, %eax
callq 0xda10
movq %rax, %r15
testq %rax, %rax
je 0x47f05
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x471cc
leaq 0x10e028(%rip), %rdx    # 0x155f3d
movq %r13, %rsi
movq %rbx, %rcx
callq 0x34adf
movq %rax, %r15
testq %rax, %rax
je 0x47f36
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r15, (%rsp)
testq %r15, %r15
jne 0x471cc
movq 0xc8(%rsp), %rbx
cmpq $0x0, 0x8(%rbx)
jne 0x47f66
addq $0x20, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xff8e
testq %r12, %r12
je 0x47f66
movq %r12, 0x8(%rbx)
movq $0x0, (%rsp)
jmp 0x471c2
movq %rbx, %r13
cmpq $0x0, 0x68(%r14)
je 0x47fbc
leaq 0xf11bf(%rip), %rsi     # 0x139143
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0xda10
testq %rax, %rax
sete %bl
je 0x472ba
movq %rax, %r12
leaq 0x50(%rsp), %rdi
callq 0xe0b30
movq %r12, (%rsp)
jmp 0x472ba
movq %rsi, %r15
xorl %ebp, %ebp
jmp 0x47155
movb $0x1, %bl
jmp 0x472ba
xorl %ebp, %ebp
jmp 0x474e0
xorl %r13d, %r13d
jmp 0x47429
xorl %r12d, %r12d
jmp 0x47e7f