// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_null_member_s_set_sr
sr_s x_btcl_null_member_s_set_sr( x_btcl_null_member_s* o, x_btcl_frame_s* frame, const x_source_point_s* sp, sr_s* src )
{
    // bcore_x_btcl.x:492:5
    
    uz_t index = x_stamp_t_index(sr_s_o_type(&(o->base)), o->tp_name );
    
    if( x_stamp_t_is_static_i(sr_s_o_type(&(o->base)), index ) && src->o )
    {
        tp_t dst_type = x_stamp_t_type_i(((const x_stamp*)( o->base.o)),sr_s_o_type(&(o->base)), index );
        sr_s sr = sr_tsm(dst_type, x_inst_t_create(dst_type ) );
        BLM_TRY_EXIT(x_btcl_frame_s_generic_copy(frame,sp,&( sr), src ))
        BLM_TRY_EXIT(x_stamp_t_set_sr(((x_stamp*)( o->base.o)),sr_s_o_type(&(o->base)), o->tp_name, sr ))
    }
    else
    {
        BLM_TRY_EXIT(x_stamp_t_set_sr(((x_stamp*)( o->base.o)),sr_s_o_type(&(o->base)), o->tp_name, sr_cw(*( src )) ))
    }
    
    return  x_stamp_t_m_get_sr(((x_stamp*)( o->base.o)),sr_s_o_type(&(o->base)), o->tp_name );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, %r15
movq %rcx, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rsi, %r14
movq %rdi, 0x30(%rsp)
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x8a4fd
movq 0x8(%rax), %r12
jmp 0x8a500
xorl %r12d, %r12d
movq 0x20(%r14), %rbp
leaq 0x112bed(%rip), %rbx    # 0x19d0f8
movl (%rbx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbx,%rax,8), %rcx
movq 0x18(%rbx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x8a560
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x8a560
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x8a560
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x8a569
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x8a590
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x112b73(%rip), %rdi    # 0x19d0f8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
xorl %r12d, %r12d
movq %r13, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x102b8b
movq %rax, %rbp
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x8a5b0
movq 0x8(%rax), %r12
movl (%rbx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbx,%rax,8), %rcx
movq 0x18(%rbx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x8a605
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x8a605
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x8a605
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x8a60e
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x8a635
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x112ace(%rip), %rdi    # 0x19d0f8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
xorl %esi, %esi
movq %rbp, %rdx
callq 0x103315
testb %al, %al
je 0x8a65b
cmpq $0x0, (%r15)
je 0x8a65b
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x8a699
movq 0x8(%rax), %r13
jmp 0x8a69c
movq 0x8(%r14), %rdi
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x8a66e
movq 0x8(%rax), %rsi
jmp 0x8a670
xorl %esi, %esi
movq 0x20(%r14), %rdx
movups (%r15), %xmm0
movaps %xmm0, 0x50(%rsp)
movq 0x10(%r15), %rax
andq $-0x3, %rax
movq %rax, 0x60(%rsp)
movq %rax, 0x10(%rsp)
movaps 0x50(%rsp), %xmm0
jmp 0x8a86c
xorl %r13d, %r13d
movq 0x8(%r14), %r12
movl (%rbx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbx,%rax,8), %rcx
movq 0x18(%rbx,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x8a6f5
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x8a6f5
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x8a6f5
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x8a6fe
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
jne 0x8a725
movabsq $0x541d0401d4dcff33, %rdi # imm = 0x541D0401D4DCFF33
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %rbx
leaq 0x1129de(%rip), %rdi    # 0x19d0f8
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbx, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x101f09
movq %rax, %rbp
movabsq $-0x3b1008a961ddaa8, %rdi # imm = 0xFC4EFF7569E22558
movq %rax, %rsi
callq 0x116fb0
testq %rbp, %rbp
je 0x8a7f8
leaq 0x111d10(%rip), %rax    # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x8a7ae
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x8a7ae
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x8a7ae
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x8a7b7
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x8a7de
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x111c95(%rip), %rdi    # 0x19c468
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
callq *0xa8(%r12)
movq %rax, 0x38(%rsp)
movq %rbp, %rdi
callq 0x1074f1
jmp 0x8a803
movq $0x0, 0x38(%rsp)
xorl %eax, %eax
leaq 0x38(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq $0x2, 0x10(%rdx)
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %r15, %rcx
callq 0x7fc0d
testq %rax, %rax
je 0x8a844
movq %rax, %rbx
leaq 0x11159b(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
movl %ebx, %edi
callq 0x54258
movq 0x8(%r14), %rdi
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x8a857
movq 0x8(%rax), %rsi
jmp 0x8a859
xorl %esi, %esi
movq 0x20(%r14), %rdx
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x38(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x58665
testq %rax, %rax
je 0x8a893
movq %rax, %rbx
leaq 0x11154c(%rip), %rax    # 0x19bdd0
movq (%rax), %rdi
callq 0xd6d2c
movl %ebx, %edi
callq 0x54258
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x8a8a6
movq 0x8(%rax), %rdx
jmp 0x8a8a8
xorl %edx, %edx
movq 0x20(%r14), %rcx
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x584a7
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq