	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp2xx_intr
_axp2xx_intr:                           ## @axp2xx_intr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_AXP2XX_IRQ1_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-28(%rbp), %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	_AXP2XX_IRQ1_AC_OVERVOLT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_3:
	movq	_AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_5:
	movq	_AXP2XX_IRQ1_VBUS_LOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_7:
	movq	_AXP2XX_IRQ1_AC_CONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_9:
	movq	_AXP2XX_IRQ1_AC_DISCONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_11:
	movq	_AXP2XX_IRQ1_VBUS_CONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_13:
	movq	_AXP2XX_IRQ1_VBUS_DISCONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
LBB0_15:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_AXP2XX_IRQ_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_axp2xx_write
LBB0_16:
	movl	(%r15), %edi
	movq	_AXP2XX_IRQ2_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-28(%rbp), %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_30
## %bb.17:
	movq	_AXP2XX_IRQ2_BATT_CHARGED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.18:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_19:
	movq	_AXP2XX_IRQ2_BATT_CHARGING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.9(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_21:
	movq	_AXP2XX_IRQ2_BATT_CONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_23:
	movq	_AXP2XX_IRQ2_BATT_DISCONN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.11(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_25:
	movq	_AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.12(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
	movl	-28(%rbp), %eax
LBB0_27:
	movq	_AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.13(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_devctl_notify
LBB0_29:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_AXP2XX_IRQ_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_axp2xx_write
LBB0_30:
	movl	(%r15), %edi
	movq	_AXP2XX_IRQ3_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_34
## %bb.31:
	movq	_AXP2XX_IRQ3_PEK_SHORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	movq	_RB_POWEROFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_shutdown_nice
LBB0_33:
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movq	_AXP2XX_IRQ_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_axp2xx_write
LBB0_34:
	movl	(%r15), %edi
	movq	_AXP2XX_IRQ4_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	cmpl	$0, -28(%rbp)
	je	LBB0_36
## %bb.35:
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movq	_AXP2XX_IRQ_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_axp2xx_write
LBB0_36:
	movl	(%r15), %edi
	movq	_AXP2XX_IRQ5_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	cmpl	$0, -28(%rbp)
	je	LBB0_38
## %bb.37:
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movq	_AXP2XX_IRQ_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_axp2xx_write
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AXP2XX_IRQ1_STATUS,4,2         ## @AXP2XX_IRQ1_STATUS
	.comm	_AXP2XX_IRQ1_AC_OVERVOLT,4,2    ## @AXP2XX_IRQ1_AC_OVERVOLT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PMU"

L_.str.1:                               ## @.str.1
	.asciz	"AC"

L_.str.2:                               ## @.str.2
	.asciz	"overvoltage"

	.comm	_AXP2XX_IRQ1_VBUS_OVERVOLT,4,2  ## @AXP2XX_IRQ1_VBUS_OVERVOLT
L_.str.3:                               ## @.str.3
	.asciz	"USB"

	.comm	_AXP2XX_IRQ1_VBUS_LOW,4,2       ## @AXP2XX_IRQ1_VBUS_LOW
L_.str.4:                               ## @.str.4
	.asciz	"undervoltage"

	.comm	_AXP2XX_IRQ1_AC_CONN,4,2        ## @AXP2XX_IRQ1_AC_CONN
L_.str.5:                               ## @.str.5
	.asciz	"plugged"

	.comm	_AXP2XX_IRQ1_AC_DISCONN,4,2     ## @AXP2XX_IRQ1_AC_DISCONN
L_.str.6:                               ## @.str.6
	.asciz	"unplugged"

	.comm	_AXP2XX_IRQ1_VBUS_CONN,4,2      ## @AXP2XX_IRQ1_VBUS_CONN
	.comm	_AXP2XX_IRQ1_VBUS_DISCONN,4,2   ## @AXP2XX_IRQ1_VBUS_DISCONN
	.comm	_AXP2XX_IRQ_ACK,4,2             ## @AXP2XX_IRQ_ACK
	.comm	_AXP2XX_IRQ2_STATUS,4,2         ## @AXP2XX_IRQ2_STATUS
	.comm	_AXP2XX_IRQ2_BATT_CHARGED,4,2   ## @AXP2XX_IRQ2_BATT_CHARGED
L_.str.7:                               ## @.str.7
	.asciz	"Battery"

L_.str.8:                               ## @.str.8
	.asciz	"charged"

	.comm	_AXP2XX_IRQ2_BATT_CHARGING,4,2  ## @AXP2XX_IRQ2_BATT_CHARGING
L_.str.9:                               ## @.str.9
	.asciz	"charging"

	.comm	_AXP2XX_IRQ2_BATT_CONN,4,2      ## @AXP2XX_IRQ2_BATT_CONN
L_.str.10:                              ## @.str.10
	.asciz	"connected"

	.comm	_AXP2XX_IRQ2_BATT_DISCONN,4,2   ## @AXP2XX_IRQ2_BATT_DISCONN
L_.str.11:                              ## @.str.11
	.asciz	"disconnected"

	.comm	_AXP2XX_IRQ2_BATT_TEMP_LOW,4,2  ## @AXP2XX_IRQ2_BATT_TEMP_LOW
L_.str.12:                              ## @.str.12
	.asciz	"low temp"

	.comm	_AXP2XX_IRQ2_BATT_TEMP_OVER,4,2 ## @AXP2XX_IRQ2_BATT_TEMP_OVER
L_.str.13:                              ## @.str.13
	.asciz	"high temp"

	.comm	_AXP2XX_IRQ3_STATUS,4,2         ## @AXP2XX_IRQ3_STATUS
	.comm	_AXP2XX_IRQ3_PEK_SHORT,4,2      ## @AXP2XX_IRQ3_PEK_SHORT
	.comm	_RB_POWEROFF,4,2                ## @RB_POWEROFF
	.comm	_AXP2XX_IRQ4_STATUS,4,2         ## @AXP2XX_IRQ4_STATUS
	.comm	_AXP2XX_IRQ5_STATUS,4,2         ## @AXP2XX_IRQ5_STATUS
	.no_dead_strip	_axp2xx_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp2xx_intr
_axp2xx_intr:                           ; @axp2xx_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _AXP2XX_IRQ1_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AXP2XX_IRQ1_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x20, _AXP2XX_IRQ_ACK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _AXP2XX_IRQ_ACK@GOTPAGEOFF]
	cbz	w8, LBB0_16
; %bb.1:
Lloh4:
	adrp	x9, _AXP2XX_IRQ1_AC_OVERVOLT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AXP2XX_IRQ1_AC_OVERVOLT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_3:
Lloh13:
	adrp	x9, _AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_5:
Lloh22:
	adrp	x9, _AXP2XX_IRQ1_VBUS_LOW@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_LOW@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh29:
	adrp	x2, l_.str.4@PAGE
Lloh30:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_7:
Lloh31:
	adrp	x9, _AXP2XX_IRQ1_AC_CONN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _AXP2XX_IRQ1_AC_CONN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh38:
	adrp	x2, l_.str.5@PAGE
Lloh39:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_9:
Lloh40:
	adrp	x9, _AXP2XX_IRQ1_AC_DISCONN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AXP2XX_IRQ1_AC_DISCONN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh43:
	adrp	x0, l_.str@PAGE
Lloh44:
	add	x0, x0, l_.str@PAGEOFF
Lloh45:
	adrp	x1, l_.str.1@PAGE
Lloh46:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh47:
	adrp	x2, l_.str.6@PAGE
Lloh48:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_11:
Lloh49:
	adrp	x9, _AXP2XX_IRQ1_VBUS_CONN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_CONN@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh52:
	adrp	x0, l_.str@PAGE
Lloh53:
	add	x0, x0, l_.str@PAGEOFF
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh56:
	adrp	x2, l_.str.5@PAGE
Lloh57:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_13:
Lloh58:
	adrp	x9, _AXP2XX_IRQ1_VBUS_DISCONN@GOTPAGE
Lloh59:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_DISCONN@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh61:
	adrp	x0, l_.str@PAGE
Lloh62:
	add	x0, x0, l_.str@PAGEOFF
Lloh63:
	adrp	x1, l_.str.3@PAGE
Lloh64:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh65:
	adrp	x2, l_.str.6@PAGE
Lloh66:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
LBB0_15:
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_axp2xx_write
LBB0_16:
	ldr	w0, [x19]
Lloh67:
	adrp	x21, _AXP2XX_IRQ2_STATUS@GOTPAGE
Lloh68:
	ldr	x21, [x21, _AXP2XX_IRQ2_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_30
; %bb.17:
Lloh69:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGED@GOTPAGE
Lloh70:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGED@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
Lloh72:
	adrp	x0, l_.str@PAGE
Lloh73:
	add	x0, x0, l_.str@PAGEOFF
Lloh74:
	adrp	x1, l_.str.7@PAGE
Lloh75:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh76:
	adrp	x2, l_.str.8@PAGE
Lloh77:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_19:
Lloh78:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGING@GOTPAGE
Lloh79:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGING@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
Lloh81:
	adrp	x0, l_.str@PAGE
Lloh82:
	add	x0, x0, l_.str@PAGEOFF
Lloh83:
	adrp	x1, l_.str.7@PAGE
Lloh84:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh85:
	adrp	x2, l_.str.9@PAGE
Lloh86:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_21:
Lloh87:
	adrp	x9, _AXP2XX_IRQ2_BATT_CONN@GOTPAGE
Lloh88:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CONN@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
Lloh90:
	adrp	x0, l_.str@PAGE
Lloh91:
	add	x0, x0, l_.str@PAGEOFF
Lloh92:
	adrp	x1, l_.str.7@PAGE
Lloh93:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh94:
	adrp	x2, l_.str.10@PAGE
Lloh95:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_23:
Lloh96:
	adrp	x9, _AXP2XX_IRQ2_BATT_DISCONN@GOTPAGE
Lloh97:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_DISCONN@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
Lloh99:
	adrp	x0, l_.str@PAGE
Lloh100:
	add	x0, x0, l_.str@PAGEOFF
Lloh101:
	adrp	x1, l_.str.7@PAGE
Lloh102:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh103:
	adrp	x2, l_.str.11@PAGE
Lloh104:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_25:
Lloh105:
	adrp	x9, _AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPAGE
Lloh106:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
Lloh108:
	adrp	x0, l_.str@PAGE
Lloh109:
	add	x0, x0, l_.str@PAGEOFF
Lloh110:
	adrp	x1, l_.str.7@PAGE
Lloh111:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh112:
	adrp	x2, l_.str.12@PAGE
Lloh113:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
	ldr	w8, [sp, #12]
LBB0_27:
Lloh114:
	adrp	x9, _AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPAGE
Lloh115:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
Lloh117:
	adrp	x0, l_.str@PAGE
Lloh118:
	add	x0, x0, l_.str@PAGEOFF
Lloh119:
	adrp	x1, l_.str.7@PAGE
Lloh120:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh121:
	adrp	x2, l_.str.13@PAGE
Lloh122:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x3, #0
	bl	_devctl_notify
LBB0_29:
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_axp2xx_write
LBB0_30:
	ldr	w0, [x19]
Lloh123:
	adrp	x21, _AXP2XX_IRQ3_STATUS@GOTPAGE
Lloh124:
	ldr	x21, [x21, _AXP2XX_IRQ3_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_34
; %bb.31:
Lloh125:
	adrp	x9, _AXP2XX_IRQ3_PEK_SHORT@GOTPAGE
Lloh126:
	ldr	x9, [x9, _AXP2XX_IRQ3_PEK_SHORT@GOTPAGEOFF]
Lloh127:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
Lloh128:
	adrp	x8, _RB_POWEROFF@GOTPAGE
Lloh129:
	ldr	x8, [x8, _RB_POWEROFF@GOTPAGEOFF]
Lloh130:
	ldr	w0, [x8]
	bl	_shutdown_nice
LBB0_33:
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_axp2xx_write
LBB0_34:
	ldr	w0, [x19]
Lloh131:
	adrp	x21, _AXP2XX_IRQ4_STATUS@GOTPAGE
Lloh132:
	ldr	x21, [x21, _AXP2XX_IRQ4_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_36
; %bb.35:
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_axp2xx_write
LBB0_36:
	ldr	w0, [x19]
Lloh133:
	adrp	x21, _AXP2XX_IRQ5_STATUS@GOTPAGE
Lloh134:
	ldr	x21, [x21, _AXP2XX_IRQ5_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_38
; %bb.37:
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_axp2xx_write
LBB0_38:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh133, Lloh134
	.cfi_endproc
                                        ; -- End function
	.comm	_AXP2XX_IRQ1_STATUS,4,2         ; @AXP2XX_IRQ1_STATUS
	.comm	_AXP2XX_IRQ1_AC_OVERVOLT,4,2    ; @AXP2XX_IRQ1_AC_OVERVOLT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PMU"

l_.str.1:                               ; @.str.1
	.asciz	"AC"

l_.str.2:                               ; @.str.2
	.asciz	"overvoltage"

	.comm	_AXP2XX_IRQ1_VBUS_OVERVOLT,4,2  ; @AXP2XX_IRQ1_VBUS_OVERVOLT
l_.str.3:                               ; @.str.3
	.asciz	"USB"

	.comm	_AXP2XX_IRQ1_VBUS_LOW,4,2       ; @AXP2XX_IRQ1_VBUS_LOW
l_.str.4:                               ; @.str.4
	.asciz	"undervoltage"

	.comm	_AXP2XX_IRQ1_AC_CONN,4,2        ; @AXP2XX_IRQ1_AC_CONN
l_.str.5:                               ; @.str.5
	.asciz	"plugged"

	.comm	_AXP2XX_IRQ1_AC_DISCONN,4,2     ; @AXP2XX_IRQ1_AC_DISCONN
l_.str.6:                               ; @.str.6
	.asciz	"unplugged"

	.comm	_AXP2XX_IRQ1_VBUS_CONN,4,2      ; @AXP2XX_IRQ1_VBUS_CONN
	.comm	_AXP2XX_IRQ1_VBUS_DISCONN,4,2   ; @AXP2XX_IRQ1_VBUS_DISCONN
	.comm	_AXP2XX_IRQ_ACK,4,2             ; @AXP2XX_IRQ_ACK
	.comm	_AXP2XX_IRQ2_STATUS,4,2         ; @AXP2XX_IRQ2_STATUS
	.comm	_AXP2XX_IRQ2_BATT_CHARGED,4,2   ; @AXP2XX_IRQ2_BATT_CHARGED
l_.str.7:                               ; @.str.7
	.asciz	"Battery"

l_.str.8:                               ; @.str.8
	.asciz	"charged"

	.comm	_AXP2XX_IRQ2_BATT_CHARGING,4,2  ; @AXP2XX_IRQ2_BATT_CHARGING
l_.str.9:                               ; @.str.9
	.asciz	"charging"

	.comm	_AXP2XX_IRQ2_BATT_CONN,4,2      ; @AXP2XX_IRQ2_BATT_CONN
l_.str.10:                              ; @.str.10
	.asciz	"connected"

	.comm	_AXP2XX_IRQ2_BATT_DISCONN,4,2   ; @AXP2XX_IRQ2_BATT_DISCONN
l_.str.11:                              ; @.str.11
	.asciz	"disconnected"

	.comm	_AXP2XX_IRQ2_BATT_TEMP_LOW,4,2  ; @AXP2XX_IRQ2_BATT_TEMP_LOW
l_.str.12:                              ; @.str.12
	.asciz	"low temp"

	.comm	_AXP2XX_IRQ2_BATT_TEMP_OVER,4,2 ; @AXP2XX_IRQ2_BATT_TEMP_OVER
l_.str.13:                              ; @.str.13
	.asciz	"high temp"

	.comm	_AXP2XX_IRQ3_STATUS,4,2         ; @AXP2XX_IRQ3_STATUS
	.comm	_AXP2XX_IRQ3_PEK_SHORT,4,2      ; @AXP2XX_IRQ3_PEK_SHORT
	.comm	_RB_POWEROFF,4,2                ; @RB_POWEROFF
	.comm	_AXP2XX_IRQ4_STATUS,4,2         ; @AXP2XX_IRQ4_STATUS
	.comm	_AXP2XX_IRQ5_STATUS,4,2         ; @AXP2XX_IRQ5_STATUS
	.no_dead_strip	_axp2xx_intr
.subsections_via_symbols
