	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpequal_tol
_fpequal_tol:                           ## @fpequal_tol
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	fldt	48(%rbp)
	fstpt	-68(%rbp)                       ## 10-byte Folded Spill
	fldt	32(%rbp)
	fstpt	-44(%rbp)                       ## 10-byte Folded Spill
	fldt	16(%rbp)
	fld	%st(0)
	fstpt	-56(%rbp)                       ## 10-byte Folded Spill
	fstpt	(%rsp)
	callq	_isnan
	testq	%rax, %rax
	fldz
	je	LBB0_2
## %bb.1:
	fstp	%st(0)
	fldt	-44(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_isnan
	movl	$1, %ebx
	testq	%rax, %rax
	fldz
	jne	LBB0_7
LBB0_2:
	fstp	%st(0)
	fldt	-56(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_signbit
	testl	%eax, %eax
	setne	%bl
	fldt	-44(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_signbit
	testl	%eax, %eax
	sete	%al
	xorb	%bl, %al
	fldz
	jne	LBB0_4
## %bb.3:
	fstp	%st(0)
	movq	_CS_BOTH@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testl	%r15d, (%rax)
	fldz
	jne	LBB0_7
LBB0_4:
	fstp	%st(0)
	movl	$1, %ebx
	fldt	-44(%rbp)                       ## 10-byte Folded Reload
	fldt	-56(%rbp)                       ## 10-byte Folded Reload
	fucompi	%st(1), %st
	fstp	%st(0)
	fldz
	jne	LBB0_5
	jnp	LBB0_7
LBB0_5:
	fstp	%st(0)
	xorl	%ebx, %ebx
	fldz
	fldt	-68(%rbp)                       ## 10-byte Folded Reload
	fucompi	%st(1), %st
	jne	LBB0_6
	jnp	LBB0_7
LBB0_6:
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	fstpt	-84(%rbp)                       ## 10-byte Folded Spill
	callq	_feholdexcept
	movq	_FPE_ABS_ZERO@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	fldt	-44(%rbp)                       ## 10-byte Folded Reload
	fldt	-56(%rbp)                       ## 10-byte Folded Reload
	fsubp	%st, %st(1)
	fstpt	(%rsp)
	callq	_fabsl
	movq	%rax, %r12
	testl	%r15d, %r15d
	fld1
	fldt	-44(%rbp)                       ## 10-byte Folded Reload
	fld	%st(0)
	fcmovne	%st(2), %st
	fstp	%st(2)
	fldt	-84(%rbp)                       ## 10-byte Folded Reload
	fxch	%st(1)
	fucomi	%st(1), %st
	fstp	%st(1)
	fxch	%st(1)
	fcmovne	%st(1), %st
	fcmovu	%st(1), %st
	fstp	%st(1)
	fldt	-68(%rbp)                       ## 10-byte Folded Reload
	fmulp	%st, %st(1)
	fstpt	(%rsp)
	callq	_fabsl
	xorl	%ebx, %ebx
	cmpq	%rax, %r12
	setle	%bl
	movq	%r14, %rdi
	callq	_fesetenv
	fldz
LBB0_7:
	fstp	%st(0)
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS_BOTH,4,2                    ## @CS_BOTH
	.comm	_FPE_ABS_ZERO,4,2               ## @FPE_ABS_ZERO
	.no_dead_strip	_fpequal_tol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpequal_tol
_fpequal_tol:                           ; @fpequal_tol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x0
	fmov	d8, d2
	fmov	d9, d1
	fmov	d10, d0
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
	fmov	d0, d9
	bl	_isnan
	cbnz	x0, LBB0_5
LBB0_2:
	fmov	d0, d10
	bl	_signbit
	cmp	w0, #0
	cset	w20, ne
	fmov	d0, d9
	bl	_signbit
	cmp	w0, #0
	cset	w8, eq
	eor	w8, w20, w8
	tbnz	w8, #0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _CS_BOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS_BOTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.ne	LBB0_7
LBB0_4:
	fcmp	d10, d9
	b.ne	LBB0_6
LBB0_5:
	mov	w19, #1
	b	LBB0_8
LBB0_6:
	fcmp	d8, #0.0
	b.ne	LBB0_9
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	add	x0, sp, #12
	bl	_feholdexcept
Lloh3:
	adrp	x8, _FPE_ABS_ZERO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FPE_ABS_ZERO@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	fsub	d0, d10, d9
	bl	_fabsl
	mov	x20, x0
	tst	w21, w19
	movi	d0, #0000000000000000
	fccmp	d9, d0, #0, ne
	fmov	d0, #1.00000000
	fcsel	d0, d0, d9, eq
	fmul	d0, d0, d8
	bl	_fabsl
	cmp	x20, x0
	cset	w19, le
	add	x0, sp, #12
	bl	_fesetenv
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CS_BOTH,4,2                    ; @CS_BOTH
	.comm	_FPE_ABS_ZERO,4,2               ; @FPE_ABS_ZERO
	.no_dead_strip	_fpequal_tol
.subsections_via_symbols
