	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as10x_pid_filter
_as10x_pid_filter:                      ## @as10x_pid_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_2:
	cmpl	$1, %r13d
	je	LBB0_6
## %bb.3:
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_as10x_cmd_del_PID_filter
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_7
LBB0_6:
	movq	_TS_PID_TYPE_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$255, -56(%rbp)
	movl	%r12d, -52(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_as10x_cmd_add_PID_filter
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %r8d
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_7
LBB0_4:
	negl	%ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_unlock
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	_EFAULT,4,2                     ## @EFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"amutex_lock_interruptible(lock) failed !\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"DEL_PID_FILTER([%02d] 0x%04x) ret = %d\n"

	.comm	_TS_PID_TYPE_TS,4,2             ## @TS_PID_TYPE_TS
L_.str.2:                               ## @.str.2
	.asciz	"ADD_PID_FILTER([%02d -> %02d], 0x%04x) ret = %d\n"

	.no_dead_strip	_as10x_pid_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as10x_pid_filter
_as10x_pid_filter:                      ; @as10x_pid_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_2:
	cmp	w22, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	w22, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_as10x_cmd_del_PID_filter
	mov	x22, x0
	ldr	x0, [x19, #8]
	stp	x21, x22, [sp, #8]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _TS_PID_TYPE_TS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TS_PID_TYPE_TS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #36]
	mov	w8, #255
	str	w8, [sp, #32]
	add	x1, sp, #32
	mov	x0, x19
	bl	_as10x_cmd_add_PID_filter
	mov	x22, x0
	ldr	x0, [x19, #8]
	ldp	w8, w9, [sp, #32]
	stp	x9, x22, [sp, #16]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x20, x8, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_7
LBB0_6:
	neg	w22, w23
LBB0_7:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_8:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"amutex_lock_interruptible(lock) failed !\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"DEL_PID_FILTER([%02d] 0x%04x) ret = %d\n"

	.comm	_TS_PID_TYPE_TS,4,2             ; @TS_PID_TYPE_TS
l_.str.2:                               ; @.str.2
	.asciz	"ADD_PID_FILTER([%02d -> %02d], 0x%04x) ret = %d\n"

	.no_dead_strip	_as10x_pid_filter
.subsections_via_symbols
