	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp702x_init_pid_filter
_vp702x_init_pid_filter:                ## @vp702x_init_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %r15
	movq	(%rax), %r14
	movabsq	$4294967304, %rax               ## imm = 0x100000008
	movq	%rax, (%r15)
	movl	$0, 8(%r15)
	movl	$1, %esi
	callq	_vp702x_set_pld_mode
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_vp702x_set_pid
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_memset
	movq	(%r12), %rdi
	movl	$181, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$10, %r9d
	callq	_vp702x_usb_in_op
	movq	(%r12), %rdi
	movl	$181, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$10, %r9d
	callq	_vp702x_usb_in_op
	movq	(%r12), %rdi
	movl	$181, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$10, %r9d
	callq	_vp702x_usb_in_op
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vp702x_init_pid_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function vp702x_init_pid_filter
lCPI0_0:
	.long	8                               ; 0x8
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_vp702x_init_pid_filter:                ; @vp702x_init_pid_filter
	.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	x20, x0
	ldp	x8, x22, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	str	wzr, [x22, #8]
	mov	w1, #1
	bl	_vp702x_set_pld_mode
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #65535
	mov	x2, x21
	mov	w3, #1
	bl	_vp702x_set_pid
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x21, [x19, #8]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #10
	bl	_memset
	ldr	x0, [x20]
	mov	w1, #181
	mov	w2, #3
	mov	w3, #0
	mov	x4, x21
	mov	w5, #10
	bl	_vp702x_usb_in_op
	ldr	x0, [x20]
	mov	w1, #181
	mov	w2, #0
	mov	w3, #0
	mov	x4, x21
	mov	w5, #10
	bl	_vp702x_usb_in_op
	ldr	x0, [x20]
	mov	w1, #181
	mov	w2, #1
	mov	w3, #0
	mov	x4, x21
	mov	w5, #10
	bl	_vp702x_usb_in_op
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	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 AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vp702x_init_pid_filter
.subsections_via_symbols
