	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ds2760_battery_read_status
_ds2760_battery_read_status:            ## @ds2760_battery_read_status
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_cache_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_time_before
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_26
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_DS2760_VOLTAGE_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DS2760_TEMP_LSB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subl	%eax, %ebx
	incl	%ebx
	jmp	LBB0_5
LBB0_4:
	movq	_DS2760_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
LBB0_5:
	movl	80(%r15), %edi
	movslq	%eax, %rdx
	leaq	(,%rdx,4), %rsi
	addq	8(%r15), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	callq	_w1_ds2760_read
	cmpl	%ebx, %eax
	jne	LBB0_8
## %bb.6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	8(%r15), %rax
	movq	_DS2760_VOLTAGE_MSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	shll	$3, %ecx
	movq	_DS2760_VOLTAGE_LSB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %edx
	sarl	$5, %edx
	orl	%ecx, %edx
	movl	%edx, 16(%r15)
	imull	$4880, %edx, %ecx               ## imm = 0x1310
	movl	%ecx, 20(%r15)
	movq	_DS2760_CURRENT_MSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	shll	$5, %ecx
	movq	_DS2760_CURRENT_LSB@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %edx
	shrl	$3, %edx
	orl	%ecx, %edx
	movb	%dl, 24(%r15)
	movsbl	%dl, %ecx
	imull	$625, %ecx, %ecx                ## imm = 0x271
	movl	%ecx, 28(%r15)
	movq	_DS2760_CURRENT_ACCUM_LSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movb	%cl, 32(%r15)
	movsbl	%cl, %ecx
	imull	$250, %ecx, %ecx
	movl	%ecx, 36(%r15)
	movq	_DS2760_TEMP_MSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	shll	$3, %ecx
	movq	_DS2760_TEMP_LSB@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %edx
	shrl	$5, %edx
	orl	%ecx, %edx
	movb	%dl, 40(%r15)
	movsbl	%dl, %ecx
	movl	%ecx, %edx
	sarb	$7, %dl
	shrb	$6, %dl
	addb	%cl, %dl
	sarb	$2, %dl
	movsbl	%dl, %edx
	addl	%ecx, %edx
	movl	%edx, 44(%r15)
	movq	_DS2760_RATED_CAPACITY@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	_rated_capacities@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jge	LBB0_9
## %bb.7:
	movq	(%r14), %rcx
	movq	8(%r15), %rax
	movq	(%r12), %rdx
	movl	(%rax,%rdx,4), %edx
	movl	(%rcx,%rdx,4), %ecx
	jmp	LBB0_10
LBB0_8:
	movl	80(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%edi, %edx
	callq	_dev_warn
	movl	$1, %eax
	jmp	LBB0_26
LBB0_9:
	movq	8(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
LBB0_10:
	imull	$1000, %ecx, %edx               ## imm = 0x3E8
	movl	%edx, 48(%r15)
	movq	_DS2760_ACTIVE_FULL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %esi
	shll	$8, %esi
	orl	4(%rax,%rdx,4), %esi
	cmovel	%ecx, %esi
	movl	%esi, 52(%r15)
	movl	%esi, -64(%rbp)
	addl	8(%rax,%rdx,4), %esi
	movl	%esi, -60(%rbp)
	addl	12(%rax,%rdx,4), %esi
	movl	%esi, -56(%rbp)
	addl	16(%rax,%rdx,4), %esi
	movl	%esi, -52(%rbp)
	addl	20(%rax,%rdx,4), %esi
	movl	%esi, -48(%rbp)
	movslq	44(%r15), %rax
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_battery_interpolate
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, 52(%r15)
	movq	8(%r15), %rax
	movq	_DS2760_ACTIVE_EMPTY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	16(%rax,%rcx,4), %edx
	movl	%edx, -48(%rbp)
	addl	12(%rax,%rcx,4), %edx
	movl	%edx, -52(%rbp)
	addl	8(%rax,%rcx,4), %edx
	movl	%edx, -56(%rbp)
	addl	4(%rax,%rcx,4), %edx
	movl	%edx, -60(%rbp)
	addl	(%rax,%rcx,4), %edx
	movl	%edx, -64(%rbp)
	movslq	44(%r15), %rax
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_battery_interpolate
	cltq
	imulq	$1000, %rax, %rcx               ## imm = 0x3E8
	movl	%ecx, 56(%r15)
	movl	52(%r15), %esi
	subl	%ecx, %esi
	je	LBB0_18
## %bb.12:
	movslq	36(%r15), %rax
	subq	%rcx, %rax
	imulq	$100, %rax, %rax
	movslq	%esi, %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_14
## %bb.13:
	cqto
	idivq	%rdi
	jmp	LBB0_15
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_15:
	movq	%rax, 64(%r15)
	testq	%rax, %rax
	js	LBB0_18
## %bb.16:
	cmpq	$101, %rax
	jb	LBB0_19
## %bb.17:
	movq	$100, 64(%r15)
	jmp	LBB0_19
LBB0_18:
	movq	$0, 64(%r15)
LBB0_19:
	movl	28(%r15), %edx
	cmpl	$-101, %edx
	jg	LBB0_22
## %bb.20:
	movslq	36(%r15), %rax
	movslq	%ecx, %rcx
	subq	%rcx, %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,8), %rax
	negq	%rax
	negl	%edx
	imulq	$1374389535, %rdx, %rcx         ## imm = 0x51EB851F
	shrq	$37, %rcx
	negl	%ecx
	movslq	%ecx, %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_23
## %bb.21:
	cqto
	idivq	%rsi
	jmp	LBB0_24
LBB0_22:
	movq	$0, 72(%r15)
	jmp	LBB0_25
LBB0_23:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_24:
	movq	%rax, 72(%r15)
LBB0_25:
	xorl	%eax, %eax
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_cache_time,4,2                 ## @cache_time
	.comm	_DS2760_DATA_SIZE,4,2           ## @DS2760_DATA_SIZE
	.comm	_DS2760_VOLTAGE_MSB,8,3         ## @DS2760_VOLTAGE_MSB
	.comm	_DS2760_TEMP_LSB,4,2            ## @DS2760_TEMP_LSB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"call to w1_ds2760_read failed (0x%p)\n"

	.comm	_DS2760_VOLTAGE_LSB,8,3         ## @DS2760_VOLTAGE_LSB
	.comm	_DS2760_CURRENT_MSB,8,3         ## @DS2760_CURRENT_MSB
	.comm	_DS2760_CURRENT_LSB,8,3         ## @DS2760_CURRENT_LSB
	.comm	_DS2760_CURRENT_ACCUM_MSB,8,3   ## @DS2760_CURRENT_ACCUM_MSB
	.comm	_DS2760_CURRENT_ACCUM_LSB,8,3   ## @DS2760_CURRENT_ACCUM_LSB
	.comm	_DS2760_TEMP_MSB,8,3            ## @DS2760_TEMP_MSB
	.comm	_DS2760_RATED_CAPACITY,8,3      ## @DS2760_RATED_CAPACITY
	.comm	_rated_capacities,8,3           ## @rated_capacities
	.comm	_DS2760_ACTIVE_FULL,8,3         ## @DS2760_ACTIVE_FULL
	.comm	_DS2760_ACTIVE_EMPTY,4,2        ## @DS2760_ACTIVE_EMPTY
	.no_dead_strip	_ds2760_battery_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ds2760_battery_read_status
_ds2760_battery_read_status:            ; @ds2760_battery_read_status
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x21, [x0]
	cbz	x21, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x8, _cache_time@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cache_time@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_time_before
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_19
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _DS2760_VOLTAGE_MSB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DS2760_VOLTAGE_MSB@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _DS2760_TEMP_LSB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DS2760_TEMP_LSB@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	sub	w8, w8, w2
	add	w20, w8, #1
	b	LBB0_6
LBB0_5:
	mov	w2, #0
Lloh15:
	adrp	x8, _DS2760_DATA_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DS2760_DATA_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
LBB0_6:
	ldr	w0, [x19, #80]
	ldr	x8, [x19, #8]
	add	x1, x8, w2, sxtw #2
	mov	x3, x20
	bl	_w1_ds2760_read
	cmp	w0, w20
	b.ne	LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _jiffies@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh21:
	adrp	x8, _DS2760_VOLTAGE_MSB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DS2760_VOLTAGE_MSB@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh23:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh24:
	adrp	x10, _DS2760_VOLTAGE_LSB@GOTPAGE
Lloh25:
	ldr	x10, [x10, _DS2760_VOLTAGE_LSB@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	asr	w10, w10, #5
	orr	w8, w10, w8, lsl #3
	mov	w10, #4880
	mul	w10, w8, w10
	stp	w8, w10, [x19, #16]
Lloh27:
	adrp	x8, _DS2760_CURRENT_MSB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DS2760_CURRENT_MSB@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh30:
	adrp	x10, _DS2760_CURRENT_LSB@GOTPAGE
Lloh31:
	ldr	x10, [x10, _DS2760_CURRENT_LSB@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	lsr	w10, w10, #3
	orr	w8, w10, w8, lsl #5
	strb	w8, [x19, #24]
	sxtb	w8, w8
	mov	w10, #625
	mul	w8, w8, w10
	str	w8, [x19, #28]
Lloh33:
	adrp	x8, _DS2760_CURRENT_ACCUM_LSB@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DS2760_CURRENT_ACCUM_LSB@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	strb	w8, [x19, #32]
	sxtb	w8, w8
	mov	w10, #250
	mul	w8, w8, w10
	str	w8, [x19, #36]
Lloh36:
	adrp	x8, _DS2760_TEMP_MSB@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DS2760_TEMP_MSB@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh39:
	adrp	x10, _DS2760_TEMP_LSB@GOTPAGE
Lloh40:
	ldr	x10, [x10, _DS2760_TEMP_LSB@GOTPAGEOFF]
Lloh41:
	ldrsw	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
	lsr	w10, w10, #5
	orr	w8, w10, w8, lsl #3
	strb	w8, [x19, #40]
	sxtb	w10, w8
	ubfx	w11, w10, #13, #2
	add	w8, w8, w11
	sxtb	w8, w8
	add	w8, w10, w8, asr #2
	str	w8, [x19, #44]
Lloh42:
	adrp	x20, _DS2760_RATED_CAPACITY@GOTPAGE
Lloh43:
	ldr	x20, [x20, _DS2760_RATED_CAPACITY@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w22, [x9, x8, lsl #2]
Lloh44:
	adrp	x21, _rated_capacities@GOTPAGE
Lloh45:
	ldr	x21, [x21, _rated_capacities@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.ge	LBB0_10
; %bb.8:
	ldr	x9, [x21]
	ldr	x8, [x19, #8]
	ldr	x10, [x20]
	ldr	w10, [x8, x10, lsl #2]
	ldr	w9, [x9, x10, lsl #2]
	b	LBB0_11
LBB0_9:
	ldr	w0, [x19, #80]
Lloh46:
	adrp	x1, l_.str@PAGE
Lloh47:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x0
	bl	_dev_warn
	mov	w0, #1
	b	LBB0_19
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	ldr	w9, [x8, x9, lsl #2]
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
LBB0_11:
	mov	w20, #1000
	mul	w10, w9, w20
	str	w10, [x19, #48]
Lloh48:
	adrp	x10, _DS2760_ACTIVE_FULL@GOTPAGE
Lloh49:
	ldr	x10, [x10, _DS2760_ACTIVE_FULL@GOTPAGEOFF]
Lloh50:
	ldr	x10, [x10]
	add	x8, x8, x10, lsl #2
	ldp	w10, w11, [x8]
	orr	w10, w11, w10, lsl #8
	cmp	w10, #0
	csel	w9, w9, w10, eq
	str	w9, [x19, #52]
	str	w9, [sp, #4]
	ldr	w10, [x8, #8]
	add	w9, w10, w9
	str	w9, [sp, #8]
	ldr	w10, [x8, #12]
	add	w9, w10, w9
	str	w9, [sp, #12]
	ldr	w10, [x8, #16]
	add	w9, w10, w9
	str	w9, [sp, #16]
	ldr	w8, [x8, #20]
	add	w8, w8, w9
	str	w8, [sp, #20]
	ldrsw	x8, [x19, #44]
	mov	w21, #26215
	movk	w21, #26214, lsl #16
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w1, w8, w9
	add	x0, sp, #4
	bl	_battery_interpolate
	mul	w8, w0, w20
	str	w8, [x19, #52]
	ldr	x8, [x19, #8]
Lloh51:
	adrp	x9, _DS2760_ACTIVE_EMPTY@GOTPAGE
Lloh52:
	ldr	x9, [x9, _DS2760_ACTIVE_EMPTY@GOTPAGEOFF]
Lloh53:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	ldr	w9, [x8, #16]
	str	w9, [sp, #20]
	ldr	w10, [x8, #12]
	add	w9, w10, w9
	str	w9, [sp, #16]
	ldr	w10, [x8, #8]
	add	w9, w10, w9
	str	w9, [sp, #12]
	ldr	w10, [x8, #4]
	add	w9, w10, w9
	str	w9, [sp, #8]
	ldr	w8, [x8]
	add	w8, w8, w9
	str	w8, [sp, #4]
	ldrsw	x8, [x19, #44]
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w1, w8, w9
	add	x0, sp, #4
	bl	_battery_interpolate
	smull	x8, w0, w20
	str	w8, [x19, #56]
	ldr	w9, [x19, #52]
	subs	w9, w9, w8
	b.eq	LBB0_15
; %bb.12:
	ldrsw	x10, [x19, #36]
	sub	x10, x10, x8
	mov	w11, #100
	mul	x10, x10, x11
	sxtw	x9, w9
	sdiv	x9, x10, x9
	str	x9, [x19, #64]
	tbnz	x9, #63, LBB0_15
; %bb.13:
	cmp	x9, #101
	b.lo	LBB0_16
; %bb.14:
	mov	w9, #100
	str	x9, [x19, #64]
	b	LBB0_16
LBB0_15:
	str	xzr, [x19, #64]
LBB0_16:
	ldr	w9, [x19, #28]
	cmn	w9, #101
	b.gt	LBB0_18
; %bb.17:
	mov	w0, #0
	ldrsw	x10, [x19, #36]
	sub	x8, x10, w8, sxtw
	mov	x10, #-36
	mul	x8, x8, x10
	neg	w9, w9
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x9, w9, w10
	lsr	x9, x9, #37
	neg	w9, w9
	sxtw	x9, w9
	sdiv	x8, x8, x9
	str	x8, [x19, #72]
	b	LBB0_19
LBB0_18:
	mov	w0, #0
	str	xzr, [x19, #72]
LBB0_19:
	ldr	x8, [sp, #24]
Lloh54:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh55:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	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_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_cache_time,4,2                 ; @cache_time
	.comm	_DS2760_DATA_SIZE,4,2           ; @DS2760_DATA_SIZE
	.comm	_DS2760_VOLTAGE_MSB,8,3         ; @DS2760_VOLTAGE_MSB
	.comm	_DS2760_TEMP_LSB,4,2            ; @DS2760_TEMP_LSB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"call to w1_ds2760_read failed (0x%p)\n"

	.comm	_DS2760_VOLTAGE_LSB,8,3         ; @DS2760_VOLTAGE_LSB
	.comm	_DS2760_CURRENT_MSB,8,3         ; @DS2760_CURRENT_MSB
	.comm	_DS2760_CURRENT_LSB,8,3         ; @DS2760_CURRENT_LSB
	.comm	_DS2760_CURRENT_ACCUM_MSB,8,3   ; @DS2760_CURRENT_ACCUM_MSB
	.comm	_DS2760_CURRENT_ACCUM_LSB,8,3   ; @DS2760_CURRENT_ACCUM_LSB
	.comm	_DS2760_TEMP_MSB,8,3            ; @DS2760_TEMP_MSB
	.comm	_DS2760_RATED_CAPACITY,8,3      ; @DS2760_RATED_CAPACITY
	.comm	_rated_capacities,8,3           ; @rated_capacities
	.comm	_DS2760_ACTIVE_FULL,8,3         ; @DS2760_ACTIVE_FULL
	.comm	_DS2760_ACTIVE_EMPTY,4,2        ; @DS2760_ACTIVE_EMPTY
	.no_dead_strip	_ds2760_battery_read_status
.subsections_via_symbols
