	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp8xx_attach
_axp8xx_attach:                         ## @axp8xx_attach
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	callq	_device_get_softc
	movq	%rax, %r14
	movl	%r13d, %edi
	callq	_iicbus_get_addr
	movl	%eax, 60(%r14)
	leaq	56(%r14), %rbx
	movl	%r13d, %edi
	callq	_device_get_nameunit
	movq	_MTX_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_mtx_init
	movq	_axp8xx_spec@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	28(%r14), %rdx
	movl	%r13d, %edi
	callq	_bus_alloc_resources
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_34
LBB0_2:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_AXP_ICTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movl	%r13d, %edi
	movl	$1, %ecx
	callq	_axp8xx_read
	movl	-56(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_4:
	movq	_axp8xx_common_regdefs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_nitems
	movl	%eax, (%r14)
	movq	_compat_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_ofw_bus_search_compatible
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	cmpl	$129, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.7:
	movq	_axp813_regdefs@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_axp803_regdefs@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rdi
	callq	_nitems
	addl	%eax, (%r14)
LBB0_9:
	movq	_axp803_config@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r14)
	movq	_axp8xx_common_sensors@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 32(%r14)
	callq	_nitems
	movl	%eax, 8(%r14)
	movl	(%r14), %edi
	shll	$3, %edi
	movq	_M_AXP8XX_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_malloc
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 40(%r14)
	movl	%r13d, %edi
	callq	_ofw_bus_get_node
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_ofw_bus_find_child
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_25
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_25
## %bb.11:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rcx), %rcx
	movq	%rax, (%rcx,%r14,8)
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	addq	$32, %r15
	cmpq	%rax, %r14
	jge	LBB0_25
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r12d
	movq	_axp8xx_common_regdefs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_nitems
	cltq
	movq	(%r13), %rdi
	cmpq	%rax, %r14
	jle	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	callq	_nitems
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
	cmpl	$128, %ecx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$129, %ecx
	movl	%r12d, %r13d
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_axp803_regdefs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cltq
	shlq	$5, %rax
	subq	%rax, %rdi
	addq	%r15, %rdi
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rax
	shlq	$5, %rax
	addq	%rax, %rdi
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rdi
	shlq	$5, %rdi
	movq	_axp813_regdefs@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r12d, %r13d
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ofw_bus_find_child
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r13d, %edi
	movq	%rax, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_axp8xx_reg_attach
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r13d, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_24
LBB0_25:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, 8(%r12)
	jle	LBB0_28
## %bb.26:
	movl	$24, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	callq	_device_get_sysctl_ctx
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_device_get_sysctl_tree
	movl	%eax, %edi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	32(%r12), %rsi
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	-24(%rsi,%rbx), %rcx
	movl	(%rsi,%rbx), %r9d
	movq	_axp8xx_sysctl@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movups	-16(%rsi,%rbx), %xmm0
	subq	$32, %rsp
	movups	%xmm0, 16(%rsp)
	movl	%edi, 8(%rsp)
	movl	%r9d, (%rsp)
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%r13d, %r9d
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	incq	%r15
	movslq	8(%r12), %rax
	addq	$32, %rbx
	cmpq	%rax, %r15
	jl	LBB0_27
LBB0_28:
	movl	%r13d, %edi
	callq	_device_get_sysctl_ctx
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_device_get_sysctl_tree
	movl	%eax, %edi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CTLTYPE_INT@GOTPCREL(%rip), %rcx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	_axp8xx_sysctl_chargecurrent@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	L_.str.6(%rip), %r10
	leaq	L_.str.5(%rip), %r11
	leaq	L_.str.4(%rip), %rcx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%r13d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$32, %rsp
	movq	_AXP_BAT_CAP_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movl	%r13d, %edi
	movl	$1, %ecx
	callq	_axp8xx_read
	testq	%rax, %rax
	jne	LBB0_31
## %bb.29:
	movl	-52(%rbp), %edx
	movq	_AXP_BAT_CAP_WARN_LV1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	sarl	$4, %eax
	movq	_AXP_BAP_CAP_WARN_LV1BASE@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, 12(%r12)
	movq	_AXP_BAT_CAP_WARN_LV2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movl	%eax, 16(%r12)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.30:
	leaq	L_.str.7(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	movl	12(%r12), %edx
	leaq	L_.str.8(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	movl	16(%r12), %edx
	leaq	L_.str.9(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_31:
	movq	_AXP_IRQEN1_VBUS_LO@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN1_VBUS_HI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_AXP_IRQEN1@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN1_ACIN_LO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_AXP_IRQEN1_ACIN_HI@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%r13d, %edi
	callq	_axp8xx_write
	movq	_AXP_IRQEN2_BATCHGD@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN2_BATCHGC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_AXP_IRQEN2@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN2_BAT_NO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_AXP_IRQEN2_BAT_IN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%r13d, %edi
	callq	_axp8xx_write
	movq	_AXP_IRQEN3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_axp8xx_write
	movq	_AXP_IRQEN4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AXP_IRQEN4_BATLVL_LO0@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN4_BATLVL_LO1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%r13d, %edi
	callq	_axp8xx_write
	movq	_AXP_IRQEN5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AXP_IRQEN5_POKSIRQ@GOTPCREL(%rip), %rax
	movq	_AXP_IRQEN5_POKLIRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%r13d, %edi
	callq	_axp8xx_write
	movq	_AXP_IRQEN6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_axp8xx_write
	movq	_INTR_TYPE_MISC@GOTPCREL(%rip), %rax
	movq	_INTR_MPSAFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	28(%r12), %esi
	movq	_axp8xx_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rax
	addq	$24, %rax
	subq	$8, %rsp
	movl	%r13d, %edi
	xorl	%ecx, %ecx
	movl	%r13d, %r9d
	pushq	%rax
	callq	_bus_setup_intr
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movl	%eax, %r15d
	leaq	L_.str.10(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	movl	%r15d, %ebx
	jmp	LBB0_34
LBB0_33:
	movq	_shutdown_final@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_axp8xx_shutdown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SHUTDOWN_PRI_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edx
	callq	_EVENTHANDLER_REGISTER
	movl	%r13d, %edi
	callq	_gpiobus_attach_bus
	movl	%eax, 20(%r12)
LBB0_34:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_axp8xx_spec,4,2                ## @axp8xx_spec
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot allocate resources for device\n"

	.comm	_bootverbose,8,3                ## @bootverbose
	.comm	_AXP_ICTYPE,4,2                 ## @AXP_ICTYPE
L_.str.1:                               ## @.str.1
	.asciz	"chip ID 0x%02x\n"

	.comm	_axp8xx_common_regdefs,8,3      ## @axp8xx_common_regdefs
	.comm	_compat_data,4,2                ## @compat_data
	.comm	_axp803_regdefs,8,3             ## @axp803_regdefs
	.comm	_axp813_regdefs,8,3             ## @axp813_regdefs
	.comm	_axp803_config,4,2              ## @axp803_config
	.comm	_axp8xx_common_sensors,8,3      ## @axp8xx_common_sensors
	.comm	_M_AXP8XX_REG,4,2               ## @M_AXP8XX_REG
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
L_.str.2:                               ## @.str.2
	.asciz	"regulators"

L_.str.3:                               ## @.str.3
	.asciz	"cannot attach regulator %s\n"

	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.comm	_CTLTYPE_INT,4,2                ## @CTLTYPE_INT
	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
	.comm	_axp8xx_sysctl,4,2              ## @axp8xx_sysctl
L_.str.4:                               ## @.str.4
	.asciz	"batchargecurrentstep"

	.comm	_CTLFLAG_RW,4,2                 ## @CTLFLAG_RW
	.comm	_axp8xx_sysctl_chargecurrent,4,2 ## @axp8xx_sysctl_chargecurrent
L_.str.5:                               ## @.str.5
	.asciz	"I"

L_.str.6:                               ## @.str.6
	.asciz	"Battery Charging Current Step, 0: 200mA, 1: 400mA, 2: 600mA, 3: 800mA, 4: 1000mA, 5: 1200mA, 6: 1400mA, 7: 1600mA, 8: 1800mA, 9: 2000mA, 10: 2200mA, 11: 2400mA, 12: 2600mA, 13: 2800mA"

	.comm	_AXP_BAT_CAP_WARN,4,2           ## @AXP_BAT_CAP_WARN
	.comm	_AXP_BAT_CAP_WARN_LV1,4,2       ## @AXP_BAT_CAP_WARN_LV1
	.comm	_AXP_BAP_CAP_WARN_LV1BASE,8,3   ## @AXP_BAP_CAP_WARN_LV1BASE
	.comm	_AXP_BAT_CAP_WARN_LV2,4,2       ## @AXP_BAT_CAP_WARN_LV2
L_.str.7:                               ## @.str.7
	.asciz	"Raw reg val: 0x%02x\n"

L_.str.8:                               ## @.str.8
	.asciz	"Warning threshold: 0x%02x\n"

L_.str.9:                               ## @.str.9
	.asciz	"Shutdown threshold: 0x%02x\n"

	.comm	_AXP_IRQEN1,4,2                 ## @AXP_IRQEN1
	.comm	_AXP_IRQEN1_VBUS_LO,4,2         ## @AXP_IRQEN1_VBUS_LO
	.comm	_AXP_IRQEN1_VBUS_HI,4,2         ## @AXP_IRQEN1_VBUS_HI
	.comm	_AXP_IRQEN1_ACIN_LO,4,2         ## @AXP_IRQEN1_ACIN_LO
	.comm	_AXP_IRQEN1_ACIN_HI,4,2         ## @AXP_IRQEN1_ACIN_HI
	.comm	_AXP_IRQEN2,4,2                 ## @AXP_IRQEN2
	.comm	_AXP_IRQEN2_BATCHGD,4,2         ## @AXP_IRQEN2_BATCHGD
	.comm	_AXP_IRQEN2_BATCHGC,4,2         ## @AXP_IRQEN2_BATCHGC
	.comm	_AXP_IRQEN2_BAT_NO,4,2          ## @AXP_IRQEN2_BAT_NO
	.comm	_AXP_IRQEN2_BAT_IN,4,2          ## @AXP_IRQEN2_BAT_IN
	.comm	_AXP_IRQEN3,4,2                 ## @AXP_IRQEN3
	.comm	_AXP_IRQEN4,4,2                 ## @AXP_IRQEN4
	.comm	_AXP_IRQEN4_BATLVL_LO0,4,2      ## @AXP_IRQEN4_BATLVL_LO0
	.comm	_AXP_IRQEN4_BATLVL_LO1,4,2      ## @AXP_IRQEN4_BATLVL_LO1
	.comm	_AXP_IRQEN5,4,2                 ## @AXP_IRQEN5
	.comm	_AXP_IRQEN5_POKSIRQ,4,2         ## @AXP_IRQEN5_POKSIRQ
	.comm	_AXP_IRQEN5_POKLIRQ,4,2         ## @AXP_IRQEN5_POKLIRQ
	.comm	_AXP_IRQEN6,4,2                 ## @AXP_IRQEN6
	.comm	_INTR_TYPE_MISC,4,2             ## @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ## @INTR_MPSAFE
	.comm	_axp8xx_intr,4,2                ## @axp8xx_intr
L_.str.10:                              ## @.str.10
	.asciz	"cannot setup interrupt handler\n"

	.comm	_shutdown_final,4,2             ## @shutdown_final
	.comm	_axp8xx_shutdown,4,2            ## @axp8xx_shutdown
	.comm	_SHUTDOWN_PRI_LAST,4,2          ## @SHUTDOWN_PRI_LAST
	.no_dead_strip	_axp8xx_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp8xx_attach
_axp8xx_attach:                         ; @axp8xx_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	bl	_device_get_softc
	mov	x20, x0
	mov	x0, x19
	bl	_iicbus_get_addr
	str	w0, [x20, #60]
	add	x21, x20, #56
	mov	x0, x19
	bl	_device_get_nameunit
	mov	x1, x0
Lloh0:
	adrp	x8, _MTX_DEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTX_DEF@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_mtx_init
Lloh3:
	adrp	x8, _axp8xx_spec@GOTPAGE
Lloh4:
	ldr	x8, [x8, _axp8xx_spec@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, x20, #28
	mov	x0, x19
	bl	_bus_alloc_resources
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_32
LBB0_2:
Lloh8:
	adrp	x8, _bootverbose@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _AXP_ICTYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AXP_ICTYPE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #28
	mov	x0, x19
	mov	w3, #1
	bl	_axp8xx_read
	ldr	w8, [sp, #28]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_device_printf
LBB0_4:
Lloh16:
	adrp	x26, _axp8xx_common_regdefs@GOTPAGE
Lloh17:
	ldr	x26, [x26, _axp8xx_common_regdefs@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_nitems
	str	w0, [x20]
Lloh18:
	adrp	x8, _compat_data@GOTPAGE
Lloh19:
	ldr	x8, [x8, _compat_data@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ofw_bus_search_compatible
	ldr	w8, [x0]
	str	w8, [x20, #4]
Lloh21:
	adrp	x9, _axp803_regdefs@GOTPAGE
Lloh22:
	ldr	x9, [x9, _axp803_regdefs@GOTPAGEOFF]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.5:
	mov	x27, x9
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
Lloh23:
	adrp	x8, _axp813_regdefs@GOTPAGE
Lloh24:
	ldr	x8, [x8, _axp813_regdefs@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	x27, x9
	mov	x8, x9
LBB0_8:
	ldr	x0, [x8]
	bl	_nitems
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
LBB0_9:
Lloh25:
	adrp	x8, _axp803_config@GOTPAGE
Lloh26:
	ldr	x8, [x8, _axp803_config@GOTPAGEOFF]
	str	x8, [x20, #48]
Lloh27:
	adrp	x8, _axp8xx_common_sensors@GOTPAGE
Lloh28:
	ldr	x8, [x8, _axp8xx_common_sensors@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	str	x0, [x20, #32]
	bl	_nitems
	str	w0, [x20, #8]
	ldr	w8, [x20]
	lsl	w0, w8, #3
Lloh30:
	adrp	x8, _M_AXP8XX_REG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _M_AXP8XX_REG@GOTPAGEOFF]
Lloh32:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	ldr	w8, [x9]
Lloh36:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh37:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x20, #40]
	mov	x0, x19
	bl	_ofw_bus_get_node
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ofw_bus_find_child
	cmp	x0, #1
	b.lt	LBB0_24
; %bb.10:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.11:
	mov	x21, x0
	mov	x28, #0
	mov	x25, #0
                                        ; implicit-def: $x23
                                        ; implicit-def: $x24
Lloh41:
	adrp	x22, l_.str.3@PAGE
Lloh42:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x20, #40]
	str	x0, [x8, x25, lsl #3]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x20]
	add	x28, x28, #32
	cmp	x25, x8
	b.ge	LBB0_24
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	bl	_nitems
	mov	x8, x0
	ldr	x0, [x26]
	cmp	x25, w8, sxtw
	b.le	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_nitems
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20, #4]
	cmp	w8, #128
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #129
	b.ne	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x27]
	sxtw	x9, w0
	sub	x8, x8, x9, lsl #5
	add	x23, x8, x28
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x0, x25, lsl #5
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	w8, w25, w0
Lloh43:
	adrp	x9, _axp813_regdefs@GOTPAGE
Lloh44:
	ldr	x9, [x9, _axp813_regdefs@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	sxtw	x8, w8
	add	x23, x9, x8, lsl #5
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x24, [x23]
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_ofw_bus_find_child
	cbz	x0, LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_axp8xx_reg_attach
	cbnz	x0, LBB0_12
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x24, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_device_printf
	b	LBB0_13
LBB0_24:
	ldr	w8, [x20, #8]
Lloh46:
	adrp	x23, _OID_AUTO@GOTPAGE
Lloh47:
	ldr	x23, [x23, _OID_AUTO@GOTPAGEOFF]
Lloh48:
	adrp	x22, _CTLTYPE_INT@GOTPAGE
Lloh49:
	ldr	x22, [x22, _CTLTYPE_INT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.25:
	mov	x24, #0
	mov	x25, #0
Lloh50:
	adrp	x26, _CTLFLAG_RD@GOTPAGE
Lloh51:
	ldr	x26, [x26, _CTLFLAG_RD@GOTPAGEOFF]
Lloh52:
	adrp	x27, _axp8xx_sysctl@GOTPAGE
Lloh53:
	ldr	x27, [x27, _axp8xx_sysctl@GOTPAGEOFF]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_device_get_sysctl_ctx
	mov	x21, x0
	mov	x0, x19
	bl	_device_get_sysctl_tree
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
	ldr	x8, [x20, #32]
	add	x8, x8, x24
	ldr	w9, [x22]
	ldr	w10, [x26]
	orr	w4, w10, w9
	ldr	w6, [x8, #24]
	ldr	w7, [x27]
	ldp	x3, x9, [x8]
	ldr	x8, [x8, #16]
	stp	x9, x8, [sp]
	mov	x0, x21
	mov	x5, x19
	bl	_SYSCTL_ADD_PROC
	add	x25, x25, #1
	ldrsw	x8, [x20, #8]
	add	x24, x24, #32
	cmp	x25, x8
	b.lt	LBB0_26
LBB0_27:
	mov	x0, x19
	bl	_device_get_sysctl_ctx
	mov	x21, x0
	mov	x0, x19
	bl	_device_get_sysctl_tree
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x23]
Lloh54:
	adrp	x8, _CTLFLAG_RW@GOTPAGE
Lloh55:
	ldr	x8, [x8, _CTLFLAG_RW@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh56:
	ldr	w8, [x8]
	orr	w4, w8, w9
Lloh57:
	adrp	x8, _axp8xx_sysctl_chargecurrent@GOTPAGE
Lloh58:
	ldr	x8, [x8, _axp8xx_sysctl_chargecurrent@GOTPAGEOFF]
Lloh59:
	ldr	w7, [x8]
Lloh60:
	adrp	x8, l_.str.6@PAGE
Lloh61:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh62:
	adrp	x9, l_.str.5@PAGE
Lloh63:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x9, x8, [sp]
Lloh64:
	adrp	x3, l_.str.4@PAGE
Lloh65:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x5, x19
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
Lloh66:
	adrp	x8, _AXP_BAT_CAP_WARN@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AXP_BAT_CAP_WARN@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #1
	bl	_axp8xx_read
	cbnz	x0, LBB0_30
; %bb.28:
	ldr	w8, [sp, #24]
Lloh69:
	adrp	x9, _AXP_BAT_CAP_WARN_LV1@GOTPAGE
Lloh70:
	ldr	x9, [x9, _AXP_BAT_CAP_WARN_LV1@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh72:
	adrp	x10, _AXP_BAP_CAP_WARN_LV1BASE@GOTPAGE
Lloh73:
	ldr	x10, [x10, _AXP_BAP_CAP_WARN_LV1BASE@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
Lloh75:
	adrp	x11, _AXP_BAT_CAP_WARN_LV2@GOTPAGE
Lloh76:
	ldr	x11, [x11, _AXP_BAT_CAP_WARN_LV2@GOTPAGEOFF]
	add	w9, w10, w9, asr #4
Lloh77:
	ldr	w10, [x11]
	and	w10, w10, w8
	stp	w9, w10, [x20, #12]
Lloh78:
	adrp	x9, _bootverbose@GOTPAGE
Lloh79:
	ldr	x9, [x9, _bootverbose@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	cbz	x9, LBB0_30
; %bb.29:
	str	x8, [sp]
Lloh81:
	adrp	x1, l_.str.7@PAGE
Lloh82:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh83:
	adrp	x1, l_.str.8@PAGE
Lloh84:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	w8, [x20, #16]
	str	x8, [sp]
Lloh85:
	adrp	x1, l_.str.9@PAGE
Lloh86:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_device_printf
LBB0_30:
Lloh87:
	adrp	x8, _AXP_IRQEN1@GOTPAGE
Lloh88:
	ldr	x8, [x8, _AXP_IRQEN1@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
Lloh90:
	adrp	x8, _AXP_IRQEN1_VBUS_LO@GOTPAGE
Lloh91:
	ldr	x8, [x8, _AXP_IRQEN1_VBUS_LO@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
Lloh93:
	adrp	x9, _AXP_IRQEN1_VBUS_HI@GOTPAGE
Lloh94:
	ldr	x9, [x9, _AXP_IRQEN1_VBUS_HI@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh96:
	adrp	x9, _AXP_IRQEN1_ACIN_LO@GOTPAGE
Lloh97:
	ldr	x9, [x9, _AXP_IRQEN1_ACIN_LO@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh99:
	adrp	x9, _AXP_IRQEN1_ACIN_HI@GOTPAGE
Lloh100:
	ldr	x9, [x9, _AXP_IRQEN1_ACIN_HI@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_axp8xx_write
Lloh102:
	adrp	x8, _AXP_IRQEN2@GOTPAGE
Lloh103:
	ldr	x8, [x8, _AXP_IRQEN2@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _AXP_IRQEN2_BATCHGD@GOTPAGE
Lloh106:
	ldr	x8, [x8, _AXP_IRQEN2_BATCHGD@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
Lloh108:
	adrp	x9, _AXP_IRQEN2_BATCHGC@GOTPAGE
Lloh109:
	ldr	x9, [x9, _AXP_IRQEN2_BATCHGC@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh111:
	adrp	x9, _AXP_IRQEN2_BAT_NO@GOTPAGE
Lloh112:
	ldr	x9, [x9, _AXP_IRQEN2_BAT_NO@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh114:
	adrp	x9, _AXP_IRQEN2_BAT_IN@GOTPAGE
Lloh115:
	ldr	x9, [x9, _AXP_IRQEN2_BAT_IN@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_axp8xx_write
Lloh117:
	adrp	x8, _AXP_IRQEN3@GOTPAGE
Lloh118:
	ldr	x8, [x8, _AXP_IRQEN3@GOTPAGEOFF]
Lloh119:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_axp8xx_write
Lloh120:
	adrp	x8, _AXP_IRQEN4@GOTPAGE
Lloh121:
	ldr	x8, [x8, _AXP_IRQEN4@GOTPAGEOFF]
Lloh122:
	adrp	x9, _AXP_IRQEN4_BATLVL_LO0@GOTPAGE
Lloh123:
	ldr	x9, [x9, _AXP_IRQEN4_BATLVL_LO0@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
Lloh125:
	ldr	w8, [x9]
Lloh126:
	adrp	x9, _AXP_IRQEN4_BATLVL_LO1@GOTPAGE
Lloh127:
	ldr	x9, [x9, _AXP_IRQEN4_BATLVL_LO1@GOTPAGEOFF]
Lloh128:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_axp8xx_write
Lloh129:
	adrp	x8, _AXP_IRQEN5@GOTPAGE
Lloh130:
	ldr	x8, [x8, _AXP_IRQEN5@GOTPAGEOFF]
Lloh131:
	adrp	x9, _AXP_IRQEN5_POKSIRQ@GOTPAGE
Lloh132:
	ldr	x9, [x9, _AXP_IRQEN5_POKSIRQ@GOTPAGEOFF]
Lloh133:
	ldr	w1, [x8]
Lloh134:
	ldr	w8, [x9]
Lloh135:
	adrp	x9, _AXP_IRQEN5_POKLIRQ@GOTPAGE
Lloh136:
	ldr	x9, [x9, _AXP_IRQEN5_POKLIRQ@GOTPAGEOFF]
Lloh137:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_axp8xx_write
Lloh138:
	adrp	x8, _AXP_IRQEN6@GOTPAGE
Lloh139:
	ldr	x8, [x8, _AXP_IRQEN6@GOTPAGEOFF]
Lloh140:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_axp8xx_write
	ldr	w1, [x20, #28]
Lloh141:
	adrp	x8, _INTR_TYPE_MISC@GOTPAGE
Lloh142:
	ldr	x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
Lloh144:
	adrp	x9, _INTR_MPSAFE@GOTPAGE
Lloh145:
	ldr	x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh146:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh147:
	adrp	x8, _axp8xx_intr@GOTPAGE
Lloh148:
	ldr	x8, [x8, _axp8xx_intr@GOTPAGEOFF]
Lloh149:
	ldr	w4, [x8]
	add	x6, x20, #24
	mov	x0, x19
	mov	x3, #0
	mov	x5, x19
	bl	_bus_setup_intr
	mov	x21, x0
	cbz	w0, LBB0_34
; %bb.31:
Lloh150:
	adrp	x1, l_.str.10@PAGE
Lloh151:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_32:
	mov	x0, x19
	bl	_device_printf
LBB0_33:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_34:
Lloh152:
	adrp	x8, _shutdown_final@GOTPAGE
Lloh153:
	ldr	x8, [x8, _shutdown_final@GOTPAGEOFF]
Lloh154:
	ldr	w0, [x8]
Lloh155:
	adrp	x8, _axp8xx_shutdown@GOTPAGE
Lloh156:
	ldr	x8, [x8, _axp8xx_shutdown@GOTPAGEOFF]
Lloh157:
	ldr	w1, [x8]
Lloh158:
	adrp	x8, _SHUTDOWN_PRI_LAST@GOTPAGE
Lloh159:
	ldr	x8, [x8, _SHUTDOWN_PRI_LAST@GOTPAGEOFF]
Lloh160:
	ldr	w3, [x8]
	mov	x2, x19
	bl	_EVENTHANDLER_REGISTER
	mov	x0, x19
	bl	_gpiobus_attach_bus
	str	w0, [x20, #20]
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh134
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh133
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh124
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.cfi_endproc
                                        ; -- End function
	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_axp8xx_spec,4,2                ; @axp8xx_spec
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot allocate resources for device\n"

	.comm	_bootverbose,8,3                ; @bootverbose
	.comm	_AXP_ICTYPE,4,2                 ; @AXP_ICTYPE
l_.str.1:                               ; @.str.1
	.asciz	"chip ID 0x%02x\n"

	.comm	_axp8xx_common_regdefs,8,3      ; @axp8xx_common_regdefs
	.comm	_compat_data,4,2                ; @compat_data
	.comm	_axp803_regdefs,8,3             ; @axp803_regdefs
	.comm	_axp813_regdefs,8,3             ; @axp813_regdefs
	.comm	_axp803_config,4,2              ; @axp803_config
	.comm	_axp8xx_common_sensors,8,3      ; @axp8xx_common_sensors
	.comm	_M_AXP8XX_REG,4,2               ; @M_AXP8XX_REG
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
l_.str.2:                               ; @.str.2
	.asciz	"regulators"

l_.str.3:                               ; @.str.3
	.asciz	"cannot attach regulator %s\n"

	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.comm	_CTLTYPE_INT,4,2                ; @CTLTYPE_INT
	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
	.comm	_axp8xx_sysctl,4,2              ; @axp8xx_sysctl
l_.str.4:                               ; @.str.4
	.asciz	"batchargecurrentstep"

	.comm	_CTLFLAG_RW,4,2                 ; @CTLFLAG_RW
	.comm	_axp8xx_sysctl_chargecurrent,4,2 ; @axp8xx_sysctl_chargecurrent
l_.str.5:                               ; @.str.5
	.asciz	"I"

l_.str.6:                               ; @.str.6
	.asciz	"Battery Charging Current Step, 0: 200mA, 1: 400mA, 2: 600mA, 3: 800mA, 4: 1000mA, 5: 1200mA, 6: 1400mA, 7: 1600mA, 8: 1800mA, 9: 2000mA, 10: 2200mA, 11: 2400mA, 12: 2600mA, 13: 2800mA"

	.comm	_AXP_BAT_CAP_WARN,4,2           ; @AXP_BAT_CAP_WARN
	.comm	_AXP_BAT_CAP_WARN_LV1,4,2       ; @AXP_BAT_CAP_WARN_LV1
	.comm	_AXP_BAP_CAP_WARN_LV1BASE,8,3   ; @AXP_BAP_CAP_WARN_LV1BASE
	.comm	_AXP_BAT_CAP_WARN_LV2,4,2       ; @AXP_BAT_CAP_WARN_LV2
l_.str.7:                               ; @.str.7
	.asciz	"Raw reg val: 0x%02x\n"

l_.str.8:                               ; @.str.8
	.asciz	"Warning threshold: 0x%02x\n"

l_.str.9:                               ; @.str.9
	.asciz	"Shutdown threshold: 0x%02x\n"

	.comm	_AXP_IRQEN1,4,2                 ; @AXP_IRQEN1
	.comm	_AXP_IRQEN1_VBUS_LO,4,2         ; @AXP_IRQEN1_VBUS_LO
	.comm	_AXP_IRQEN1_VBUS_HI,4,2         ; @AXP_IRQEN1_VBUS_HI
	.comm	_AXP_IRQEN1_ACIN_LO,4,2         ; @AXP_IRQEN1_ACIN_LO
	.comm	_AXP_IRQEN1_ACIN_HI,4,2         ; @AXP_IRQEN1_ACIN_HI
	.comm	_AXP_IRQEN2,4,2                 ; @AXP_IRQEN2
	.comm	_AXP_IRQEN2_BATCHGD,4,2         ; @AXP_IRQEN2_BATCHGD
	.comm	_AXP_IRQEN2_BATCHGC,4,2         ; @AXP_IRQEN2_BATCHGC
	.comm	_AXP_IRQEN2_BAT_NO,4,2          ; @AXP_IRQEN2_BAT_NO
	.comm	_AXP_IRQEN2_BAT_IN,4,2          ; @AXP_IRQEN2_BAT_IN
	.comm	_AXP_IRQEN3,4,2                 ; @AXP_IRQEN3
	.comm	_AXP_IRQEN4,4,2                 ; @AXP_IRQEN4
	.comm	_AXP_IRQEN4_BATLVL_LO0,4,2      ; @AXP_IRQEN4_BATLVL_LO0
	.comm	_AXP_IRQEN4_BATLVL_LO1,4,2      ; @AXP_IRQEN4_BATLVL_LO1
	.comm	_AXP_IRQEN5,4,2                 ; @AXP_IRQEN5
	.comm	_AXP_IRQEN5_POKSIRQ,4,2         ; @AXP_IRQEN5_POKSIRQ
	.comm	_AXP_IRQEN5_POKLIRQ,4,2         ; @AXP_IRQEN5_POKLIRQ
	.comm	_AXP_IRQEN6,4,2                 ; @AXP_IRQEN6
	.comm	_INTR_TYPE_MISC,4,2             ; @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ; @INTR_MPSAFE
	.comm	_axp8xx_intr,4,2                ; @axp8xx_intr
l_.str.10:                              ; @.str.10
	.asciz	"cannot setup interrupt handler\n"

	.comm	_shutdown_final,4,2             ; @shutdown_final
	.comm	_axp8xx_shutdown,4,2            ; @axp8xx_shutdown
	.comm	_SHUTDOWN_PRI_LAST,4,2          ; @SHUTDOWN_PRI_LAST
	.no_dead_strip	_axp8xx_attach
.subsections_via_symbols
