	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp2xx_start
_axp2xx_start:                          ## @axp2xx_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_device_get_softc
	movq	%rax, %rbx
	movq	%r14, 32(%rax)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_AXP2XX_PSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_axp2xx_read
	movl	-52(%rbp), %eax
	movq	_AXP2XX_PSR_ACIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_AXP2XX_PSR_ACIN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_AXP2XX_PSR_VBUS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_AXP2XX_PSR_VBUS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	decb	%cl
	sarl	%cl, %eax
	orl	%edx, %eax
	cltq
	leaq	l_reltable.axp2xx_start(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_2:
	movq	_AXP2XX_IRQ1_AC_OVERVOLT@GOTPCREL(%rip), %rax
	movq	_AXP2XX_IRQ1_AC_DISCONN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ1_AC_CONN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ1_ENABLE@GOTPCREL(%rip), %rax
	movq	_AXP2XX_IRQ1_VBUS_DISCONN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_AXP2XX_IRQ1_VBUS_CONN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_axp2xx_write
	movq	_AXP2XX_IRQ2_BATT_CONN@GOTPCREL(%rip), %rax
	movq	_AXP2XX_IRQ2_BATT_DISCONN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ2_BATT_CHARGING@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ2_BATT_CHARGED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AXP2XX_IRQ2_ENABLE@GOTPCREL(%rip), %rax
	movq	_AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_axp2xx_write
	movq	_AXP2XX_IRQ3_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AXP2XX_IRQ3_PEK_SHORT@GOTPCREL(%rip), %rax
	movq	_AXP2XX_IRQ3_PEK_LONG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_axp2xx_write
	movq	_AXP2XX_IRQ4_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AXP2XX_IRQ4_APS_LOW_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_axp2xx_write
	movq	_AXP2XX_IRQ5_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_axp2xx_write
	movq	_shutdown_final@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_axp2xx_shutdown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SHUTDOWN_PRI_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdx
	callq	_EVENTHANDLER_REGISTER
	cmpl	$0, (%rbx)
	jle	LBB0_11
## %bb.3:
	leaq	-44(%rbp), %r13
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%rcx,%r12), %edx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	addq	$24, %r12
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	movl	20(%rax,%r12), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_axp2xx_read
	movq	24(%rbx), %rcx
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edx
	orl	(%rcx,%r12), %edx
	movl	%edx, -44(%rbp)
	movl	20(%rcx,%r12), %esi
	movq	%r14, %rdi
	callq	_axp2xx_write
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_device_get_sysctl_ctx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_device_get_sysctl_tree
	movl	%eax, %edi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	24(%rbx), %rsi
	movl	16(%rsi,%r12), %ecx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %r8d
	movl	12(%rsi,%r12), %edi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_axp2xx_sysctl@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r11d
	movq	%r14, %r9
	movq	%rbx, %r14
	movl	4(%rsi,%r12), %ebx
	movq	%r13, %r10
	movl	8(%rsi,%r12), %r13d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	pushq	%rbx
	movq	%r14, %rbx
	movq	%r9, %r14
	pushq	%r13
	movq	%r10, %r13
	pushq	%r11
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rax
	movl	16(%rax,%r12), %edx
	jmp	LBB0_6
LBB0_11:
	movq	16(%rbx), %rax
	movq	_INTR_TYPE_MISC@GOTPCREL(%rip), %rcx
	movq	_INTR_MPSAFE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_axp2xx_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	8(%rbx), %rax
	subq	$8, %rsp
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	pushq	%rax
	callq	_bus_setup_intr
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_13:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_config_intrhook_disestablish
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Battery"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"AC and USB"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.axp2xx_start
l_reltable.axp2xx_start:
	.long	L_.str-l_reltable.axp2xx_start
	.long	L_.str.1-l_reltable.axp2xx_start
	.long	L_.str.2-l_reltable.axp2xx_start
	.long	L_.str.3-l_reltable.axp2xx_start

	.comm	_bootverbose,8,3                ## @bootverbose
	.comm	_AXP2XX_PSR,4,2                 ## @AXP2XX_PSR
	.comm	_AXP2XX_PSR_ACIN,4,2            ## @AXP2XX_PSR_ACIN
	.comm	_AXP2XX_PSR_ACIN_SHIFT,4,2      ## @AXP2XX_PSR_ACIN_SHIFT
	.comm	_AXP2XX_PSR_VBUS,4,2            ## @AXP2XX_PSR_VBUS
	.comm	_AXP2XX_PSR_VBUS_SHIFT,4,2      ## @AXP2XX_PSR_VBUS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"Powered by %s\n"

	.comm	_AXP2XX_IRQ1_ENABLE,4,2         ## @AXP2XX_IRQ1_ENABLE
	.comm	_AXP2XX_IRQ1_AC_OVERVOLT,4,2    ## @AXP2XX_IRQ1_AC_OVERVOLT
	.comm	_AXP2XX_IRQ1_AC_DISCONN,4,2     ## @AXP2XX_IRQ1_AC_DISCONN
	.comm	_AXP2XX_IRQ1_AC_CONN,4,2        ## @AXP2XX_IRQ1_AC_CONN
	.comm	_AXP2XX_IRQ1_VBUS_OVERVOLT,4,2  ## @AXP2XX_IRQ1_VBUS_OVERVOLT
	.comm	_AXP2XX_IRQ1_VBUS_DISCONN,4,2   ## @AXP2XX_IRQ1_VBUS_DISCONN
	.comm	_AXP2XX_IRQ1_VBUS_CONN,4,2      ## @AXP2XX_IRQ1_VBUS_CONN
	.comm	_AXP2XX_IRQ2_ENABLE,4,2         ## @AXP2XX_IRQ2_ENABLE
	.comm	_AXP2XX_IRQ2_BATT_CONN,4,2      ## @AXP2XX_IRQ2_BATT_CONN
	.comm	_AXP2XX_IRQ2_BATT_DISCONN,4,2   ## @AXP2XX_IRQ2_BATT_DISCONN
	.comm	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON,4,2 ## @AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON
	.comm	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF,4,2 ## @AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF
	.comm	_AXP2XX_IRQ2_BATT_CHARGING,4,2  ## @AXP2XX_IRQ2_BATT_CHARGING
	.comm	_AXP2XX_IRQ2_BATT_CHARGED,4,2   ## @AXP2XX_IRQ2_BATT_CHARGED
	.comm	_AXP2XX_IRQ2_BATT_TEMP_OVER,4,2 ## @AXP2XX_IRQ2_BATT_TEMP_OVER
	.comm	_AXP2XX_IRQ2_BATT_TEMP_LOW,4,2  ## @AXP2XX_IRQ2_BATT_TEMP_LOW
	.comm	_AXP2XX_IRQ3_ENABLE,4,2         ## @AXP2XX_IRQ3_ENABLE
	.comm	_AXP2XX_IRQ3_PEK_SHORT,4,2      ## @AXP2XX_IRQ3_PEK_SHORT
	.comm	_AXP2XX_IRQ3_PEK_LONG,4,2       ## @AXP2XX_IRQ3_PEK_LONG
	.comm	_AXP2XX_IRQ4_ENABLE,4,2         ## @AXP2XX_IRQ4_ENABLE
	.comm	_AXP2XX_IRQ4_APS_LOW_2,4,2      ## @AXP2XX_IRQ4_APS_LOW_2
	.comm	_AXP2XX_IRQ5_ENABLE,4,2         ## @AXP2XX_IRQ5_ENABLE
	.comm	_shutdown_final,4,2             ## @shutdown_final
	.comm	_axp2xx_shutdown,4,2            ## @axp2xx_shutdown
	.comm	_SHUTDOWN_PRI_LAST,4,2          ## @SHUTDOWN_PRI_LAST
L_.str.5:                               ## @.str.5
	.asciz	"Cannot enable sensor '%s'\n"

	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.comm	_CTLTYPE_INT,4,2                ## @CTLTYPE_INT
	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
	.comm	_axp2xx_sysctl,4,2              ## @axp2xx_sysctl
	.comm	_INTR_TYPE_MISC,4,2             ## @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ## @INTR_MPSAFE
	.comm	_axp2xx_intr,4,2                ## @axp2xx_intr
L_.str.6:                               ## @.str.6
	.asciz	"unable to register interrupt handler\n"

	.no_dead_strip	_axp2xx_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp2xx_start
_axp2xx_start:                          ; @axp2xx_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_device_get_softc
	mov	x19, x0
	str	x20, [x0, #32]
Lloh0:
	adrp	x8, _bootverbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AXP2XX_PSR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AXP2XX_PSR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #1
	bl	_axp2xx_read
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _AXP2XX_PSR_ACIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AXP2XX_PSR_ACIN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh9:
	adrp	x10, _AXP2XX_PSR_ACIN_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AXP2XX_PSR_ACIN_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh12:
	adrp	x10, _AXP2XX_PSR_VBUS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AXP2XX_PSR_VBUS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	and	w8, w10, w8
Lloh15:
	adrp	x10, _AXP2XX_PSR_VBUS_SHIFT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AXP2XX_PSR_VBUS_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	sub	w10, w10, #1
	asr	w8, w8, w10
	orr	w8, w8, w9
Lloh18:
	adrp	x9, l___const.axp2xx_start.pwr_name@PAGE
Lloh19:
	add	x9, x9, l___const.axp2xx_start.pwr_name@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_device_printf
LBB0_2:
Lloh22:
	adrp	x8, _AXP2XX_IRQ1_ENABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AXP2XX_IRQ1_ENABLE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _AXP2XX_IRQ1_AC_OVERVOLT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AXP2XX_IRQ1_AC_OVERVOLT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _AXP2XX_IRQ1_AC_DISCONN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _AXP2XX_IRQ1_AC_DISCONN@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh31:
	adrp	x9, _AXP2XX_IRQ1_AC_CONN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _AXP2XX_IRQ1_AC_CONN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_OVERVOLT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _AXP2XX_IRQ1_VBUS_DISCONN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_DISCONN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _AXP2XX_IRQ1_VBUS_CONN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AXP2XX_IRQ1_VBUS_CONN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_axp2xx_write
Lloh43:
	adrp	x8, _AXP2XX_IRQ2_ENABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AXP2XX_IRQ2_ENABLE@GOTPAGEOFF]
Lloh45:
	adrp	x9, _AXP2XX_IRQ2_BATT_CONN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CONN@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	ldr	w8, [x9]
Lloh49:
	adrp	x9, _AXP2XX_IRQ2_BATT_DISCONN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_DISCONN@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh52:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON@GOTPAGE
Lloh53:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh55:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF@GOTPAGE
Lloh56:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh58:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGING@GOTPAGE
Lloh59:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGING@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh61:
	adrp	x9, _AXP2XX_IRQ2_BATT_CHARGED@GOTPAGE
Lloh62:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_CHARGED@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh64:
	adrp	x9, _AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPAGE
Lloh65:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_TEMP_OVER@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh67:
	adrp	x9, _AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPAGE
Lloh68:
	ldr	x9, [x9, _AXP2XX_IRQ2_BATT_TEMP_LOW@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_axp2xx_write
Lloh70:
	adrp	x8, _AXP2XX_IRQ3_ENABLE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _AXP2XX_IRQ3_ENABLE@GOTPAGEOFF]
Lloh72:
	adrp	x9, _AXP2XX_IRQ3_PEK_SHORT@GOTPAGE
Lloh73:
	ldr	x9, [x9, _AXP2XX_IRQ3_PEK_SHORT@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	ldr	w8, [x9]
Lloh76:
	adrp	x9, _AXP2XX_IRQ3_PEK_LONG@GOTPAGE
Lloh77:
	ldr	x9, [x9, _AXP2XX_IRQ3_PEK_LONG@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_axp2xx_write
Lloh79:
	adrp	x8, _AXP2XX_IRQ4_ENABLE@GOTPAGE
Lloh80:
	ldr	x8, [x8, _AXP2XX_IRQ4_ENABLE@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x8, _AXP2XX_IRQ4_APS_LOW_2@GOTPAGE
Lloh83:
	ldr	x8, [x8, _AXP2XX_IRQ4_APS_LOW_2@GOTPAGEOFF]
Lloh84:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_axp2xx_write
Lloh85:
	adrp	x8, _AXP2XX_IRQ5_ENABLE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _AXP2XX_IRQ5_ENABLE@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_axp2xx_write
Lloh88:
	adrp	x8, _shutdown_final@GOTPAGE
Lloh89:
	ldr	x8, [x8, _shutdown_final@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x8, _axp2xx_shutdown@GOTPAGE
Lloh92:
	ldr	x8, [x8, _axp2xx_shutdown@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
Lloh94:
	adrp	x8, _SHUTDOWN_PRI_LAST@GOTPAGE
Lloh95:
	ldr	x8, [x8, _SHUTDOWN_PRI_LAST@GOTPAGEOFF]
Lloh96:
	ldr	w3, [x8]
	mov	x2, x20
	bl	_EVENTHANDLER_REGISTER
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x23, #0
	mov	x24, #0
Lloh97:
	adrp	x25, _OID_AUTO@GOTPAGE
Lloh98:
	ldr	x25, [x25, _OID_AUTO@GOTPAGEOFF]
Lloh99:
	adrp	x26, _CTLTYPE_INT@GOTPAGE
Lloh100:
	ldr	x26, [x26, _CTLTYPE_INT@GOTPAGEOFF]
Lloh101:
	adrp	x27, _CTLFLAG_RD@GOTPAGE
Lloh102:
	ldr	x27, [x27, _CTLFLAG_RD@GOTPAGEOFF]
Lloh103:
	adrp	x21, l_.str.5@PAGE
Lloh104:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh105:
	adrp	x28, _axp2xx_sysctl@GOTPAGE
Lloh106:
	ldr	x28, [x28, _axp2xx_sysctl@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #24]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x8, x23
	ldr	w8, [x8, #16]
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x21
	bl	_device_printf
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #24
	cmp	x24, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x23
	ldr	w1, [x8, #20]
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #1
	bl	_axp2xx_read
	ldr	x8, [x19, #24]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x8, x23
	ldr	w9, [x8]
	ldr	w10, [sp, #12]
	orr	w2, w10, w9
	str	w2, [sp, #12]
	ldr	w1, [x8, #20]
	mov	x0, x20
	bl	_axp2xx_write
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_device_get_sysctl_ctx
	mov	x22, x0
	mov	x0, x20
	bl	_device_get_sysctl_tree
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x25]
	ldr	x8, [x19, #24]
	add	x8, x8, x23
	ldr	w9, [x26]
	ldr	w10, [x27]
	orr	w4, w10, w9
	ldp	w6, w3, [x8, #12]
	ldr	w7, [x28]
	ldp	w8, w9, [x8, #4]
	stp	w9, w8, [sp]
	mov	x0, x22
	mov	x5, x20
	bl	_SYSCTL_ADD_PROC
	b	LBB0_6
LBB0_10:
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
Lloh107:
	adrp	x8, _INTR_TYPE_MISC@GOTPAGE
Lloh108:
	ldr	x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
Lloh110:
	adrp	x9, _INTR_MPSAFE@GOTPAGE
Lloh111:
	ldr	x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh113:
	adrp	x8, _axp2xx_intr@GOTPAGE
Lloh114:
	ldr	x8, [x8, _axp2xx_intr@GOTPAGEOFF]
Lloh115:
	ldr	w4, [x8]
	add	x6, x19, #8
	mov	x0, x20
	mov	x3, #0
	mov	x5, x19
	bl	_bus_setup_intr
	cbz	x0, LBB0_12
; %bb.11:
Lloh116:
	adrp	x1, l_.str.6@PAGE
Lloh117:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_device_printf
LBB0_12:
	add	x0, x19, #4
	bl	_config_intrhook_disestablish
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh74
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh47
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh116, Lloh117
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Battery"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"AC and USB"

	.section	__DATA,__const
	.p2align	3                               ; @__const.axp2xx_start.pwr_name
l___const.axp2xx_start.pwr_name:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.comm	_bootverbose,8,3                ; @bootverbose
	.comm	_AXP2XX_PSR,4,2                 ; @AXP2XX_PSR
	.comm	_AXP2XX_PSR_ACIN,4,2            ; @AXP2XX_PSR_ACIN
	.comm	_AXP2XX_PSR_ACIN_SHIFT,4,2      ; @AXP2XX_PSR_ACIN_SHIFT
	.comm	_AXP2XX_PSR_VBUS,4,2            ; @AXP2XX_PSR_VBUS
	.comm	_AXP2XX_PSR_VBUS_SHIFT,4,2      ; @AXP2XX_PSR_VBUS_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"Powered by %s\n"

	.comm	_AXP2XX_IRQ1_ENABLE,4,2         ; @AXP2XX_IRQ1_ENABLE
	.comm	_AXP2XX_IRQ1_AC_OVERVOLT,4,2    ; @AXP2XX_IRQ1_AC_OVERVOLT
	.comm	_AXP2XX_IRQ1_AC_DISCONN,4,2     ; @AXP2XX_IRQ1_AC_DISCONN
	.comm	_AXP2XX_IRQ1_AC_CONN,4,2        ; @AXP2XX_IRQ1_AC_CONN
	.comm	_AXP2XX_IRQ1_VBUS_OVERVOLT,4,2  ; @AXP2XX_IRQ1_VBUS_OVERVOLT
	.comm	_AXP2XX_IRQ1_VBUS_DISCONN,4,2   ; @AXP2XX_IRQ1_VBUS_DISCONN
	.comm	_AXP2XX_IRQ1_VBUS_CONN,4,2      ; @AXP2XX_IRQ1_VBUS_CONN
	.comm	_AXP2XX_IRQ2_ENABLE,4,2         ; @AXP2XX_IRQ2_ENABLE
	.comm	_AXP2XX_IRQ2_BATT_CONN,4,2      ; @AXP2XX_IRQ2_BATT_CONN
	.comm	_AXP2XX_IRQ2_BATT_DISCONN,4,2   ; @AXP2XX_IRQ2_BATT_DISCONN
	.comm	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON,4,2 ; @AXP2XX_IRQ2_BATT_CHARGE_ACCT_ON
	.comm	_AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF,4,2 ; @AXP2XX_IRQ2_BATT_CHARGE_ACCT_OFF
	.comm	_AXP2XX_IRQ2_BATT_CHARGING,4,2  ; @AXP2XX_IRQ2_BATT_CHARGING
	.comm	_AXP2XX_IRQ2_BATT_CHARGED,4,2   ; @AXP2XX_IRQ2_BATT_CHARGED
	.comm	_AXP2XX_IRQ2_BATT_TEMP_OVER,4,2 ; @AXP2XX_IRQ2_BATT_TEMP_OVER
	.comm	_AXP2XX_IRQ2_BATT_TEMP_LOW,4,2  ; @AXP2XX_IRQ2_BATT_TEMP_LOW
	.comm	_AXP2XX_IRQ3_ENABLE,4,2         ; @AXP2XX_IRQ3_ENABLE
	.comm	_AXP2XX_IRQ3_PEK_SHORT,4,2      ; @AXP2XX_IRQ3_PEK_SHORT
	.comm	_AXP2XX_IRQ3_PEK_LONG,4,2       ; @AXP2XX_IRQ3_PEK_LONG
	.comm	_AXP2XX_IRQ4_ENABLE,4,2         ; @AXP2XX_IRQ4_ENABLE
	.comm	_AXP2XX_IRQ4_APS_LOW_2,4,2      ; @AXP2XX_IRQ4_APS_LOW_2
	.comm	_AXP2XX_IRQ5_ENABLE,4,2         ; @AXP2XX_IRQ5_ENABLE
	.comm	_shutdown_final,4,2             ; @shutdown_final
	.comm	_axp2xx_shutdown,4,2            ; @axp2xx_shutdown
	.comm	_SHUTDOWN_PRI_LAST,4,2          ; @SHUTDOWN_PRI_LAST
l_.str.5:                               ; @.str.5
	.asciz	"Cannot enable sensor '%s'\n"

	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.comm	_CTLTYPE_INT,4,2                ; @CTLTYPE_INT
	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
	.comm	_axp2xx_sysctl,4,2              ; @axp2xx_sysctl
	.comm	_INTR_TYPE_MISC,4,2             ; @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ; @INTR_MPSAFE
	.comm	_axp2xx_intr,4,2                ; @axp2xx_intr
l_.str.6:                               ; @.str.6
	.asciz	"unable to register interrupt handler\n"

	.no_dead_strip	_axp2xx_start
.subsections_via_symbols
