	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetPIDs
_SetPIDs:                               ## @SetPIDs
	.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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%r13, %rdx
	callq	_dprintk
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	cmpl	$8191, %ebx                     ## imm = 0x1FFF
	je	LBB0_5
## %bb.1:
	cmpl	$8191, %r15d                    ## imm = 0x1FFF
	je	LBB0_5
## %bb.2:
	cmpl	$8191, %r12d                    ## imm = 0x1FFF
	je	LBB0_5
## %bb.3:
	cmpl	$8191, %r14d                    ## imm = 0x1FFF
	je	LBB0_5
## %bb.4:
	cmpl	$8191, %r8d                     ## imm = 0x1FFF
	jne	LBB0_6
LBB0_5:
	movq	8(%r13), %rax
	movq	_DMX_PES_VIDEO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_DMX_PES_AUDIO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_DMX_PES_TELETEXT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_DMX_PES_PCR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r8d, %r8d
LBB0_6:
	xorl	%eax, %eax
	cmpq	$0, (%r13)
	setne	%al
	shll	$15, %eax
	movq	_COMTYPE_PIDFILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MultiPID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	$6, %ecx
	movl	%ebx, %r9d
	pushq	%rax
	pushq	%r14
	pushq	%r12
	pushq	%r15
	callq	_av7110_fw_cmd
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p\n"

	.comm	_DMX_PES_VIDEO,8,3              ## @DMX_PES_VIDEO
	.comm	_DMX_PES_AUDIO,8,3              ## @DMX_PES_AUDIO
	.comm	_DMX_PES_TELETEXT,8,3           ## @DMX_PES_TELETEXT
	.comm	_DMX_PES_PCR,8,3                ## @DMX_PES_PCR
	.comm	_COMTYPE_PIDFILTER,4,2          ## @COMTYPE_PIDFILTER
	.comm	_MultiPID,4,2                   ## @MultiPID
	.no_dead_strip	_SetPIDs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetPIDs
_SetPIDs:                               ; @SetPIDs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x5
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x23
	bl	_dprintk
	mov	w8, #8191
	cmp	w22, w8
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, w8
	b.eq	LBB0_5
; %bb.2:
	mov	w8, #8191
	cmp	w19, w8
	b.eq	LBB0_5
; %bb.3:
	cmp	w24, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #8191
	cmp	w21, w8
	b.ne	LBB0_6
LBB0_5:
	mov	w22, #0
	mov	w20, #0
	mov	w19, #0
	mov	w24, #0
	mov	w21, #0
	ldr	x8, [x23, #8]
Lloh2:
	adrp	x9, _DMX_PES_VIDEO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DMX_PES_VIDEO@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
Lloh5:
	adrp	x9, _DMX_PES_AUDIO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMX_PES_AUDIO@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
Lloh8:
	adrp	x9, _DMX_PES_TELETEXT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMX_PES_TELETEXT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
Lloh11:
	adrp	x9, _DMX_PES_PCR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DMX_PES_PCR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	xzr, [x8, x9, lsl #3]
LBB0_6:
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w8, ne
	lsl	w8, w8, #15
Lloh14:
	adrp	x9, _COMTYPE_PIDFILTER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _COMTYPE_PIDFILTER@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
Lloh17:
	adrp	x9, _MultiPID@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MultiPID@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
	stp	w24, w8, [sp]
	mov	x0, x23
	mov	w3, #6
	mov	x4, x21
	mov	x5, x22
	mov	x6, x20
	mov	x7, x19
	bl	_av7110_fw_cmd
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p\n"

	.comm	_DMX_PES_VIDEO,8,3              ; @DMX_PES_VIDEO
	.comm	_DMX_PES_AUDIO,8,3              ; @DMX_PES_AUDIO
	.comm	_DMX_PES_TELETEXT,8,3           ; @DMX_PES_TELETEXT
	.comm	_DMX_PES_PCR,8,3                ; @DMX_PES_PCR
	.comm	_COMTYPE_PIDFILTER,4,2          ; @COMTYPE_PIDFILTER
	.comm	_MultiPID,4,2                   ; @MultiPID
	.no_dead_strip	_SetPIDs
.subsections_via_symbols
