	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function native_afu_cr_read64
_native_afu_cr_read64:                  ## @native_afu_cr_read64
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_cxl_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rdi), %edi
	movq	%rbx, %rsi
	callq	*(%rax)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	xorl	%edi, %edi
	cmpl	%r12d, (%rbx)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rbx), %rax
	imull	(%rbx), %r15d
	addl	(%rax), %r12d
	addl	4(%rbx), %r12d
	addl	%r15d, %r12d
	movl	%r12d, %edi
	callq	_in_le64
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_cxl_ops,8,3                    ## @cxl_ops
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_native_afu_cr_read64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function native_afu_cr_read64
_native_afu_cr_read64:                  ; @native_afu_cr_read64
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _cxl_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cxl_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x0, #16]
	mov	x1, x22
	blr	x8
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w8, [x22]
	cmp	w8, w21
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	ldp	w10, w9, [x22]
	add	w8, w8, w21
	add	w8, w8, w9
	madd	w0, w10, w20, w8
	bl	_in_le64
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_cxl_ops,8,3                    ; @cxl_ops
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_native_afu_cr_read64
.subsections_via_symbols
