	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_filter_get_safe      ## -- Begin function ef4_farch_filter_get_safe
	.p2align	4, 0x90
_ef4_farch_filter_get_safe:             ## @ef4_farch_filter_get_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	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:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	(%r14), %r14
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_ef4_farch_filter_id_index
	shlq	$4, %r15
	cmpl	(%r14,%r15), %eax
	jae	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	shlq	$2, %r13
	addq	8(%r14,%r15), %r13
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movl	4(%r14,%r15), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r13)
	jne	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ef4_farch_filter_to_gen_spec
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %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_get_safe      ; -- Begin function ef4_farch_filter_get_safe
	.p2align	2
_ef4_farch_filter_get_safe:             ; @ef4_farch_filter_get_safe
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [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_5
; %bb.1:
	ldr	x23, [x23]
	mov	w24, w0
	mov	x0, x22
	bl	_ef4_farch_filter_id_index
	lsl	x8, x24, #4
	ldr	w8, [x23, x8]
	cmp	w0, w8
	b.hs	LBB0_5
; %bb.2:
	mov	x22, x0
	add	x24, x23, x24, lsl #4
	ldr	x23, [x24, #8]
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	w1, [x24, #4]
	mov	x0, x22
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.3:
	add	x1, x23, w22, uxtw #2
	ldr	w8, [x1]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_ef4_farch_filter_to_gen_spec
	mov	w20, #0
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_8:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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
