	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_filter_remove_safe   ## -- Begin function ef4_farch_filter_remove_safe
	.p2align	4, 0x90
_ef4_farch_filter_remove_safe:          ## @ef4_farch_filter_remove_safe
	.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
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movl	%edx, %edi
	callq	_ef4_farch_filter_id_table_id
	movq	_EF4_FARCH_FILTER_TABLE_COUNT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_1
## %bb.2:
	movq	(%rbx), %r15
	movl	%eax, %ebx
	shlq	$4, %rbx
	movl	%r13d, %edi
	callq	_ef4_farch_filter_id_index
	cmpl	(%r15,%rbx), %eax
	jae	LBB0_1
## %bb.3:
	movl	%eax, %r13d
	addq	%rbx, %r15
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_ef4_farch_filter_remove
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF4_FARCH_FILTER_TABLE_COUNT,4,2 ## @EF4_FARCH_FILTER_TABLE_COUNT
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_filter_remove_safe   ; -- Begin function ef4_farch_filter_remove_safe
	.p2align	2
_ef4_farch_filter_remove_safe:          ; @ef4_farch_filter_remove_safe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	mov	x0, x2
	bl	_ef4_farch_filter_id_table_id
Lloh0:
	adrp	x8, _EF4_FARCH_FILTER_TABLE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EF4_FARCH_FILTER_TABLE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hs	LBB0_3
; %bb.1:
	ldr	x8, [x22]
	add	x22, x8, w0, uxtw #4
	mov	x0, x21
	bl	_ef4_farch_filter_id_index
	ldr	w8, [x22]
	cmp	w0, w8
	b.hs	LBB0_3
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_ef4_farch_filter_remove
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x20
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EF4_FARCH_FILTER_TABLE_COUNT,4,2 ; @EF4_FARCH_FILTER_TABLE_COUNT
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
