	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_battery_proc_show
_pmu_battery_proc_show:                 ## @pmu_battery_proc_show
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movl	$10, %esi
	callq	_seq_putc
	movq	_pmu_batteries@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	shlq	$3, %rbx
	leaq	(%rbx,%rbx,2), %r15
	movl	20(%rax,%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	movq	(%r14), %rax
	movl	16(%rax,%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	movq	(%r14), %rax
	movl	12(%rax,%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	movq	(%r14), %rax
	movl	8(%rax,%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	movq	(%r14), %rax
	movl	4(%rax,%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	movq	(%r14), %rax
	movl	(%rax,%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_seq_printf
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags      : %08x\n"

	.comm	_pmu_batteries,8,3              ## @pmu_batteries
L_.str.1:                               ## @.str.1
	.asciz	"charge     : %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"max_charge : %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"current    : %d\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"time rem.  : %d\n"

	.no_dead_strip	_pmu_battery_proc_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_battery_proc_show
_pmu_battery_proc_show:                 ; @pmu_battery_proc_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0]
	mov	w1, #10
	bl	_seq_putc
Lloh0:
	adrp	x21, _pmu_batteries@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pmu_batteries@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x9, x20, x20, lsl #1
	lsl	x20, x9, #3
	add	x8, x8, x20
	ldr	w2, [x8, #20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w2, [x8, #16]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w2, [x8, #12]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w2, [x8, #8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w2, [x8, #4]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x21]
	ldr	w2, [x8, x20]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags      : %08x\n"

	.comm	_pmu_batteries,8,3              ; @pmu_batteries
l_.str.1:                               ; @.str.1
	.asciz	"charge     : %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"max_charge : %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"current    : %d\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"time rem.  : %d\n"

	.no_dead_strip	_pmu_battery_proc_show
.subsections_via_symbols
