	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debiirq
_debiirq:                               ## @debiirq
	.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
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_print_time
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dprintk
	cmpl	$-1, %ebx
	je	LBB0_1
## %bb.3:
	movl	$-1, (%r14)
	leal	-128(%rbx), %eax
	cmpb	$10, %al
	ja	LBB0_2
## %bb.4:
	shrl	$8, %ebx
	andl	$31, %ebx
	movzbl	%al, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	40(%r14), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %r8d
	movq	_RX_BUFF@GOTPCREL(%rip), %r15
	testl	%r8d, %r8d
	je	LBB0_25
## %bb.8:
	movq	8(%r14), %rdi
	movl	16(%r14), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_DvbDmxFilterCallback
	jmp	LBB0_25
LBB0_1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movl	60(%r14), %edi
	movq	_PSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_saa7146_read
	movl	%eax, %ebx
	movl	60(%r14), %edi
	movq	_SSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_saa7146_read
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printk
LBB0_2:
	leaq	20(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	jmp	LBB0_27
LBB0_23:
	leaq	56(%r14), %rdi
	movq	8(%r14), %rsi
	movslq	16(%r14), %rax
	imulq	$-1370734243, %rax, %rdx        ## imm = 0xAE4C415D
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$7, %edx
	addl	%eax, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dvb_dmx_swfilter_packets
	jmp	LBB0_24
LBB0_5:
	movq	_RX_BUFF@GOTPCREL(%rip), %r15
	cmpl	$0, 56(%r14)
	je	LBB0_25
## %bb.6:
	shlq	$2, %rbx
	addq	48(%r14), %rbx
	movq	8(%r14), %rsi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_av7110_record_cb
	jmp	LBB0_25
LBB0_21:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_20
LBB0_18:
	movq	8(%r14), %rsi
	movq	_Reserved_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	$0, -4(%rsi,%rax,4)
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_24
LBB0_17:
	movq	8(%r14), %rsi
	movl	16(%r14), %edx
	movq	%r14, %rdi
	callq	_CI_handle
	jmp	LBB0_24
LBB0_19:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_20
LBB0_9:
	movq	8(%r14), %rsi
	movslq	(%rsi), %rax
	cmpq	$1, %rax
	jg	LBB0_16
## %bb.10:
	cmpl	$255, 8(%rsi)
	jne	LBB0_16
## %bb.11:
	movl	20(%rsi), %esi
	xorl	%ecx, %ecx
	movl	$0, %edx
	testl	%esi, %esi
	jle	LBB0_13
## %bb.12:
	movq	_CA_CI_MODULE_PRESENT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_13:
	cmpl	$6, %esi
	jl	LBB0_15
## %bb.14:
	movq	_CA_CI_MODULE_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:
	orl	%edx, %ecx
	movq	32(%r14), %rdx
	movl	%ecx, (%rdx,%rax,4)
	jmp	LBB0_24
LBB0_22:
	leaq	L_.str.6(%rip), %rsi
LBB0_20:
	movl	$4, %edi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_TX_BUFF@GOTPCREL(%rip), %r15
	jmp	LBB0_25
LBB0_16:
	leaq	24(%r14), %rdi
	movl	16(%r14), %edx
	callq	_ci_get_data
LBB0_24:
	movq	_RX_BUFF@GOTPCREL(%rip), %r15
LBB0_25:
	movl	(%r15), %r15d
	leaq	20(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.26:
	movq	_DEBINOSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	callq	_iwdebi
LBB0_27:
	movq	%r14, %rdi
	callq	_ARM_ClearMailBox
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_21
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_9
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"debi"

L_.str.1:                               ## @.str.1
	.asciz	"type 0x%04x\n"

L_.str.2:                               ## @.str.2
	.asciz	"DEBI irq oops @ %ld, psr:0x%08x, ssr:0x%08x\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_PSR,4,2                        ## @PSR
	.comm	_SSR,4,2                        ## @SSR
	.comm	_RX_BUFF,4,2                    ## @RX_BUFF
	.comm	_CA_CI_MODULE_PRESENT,4,2       ## @CA_CI_MODULE_PRESENT
	.comm	_CA_CI_MODULE_READY,4,2         ## @CA_CI_MODULE_READY
	.comm	_Reserved_SIZE,4,2              ## @Reserved_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

L_.str.4:                               ## @.str.4
	.asciz	"debi DATA_CI_PUT\n"

	.comm	_TX_BUFF,4,2                    ## @TX_BUFF
L_.str.5:                               ## @.str.5
	.asciz	"debi DATA_MPEG_PLAY\n"

L_.str.6:                               ## @.str.6
	.asciz	"debi DATA_BMP_LOAD\n"

	.comm	_DEBINOSWAP,4,2                 ## @DEBINOSWAP
	.no_dead_strip	_debiirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function debiirq
_debiirq:                               ; @debiirq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print_time
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	bl	_dprintk
	cmn	w20, #1
	b.eq	LBB0_5
; %bb.1:
	mov	w8, #-1
	str	w8, [x19]
	and	w8, w20, #0xff
	sub	w9, w8, #128
	cmp	w9, #10
	b.hi	LBB0_6
; %bb.2:
	ubfx	x8, x20, #8, #5
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	ldr	x9, [x19, #40]
	ldr	w4, [x9, w8, uxtw #2]
	cbz	w4, LBB0_20
; %bb.4:
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	mov	x2, #0
	mov	w3, #0
	mov	x5, x19
	bl	_DvbDmxFilterCallback
	b	LBB0_20
LBB0_5:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldrsw	x20, [x8]
	ldr	w0, [x19, #60]
Lloh9:
	adrp	x8, _PSR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_saa7146_read
	mov	x21, x0
	ldr	w0, [x19, #60]
Lloh12:
	adrp	x8, _SSR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_saa7146_read
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_printk
LBB0_6:
	add	x20, x19, #20
	mov	x0, x20
	bl	_spin_lock
	b	LBB0_23
LBB0_7:
	add	x0, x19, #56
	ldr	x1, [x19, #8]
	ldrsw	x8, [x19, #16]
	mov	x9, #-48803
	movk	x9, #44620, lsl #16
	mul	x9, x8, x9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w2, w9, w8, lsr #31
	bl	_dvb_dmx_swfilter_packets
	b	LBB0_20
LBB0_8:
	ldr	w9, [x19, #56]
	cbz	w9, LBB0_20
; %bb.9:
	ldr	x9, [x19, #48]
	add	x0, x9, x8, lsl #2
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
	bl	_av7110_record_cb
	b	LBB0_20
LBB0_10:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_11:
	ldr	x1, [x19, #8]
Lloh19:
	adrp	x8, _Reserved_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Reserved_SIZE@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	add	x8, x1, x8, lsl #2
	stur	wzr, [x8, #-4]
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	b	LBB0_20
LBB0_12:
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
	mov	x0, x19
	bl	_CI_handle
	b	LBB0_20
LBB0_13:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_14:
	ldr	x1, [x19, #8]
	ldrsw	x8, [x1]
	cmp	w8, #1
	b.gt	LBB0_19
; %bb.15:
	ldr	w9, [x1, #8]
	cmp	w9, #255
	b.ne	LBB0_19
; %bb.16:
	ldr	w9, [x1, #20]
Lloh26:
	adrp	x10, _CA_CI_MODULE_PRESENT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _CA_CI_MODULE_PRESENT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w10, w10, wzr, gt
Lloh29:
	adrp	x11, _CA_CI_MODULE_READY@GOTPAGE
Lloh30:
	ldr	x11, [x11, _CA_CI_MODULE_READY@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	cmp	w9, #5
	csel	w9, w11, wzr, gt
	orr	w9, w9, w10
	ldr	x10, [x19, #32]
	str	w9, [x10, x8, lsl #2]
	b	LBB0_20
LBB0_17:
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_18:
	mov	w0, #4
	bl	_dprintk
Lloh34:
	adrp	x8, _TX_BUFF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TX_BUFF@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	add	x0, x19, #24
	ldr	w2, [x19, #16]
	bl	_ci_get_data
LBB0_20:
Lloh36:
	adrp	x8, _RX_BUFF@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RX_BUFF@GOTPAGEOFF]
LBB0_21:
	ldr	w21, [x8]
	add	x20, x19, #20
	mov	x0, x20
	bl	_spin_lock
	cbz	w21, LBB0_23
; %bb.22:
Lloh38:
	adrp	x8, _DEBINOSWAP@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DEBINOSWAP@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	mov	w4, #2
	bl	_iwdebi
LBB0_23:
	mov	x0, x19
	bl	_ARM_ClearMailBox
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_spin_unlock
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"debi"

l_.str.1:                               ; @.str.1
	.asciz	"type 0x%04x\n"

l_.str.2:                               ; @.str.2
	.asciz	"DEBI irq oops @ %ld, psr:0x%08x, ssr:0x%08x\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_PSR,4,2                        ; @PSR
	.comm	_SSR,4,2                        ; @SSR
	.comm	_RX_BUFF,4,2                    ; @RX_BUFF
	.comm	_CA_CI_MODULE_PRESENT,4,2       ; @CA_CI_MODULE_PRESENT
	.comm	_CA_CI_MODULE_READY,4,2         ; @CA_CI_MODULE_READY
	.comm	_Reserved_SIZE,4,2              ; @Reserved_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

l_.str.4:                               ; @.str.4
	.asciz	"debi DATA_CI_PUT\n"

	.comm	_TX_BUFF,4,2                    ; @TX_BUFF
l_.str.5:                               ; @.str.5
	.asciz	"debi DATA_MPEG_PLAY\n"

l_.str.6:                               ; @.str.6
	.asciz	"debi DATA_BMP_LOAD\n"

	.comm	_DEBINOSWAP,4,2                 ; @DEBINOSWAP
	.no_dead_strip	_debiirq
.subsections_via_symbols
