	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_filter_clear_rx
_efx_ef10_filter_clear_rx:              ## @efx_ef10_filter_clear_rx
	.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
                                        ## kill: def $esi killed $esi def $rsi
	leal	1(%rsi), %ecx
	movl	$-1, %r12d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	movq	%rdi, %r15
	movq	_EFX_FILTER_PRI_AUTO@GOTPCREL(%rip), %rax
	movb	(%rax), %bl
	callq	_down_read
	movq	8(%r15), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_down_write
	movq	_HUNT_FILTER_TBL_ROWS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_5
## %bb.1:
	btsl	%ebx, %r12d
	notl	%r12d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_efx_ef10_filter_remove_internal
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	je	LBB0_4
	jmp	LBB0_6
LBB0_5:
	xorl	%r13d, %r13d
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_up_write
	movq	%r15, %rdi
	callq	_up_read
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_FILTER_PRI_AUTO,4,2        ## @EFX_FILTER_PRI_AUTO
	.comm	_HUNT_FILTER_TBL_ROWS,4,2       ## @HUNT_FILTER_TBL_ROWS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_efx_ef10_filter_clear_rx
.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_clear_rx
_efx_ef10_filter_clear_rx:              ; @efx_ef10_filter_clear_rx
	.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	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EFX_FILTER_PRI_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_FILTER_PRI_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	bl	_down_read
	ldr	x20, [x19, #8]
	mov	x0, x20
	bl	_down_write
Lloh3:
	adrp	x24, _HUNT_FILTER_TBL_ROWS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HUNT_FILTER_TBL_ROWS@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	w21, #0
	add	w8, w22, #1
	mov	w9, #-1
	lsl	w8, w9, w8
	mov	w9, #1
	lsl	w9, w9, w23
	orr	w8, w9, w8
	mvn	w22, w8
Lloh5:
	adrp	x25, _ENOENT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ENOENT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w8, [x24]
	cmp	w21, w8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_efx_ef10_filter_remove_internal
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldr	w8, [x25]
	cmn	w0, w8
	b.eq	LBB0_2
	b	LBB0_6
LBB0_5:
	mov	w23, #0
LBB0_6:
	mov	x0, x20
	bl	_up_write
	mov	x0, x19
	bl	_up_read
	mov	x0, x23
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_FILTER_PRI_AUTO,4,2        ; @EFX_FILTER_PRI_AUTO
	.comm	_HUNT_FILTER_TBL_ROWS,4,2       ; @HUNT_FILTER_TBL_ROWS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_efx_ef10_filter_clear_rx
.subsections_via_symbols
