	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp288_charger_irq_thread_handler
_axp288_charger_irq_thread_handler:     ## @axp288_charger_irq_thread_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_CHRG_INTR_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	(%rbx), %rdx
	negq	%rax
	movq	$-128, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, 512(%rdx,%rcx,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	incq	%rcx
	cmpq	$-128, %rsi
	jne	LBB0_2
LBB0_4:
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	cmpl	$9, %ecx
	jae	LBB0_6
## %bb.7:
	leaq	l_reltable.axp288_charger_irq_thread_handler(%rip), %rax
	movslq	(%rax,%rcx,4), %rsi
	addq	%rax, %rsi
	movq	16(%rbx), %rdi
	callq	_dev_dbg
	movl	8(%rbx), %edi
	callq	_power_supply_changed
	jmp	LBB0_8
LBB0_6:
	movq	16(%rbx), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_dev_warn
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHRG_INTR_END,4,2              ## @CHRG_INTR_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spurious interrupt!!\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
L_.str.1:                               ## @.str.1
	.asciz	"VBUS Over Voltage INTR\n"

L_.str.2:                               ## @.str.2
	.asciz	"Charging Done INTR\n"

L_.str.3:                               ## @.str.3
	.asciz	"Start Charging IRQ\n"

L_.str.4:                               ## @.str.4
	.asciz	"Quit Safe Mode(restart timer) Charging IRQ\n"

L_.str.5:                               ## @.str.5
	.asciz	"Enter Safe Mode(timer expire) Charging IRQ\n"

L_.str.6:                               ## @.str.6
	.asciz	"Quit Battery Under Temperature(CHRG) INTR\n"

L_.str.7:                               ## @.str.7
	.asciz	"Hit Battery Under Temperature(CHRG) INTR\n"

L_.str.8:                               ## @.str.8
	.asciz	"Quit Battery Over Temperature(CHRG) INTR\n"

L_.str.9:                               ## @.str.9
	.asciz	"Hit Battery Over Temperature(CHRG) INTR\n"

L_.str.10:                              ## @.str.10
	.asciz	"Spurious Interrupt!!!\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_axp288_charger_irq_thread_handler
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.axp288_charger_irq_thread_handler
l_reltable.axp288_charger_irq_thread_handler:
	.long	L_.str.1-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.6-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.8-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.2-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.3-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.7-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.9-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.4-l_reltable.axp288_charger_irq_thread_handler
	.long	L_.str.5-l_reltable.axp288_charger_irq_thread_handler

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp288_charger_irq_thread_handler
_axp288_charger_irq_thread_handler:     ; @axp288_charger_irq_thread_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
Lloh0:
	adrp	x8, _CHRG_INTR_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHRG_INTR_END@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	x10, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x8, lsl #2]
	cmp	w11, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_4:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	sub	w9, w8, #128
	cmp	w9, #9
	b.hs	LBB0_7
; %bb.6:
Lloh7:
	adrp	x9, l_switch.table.axp288_charger_irq_thread_handler@PAGE
Lloh8:
	add	x9, x9, l_switch.table.axp288_charger_irq_thread_handler@PAGEOFF
	add	x8, x9, x8, lsl #3
	sub	x8, x8, #1024
	ldr	x1, [x8]
	ldr	x0, [x19, #16]
	bl	_dev_dbg
	ldr	w0, [x19, #8]
	bl	_power_supply_changed
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19, #16]
Lloh9:
	adrp	x1, l_.str.10@PAGE
Lloh10:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_warn
LBB0_8:
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CHRG_INTR_END,4,2              ; @CHRG_INTR_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spurious interrupt!!\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
l_.str.1:                               ; @.str.1
	.asciz	"VBUS Over Voltage INTR\n"

l_.str.2:                               ; @.str.2
	.asciz	"Charging Done INTR\n"

l_.str.3:                               ; @.str.3
	.asciz	"Start Charging IRQ\n"

l_.str.4:                               ; @.str.4
	.asciz	"Quit Safe Mode(restart timer) Charging IRQ\n"

l_.str.5:                               ; @.str.5
	.asciz	"Enter Safe Mode(timer expire) Charging IRQ\n"

l_.str.6:                               ; @.str.6
	.asciz	"Quit Battery Under Temperature(CHRG) INTR\n"

l_.str.7:                               ; @.str.7
	.asciz	"Hit Battery Under Temperature(CHRG) INTR\n"

l_.str.8:                               ; @.str.8
	.asciz	"Quit Battery Over Temperature(CHRG) INTR\n"

l_.str.9:                               ; @.str.9
	.asciz	"Hit Battery Over Temperature(CHRG) INTR\n"

l_.str.10:                              ; @.str.10
	.asciz	"Spurious Interrupt!!!\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_axp288_charger_irq_thread_handler
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.axp288_charger_irq_thread_handler
l_switch.table.axp288_charger_irq_thread_handler:
	.quad	l_.str.1
	.quad	l_.str.6
	.quad	l_.str.8
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.7
	.quad	l_.str.9
	.quad	l_.str.4
	.quad	l_.str.5

.subsections_via_symbols
