	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda1997x_isr_thread
_tda1997x_isr_thread:                   ## @tda1997x_isr_thread
	.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
	movq	%rsi, %rbx
	leaq	4(%rsi), %r14
	movq	%rsi, %rdi
	callq	_mutex_lock
	movq	_REG_INT_FLG_CLR_TOP@GOTPCREL(%rip), %r12
	leaq	-44(%rbp), %r15
	movq	_INTERRUPT_HDCP@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_io_read
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERRUPT_SUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_sus
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERRUPT_DDC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_ddc
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERRUPT_RATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_rate
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERRUPT_INFO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_info
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERRUPT_AUDIO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_audio
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax
	testl	%eax, (%r13)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tda1997x_irq_hdcp
	movl	-44(%rbp), %eax
	jmp	LBB0_14
LBB0_15:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_INT_FLG_CLR_TOP,4,2        ## @REG_INT_FLG_CLR_TOP
	.comm	_INTERRUPT_SUS,4,2              ## @INTERRUPT_SUS
	.comm	_INTERRUPT_DDC,4,2              ## @INTERRUPT_DDC
	.comm	_INTERRUPT_RATE,4,2             ## @INTERRUPT_RATE
	.comm	_INTERRUPT_INFO,4,2             ## @INTERRUPT_INFO
	.comm	_INTERRUPT_AUDIO,4,2            ## @INTERRUPT_AUDIO
	.comm	_INTERRUPT_HDCP,4,2             ## @INTERRUPT_HDCP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tda1997x_isr_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda1997x_isr_thread
_tda1997x_isr_thread:                   ; @tda1997x_isr_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	add	x20, x1, #4
	mov	x0, x1
	bl	_mutex_lock
Lloh0:
	adrp	x21, _REG_INT_FLG_CLR_TOP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_INT_FLG_CLR_TOP@GOTPAGEOFF]
Lloh2:
	adrp	x22, _INTERRUPT_SUS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INTERRUPT_SUS@GOTPAGEOFF]
Lloh4:
	adrp	x23, _INTERRUPT_DDC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _INTERRUPT_DDC@GOTPAGEOFF]
Lloh6:
	adrp	x24, _INTERRUPT_RATE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _INTERRUPT_RATE@GOTPAGEOFF]
Lloh8:
	adrp	x25, _INTERRUPT_INFO@GOTPAGE
Lloh9:
	ldr	x25, [x25, _INTERRUPT_INFO@GOTPAGEOFF]
Lloh10:
	adrp	x26, _INTERRUPT_AUDIO@GOTPAGE
Lloh11:
	ldr	x26, [x26, _INTERRUPT_AUDIO@GOTPAGEOFF]
Lloh12:
	adrp	x27, _INTERRUPT_HDCP@GOTPAGE
Lloh13:
	ldr	x27, [x27, _INTERRUPT_HDCP@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_15
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_io_read
	str	w0, [sp, #12]
	cbz	w0, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_sus
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_ddc
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_rate
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_info
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_audio
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_tda1997x_irq_hdcp
	ldr	w8, [sp, #12]
	b	LBB0_1
LBB0_15:
	mov	x0, x19
	bl	_mutex_unlock
Lloh14:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_INT_FLG_CLR_TOP,4,2        ; @REG_INT_FLG_CLR_TOP
	.comm	_INTERRUPT_SUS,4,2              ; @INTERRUPT_SUS
	.comm	_INTERRUPT_DDC,4,2              ; @INTERRUPT_DDC
	.comm	_INTERRUPT_RATE,4,2             ; @INTERRUPT_RATE
	.comm	_INTERRUPT_INFO,4,2             ; @INTERRUPT_INFO
	.comm	_INTERRUPT_AUDIO,4,2            ; @INTERRUPT_AUDIO
	.comm	_INTERRUPT_HDCP,4,2             ; @INTERRUPT_HDCP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tda1997x_isr_thread
.subsections_via_symbols
