// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore_sr.c
// Function: sr_s_to_f3
f3_t sr_s_to_f3( const sr_s* o )
{
    f3_t v = 0;
    if( !o->o ) return v;
    switch( sr_s_type( o ) )
    {
        case TYPEOF_u0_t: v = *( u0_t* )o->o; break;
        case TYPEOF_u1_t: v = *( u1_t* )o->o; break;
        case TYPEOF_u2_t: v = *( u2_t* )o->o; break;
        case TYPEOF_u3_t: v = *( u3_t* )o->o; break;
        case TYPEOF_s0_t: v = *( s0_t* )o->o; break;
        case TYPEOF_s1_t: v = *( s1_t* )o->o; break;
        case TYPEOF_s2_t: v = *( s2_t* )o->o; break;
        case TYPEOF_s3_t: v = *( s3_t* )o->o; break;
        case TYPEOF_f2_t: v = *( f2_t* )o->o; break;
        case TYPEOF_f3_t: v = *( f3_t* )o->o; break;

        case TYPEOF_uz_t: v = *( uz_t* )o->o; break;
        case TYPEOF_sz_t: v = *( sz_t* )o->o; break;

        case TYPEOF_bl_t: v = *( bl_t* )o->o; break;
        case TYPEOF_tp_t: v = *( tp_t* )o->o; break;
        case TYPEOF_aware_t: v = *( aware_t* )o->o; break;
        default: ERR_fa( "Cannot convert '#<sc_t>' to f3_t.", ifnameof( sr_s_type( o ) ) );
    }
    return v;
}

// Assembly:
movq (%rdi), %rax
xorps %xmm0, %xmm0
testq %rax, %rax
je 0x8d7a7
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x8d774
movq 0x8(%rcx), %rdx
movabsq $0x6d07f9ef5b68e8a2, %rsi # imm = 0x6D07F9EF5B68E8A2
cmpq %rsi, %rdx
je 0x8d7a8
movabsq $-0x6bce971ace902370, %rsi # imm = 0x943168E5316FDC90
cmpq %rsi, %rdx
je 0x8d7d3
movabsq $-0x6119581ac7eacd63, %rsi # imm = 0x9EE6A7E53815329D
cmpq %rsi, %rdx
je 0x8d7f0
movabsq $-0x5fc2af85f419929b, %rsi # imm = 0xA03D507A0BE66D65
cmpq %rsi, %rdx
je 0x8d7d8
movabsq $-0x5aa4411ac4e2880e, %rsi # imm = 0xA55BBEE53B1D77F2
cmpq %rsi, %rdx
je 0x8d7a8
movabsq $-0x58737885f0577326, %rsi # imm = 0xA78C877A0FA88CDA
cmpq %rsi, %rdx
je 0x8d7f8
movabsq $-0x4882601bdca6aefb, %rsi # imm = 0xB77D9FE423595105
cmpq %rsi, %rdx
je 0x8d7a8
movabsq $-0x3f1363e6d8155aed, %rsi # imm = 0xC0EC9C1927EAA513
cmpq %rsi, %rdx
je 0x8d7c8
movabsq $-0x3ac242643d9c35a8, %rsi # imm = 0xC53DBD9BC263CA58
cmpq %rsi, %rdx
je 0x8d7ce
movabsq $-0x388c46b188de83fe, %rsi # imm = 0xC773B94E77217C02
cmpq %rsi, %rdx
je 0x8d7a8
movabsq $0x510c2417c67dabeb, %rsi # imm = 0x510C2417C67DABEB
cmpq %rsi, %rdx
je 0x8d7eb
movabsq $0x585a3b17ca3de200, %rsi # imm = 0x585A3B17CA3DE200
cmpq %rsi, %rdx
je 0x8d7c8
movabsq $0x62367a17d02b474d, %rsi # imm = 0x62367A17D02B474D
cmpq %rsi, %rdx
je 0x8d7ce
movabsq $0x69849117d3eb7d62, %rsi # imm = 0x69849117D3EB7D62
cmpq %rsi, %rdx
je 0x8d7dd
movabsq $-0x73f6ae1ad309fd45, %rsi # imm = 0x8C0951E52CF602BB
cmpq %rsi, %rdx
jne 0x8d7e5
movzbl (%rax), %eax
jmp 0x8d7e0
xorl %edi, %edi
pushq %rax
callq 0x8d7fd
leaq 0x3c6a2(%rip), %rdi     # 0xc9e25
leaq 0x3c6a6(%rip), %rsi     # 0xc9e30
leaq 0x3c6aa(%rip), %rcx     # 0xc9e3b
movl $0xf3, %edx
movq %rax, %r8
xorl %eax, %eax
callq 0x60186
xorps %xmm0, %xmm0
addq $0x8, %rsp
retq
movsd (%rax), %xmm1
unpcklps 0x26efd(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x26f05(%rip), %xmm1    # 0xb46c0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
retq
cvtsi2sdq (%rax), %xmm0
retq
movsbl (%rax), %eax
jmp 0x8d7e0
movzwl (%rax), %eax
jmp 0x8d7e0
movsd (%rax), %xmm0
retq
movswl (%rax), %eax
cvtsi2sd %eax, %xmm0
retq
movq 0x8(%rcx), %rdi
jmp 0x8d776
cvtsi2sdl (%rax), %xmm0
retq
movl (%rax), %eax
cvtsi2sd %rax, %xmm0
retq
cvtss2sd (%rax), %xmm0
retq