	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	2                               ## -- Begin function float_16_to_32
LCPI0_0:
	.long	0xbf800000                      ## float -1
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0xc1600000                      ## float -14
LCPI0_2:
	.long	0x3a800000                      ## float 9.765625E-4
LCPI0_3:
	.long	0xc1700000                      ## float -15
LCPI0_4:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_float_16_to_32:                        ## @float_16_to_32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movzwl	(%rdi), %ebx
	xorl	%ecx, %ecx
	testw	%bx, %bx
	setns	%cl
	movl	%ebx, %eax
	shrl	$10, %eax
	andl	$31, %eax
	andl	$1023, %ebx                     ## imm = 0x3FF
	leaq	LCPI0_0(%rip), %rdx
	movss	(%rdx,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cmpw	$31, %ax
	je	LBB0_6
## %bb.1:
	testw	%ax, %ax
	jne	LBB0_5
## %bb.2:
	testw	%bx, %bx
	je	LBB0_3
## %bb.4:
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$2, %edi
	movss	%xmm2, -12(%rbp)                ## 4-byte Spill
	callq	_powf
	movss	-12(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movzwl	%bx, %eax
	cvtsi2ss	%eax, %xmm1
	mulss	%xmm0, %xmm2
	mulss	LCPI0_2(%rip), %xmm1
	mulss	%xmm1, %xmm2
	jmp	LBB0_9
LBB0_6:
	testw	%bx, %bx
	je	LBB0_7
## %bb.8:
	movq	_NAN@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_9
LBB0_5:
	movzwl	%ax, %eax
	cvtsi2ss	%eax, %xmm0
	addss	LCPI0_3(%rip), %xmm0
	movl	$2, %edi
	movss	%xmm2, -12(%rbp)                ## 4-byte Spill
	callq	_powf
	movss	-12(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movzwl	%bx, %eax
	cvtsi2ss	%eax, %xmm1
	mulss	LCPI0_2(%rip), %xmm1
	mulss	%xmm0, %xmm2
	addss	LCPI0_4(%rip), %xmm1
	mulss	%xmm1, %xmm2
	jmp	LBB0_9
LBB0_3:
	xorps	%xmm0, %xmm0
	mulss	%xmm0, %xmm2
	jmp	LBB0_9
LBB0_7:
	movq	_INFINITY@GOTPCREL(%rip), %rax
	mulss	(%rax), %xmm2
LBB0_9:
	movaps	%xmm2, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITY,4,2                   ## @INFINITY
	.comm	_NAN,4,2                        ## @NAN
	.no_dead_strip	_float_16_to_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function float_16_to_32
_float_16_to_32:                        ; @float_16_to_32
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	ldrsh	w8, [x0]
	and	w19, w8, #0x3ff
	cmp	w8, #0
	fmov	s0, #-1.00000000
	fmov	s1, #1.00000000
	fcsel	s8, s1, s0, ge
	ubfx	w8, w8, #10, #5
	cmp	w8, #31
	b.eq	LBB0_4
; %bb.1:
	cbnz	w8, LBB0_6
; %bb.2:
	cbz	w19, LBB0_7
; %bb.3:
	fmov	s0, #-14.00000000
	mov	w0, #2
	bl	_powf
	fmul	s0, s8, s0
	ucvtf	s1, w19
	mov	w8, #981467136
	fmov	s2, w8
	fmul	s1, s1, s2
	fmul	s0, s1, s0
	b	LBB0_10
LBB0_4:
	cbz	w19, LBB0_8
; %bb.5:
Lloh0:
	adrp	x8, _NAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
Lloh2:
	ldr	s0, [x8]
	b	LBB0_10
LBB0_6:
	ucvtf	s0, w8
	fmov	s1, #-15.00000000
	fadd	s0, s0, s1
	mov	w0, #2
	bl	_powf
	fmul	s0, s8, s0
	ucvtf	s1, w19
	mov	w8, #981467136
	fmov	s2, w8
	fmul	s1, s1, s2
	fmov	s2, #1.00000000
	fadd	s1, s1, s2
	fmul	s0, s1, s0
	b	LBB0_10
LBB0_7:
	movi	d0, #0000000000000000
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _INFINITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFINITY@GOTPAGEOFF]
Lloh5:
	ldr	s0, [x8]
LBB0_9:
	fmul	s0, s8, s0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITY,4,2                   ; @INFINITY
	.comm	_NAN,4,2                        ; @NAN
	.no_dead_strip	_float_16_to_32
.subsections_via_symbols
