	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max14577_muic_irq_handler
_max14577_muic_irq_handler:             ## @max14577_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), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	24(%r14), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_4
## %bb.3:
	movl	$-1, %ebx
	xorl	%esi, %esi
LBB0_14:
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	leaq	(%rcx,%rsi,8), %rcx
	addq	$4, %rcx
	xorl	%edx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, -4(%rcx,%rdx,8)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rcx,%rdx,8), %ebx
	jmp	LBB0_18
LBB0_1:
	movl	$-1, %ebx
LBB0_19:
	movq	16(%r14), %rax
	cmpl	$128, (%rax)
	jne	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_max77836_parse_irq
	testl	%eax, %eax
	je	LBB0_23
LBB0_24:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_schedule_work
	jmp	LBB0_25
LBB0_21:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_max14577_parse_irq
	testl	%eax, %eax
	jne	LBB0_24
LBB0_23:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_25:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %edx
	movl	$-1, %ebx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx,%rsi,8)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%edi, 8(%rcx,%rsi,8)
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%edi, 16(%rcx,%rsi,8)
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%edi, 24(%rcx,%rsi,8)
	jne	LBB0_13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rcx,%rsi,8), %ebx
	cmpl	%edi, 8(%rcx,%rsi,8)
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rcx,%rsi,8), %ebx
	cmpl	%edi, 16(%rcx,%rsi,8)
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%rcx,%rsi,8), %ebx
	cmpl	%edi, 24(%rcx,%rsi,8)
	jne	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	28(%rcx,%rsi,8), %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"muic interrupt: irq %d occurred, skipped\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_max14577_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 max14577_muic_irq_handler
_max14577_muic_irq_handler:             ; @max14577_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_5
; %bb.1:
	ldr	x9, [x19, #24]
	add	x9, x9, #4
	mov	w20, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
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	w20, [x9]
	b	LBB0_2
LBB0_5:
	mov	w20, #-1
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	mov	x0, x19
	mov	x1, x20
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.7:
	bl	_max77836_parse_irq
	cbz	w0, LBB0_10
LBB0_8:
	add	x0, x19, #4
	bl	_schedule_work
	b	LBB0_11
LBB0_9:
	bl	_max14577_parse_irq
	cbnz	w0, LBB0_8
LBB0_10:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_11:
Lloh2:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh4:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"muic interrupt: irq %d occurred, skipped\n"

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