	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_irq_ts
_cx23885_irq_ts:                        ## @cx23885_irq_ts
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	_VID_BC_MSK_OPC_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%esi, %edx
	je	LBB0_1
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movl	$7, %edi
	callq	_dprintk
	movq	_VID_BC_MSK_BAD_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_1:
	movq	_VID_BC_MSK_BAD_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_2
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movl	$7, %edi
	callq	_dprintk
LBB0_8:
	movq	_VID_BC_MSK_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edi
	callq	_dprintk
LBB0_10:
	movq	_VID_BC_MSK_OF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movl	$7, %edi
	callq	_dprintk
LBB0_12:
	movl	8(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	movl	24(%r14), %esi
	movl	28(%r14), %edi
	callq	_cx_clear
	movq	(%r14), %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	movq	%r15, %rdi
	callq	_cx23885_sram_channel_dump
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.15:
	movl	8(%r14), %edi
	movl	%ebx, %esi
	callq	_cx_write
	movl	$1, %eax
	jmp	LBB0_16
LBB0_14:
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_VID_BC_MSK_SYNC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_8
## %bb.3:
	movq	_VID_BC_MSK_OF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_8
## %bb.4:
	movq	_VID_BC_MSK_RISCI1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_13
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movl	$7, %edi
	callq	_dprintk
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	20(%r14), %edi
	callq	_cx_read
	leaq	16(%r14), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_cx23885_wakeup
	movq	%r15, %rdi
	callq	_spin_unlock
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_VID_BC_MSK_OPC_ERR,4,2         ## @VID_BC_MSK_OPC_ERR
	.comm	_VID_BC_MSK_BAD_PKT,4,2         ## @VID_BC_MSK_BAD_PKT
	.comm	_VID_BC_MSK_SYNC,4,2            ## @VID_BC_MSK_SYNC
	.comm	_VID_BC_MSK_OF,4,2              ## @VID_BC_MSK_OF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" (VID_BC_MSK_OPC_ERR 0x%08x)\n"

L_.str.1:                               ## @.str.1
	.asciz	" (VID_BC_MSK_BAD_PKT 0x%08x)\n"

L_.str.2:                               ## @.str.2
	.asciz	" (VID_BC_MSK_SYNC    0x%08x)\n"

L_.str.3:                               ## @.str.3
	.asciz	" (VID_BC_MSK_OF      0x%08x)\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: mpeg risc op code error\n"

	.comm	_VID_BC_MSK_RISCI1,4,2          ## @VID_BC_MSK_RISCI1
L_.str.5:                               ## @.str.5
	.asciz	" (RISCI1            0x%08x)\n"

	.no_dead_strip	_cx23885_irq_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23885_irq_ts
_cx23885_irq_ts:                        ; @cx23885_irq_ts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _VID_BC_MSK_OPC_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VID_BC_MSK_OPC_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x23, _VID_BC_MSK_SYNC@GOTPAGE
Lloh4:
	ldr	x23, [x23, _VID_BC_MSK_SYNC@GOTPAGEOFF]
Lloh5:
	adrp	x22, _VID_BC_MSK_OF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _VID_BC_MSK_OF@GOTPAGEOFF]
	tst	w2, w1
	b.eq	LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #7
	bl	_dprintk
Lloh9:
	adrp	x8, _VID_BC_MSK_BAD_PKT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VID_BC_MSK_BAD_PKT@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	tst	w2, w19
	b.ne	LBB0_3
	b	LBB0_4
LBB0_2:
Lloh12:
	adrp	x8, _VID_BC_MSK_BAD_PKT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VID_BC_MSK_BAD_PKT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	tst	w2, w19
	b.eq	LBB0_13
LBB0_3:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #7
	bl	_dprintk
LBB0_4:
	ldr	w2, [x23]
	tst	w2, w19
	b.eq	LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #7
	bl	_dprintk
LBB0_6:
	ldr	w2, [x22]
	tst	w2, w19
	b.eq	LBB0_8
; %bb.7:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #7
	bl	_dprintk
LBB0_8:
	ldr	w1, [x21, #8]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
	ldp	w1, w0, [x20, #24]
	bl	_cx_clear
	ldr	x8, [x21]
	ldr	x9, [x20]
	add	x1, x8, x9, lsl #2
	mov	x0, x21
	bl	_cx23885_sram_channel_dump
LBB0_9:
	cbz	w19, LBB0_11
; %bb.10:
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_cx_write
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	w8, [x23]
	tst	w8, w19
	b.ne	LBB0_4
; %bb.14:
	ldr	w8, [x22]
	tst	w8, w19
	b.ne	LBB0_4
; %bb.15:
Lloh23:
	adrp	x8, _VID_BC_MSK_RISCI1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VID_BC_MSK_RISCI1@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	tst	w2, w19
	b.eq	LBB0_9
; %bb.16:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #7
	bl	_dprintk
	add	x21, x20, #12
	mov	x0, x21
	bl	_spin_lock
	ldr	w0, [x20, #20]
	bl	_cx_read
	mov	x2, x0
	add	x1, x20, #16
	mov	x0, x20
	bl	_cx23885_wakeup
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_VID_BC_MSK_OPC_ERR,4,2         ; @VID_BC_MSK_OPC_ERR
	.comm	_VID_BC_MSK_BAD_PKT,4,2         ; @VID_BC_MSK_BAD_PKT
	.comm	_VID_BC_MSK_SYNC,4,2            ; @VID_BC_MSK_SYNC
	.comm	_VID_BC_MSK_OF,4,2              ; @VID_BC_MSK_OF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" (VID_BC_MSK_OPC_ERR 0x%08x)\n"

l_.str.1:                               ; @.str.1
	.asciz	" (VID_BC_MSK_BAD_PKT 0x%08x)\n"

l_.str.2:                               ; @.str.2
	.asciz	" (VID_BC_MSK_SYNC    0x%08x)\n"

l_.str.3:                               ; @.str.3
	.asciz	" (VID_BC_MSK_OF      0x%08x)\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: mpeg risc op code error\n"

	.comm	_VID_BC_MSK_RISCI1,4,2          ; @VID_BC_MSK_RISCI1
l_.str.5:                               ; @.str.5
	.asciz	" (RISCI1            0x%08x)\n"

	.no_dead_strip	_cx23885_irq_ts
.subsections_via_symbols
