	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_compare                    ## -- Begin function fpu_compare
	.p2align	4, 0x90
_fpu_compare:                           ## @fpu_compare
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	leaq	40(%rdi), %r13
	leaq	24(%rdi), %r15
	movq	%r13, %rdi
	callq	_ISNAN
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_ISNAN
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:
	movq	_FPSCR_FU@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_ISSNAN
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_ISSNAN
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_FPSCR_VXSNAN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.6:
	movq	_FPSCR_VE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	callq	_ISQNAN
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_ISQNAN
	testq	%rax, %rax
	je	LBB0_24
LBB0_9:
	movq	_FPSCR_VXVC@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_24
LBB0_10:
	movq	%r13, %rdi
	callq	_ISZERO
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	callq	_ISZERO
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	_FPSCR_FE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_13:
	movq	32(%r14), %rcx
	movq	48(%r14), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	testq	%rcx, %rcx
	jne	LBB0_17
	jmp	LBB0_15
LBB0_16:
	testq	%rcx, %rcx
	jne	LBB0_22
LBB0_17:
	leaq	8(%r14), %r12
	movq	(%r15), %rcx
	cmpq	%rcx, (%r13)
	jge	LBB0_20
## %bb.18:
	testq	%rax, %rax
	jne	LBB0_22
LBB0_15:
	movq	_FPSCR_FL@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_20:
	jle	LBB0_25
## %bb.21:
	testq	%rax, %rax
	jne	LBB0_15
LBB0_22:
	movq	_FPSCR_FG@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %ebx
LBB0_24:
	movl	%ebx, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	%r13, %rdi
	callq	_ISINF
	testq	%rax, %rax
	jne	LBB0_12
## %bb.26:
	movq	%r14, %rdi
	callq	_fpu_sub
	movq	%r12, %rdi
	callq	_ISZERO
	testq	%rax, %rax
	jne	LBB0_12
## %bb.27:
	cmpq	$0, 16(%r14)
	jne	LBB0_15
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_FPSCR_FU,4,2                   ## @FPSCR_FU
	.comm	_FPSCR_VXSNAN,4,2               ## @FPSCR_VXSNAN
	.comm	_FPSCR_VE,4,2                   ## @FPSCR_VE
	.comm	_FPSCR_VXVC,4,2                 ## @FPSCR_VXVC
	.comm	_FPSCR_FE,4,2                   ## @FPSCR_FE
	.comm	_FPSCR_FL,4,2                   ## @FPSCR_FL
	.comm	_FPSCR_FG,4,2                   ## @FPSCR_FG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpu_compare                    ; -- Begin function fpu_compare
	.p2align	2
_fpu_compare:                           ; @fpu_compare
	.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	x22, x1
	mov	x19, x0
	add	x20, x0, #40
	add	x21, x0, #24
	mov	x0, x20
	bl	_ISNAN
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_ISNAN
	cbz	x0, LBB0_10
LBB0_2:
Lloh0:
	adrp	x8, _FPSCR_FU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FPSCR_FU@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_ISSNAN
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_ISSNAN
	cbz	x0, LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _FPSCR_VXSNAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FPSCR_VXSNAN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_5:
	cbz	w22, LBB0_24
; %bb.6:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _FPSCR_VE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FPSCR_VE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_ISQNAN
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_ISQNAN
	cbz	x0, LBB0_24
LBB0_9:
Lloh9:
	adrp	x8, _FPSCR_VXVC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FPSCR_VXVC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w23, w8, w23
	b	LBB0_24
LBB0_10:
	mov	x0, x20
	bl	_ISZERO
	cbz	x0, LBB0_13
; %bb.11:
	mov	x0, x21
	bl	_ISZERO
	cbz	x0, LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _FPSCR_FE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FPSCR_FE@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #32]
	cbz	x8, LBB0_16
; %bb.14:
	cbnz	x9, LBB0_18
LBB0_15:
Lloh14:
	adrp	x8, _FPSCR_FL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FPSCR_FL@GOTPAGEOFF]
	b	LBB0_23
LBB0_16:
	cbz	x9, LBB0_18
LBB0_17:
Lloh16:
	adrp	x8, _FPSCR_FG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FPSCR_FG@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
	ldr	x9, [x20]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ge	LBB0_20
; %bb.19:
Lloh18:
	adrp	x9, _FPSCR_FL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FPSCR_FL@GOTPAGEOFF]
Lloh20:
	adrp	x10, _FPSCR_FG@GOTPAGE
Lloh21:
	ldr	x10, [x10, _FPSCR_FG@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
	b.le	LBB0_25
; %bb.21:
Lloh22:
	adrp	x9, _FPSCR_FG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FPSCR_FG@GOTPAGEOFF]
Lloh24:
	adrp	x10, _FPSCR_FL@GOTPAGE
Lloh25:
	ldr	x10, [x10, _FPSCR_FL@GOTPAGEOFF]
LBB0_22:
	cmp	x8, #0
	csel	x8, x9, x10, eq
LBB0_23:
	ldr	w23, [x8]
LBB0_24:
	str	w23, [x19, #4]
	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_25:
	mov	x0, x20
	bl	_ISINF
	cbnz	x0, LBB0_12
; %bb.26:
	add	x20, x19, #8
	mov	x0, x19
	bl	_fpu_sub
	mov	x0, x20
	bl	_ISZERO
	cbnz	x0, LBB0_12
; %bb.27:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_15
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FPSCR_FU,4,2                   ; @FPSCR_FU
	.comm	_FPSCR_VXSNAN,4,2               ; @FPSCR_VXSNAN
	.comm	_FPSCR_VE,4,2                   ; @FPSCR_VE
	.comm	_FPSCR_VXVC,4,2                 ; @FPSCR_VXVC
	.comm	_FPSCR_FE,4,2                   ; @FPSCR_FE
	.comm	_FPSCR_FL,4,2                   ; @FPSCR_FL
	.comm	_FPSCR_FG,4,2                   ; @FPSCR_FG
.subsections_via_symbols
