	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_rx_flush_done  ## -- Begin function efx_siena_sriov_rx_flush_done
	.p2align	4, 0x90
_efx_siena_sriov_rx_flush_done:         ## @efx_siena_sriov_rx_flush_done
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	movq	_FSF_AZ_DRIVER_EV_RX_DESCQ_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movl	%eax, %r15d
	movl	(%rbx), %edi
	movq	_FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	movl	%eax, %ebx
	leaq	-32(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_map_vi_index
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-36(%rbp), %edi
	movq	-32(%rbp), %rax
	movl	8(%rax), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	-36(%rbp), %edi
	movq	-32(%rbp), %rax
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movl	16(%rax), %esi
	callq	_set_bit
	movq	-32(%rbp), %rdi
	addq	$12, %rdi
	callq	_atomic_inc
	movq	-32(%rbp), %rdi
	jmp	LBB0_5
LBB0_4:
	movl	8(%rax), %esi
	callq	___clear_bit
	movq	-32(%rbp), %rdi
	decl	4(%rdi)
LBB0_5:
	callq	_efx_vfdi_flush_wake
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-32(%rbp), %rdi
	callq	_wake_up
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_FSF_AZ_DRIVER_EV_RX_DESCQ_ID,4,2 ## @FSF_AZ_DRIVER_EV_RX_DESCQ_ID
	.comm	_FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL,4,2 ## @FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_rx_flush_done  ; -- Begin function efx_siena_sriov_rx_flush_done
	.p2align	2
_efx_siena_sriov_rx_flush_done:         ; @efx_siena_sriov_rx_flush_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x8, _FSF_AZ_DRIVER_EV_RX_DESCQ_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSF_AZ_DRIVER_EV_RX_DESCQ_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x21, x0
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x19, x0
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x21
	bl	_map_vi_index
	cbz	x0, LBB0_2
LBB0_1:
	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
	add	sp, sp, #64
	ret
LBB0_2:
	ldr	w0, [sp, #4]
	ldr	x8, [sp, #8]
	ldr	w1, [x8, #8]
	bl	_test_bit
	cbz	w0, LBB0_1
; %bb.3:
	ldr	w0, [sp, #4]
	ldr	x8, [sp, #8]
	cbz	w19, LBB0_5
; %bb.4:
	ldr	w1, [x8, #16]
	bl	_set_bit
	ldr	x8, [sp, #8]
	add	x0, x8, #12
	bl	_atomic_inc
	ldr	x0, [sp, #8]
	bl	_efx_vfdi_flush_wake
	cbnz	x0, LBB0_6
	b	LBB0_1
LBB0_5:
	ldr	w1, [x8, #8]
	bl	___clear_bit
	ldr	x0, [sp, #8]
	ldr	w8, [x0, #4]
	sub	w8, w8, #1
	str	w8, [x0, #4]
	bl	_efx_vfdi_flush_wake
	cbz	x0, LBB0_1
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_wake_up
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FSF_AZ_DRIVER_EV_RX_DESCQ_ID,4,2 ; @FSF_AZ_DRIVER_EV_RX_DESCQ_ID
	.comm	_FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL,4,2 ; @FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL
.subsections_via_symbols
