	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_filter_mark_one_old
_efx_ef10_filter_mark_one_old:          ## @efx_ef10_filter_mark_one_old
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	leaq	8(%rbx), %rdi
	callq	_efx_rwsem_assert_write_locked
	movq	(%r14), %rdi
	movq	_EFX_EF10_FILTER_ID_INVALID@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdi
	je	LBB0_4
## %bb.1:
	callq	_efx_ef10_filter_get_unsafe_id
	movq	(%rbx), %rcx
	movl	%eax, %r15d
	movl	(%rcx,%r15,4), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	(%r14), %r8
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movl	%r15d, %r9d
	callq	_netif_dbg
	movq	(%rbx), %rcx
	movl	(%rcx,%r15,4), %eax
LBB0_3:
	movq	_EFX_EF10_FILTER_FLAG_AUTO_OLD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx,%r15,4)
	movq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_EF10_FILTER_ID_INVALID,8,3 ## @EFX_EF10_FILTER_ID_INVALID
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"marked null spec old %04x:%04x\n"

	.comm	_EFX_EF10_FILTER_FLAG_AUTO_OLD,4,2 ## @EFX_EF10_FILTER_FLAG_AUTO_OLD
	.no_dead_strip	_efx_ef10_filter_mark_one_old
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_filter_mark_one_old
_efx_ef10_filter_mark_one_old:          ; @efx_ef10_filter_mark_one_old
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	ldr	x23, [x0, #8]
	add	x0, x23, #8
	bl	_efx_rwsem_assert_write_locked
	ldr	x0, [x19]
Lloh0:
	adrp	x22, _EFX_EF10_FILTER_ID_INVALID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EFX_EF10_FILTER_ID_INVALID@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	bl	_efx_ef10_filter_get_unsafe_id
	ldr	x8, [x23]
	mov	w20, w0
	ldr	w9, [x8, w0, uxtw #2]
	cbnz	w9, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _drv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ldr	x4, [x19]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x5, x20
	bl	_netif_dbg
	ldr	x8, [x23]
	ldr	w9, [x8, x20, lsl #2]
LBB0_3:
Lloh7:
	adrp	x10, _EFX_EF10_FILTER_FLAG_AUTO_OLD@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EFX_EF10_FILTER_FLAG_AUTO_OLD@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x8, x20, lsl #2]
	ldr	x8, [x22]
	str	x8, [x19]
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_EF10_FILTER_ID_INVALID,8,3 ; @EFX_EF10_FILTER_ID_INVALID
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"marked null spec old %04x:%04x\n"

	.comm	_EFX_EF10_FILTER_FLAG_AUTO_OLD,4,2 ; @EFX_EF10_FILTER_FLAG_AUTO_OLD
	.no_dead_strip	_efx_ef10_filter_mark_one_old
.subsections_via_symbols
