	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_ftos                       ## -- Begin function fpu_ftos
	.p2align	4, 0x90
_fpu_ftos:                              ## @fpu_ftos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %ebx
	shll	$31, %ebx
	movq	%rsi, %rdi
	callq	_ISNAN
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_FP_NMANT@GOTPCREL(%rip), %rax
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	addl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fpu_shr
	movq	_SNG_EXP_INFNAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	orl	%ebx, %r12d
	movq	8(%r14), %rax
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
	andl	12(%rax), %ebx
	orl	%r12d, %ebx
	jmp	LBB0_22
LBB0_3:
	movq	%r14, %rdi
	callq	_ISINF
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_SNG_EXP_INFNAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	jmp	LBB0_22
LBB0_5:
	movq	%r14, %rdi
	callq	_ISZERO
	testq	%rax, %rax
	je	LBB0_6
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_SNG_EXP_BIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_FP_NMANT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FP_NG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	4(%r14), %r12d
	jle	LBB0_7
## %bb.15:
	notl	%eax
	addl	%eax, %esi
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %r13
	subl	(%r13), %esi
	movq	%r14, %rdi
	callq	_fpu_shr
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_round
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	8(%r14), %rax
	movb	(%r13), %cl
	movl	$2, %edx
	shll	%cl, %edx
	xorl	%ecx, %ecx
	cmpl	%edx, 12(%rax)
	sete	%cl
	addl	%ecx, %r12d
LBB0_17:
	movq	_SNG_EXP_INFNAN@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r12d
	jl	LBB0_2
## %bb.18:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_toinf
	movl	(%r13), %edx
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	jmp	LBB0_21
LBB0_7:
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %r13
	addl	%eax, %r12d
	addl	(%r13), %r12d
	subl	%r12d, %esi
	movq	%r14, %rdi
	callq	_fpu_shr
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_round
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	8(%r14), %rax
	movl	12(%rax), %eax
	movb	(%r13), %cl
	movl	$1, %edx
	shll	%cl, %edx
	cmpl	%edx, %eax
	jne	LBB0_10
## %bb.9:
	orl	%eax, %ebx
	jmp	LBB0_22
LBB0_10:
	movl	(%r15), %eax
	movq	_FPSCR_FI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_FPSCR_UX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_13
LBB0_20:
	decl	%edx
	movq	_SNG_FRACBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
LBB0_21:
	orl	%edx, %ebx
	jmp	LBB0_22
LBB0_12:
	movq	_FPSCR_UX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r15)
	je	LBB0_14
LBB0_13:
	orl	%eax, %ecx
	movl	%ecx, (%r15)
LBB0_14:
	movq	8(%r14), %rax
	orl	12(%rax), %ebx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_FP_NMANT,4,2                   ## @FP_NMANT
	.comm	_SNG_FRACBITS,4,2               ## @SNG_FRACBITS
	.comm	_SNG_EXP_INFNAN,4,2             ## @SNG_EXP_INFNAN
	.comm	_SNG_EXP_BIAS,4,2               ## @SNG_EXP_BIAS
	.comm	_FP_NG,4,2                      ## @FP_NG
	.comm	_FPSCR_FI,4,2                   ## @FPSCR_FI
	.comm	_FPSCR_UX,4,2                   ## @FPSCR_UX
	.comm	_SNG_MASK,4,2                   ## @SNG_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_ftos                       ; -- Begin function fpu_ftos
	.p2align	2
_fpu_ftos:                              ; @fpu_ftos
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x1]
	lsl	w19, w8, #31
	mov	x0, x1
	bl	_ISNAN
Lloh0:
	adrp	x22, _SNG_FRACBITS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SNG_FRACBITS@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _FP_NMANT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FP_NMANT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x22]
	mvn	w9, w9
	add	w1, w8, w9
	mov	x0, x20
	bl	_fpu_shr
Lloh5:
	adrp	x8, _SNG_EXP_INFNAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNG_EXP_INFNAN@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
LBB0_2:
	ldr	w8, [x22]
	lsl	w9, w23, w8
	orr	w9, w9, w19
	ldr	x10, [x20, #8]
	ldr	w10, [x10, #12]
	mov	w11, #-1
	lsl	w8, w11, w8
	bic	w8, w10, w8
	orr	w19, w9, w8
	b	LBB0_7
LBB0_3:
	mov	x0, x20
	bl	_ISINF
	cbz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _SNG_EXP_INFNAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNG_EXP_INFNAN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
LBB0_5:
	ldr	w9, [x22]
	lsl	w8, w8, w9
	orr	w19, w8, w19
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_ISZERO
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x20, #4]
Lloh11:
	adrp	x9, _SNG_EXP_BIAS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SNG_EXP_BIAS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _FP_NMANT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _FP_NMANT@GOTPAGEOFF]
	add	w23, w9, w8
Lloh16:
	ldr	w8, [x10]
Lloh17:
	adrp	x9, _FP_NG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FP_NG@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w23, #0
	b.le	LBB0_14
; %bb.9:
	mvn	w9, w9
	ldr	w10, [x22]
	add	w8, w8, w9
	sub	w1, w8, w10
	mov	x0, x20
	bl	_fpu_shr
	mov	x0, x21
	mov	x1, x20
	bl	_round
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #12]
	ldr	w9, [x22]
	mov	w10, #2
	lsl	w9, w10, w9
	cmp	w8, w9
	cinc	w23, w23, eq
LBB0_11:
Lloh20:
	adrp	x24, _SNG_EXP_INFNAN@GOTPAGE
Lloh21:
	ldr	x24, [x24, _SNG_EXP_INFNAN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w23, w8
	b.lt	LBB0_2
; %bb.12:
	mov	x0, x21
	mov	x1, x19
	bl	_toinf
	ldr	w8, [x24]
	cbnz	x0, LBB0_5
; %bb.13:
	sub	w8, w8, #1
	ldr	w9, [x22]
	lsl	w8, w8, w9
	orr	w8, w8, w19
	mov	w10, #-1
	lsl	w9, w10, w9
	orn	w19, w8, w9
	b	LBB0_7
LBB0_14:
	ldr	w10, [x22]
	add	w9, w23, w9
	add	w9, w9, w10
	sub	w1, w8, w9
	mov	x0, x20
	bl	_fpu_shr
	mov	x0, x21
	mov	x1, x20
	bl	_round
	cbz	x0, LBB0_17
; %bb.15:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #12]
	ldr	w9, [x22]
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.16:
	orr	w19, w8, w19
	b	LBB0_7
LBB0_17:
	ldr	w8, [x21]
Lloh22:
	adrp	x9, _FPSCR_FI@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FPSCR_FI@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
Lloh25:
	adrp	x9, _FPSCR_UX@GOTPAGE
Lloh26:
	ldr	x9, [x9, _FPSCR_UX@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	b	LBB0_20
LBB0_19:
	ldr	w10, [x21, #4]
Lloh28:
	adrp	x9, _FPSCR_UX@GOTPAGE
Lloh29:
	ldr	x9, [x9, _FPSCR_UX@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_21
LBB0_20:
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_21:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #12]
	orr	w19, w8, w19
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_FP_NMANT,4,2                   ; @FP_NMANT
	.comm	_SNG_FRACBITS,4,2               ; @SNG_FRACBITS
	.comm	_SNG_EXP_INFNAN,4,2             ; @SNG_EXP_INFNAN
	.comm	_SNG_EXP_BIAS,4,2               ; @SNG_EXP_BIAS
	.comm	_FP_NG,4,2                      ; @FP_NG
	.comm	_FPSCR_FI,4,2                   ; @FPSCR_FI
	.comm	_FPSCR_UX,4,2                   ; @FPSCR_UX
	.comm	_SNG_MASK,4,2                   ; @SNG_MASK
.subsections_via_symbols
