	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dvb_feed_start_pid
LCPI0_0:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dvb_feed_start_pid:                    ## @dvb_feed_start_pid
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r12
	movq	(%r12), %rbx
	movq	8(%r12), %r14
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%r14, %rdx
	callq	_dprintk
	movl	$65535, -64(%rbp)               ## imm = 0xFFFF
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [65535,65535,65535,65535]
	movaps	%xmm0, -80(%rbp)
	movslq	(%r13), %rax
	movl	(%rbx,%rax,4), %edx
	xorl	%ecx, %ecx
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%edx, %ecx
	movl	%ecx, -80(%rbp,%rax,4)
	cmpq	$2, %rax
	jne	LBB0_6
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.2:
	movq	_TS_PACKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r13)
	je	LBB0_8
## %bb.3:
	movl	$0, -80(%rbp,%rax,4)
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %esi
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-64(%rbp), %r9d
	movq	%r14, %rdi
	callq	_ChangePIDs
	testl	%eax, %eax
	jne	LBB0_22
## %bb.4:
	movl	8(%r13), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_StartHWFilter                  ## TAILCALL
LBB0_6:
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.7:
	cmpl	$4, %eax
	je	LBB0_8
LBB0_13:
	movq	_TS_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 4(%r13)
	je	LBB0_22
## %bb.14:
	cmpl	$0, (%r14)
	jne	LBB0_22
## %bb.15:
	movl	(%r13), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.18:
	cmpl	$1, %ecx
	jne	LBB0_22
LBB0_19:
	movq	(%r12), %rcx
	testb	$-128, 5(%rcx)
	jne	LBB0_22
## %bb.20:
	movq	_RP_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.21:
	movq	%r14, %rdi
	movq	%r13, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av7110_av_start_record         ## TAILCALL
LBB0_8:
	movl	-80(%rbp), %r15d
	movl	-76(%rbp), %esi
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-64(%rbp), %r9d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_ChangePIDs
	testl	%eax, %eax
	je	LBB0_9
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	$1, (%r13)
	jg	LBB0_13
## %bb.10:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.11:
	cmpq	$0, 8(%r14)
	je	LBB0_13
## %bb.12:
	movq	_COMTYPE_PIDFILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Scan@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_av7110_fw_cmd
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_13
LBB0_16:
	movq	(%r12), %rcx
	xorl	%eax, %eax
	testb	$-128, 1(%rcx)
	jne	LBB0_22
## %bb.17:
	movq	_RP_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_av7110_av_start_record
	movl	(%r13), %ecx
	cmpl	$1, %ecx
	je	LBB0_19
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p\n"

	.comm	_TS_PACKET,4,2                  ## @TS_PACKET
	.comm	_COMTYPE_PIDFILTER,4,2          ## @COMTYPE_PIDFILTER
	.comm	_Scan,4,2                       ## @Scan
	.comm	_RP_AUDIO,4,2                   ## @RP_AUDIO
	.comm	_RP_VIDEO,4,2                   ## @RP_VIDEO
	.no_dead_strip	_dvb_feed_start_pid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_feed_start_pid
_dvb_feed_start_pid:                    ; @dvb_feed_start_pid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x22, [x0, #16]
	ldp	x21, x20, [x22]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x20
	bl	_dprintk
	mov	w8, #65535
	str	w8, [sp, #16]
	movi.2d	v0, #0x00ffff0000ffff
	str	q0, [sp]
	ldrsw	x8, [x19]
	lsl	x9, x8, #2
	ldr	w10, [x21, x9]
	tst	w10, #0x8000
	csel	w10, w10, wzr, eq
	mov	x11, sp
	str	w10, [x11, x9]
	cmp	w8, #2
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_6
; %bb.1:
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.2:
	cmp	w8, #4
	b.eq	LBB0_10
LBB0_3:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _TS_PACKET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TS_PACKET@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x20]
	cbz	w8, LBB0_17
LBB0_5:
	mov	w0, #0
	b	LBB0_11
LBB0_6:
	ldr	w9, [x19, #4]
Lloh8:
	adrp	x10, _TS_PACKET@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TS_PACKET@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.7:
	mov	x9, sp
	str	wzr, [x9, x8, lsl #2]
	ldp	w2, w1, [sp]
	ldp	w3, w4, [sp, #8]
	ldr	w5, [sp, #16]
	mov	x0, x20
	bl	_ChangePIDs
	cbnz	w0, LBB0_11
; %bb.8:
	ldr	w0, [x19, #8]
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.9:
	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
	add	sp, sp, #80
	b	_StartHWFilter
LBB0_10:
	ldp	w21, w1, [sp]
	ldp	w3, w4, [sp, #8]
	ldr	w5, [sp, #16]
	mov	x0, x20
	mov	x2, x21
	bl	_ChangePIDs
	cbz	w0, LBB0_13
LBB0_11:
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.12:
	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
	add	sp, sp, #80
	ret
LBB0_13:
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_3
; %bb.14:
	cbz	w21, LBB0_3
; %bb.15:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.16:
Lloh17:
	adrp	x8, _COMTYPE_PIDFILTER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _COMTYPE_PIDFILTER@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _Scan@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Scan@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_av7110_fw_cmd
	cbnz	w0, LBB0_11
	b	LBB0_3
LBB0_17:
	ldr	w8, [x19]
	cbz	w8, LBB0_19
; %bb.18:
	mov	w0, #0
	cmp	w8, #1
	b.ne	LBB0_11
	b	LBB0_21
LBB0_19:
	ldr	x8, [x22]
	ldrb	w8, [x8, #1]
	tbnz	w8, #7, LBB0_5
; %bb.20:
Lloh23:
	adrp	x8, _RP_AUDIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RP_AUDIO@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_av7110_av_start_record
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_11
LBB0_21:
	ldr	x8, [x22]
	ldrb	w8, [x8, #5]
	tbnz	w8, #7, LBB0_11
; %bb.22:
Lloh26:
	adrp	x8, _RP_VIDEO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RP_VIDEO@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [sp, #24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x20
	mov	x2, x19
	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
	add	sp, sp, #80
	b	_av7110_av_start_record
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p\n"

	.comm	_TS_PACKET,4,2                  ; @TS_PACKET
	.comm	_COMTYPE_PIDFILTER,4,2          ; @COMTYPE_PIDFILTER
	.comm	_Scan,4,2                       ; @Scan
	.comm	_RP_AUDIO,4,2                   ; @RP_AUDIO
	.comm	_RP_VIDEO,4,2                   ; @RP_VIDEO
	.no_dead_strip	_dvb_feed_start_pid
.subsections_via_symbols
