	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt8973a_muic_irq_handler
_rt8973a_muic_irq_handler:              ## @rt8973a_muic_irq_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	(%rsi), %esi
	testl	%esi, %esi
	jle	LBB0_1
## %bb.3:
	movq	32(%r14), %rcx
	leaq	-1(%rsi), %rdx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_5
## %bb.4:
	movl	$-1, %edx
	xorl	%ebx, %ebx
LBB0_15:
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	leaq	(%rcx,%rbx,8), %rcx
	addq	$4, %rcx
	xorl	%esi, %esi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, -4(%rcx,%rsi,8)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%rcx,%rsi,8), %edx
	jmp	LBB0_19
LBB0_20:
	leal	-135(%rdx), %eax
	cmpl	$6, %eax
	ja	LBB0_2
## %bb.21:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_24:
	movl	$1, 12(%r14)
	jmp	LBB0_26
LBB0_1:
	movl	$-1, %edx
LBB0_2:
	movl	24(%r14), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_dbg
	jmp	LBB0_26
LBB0_5:
	andl	$-4, %esi
	movl	$-1, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$4, %rbx
	cmpq	%rbx, %rsi
	je	LBB0_15
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx,%rbx,8)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edi, 8(%rcx,%rbx,8)
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edi, 16(%rcx,%rbx,8)
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edi, 24(%rcx,%rbx,8)
	jne	LBB0_14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%rcx,%rbx,8), %edx
	cmpl	%edi, 8(%rcx,%rbx,8)
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%rcx,%rbx,8), %edx
	cmpl	%edi, 16(%rcx,%rbx,8)
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	20(%rcx,%rbx,8), %edx
	cmpl	%edi, 24(%rcx,%rbx,8)
	jne	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	28(%rcx,%rbx,8), %edx
	jmp	LBB0_14
LBB0_25:
	movl	$1, 16(%r14)
	jmp	LBB0_26
LBB0_23:
	movl	$1, 8(%r14)
	jmp	LBB0_26
LBB0_22:
	movl	$1, 4(%r14)
LBB0_26:
	addq	$20, %r14
	movq	%r14, %rdi
	callq	_schedule_work
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_23
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot handle this interrupt (%d)\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_rt8973a_muic_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt8973a_muic_irq_handler
_rt8973a_muic_irq_handler:              ; @rt8973a_muic_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x19, #32]
	add	x9, x9, #4
	mov	w2, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w0
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x9]
	b	LBB0_2
LBB0_5:
	sub	w8, w2, #135
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.6:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_13
LBB0_8:
	mov	w2, #-1
LBB0_9:
	ldr	w0, [x19, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	b	LBB0_13
LBB0_10:
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_13
LBB0_11:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_13
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_13:
	add	x0, x19, #20
	bl	_schedule_work
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot handle this interrupt (%d)\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_rt8973a_muic_irq_handler
.subsections_via_symbols
