	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_scaling_governor
_show_scaling_governor:                 ## @show_scaling_governor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CPUFREQ_POLICY_POWERSAVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movabsq	$8530226104382222192, %rax      ## imm = 0x7661737265776F70
	movq	%rax, (%rsi)
	movl	$681334, 7(%rsi)                ## imm = 0xA6576
	movl	$10, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_CPUFREQ_POLICY_PERFORMANCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movabsq	$2926227495153010, %rax         ## imm = 0xA65636E616D72
	movq	%rax, 5(%rsi)
	movabsq	$7020393216926180720, %rax      ## imm = 0x616D726F66726570
	movq	%rax, (%rsi)
	movl	$12, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.7:
	movq	_CPUFREQ_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%rsi, %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUFREQ_POLICY_POWERSAVE,8,3   ## @CPUFREQ_POLICY_POWERSAVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"powersave\n"

	.comm	_CPUFREQ_POLICY_PERFORMANCE,8,3 ## @CPUFREQ_POLICY_PERFORMANCE
L_.str.1:                               ## @.str.1
	.asciz	"performance\n"

	.comm	_CPUFREQ_NAME_LEN,4,2           ## @CPUFREQ_NAME_LEN
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_show_scaling_governor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_scaling_governor
_show_scaling_governor:                 ; @show_scaling_governor
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CPUFREQ_POLICY_POWERSAVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CPUFREQ_POLICY_POWERSAVE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #25974
	movk	w8, #10, lsl #16
	stur	w8, [x1, #7]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [x1]
	mov	w0, #10
	ret
LBB0_2:
Lloh6:
	adrp	x9, _CPUFREQ_POLICY_PERFORMANCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPUFREQ_POLICY_PERFORMANCE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	x9, [x8]
	ldur	x8, [x8, #5]
	stur	x8, [x1, #5]
	str	x9, [x1]
	mov	w0, #12
	ret
LBB0_4:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _CPUFREQ_NAME_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CPUFREQ_NAME_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w3, [x9]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	b	_scnprintf
LBB0_6:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUFREQ_POLICY_POWERSAVE,8,3   ; @CPUFREQ_POLICY_POWERSAVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"powersave\n"

	.comm	_CPUFREQ_POLICY_PERFORMANCE,8,3 ; @CPUFREQ_POLICY_PERFORMANCE
l_.str.1:                               ; @.str.1
	.asciz	"performance\n"

	.comm	_CPUFREQ_NAME_LEN,4,2           ; @CPUFREQ_NAME_LEN
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_show_scaling_governor
.subsections_via_symbols
