	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm860x_init_battery
_pm860x_init_battery:                   ## @pm860x_init_battery
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MEAS1_GP1@GOTPCREL(%rip), %rax
	movq	(%rdi), %rdx
	movq	_PM860X_TEMP_TINT@GOTPCREL(%rip), %r15
	xorl	%ecx, %ecx
	cmpq	(%r15), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_MEAS1_TINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rax), %ecx
	movl	28(%rbx), %edi
	movq	_PM8607_MEAS_EN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_MEAS3_IBAT@GOTPCREL(%rip), %rax
	movq	_MEAS3_BAT_DET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MEAS3_CC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	28(%rbx), %edi
	movq	_PM8607_MEAS_EN3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	28(%rbx), %edi
	movq	_PM8607_MEAS_OFF_TIME1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$130, %edx
	callq	_pm860x_reg_write
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	28(%rbx), %edi
	movq	_PM8607_MEAS_OFF_TIME2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$108, %edx
	callq	_pm860x_reg_write
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	28(%rbx), %edi
	movq	_PM8607_GPADC_MISC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPMISC1_GPADC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	js	LBB0_6
## %bb.8:
	movl	28(%rbx), %edi
	movq	_PM8607_CHG_CTRL6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CC6_BAT_DET_GPADC1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	js	LBB0_6
## %bb.9:
	movl	28(%rbx), %edi
	movq	_PM8607_CCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CCNT_AVG_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$56, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	movl	28(%rbx), %edi
	movq	_PM8607_GP_BIAS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPBIAS2_GPADC1_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$240, %edx
	callq	_pm860x_set_bits
	testl	%eax, %eax
	js	LBB0_6
## %bb.11:
	leaq	32(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	28(%rbx), %edi
	movq	_PM8607_STATUS_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pm860x_reg_read
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:
	movq	_STATUS2_BAT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 8(%rbx)
	je	LBB0_14
## %bb.13:
	movq	_PM860X_TEMP_TBAT@GOTPCREL(%rip), %r15
LBB0_14:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_OCV_MODE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_calc_soc
	movl	28(%rbx), %edi
	movq	_PM8607_POWER_UP_LOG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_pm860x_reg_read
	movq	%rax, %r14
	movq	_BAT_WU_LOG@GOTPCREL(%rip), %r12
	andl	(%r12), %r14d
	movl	24(%rbx), %edi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	28(%rbx), %edi
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.15:
	movl	(%r15), %esi
	movl	(%r12), %ecx
	movl	%ecx, %edx
	callq	_pm860x_set_bits
	movl	-36(%rbp), %eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_23
LBB0_16:
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_17:
	movq	_PM8607_RTC_MISC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pm860x_reg_read
	movq	%rax, %r14
	movl	28(%rbx), %edi
	movq	_PM8607_RTC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pm860x_reg_read
	shll	$5, %eax
	andl	$96, %eax
	shrl	$3, %r14d
	andl	$31, %r14d
	orl	%eax, %r14d
	movl	-36(%rbp), %ecx
	leal	15(%rcx), %eax
	cmpl	%eax, %r14d
	jg	LBB0_18
## %bb.19:
	leal	-15(%rcx), %eax
	cmpl	%eax, %r14d
	jge	LBB0_21
LBB0_18:
	movl	%ecx, 12(%rbx)
	jmp	LBB0_22
LBB0_21:
	movl	%r14d, 12(%rbx)
LBB0_22:
	movl	24(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	12(%rbx), %eax
LBB0_23:
	movslq	%eax, %rdx
	movq	%rdx, 16(%rbx)
	movl	24(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MEAS1_GP1,4,2                  ## @MEAS1_GP1
	.comm	_PM860X_TEMP_TINT,8,3           ## @PM860X_TEMP_TINT
	.comm	_MEAS1_TINT,4,2                 ## @MEAS1_TINT
	.comm	_PM8607_MEAS_EN1,4,2            ## @PM8607_MEAS_EN1
	.comm	_MEAS3_IBAT,4,2                 ## @MEAS3_IBAT
	.comm	_MEAS3_BAT_DET,4,2              ## @MEAS3_BAT_DET
	.comm	_MEAS3_CC,4,2                   ## @MEAS3_CC
	.comm	_PM8607_MEAS_EN3,4,2            ## @PM8607_MEAS_EN3
	.comm	_PM8607_MEAS_OFF_TIME1,4,2      ## @PM8607_MEAS_OFF_TIME1
	.comm	_PM8607_MEAS_OFF_TIME2,4,2      ## @PM8607_MEAS_OFF_TIME2
	.comm	_PM8607_GPADC_MISC1,4,2         ## @PM8607_GPADC_MISC1
	.comm	_GPMISC1_GPADC_EN,4,2           ## @GPMISC1_GPADC_EN
	.comm	_PM8607_CHG_CTRL6,4,2           ## @PM8607_CHG_CTRL6
	.comm	_CC6_BAT_DET_GPADC1,4,2         ## @CC6_BAT_DET_GPADC1
	.comm	_PM8607_CCNT,4,2                ## @PM8607_CCNT
	.comm	_CCNT_AVG_SEL,4,2               ## @CCNT_AVG_SEL
	.comm	_PM8607_GP_BIAS2,4,2            ## @PM8607_GP_BIAS2
	.comm	_GPBIAS2_GPADC1_SET,4,2         ## @GPBIAS2_GPADC1_SET
	.comm	_PM8607_STATUS_2,4,2            ## @PM8607_STATUS_2
	.comm	_STATUS2_BAT,4,2                ## @STATUS2_BAT
	.comm	_PM860X_TEMP_TBAT,8,3           ## @PM860X_TEMP_TBAT
	.comm	_OCV_MODE_ACTIVE,4,2            ## @OCV_MODE_ACTIVE
	.comm	_PM8607_POWER_UP_LOG,4,2        ## @PM8607_POWER_UP_LOG
	.comm	_BAT_WU_LOG,4,2                 ## @BAT_WU_LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"battery wake up? %s\n"

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

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

	.comm	_PM8607_RTC_MISC2,4,2           ## @PM8607_RTC_MISC2
	.comm	_PM8607_RTC1,4,2                ## @PM8607_RTC1
L_.str.3:                               ## @.str.3
	.asciz	"soc_rtc %d, soc_ocv :%d\n"

L_.str.4:                               ## @.str.4
	.asciz	"init soc : %d\n"

	.no_dead_strip	_pm860x_init_battery
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm860x_init_battery
_pm860x_init_battery:                   ; @pm860x_init_battery
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _MEAS1_GP1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEAS1_GP1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _PM860X_TEMP_TINT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PM860X_TEMP_TINT@GOTPAGEOFF]
	ldr	x9, [x0]
	ldr	x10, [x21]
Lloh5:
	adrp	x11, _MEAS1_TINT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _MEAS1_TINT@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w2, w9, w8
	ldr	w0, [x0, #28]
Lloh8:
	adrp	x8, _PM8607_MEAS_EN1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PM8607_MEAS_EN1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x3, x2
	bl	_pm860x_set_bits
	cbnz	w0, LBB0_4
; %bb.1:
Lloh11:
	adrp	x8, _MEAS3_IBAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MEAS3_IBAT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MEAS3_BAT_DET@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MEAS3_BAT_DET@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _MEAS3_CC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MEAS3_CC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w0, [x19, #28]
Lloh20:
	adrp	x8, _PM8607_MEAS_EN3@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PM8607_MEAS_EN3@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x3, x2
	bl	_pm860x_set_bits
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #28]
Lloh23:
	adrp	x8, _PM8607_MEAS_OFF_TIME1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PM8607_MEAS_OFF_TIME1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w2, #130
	bl	_pm860x_reg_write
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #28]
Lloh26:
	adrp	x8, _PM8607_MEAS_OFF_TIME2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PM8607_MEAS_OFF_TIME2@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #108
	bl	_pm860x_reg_write
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	w0, [x19, #28]
Lloh29:
	adrp	x8, _PM8607_GPADC_MISC1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PM8607_GPADC_MISC1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _GPMISC1_GPADC_EN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GPMISC1_GPADC_EN@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_pm860x_set_bits
	tbnz	w0, #31, LBB0_4
; %bb.6:
	ldr	w0, [x19, #28]
Lloh35:
	adrp	x8, _PM8607_CHG_CTRL6@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PM8607_CHG_CTRL6@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _CC6_BAT_DET_GPADC1@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CC6_BAT_DET_GPADC1@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_pm860x_set_bits
	tbnz	w0, #31, LBB0_4
; %bb.7:
	ldr	w0, [x19, #28]
Lloh41:
	adrp	x8, _PM8607_CCNT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PM8607_CCNT@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _CCNT_AVG_SEL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CCNT_AVG_SEL@GOTPAGEOFF]
Lloh46:
	ldr	w3, [x8]
	mov	w2, #56
	bl	_pm860x_set_bits
	tbnz	w0, #31, LBB0_4
; %bb.8:
	ldr	w0, [x19, #28]
Lloh47:
	adrp	x8, _PM8607_GP_BIAS2@GOTPAGE
Lloh48:
	ldr	x8, [x8, _PM8607_GP_BIAS2@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _GPBIAS2_GPADC1_SET@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GPBIAS2_GPADC1_SET@GOTPAGEOFF]
Lloh52:
	ldr	w3, [x8]
	mov	w2, #240
	bl	_pm860x_set_bits
	tbnz	w0, #31, LBB0_4
; %bb.9:
	add	x20, x19, #32
	mov	x0, x20
	bl	_mutex_lock
	ldr	w0, [x19, #28]
Lloh53:
	adrp	x8, _PM8607_STATUS_2@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PM8607_STATUS_2@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	bl	_pm860x_reg_read
	tbnz	w0, #31, LBB0_12
; %bb.10:
Lloh56:
	adrp	x8, _STATUS2_BAT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _STATUS2_BAT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	str	w8, [x19, #8]
Lloh59:
	adrp	x8, _PM860X_TEMP_TBAT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _PM860X_TEMP_TBAT@GOTPAGEOFF]
	csel	x8, x21, x8, eq
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x20
	bl	_mutex_unlock
Lloh61:
	adrp	x8, _OCV_MODE_ACTIVE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _OCV_MODE_ACTIVE@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	add	x2, sp, #28
	mov	x0, x19
	bl	_calc_soc
	ldr	w0, [x19, #28]
Lloh64:
	adrp	x20, _PM8607_POWER_UP_LOG@GOTPAGE
Lloh65:
	ldr	x20, [x20, _PM8607_POWER_UP_LOG@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_pm860x_reg_read
Lloh66:
	adrp	x21, _BAT_WU_LOG@GOTPAGE
Lloh67:
	ldr	x21, [x21, _BAT_WU_LOG@GOTPAGEOFF]
	ldr	w9, [x21]
	ldr	w8, [x19, #24]
Lloh68:
	adrp	x10, l_.str.1@PAGE
Lloh69:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh70:
	adrp	x11, l_.str.2@PAGE
Lloh71:
	add	x11, x11, l_.str.2@PAGEOFF
	ands	w22, w9, w0
	csel	x9, x11, x10, eq
	str	x9, [sp]
Lloh72:
	adrp	x1, l_.str@PAGE
Lloh73:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_dbg
	ldr	w0, [x19, #28]
	cbz	w22, LBB0_13
; %bb.11:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x3, x2
	bl	_pm860x_set_bits
	ldr	w8, [sp, #28]
	str	w8, [x19, #12]
	b	LBB0_18
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_mutex_unlock
LBB0_13:
Lloh74:
	adrp	x8, _PM8607_RTC_MISC2@GOTPAGE
Lloh75:
	ldr	x8, [x8, _PM8607_RTC_MISC2@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	bl	_pm860x_reg_read
	mov	x20, x0
	ldr	w0, [x19, #28]
Lloh77:
	adrp	x8, _PM8607_RTC1@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PM8607_RTC1@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	bl	_pm860x_reg_read
	ubfx	w8, w20, #3, #5
	bfi	w8, w0, #5, #2
	ldr	w9, [sp, #28]
	add	w10, w9, #15
	cmp	w8, w10
	b.gt	LBB0_15
; %bb.14:
	sub	w10, w9, #15
	cmp	w8, w10
	b.ge	LBB0_16
LBB0_15:
	str	w9, [x19, #12]
	b	LBB0_17
LBB0_16:
	str	w8, [x19, #12]
LBB0_17:
	ldr	w0, [x19, #24]
	stp	x8, x9, [sp]
Lloh80:
	adrp	x1, l_.str.3@PAGE
Lloh81:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19, #12]
LBB0_18:
	sxtw	x8, w8
	str	x8, [x19, #16]
	ldr	w0, [x19, #24]
	str	x8, [sp]
Lloh82:
	adrp	x1, l_.str.4@PAGE
Lloh83:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_dbg
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_MEAS1_GP1,4,2                  ; @MEAS1_GP1
	.comm	_PM860X_TEMP_TINT,8,3           ; @PM860X_TEMP_TINT
	.comm	_MEAS1_TINT,4,2                 ; @MEAS1_TINT
	.comm	_PM8607_MEAS_EN1,4,2            ; @PM8607_MEAS_EN1
	.comm	_MEAS3_IBAT,4,2                 ; @MEAS3_IBAT
	.comm	_MEAS3_BAT_DET,4,2              ; @MEAS3_BAT_DET
	.comm	_MEAS3_CC,4,2                   ; @MEAS3_CC
	.comm	_PM8607_MEAS_EN3,4,2            ; @PM8607_MEAS_EN3
	.comm	_PM8607_MEAS_OFF_TIME1,4,2      ; @PM8607_MEAS_OFF_TIME1
	.comm	_PM8607_MEAS_OFF_TIME2,4,2      ; @PM8607_MEAS_OFF_TIME2
	.comm	_PM8607_GPADC_MISC1,4,2         ; @PM8607_GPADC_MISC1
	.comm	_GPMISC1_GPADC_EN,4,2           ; @GPMISC1_GPADC_EN
	.comm	_PM8607_CHG_CTRL6,4,2           ; @PM8607_CHG_CTRL6
	.comm	_CC6_BAT_DET_GPADC1,4,2         ; @CC6_BAT_DET_GPADC1
	.comm	_PM8607_CCNT,4,2                ; @PM8607_CCNT
	.comm	_CCNT_AVG_SEL,4,2               ; @CCNT_AVG_SEL
	.comm	_PM8607_GP_BIAS2,4,2            ; @PM8607_GP_BIAS2
	.comm	_GPBIAS2_GPADC1_SET,4,2         ; @GPBIAS2_GPADC1_SET
	.comm	_PM8607_STATUS_2,4,2            ; @PM8607_STATUS_2
	.comm	_STATUS2_BAT,4,2                ; @STATUS2_BAT
	.comm	_PM860X_TEMP_TBAT,8,3           ; @PM860X_TEMP_TBAT
	.comm	_OCV_MODE_ACTIVE,4,2            ; @OCV_MODE_ACTIVE
	.comm	_PM8607_POWER_UP_LOG,4,2        ; @PM8607_POWER_UP_LOG
	.comm	_BAT_WU_LOG,4,2                 ; @BAT_WU_LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"battery wake up? %s\n"

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

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

	.comm	_PM8607_RTC_MISC2,4,2           ; @PM8607_RTC_MISC2
	.comm	_PM8607_RTC1,4,2                ; @PM8607_RTC1
l_.str.3:                               ; @.str.3
	.asciz	"soc_rtc %d, soc_ocv :%d\n"

l_.str.4:                               ; @.str.4
	.asciz	"init soc : %d\n"

	.no_dead_strip	_pm860x_init_battery
.subsections_via_symbols
