	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_enable_tx_pkt_filtering ## -- Begin function e1000e_enable_tx_pkt_filtering
	.p2align	4, 0x90
_e1000e_enable_tx_pkt_filtering:        ## @e1000e_enable_tx_pkt_filtering
	.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
	movl	$1, (%rdi)
	callq	*8(%rdi)
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_e1000_mng_enable_host_if
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	movl	$0, (%rbx)
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	16(%rbx), %rdi
	movq	_E1000_MNG_DHCP_COOKIE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	$4, %r15d
	jl	LBB0_6
## %bb.3:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_E1000_MNG_DHCP_COOKIE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	sarl	$2, %r13d
	shrq	$2, %r15
	xorl	%r12d, %r12d
	movq	_E1000_HOST_IF@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	leal	(%r12,%r13), %edx
	movq	%rbx, %rdi
	callq	_E1000_READ_REG_ARRAY
	movl	%eax, 16(%rbx,%r12,4)
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_4
## %bb.5:
	movq	_E1000_MNG_DHCP_COOKIE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	movq	(%rdi), %r14
	movq	$0, (%rdi)
	movl	%r15d, %esi
	callq	_e1000_calculate_checksum
	cmpq	%rax, %r14
	jne	LBB0_8
## %bb.7:
	movq	24(%rbx), %rax
	movq	_E1000_IAMT_SIGNATURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_PARSING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%rbx)
	je	LBB0_11
## %bb.10:
	movl	(%rbx), %eax
	jmp	LBB0_12
LBB0_8:
	movl	$1, (%rbx)
	movl	$1, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_LENGTH,4,2 ## @E1000_MNG_DHCP_COOKIE_LENGTH
	.comm	_E1000_MNG_DHCP_COOKIE_OFFSET,4,2 ## @E1000_MNG_DHCP_COOKIE_OFFSET
	.comm	_E1000_HOST_IF,4,2              ## @E1000_HOST_IF
	.comm	_E1000_IAMT_SIGNATURE,8,3       ## @E1000_IAMT_SIGNATURE
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_PARSING,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_PARSING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_enable_tx_pkt_filtering ; -- Begin function e1000e_enable_tx_pkt_filtering
	.p2align	2
_e1000e_enable_tx_pkt_filtering:        ; @e1000e_enable_tx_pkt_filtering
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [x0, #8]
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_e1000_mng_enable_host_if
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	str	wzr, [x19]
LBB0_4:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	add	x20, x19, #16
Lloh0:
	adrp	x21, _E1000_MNG_DHCP_COOKIE_LENGTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _E1000_MNG_DHCP_COOKIE_LENGTH@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w1, #4
	b.lt	LBB0_9
; %bb.6:
	mov	x22, #0
Lloh2:
	adrp	x8, _E1000_MNG_DHCP_COOKIE_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_MNG_DHCP_COOKIE_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	asr	w23, w8, #2
	lsr	x24, x1, #2
Lloh5:
	adrp	x25, _E1000_HOST_IF@GOTPAGE
Lloh6:
	ldr	x25, [x25, _E1000_HOST_IF@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	add	w2, w23, w22
	mov	x0, x19
	bl	_E1000_READ_REG_ARRAY
	add	x8, x19, x22, lsl #2
	str	w0, [x8, #16]
	add	x22, x22, #1
	cmp	x24, x22
	b.ne	LBB0_7
; %bb.8:
	ldr	w1, [x21]
LBB0_9:
	ldr	x21, [x20]
	str	xzr, [x20]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_e1000_calculate_checksum
	cmp	x21, x0
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [x19, #24]
Lloh7:
	adrp	x9, _E1000_IAMT_SIGNATURE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _E1000_IAMT_SIGNATURE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	ldr	w8, [x19, #32]
Lloh10:
	adrp	x9, _E1000_MNG_DHCP_COOKIE_STATUS_PARSING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _E1000_MNG_DHCP_COOKIE_STATUS_PARSING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.12:
	ldr	w0, [x19]
	b	LBB0_4
LBB0_13:
	mov	w0, #1
	str	w0, [x19]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_LENGTH,4,2 ; @E1000_MNG_DHCP_COOKIE_LENGTH
	.comm	_E1000_MNG_DHCP_COOKIE_OFFSET,4,2 ; @E1000_MNG_DHCP_COOKIE_OFFSET
	.comm	_E1000_HOST_IF,4,2              ; @E1000_HOST_IF
	.comm	_E1000_IAMT_SIGNATURE,8,3       ; @E1000_IAMT_SIGNATURE
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_PARSING,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_PARSING
.subsections_via_symbols
