	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_ev_read_ack
_efx_ef10_ev_read_ack:                  ## @efx_ef10_ev_read_ack
	.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	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_EFX_EF10_WORKAROUND_35388
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EFX_MIN_EVQ_SIZE@GOTPCREL(%rip), %rax
	movq	_ERF_DD_EVQ_IND_RPTR_WIDTH@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	movl	$1, %r12d
	movl	$1, %edx
	shll	%cl, %edx
	xorl	%edi, %edi
	cmpl	%edx, (%rax)
	setl	%dil
	callq	_BUILD_BUG_ON
	movq	_EFX_MAX_EVQ_SIZE@GOTPCREL(%rip), %rax
	movb	(%r15), %cl
	addb	%cl, %cl
	shll	%cl, %r12d
	xorl	%edi, %edi
	cmpl	%r12d, (%rax)
	setg	%dil
	callq	_BUILD_BUG_ON
	movq	_ERF_DD_EVQ_IND_RPTR_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERF_DD_EVQ_IND_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rbx), %r8d
	andl	(%rbx), %r8d
	movb	(%r15), %cl
	sarl	%cl, %r8d
	movl	%eax, %ecx
	callq	_EFX_POPULATE_DWORD_2
	movq	_ER_DD_EVQ_INDIRECT@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	8(%rbx), %r13
	movl	8(%rbx), %ecx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_efx_writed_page
	movl	-44(%rbp), %edi
	movq	_ERF_DD_EVQ_IND_RPTR_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EFE_DD_EVQ_IND_RPTR_FLAGS_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movb	(%r15), %cl
	movl	$-1, %r8d
	shll	%cl, %r8d
	movq	_ERF_DD_EVQ_IND_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%r8d
	andl	(%rbx), %r8d
	callq	_EFX_POPULATE_DWORD_2
	jmp	LBB0_3
LBB0_2:
	movq	_ERF_DZ_EVQ_RPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	andl	(%rbx), %edx
	callq	_EFX_POPULATE_DWORD_1
	addq	$8, %rbx
	movq	_ER_DZ_EVQ_RPTR@GOTPCREL(%rip), %r12
	movq	%rbx, %r13
LBB0_3:
	movl	(%r12), %edx
	movl	(%r13), %ecx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_efx_writed_page
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_MIN_EVQ_SIZE,4,2           ## @EFX_MIN_EVQ_SIZE
	.comm	_ERF_DD_EVQ_IND_RPTR_WIDTH,4,2  ## @ERF_DD_EVQ_IND_RPTR_WIDTH
	.comm	_EFX_MAX_EVQ_SIZE,4,2           ## @EFX_MAX_EVQ_SIZE
	.comm	_ERF_DD_EVQ_IND_RPTR_FLAGS,4,2  ## @ERF_DD_EVQ_IND_RPTR_FLAGS
	.comm	_EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH,4,2 ## @EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH
	.comm	_ERF_DD_EVQ_IND_RPTR,4,2        ## @ERF_DD_EVQ_IND_RPTR
	.comm	_ER_DD_EVQ_INDIRECT,4,2         ## @ER_DD_EVQ_INDIRECT
	.comm	_EFE_DD_EVQ_IND_RPTR_FLAGS_LOW,4,2 ## @EFE_DD_EVQ_IND_RPTR_FLAGS_LOW
	.comm	_ERF_DZ_EVQ_RPTR,4,2            ## @ERF_DZ_EVQ_RPTR
	.comm	_ER_DZ_EVQ_RPTR,4,2             ## @ER_DZ_EVQ_RPTR
	.no_dead_strip	_efx_ef10_ev_read_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_ev_read_ack
_efx_ef10_ev_read_ack:                  ; @efx_ef10_ev_read_ack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_EFX_EF10_WORKAROUND_35388
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFX_MIN_EVQ_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_MIN_EVQ_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x21, _ERF_DD_EVQ_IND_RPTR_WIDTH@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ERF_DD_EVQ_IND_RPTR_WIDTH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x21]
	mov	w22, #1
	lsl	w9, w22, w9
	cmp	w8, w9
	cset	w0, lt
	bl	_BUILD_BUG_ON
Lloh5:
	adrp	x8, _EFX_MAX_EVQ_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFX_MAX_EVQ_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x21]
	lsl	w9, w9, #1
	lsl	w9, w22, w9
	cmp	w8, w9
	cset	w0, gt
	bl	_BUILD_BUG_ON
Lloh8:
	adrp	x24, _ERF_DD_EVQ_IND_RPTR_FLAGS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ERF_DD_EVQ_IND_RPTR_FLAGS@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh10:
	adrp	x8, _EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x25, _ERF_DD_EVQ_IND_RPTR@GOTPAGE
Lloh14:
	ldr	x25, [x25, _ERF_DD_EVQ_IND_RPTR@GOTPAGEOFF]
	ldr	w3, [x25]
	ldp	w8, w9, [x20]
	and	w8, w9, w8
	ldr	w9, [x21]
	asr	w4, w8, w9
	bl	_EFX_POPULATE_DWORD_2
Lloh15:
	adrp	x23, _ER_DD_EVQ_INDIRECT@GOTPAGE
Lloh16:
	ldr	x23, [x23, _ER_DD_EVQ_INDIRECT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x22, x20
	ldr	w3, [x22, #8]!
	add	x1, sp, #12
	mov	x0, x19
	bl	_efx_writed_page
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
Lloh17:
	adrp	x8, _EFE_DD_EVQ_IND_RPTR_FLAGS_LOW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EFE_DD_EVQ_IND_RPTR_FLAGS_LOW@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	w3, [x25]
	ldr	w8, [x20]
	ldr	w9, [x21]
	mov	w10, #-1
	lsl	w9, w10, w9
	bic	w4, w8, w9
	bl	_EFX_POPULATE_DWORD_2
	b	LBB0_3
LBB0_2:
Lloh20:
	adrp	x8, _ERF_DZ_EVQ_RPTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERF_DZ_EVQ_RPTR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldp	w8, w9, [x20]
	and	w2, w9, w8
	bl	_EFX_POPULATE_DWORD_1
	add	x22, x20, #8
Lloh23:
	adrp	x23, _ER_DZ_EVQ_RPTR@GOTPAGE
Lloh24:
	ldr	x23, [x23, _ER_DZ_EVQ_RPTR@GOTPAGEOFF]
LBB0_3:
	ldr	w2, [x23]
	ldr	w3, [x22]
	add	x1, sp, #12
	mov	x0, x19
	bl	_efx_writed_page
	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	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_MIN_EVQ_SIZE,4,2           ; @EFX_MIN_EVQ_SIZE
	.comm	_ERF_DD_EVQ_IND_RPTR_WIDTH,4,2  ; @ERF_DD_EVQ_IND_RPTR_WIDTH
	.comm	_EFX_MAX_EVQ_SIZE,4,2           ; @EFX_MAX_EVQ_SIZE
	.comm	_ERF_DD_EVQ_IND_RPTR_FLAGS,4,2  ; @ERF_DD_EVQ_IND_RPTR_FLAGS
	.comm	_EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH,4,2 ; @EFE_DD_EVQ_IND_RPTR_FLAGS_HIGH
	.comm	_ERF_DD_EVQ_IND_RPTR,4,2        ; @ERF_DD_EVQ_IND_RPTR
	.comm	_ER_DD_EVQ_INDIRECT,4,2         ; @ER_DD_EVQ_INDIRECT
	.comm	_EFE_DD_EVQ_IND_RPTR_FLAGS_LOW,4,2 ; @EFE_DD_EVQ_IND_RPTR_FLAGS_LOW
	.comm	_ERF_DZ_EVQ_RPTR,4,2            ; @ERF_DZ_EVQ_RPTR
	.comm	_ER_DZ_EVQ_RPTR,4,2             ; @ER_DZ_EVQ_RPTR
	.no_dead_strip	_efx_ef10_ev_read_ack
.subsections_via_symbols
