	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_info_proc_show
_pmu_info_proc_show:                    ## @pmu_info_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PMU_DRIVER_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_seq_printf
	movq	_pmu_version@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_printf
	movq	_pmu_power_flags@GOTPCREL(%rip), %rax
	movq	_PMU_PWR_AC_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	setne	%al
	movq	_pmu_battery_count@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_printf
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_printf
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PMU driver version     : %d\n"

	.comm	_PMU_DRIVER_VERSION,4,2         ## @PMU_DRIVER_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"PMU firmware version   : %02x\n"

	.comm	_pmu_version,4,2                ## @pmu_version
L_.str.2:                               ## @.str.2
	.asciz	"AC Power               : %d\n"

	.comm	_pmu_power_flags,4,2            ## @pmu_power_flags
	.comm	_PMU_PWR_AC_PRESENT,4,2         ## @PMU_PWR_AC_PRESENT
	.comm	_pmu_battery_count,4,2          ## @pmu_battery_count
L_.str.3:                               ## @.str.3
	.asciz	"Battery count          : %d\n"

	.no_dead_strip	_pmu_info_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_info_proc_show
_pmu_info_proc_show:                    ; @pmu_info_proc_show
	.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	x19, x0
Lloh0:
	adrp	x8, _PMU_DRIVER_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMU_DRIVER_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_seq_printf
Lloh5:
	adrp	x8, _pmu_version@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pmu_version@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh10:
	adrp	x8, _pmu_power_flags@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pmu_power_flags@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PMU_PWR_AC_PRESENT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PMU_PWR_AC_PRESENT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
Lloh16:
	adrp	x20, _pmu_battery_count@GOTPAGE
Lloh17:
	ldr	x20, [x20, _pmu_battery_count@GOTPAGEOFF]
	ldr	w8, [x20]
	ccmp	w8, #0, #4, eq
	cset	w2, eq
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w2, [x20]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PMU driver version     : %d\n"

	.comm	_PMU_DRIVER_VERSION,4,2         ; @PMU_DRIVER_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"PMU firmware version   : %02x\n"

	.comm	_pmu_version,4,2                ; @pmu_version
l_.str.2:                               ; @.str.2
	.asciz	"AC Power               : %d\n"

	.comm	_pmu_power_flags,4,2            ; @pmu_power_flags
	.comm	_PMU_PWR_AC_PRESENT,4,2         ; @PMU_PWR_AC_PRESENT
	.comm	_pmu_battery_count,4,2          ; @pmu_battery_count
l_.str.3:                               ; @.str.3
	.asciz	"Battery count          : %d\n"

	.no_dead_strip	_pmu_info_proc_show
.subsections_via_symbols
