	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_tx_flush_done  ## -- Begin function efx_siena_sriov_tx_flush_done
	.p2align	4, 0x90
_efx_siena_sriov_tx_flush_done:         ## @efx_siena_sriov_tx_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	movq	_FSF_AZ_DRIVER_EV_SUBDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_QWORD_FIELD
	leaq	-24(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_map_vi_index
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	-12(%rbp), %edi
	movq	-24(%rbp), %rax
	movl	8(%rax), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	-12(%rbp), %edi
	movq	-24(%rbp), %rax
	movl	8(%rax), %esi
	callq	___clear_bit
	movq	-24(%rbp), %rdi
	decl	4(%rdi)
	callq	_efx_vfdi_flush_wake
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-24(%rbp), %rdi
	callq	_wake_up
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSF_AZ_DRIVER_EV_SUBDATA,4,2   ## @FSF_AZ_DRIVER_EV_SUBDATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_siena_sriov_tx_flush_done  ; -- Begin function efx_siena_sriov_tx_flush_done
	.p2align	2
_efx_siena_sriov_tx_flush_done:         ; @efx_siena_sriov_tx_flush_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x8, _FSF_AZ_DRIVER_EV_SUBDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSF_AZ_DRIVER_EV_SUBDATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_EFX_QWORD_FIELD
	mov	x1, x0
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	bl	_map_vi_index
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	w0, [sp, #4]
	ldr	x8, [sp, #8]
	ldr	w1, [x8, #8]
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [sp, #4]
	ldr	x8, [sp, #8]
	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_4
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_wake_up
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FSF_AZ_DRIVER_EV_SUBDATA,4,2   ; @FSF_AZ_DRIVER_EV_SUBDATA
.subsections_via_symbols
