	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_filter
_store_filter:                          ## @store_filter
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_to_rc_dev
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_rc_filter_attr
	movq	%rax, %r13
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r13), %rax
	movq	_RC_FILTER_NORMAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpq	%rcx, %rax
	setne	%dl
	movq	(%r12,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	xorl	%r15d, %r15d
	cmpq	%rcx, %rax
	sete	%r15b
	shlq	$4, %r15
	leaq	24(%r12), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movups	32(%r15,%r12), %xmm0
	movaps	%xmm0, -64(%rbp)
	cmpq	$0, 8(%r13)
	movq	-72(%rbp), %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, -64(%rbp)
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_20
LBB0_6:
	movq	%rax, -56(%rbp)
LBB0_7:
	movq	(%r13), %rax
	movq	_RC_FILTER_WAKEUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.8:
	movq	16(%r12), %rax
	movq	_RC_PROTO_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_19
	jmp	LBB0_12
LBB0_9:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_rc_validate_filter
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jne	LBB0_19
LBB0_12:
	movq	(%r13), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:
	movq	_RC_FILTER_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.14:
	cmpl	$0, 28(%r12)
	jne	LBB0_17
## %bb.15:
	cmpq	$0, -72(%rbp)
	je	LBB0_17
## %bb.16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_17:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	*%rbx
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_19
## %bb.18:
	leaq	(%r15,%r12), %rax
	addq	$32, %rax
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%rax)
LBB0_19:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	testl	%ebx, %ebx
	cmovsl	%ebx, %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_FILTER_NORMAL,8,3           ## @RC_FILTER_NORMAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RC_FILTER_WAKEUP,8,3           ## @RC_FILTER_WAKEUP
	.comm	_RC_PROTO_UNKNOWN,8,3           ## @RC_PROTO_UNKNOWN
	.no_dead_strip	_store_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_filter
_store_filter:                          ; @store_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x21, x2
	mov	x22, x1
	bl	_to_rc_dev
	mov	x20, x0
	mov	x0, x22
	bl	_to_rc_filter_attr
	mov	x22, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_18
; %bb.1:
Lloh0:
	adrp	x26, _RC_FILTER_NORMAL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RC_FILTER_NORMAL@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w10, ne
	ldr	x25, [x20, w10, uxtw #3]
	cbz	x25, LBB0_4
; %bb.2:
	add	x10, x20, #48
	add	x11, x20, #32
	cmp	x8, x9
	csel	x24, x10, x11, eq
	add	x21, x20, #24
	mov	x0, x21
	bl	_mutex_lock
	ldr	q0, [x24]
	str	q0, [sp, #16]
	ldr	x9, [x22, #8]
	ldr	x8, [sp, #8]
	cbz	x9, LBB0_5
; %bb.3:
	str	x8, [sp, #16]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_5:
	str	x8, [sp, #24]
LBB0_6:
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _RC_FILTER_WAKEUP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RC_FILTER_WAKEUP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
	ldr	x8, [x20, #16]
Lloh8:
	adrp	x9, _RC_PROTO_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RC_PROTO_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w23, w8
	cbnz	w23, LBB0_17
	b	LBB0_10
LBB0_9:
	add	x1, sp, #16
	mov	x0, x20
	bl	_rc_validate_filter
	mov	x23, x0
	cbnz	w23, LBB0_17
LBB0_10:
	ldr	x8, [x22]
LBB0_11:
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.12:
	ldr	w8, [x20, #28]
	cbnz	w8, LBB0_15
; %bb.13:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_15
; %bb.14:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
LBB0_15:
	add	x1, sp, #16
	mov	x0, x20
	blr	x25
	mov	x23, x0
	tbnz	w0, #31, LBB0_17
; %bb.16:
	ldr	q0, [sp, #16]
	str	q0, [x24]
LBB0_17:
	mov	x0, x21
	bl	_mutex_unlock
	cmp	w23, #0
	csel	w0, w23, w19, lt
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_FILTER_NORMAL,8,3           ; @RC_FILTER_NORMAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RC_FILTER_WAKEUP,8,3           ; @RC_FILTER_WAKEUP
	.comm	_RC_PROTO_UNKNOWN,8,3           ; @RC_PROTO_UNKNOWN
	.no_dead_strip	_store_filter
.subsections_via_symbols
