	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77843_muic_irq_handler
_max77843_muic_irq_handler:             ## @max77843_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	%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, %r14
	movl	%edi, %r13d
	movq	_max77843_muic_irqs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	$-1, %r15d
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpl	%r13d, (%rdi,%rbx,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rdi,%rbx,8), %r15d
	jmp	LBB0_5
LBB0_6:
	leal	-128(%r15), %ecx
	cmpl	$15, %ecx
	ja	LBB0_1
## %bb.7:
	movl	$1, %eax
	shll	%cl, %eax
	testb	%al, %al
	jne	LBB0_11
## %bb.8:
	movl	$7936, %eax                     ## imm = 0x1F00
	btl	%ecx, %eax
	jae	LBB0_9
## %bb.10:
	movl	$1, 4(%r14)
	jmp	LBB0_11
LBB0_1:
	movl	12(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_dev_err
	jmp	LBB0_11
LBB0_9:
	movl	$1, (%r14)
LBB0_11:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_schedule_work
	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	_max77843_muic_irqs,8,3         ## @max77843_muic_irqs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot recognize IRQ(%d)\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_max77843_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 max77843_muic_irq_handler
_max77843_muic_irq_handler:             ; @max77843_muic_irq_handler
	.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	x21, x0
Lloh0:
	adrp	x22, _max77843_muic_irqs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _max77843_muic_irqs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	mov	w20, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #8
	cmp	x24, w0, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x23]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x0, x23
	ldr	w20, [x8, #4]
	b	LBB0_2
LBB0_5:
	sub	w8, w20, #128
	cmp	w8, #15
	b.hi	LBB0_10
; %bb.6:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0xff
	b.ne	LBB0_12
; %bb.7:
	tst	w8, #0x1f00
	b.eq	LBB0_11
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_9:
	mov	w20, #-1
LBB0_10:
	ldr	w0, [x19, #12]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_12
LBB0_11:
	mov	w8, #1
	str	w8, [x19]
LBB0_12:
	add	x0, x19, #8
	bl	_schedule_work
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_max77843_muic_irqs,8,3         ; @max77843_muic_irqs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot recognize IRQ(%d)\n"

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