	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_siena_sriov_reset_rx_filter
_efx_siena_sriov_reset_rx_filter:       ## @efx_siena_sriov_reset_rx_filter
	.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	32(%rdi), %r14
	movl	(%rdi), %edx
	cmpl	$-1, %edx
	je	LBB0_2
## %bb.1:
	movq	_EFX_FILTER_PRI_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_efx_filter_remove_id_safe
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_dbg
	movl	$-1, (%rbx)
LBB0_2:
	cmpl	$0, 24(%rbx)
	je	LBB0_9
## %bb.3:
	movl	8(%rbx), %edi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movl	12(%rbx), %edi
	callq	_ntohs
	movl	%eax, %r15d
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_EFX_FILTER_PRI_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	16(%rbx), %esi
	movl	20(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_abs_index
	leaq	-48(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_efx_filter_init_rx
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.5:
	movq	_EFX_FILTER_VID_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movl	8(%rbx), %edx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_efx_filter_set_eth_local
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_efx_filter_insert_filter
	movl	%eax, %r15d
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	4(%rbx), %r8d
	testl	%r15d, %r15d
	js	LBB0_7
## %bb.8:
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %r9d
	callq	_netif_dbg
	movl	%r15d, (%rbx)
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_warn
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_FILTER_PRI_REQUIRED,4,2    ## @EFX_FILTER_PRI_REQUIRED
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Removed vf %s rx filter %d\n"

	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.comm	_EFX_FILTER_VID_UNSPEC,4,2      ## @EFX_FILTER_VID_UNSPEC
L_.str.1:                               ## @.str.1
	.asciz	"Unable to insert rx filter for vf %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Inserted vf %s rx filter %d\n"

	.no_dead_strip	_efx_siena_sriov_reset_rx_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_siena_sriov_reset_rx_filter
_efx_siena_sriov_reset_rx_filter:       ; @efx_siena_sriov_reset_rx_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	x20, [x0, #32]
	ldr	w2, [x0]
	cmn	w2, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFX_FILTER_PRI_REQUIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_FILTER_PRI_REQUIRED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_efx_filter_remove_id_safe
Lloh3:
	adrp	x8, _hw@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20]
	ldp	w5, w4, [x19]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_dbg
	mov	w8, #-1
	str	w8, [x19]
LBB0_2:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_7
; %bb.3:
	ldr	w0, [x19, #8]
	bl	_is_zero_ether_addr
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x19, #12]
	bl	_ntohs
	mov	x21, x0
Lloh8:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
Lloh11:
	adrp	x8, _EFX_FILTER_PRI_REQUIRED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFX_FILTER_PRI_REQUIRED@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	ldp	w1, w23, [x19, #16]
	mov	x0, x19
	bl	_abs_index
	mov	x3, x0
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x23
	bl	_efx_filter_init_rx
Lloh14:
	adrp	x8, _EFX_FILTER_VID_UNSPEC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EFX_FILTER_VID_UNSPEC@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ands	w9, w24, w21
	csel	w1, w8, w9, eq
	ldr	w2, [x19, #8]
	add	x0, sp, #8
	bl	_efx_filter_set_eth_local
	bl	_BUG_ON
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_efx_filter_insert_filter
Lloh17:
	adrp	x8, _hw@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x20]
	ldr	w4, [x19, #4]
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	x21, x0
Lloh20:
	adrp	x3, l_.str.2@PAGE
Lloh21:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x5, x21
	bl	_netif_dbg
	str	w21, [x19]
	b	LBB0_7
LBB0_6:
Lloh22:
	adrp	x3, l_.str.1@PAGE
Lloh23:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netif_warn
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_FILTER_PRI_REQUIRED,4,2    ; @EFX_FILTER_PRI_REQUIRED
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Removed vf %s rx filter %d\n"

	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.comm	_EFX_FILTER_VID_UNSPEC,4,2      ; @EFX_FILTER_VID_UNSPEC
l_.str.1:                               ; @.str.1
	.asciz	"Unable to insert rx filter for vf %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Inserted vf %s rx filter %d\n"

	.no_dead_strip	_efx_siena_sriov_reset_rx_filter
.subsections_via_symbols
