	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_erase_filter               ## -- Begin function igc_erase_filter
	.p2align	4, 0x90
_igc_erase_filter:                      ## @igc_erase_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %eax
	movq	_IGC_FILTER_FLAG_ETHER_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_igc_clear_etype_filter_regs
	movl	4(%rbx), %eax
LBB0_2:
	movq	_IGC_FILTER_FLAG_VLAN_TCI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	callq	_ntohs
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_igc_clear_vlan_prio_filter
	movl	4(%rbx), %eax
LBB0_4:
	movq	_IGC_FILTER_FLAG_SRC_MAC_ADDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edx
	movl	12(%rbx), %esi
	movq	_IGC_MAC_STATE_SRC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_igc_del_mac_steering_filter
	movl	4(%rbx), %eax
LBB0_6:
	movq	_IGC_FILTER_FLAG_DST_MAC_ADDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_igc_del_mac_steering_filter
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_FILTER_FLAG_ETHER_TYPE,4,2 ## @IGC_FILTER_FLAG_ETHER_TYPE
	.comm	_IGC_FILTER_FLAG_VLAN_TCI,4,2   ## @IGC_FILTER_FLAG_VLAN_TCI
	.comm	_IGC_FILTER_FLAG_SRC_MAC_ADDR,4,2 ## @IGC_FILTER_FLAG_SRC_MAC_ADDR
	.comm	_IGC_MAC_STATE_SRC_ADDR,4,2     ## @IGC_MAC_STATE_SRC_ADDR
	.comm	_IGC_FILTER_FLAG_DST_MAC_ADDR,4,2 ## @IGC_FILTER_FLAG_DST_MAC_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_erase_filter               ; -- Begin function igc_erase_filter
	.p2align	2
_igc_erase_filter:                      ; @igc_erase_filter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x9, _IGC_FILTER_FLAG_ETHER_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IGC_FILTER_FLAG_ETHER_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_igc_clear_etype_filter_regs
	ldr	w8, [x20, #4]
LBB0_2:
Lloh3:
	adrp	x9, _IGC_FILTER_FLAG_VLAN_TCI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IGC_FILTER_FLAG_VLAN_TCI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, #16]
	bl	_ntohs
	mov	x1, x0
	mov	x0, x19
	bl	_igc_clear_vlan_prio_filter
	ldr	w8, [x20, #4]
LBB0_4:
Lloh6:
	adrp	x9, _IGC_FILTER_FLAG_SRC_MAC_ADDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IGC_FILTER_FLAG_SRC_MAC_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x20, #12]
	ldr	w2, [x20]
Lloh9:
	adrp	x8, _IGC_MAC_STATE_SRC_ADDR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IGC_MAC_STATE_SRC_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_igc_del_mac_steering_filter
	ldr	w8, [x20, #4]
LBB0_6:
Lloh12:
	adrp	x9, _IGC_FILTER_FLAG_DST_MAC_ADDR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IGC_FILTER_FLAG_DST_MAC_ADDR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_igc_del_mac_steering_filter
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_FILTER_FLAG_ETHER_TYPE,4,2 ; @IGC_FILTER_FLAG_ETHER_TYPE
	.comm	_IGC_FILTER_FLAG_VLAN_TCI,4,2   ; @IGC_FILTER_FLAG_VLAN_TCI
	.comm	_IGC_FILTER_FLAG_SRC_MAC_ADDR,4,2 ; @IGC_FILTER_FLAG_SRC_MAC_ADDR
	.comm	_IGC_MAC_STATE_SRC_ADDR,4,2     ; @IGC_MAC_STATE_SRC_ADDR
	.comm	_IGC_FILTER_FLAG_DST_MAC_ADDR,4,2 ; @IGC_FILTER_FLAG_DST_MAC_ADDR
.subsections_via_symbols
