	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_fg_discharge_state_to
_ab8500_fg_discharge_state_to:          ## @ab8500_fg_discharge_state_to
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r8d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movq	(%rbx), %rdx
	movq	_discharge_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %ecx
	movl	%esi, %r14d
	movl	(%rax,%r14,4), %r9d
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	%r14, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Discharge state from %d [%s] to %d [%s]\n"

	.comm	_discharge_state,8,3            ## @discharge_state
	.no_dead_strip	_ab8500_fg_discharge_state_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_fg_discharge_state_to
_ab8500_fg_discharge_state_to:          ; @ab8500_fg_discharge_state_to
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	x2, [x19]
Lloh0:
	adrp	x8, _discharge_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _discharge_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w3, [x8, x2, lsl #2]
	mov	w20, w1
	ldr	w5, [x8, w1, uxtw #2]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	str	x20, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Discharge state from %d [%s] to %d [%s]\n"

	.comm	_discharge_state,8,3            ; @discharge_state
	.no_dead_strip	_ab8500_fg_discharge_state_to
.subsections_via_symbols
