	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_pm_perflvl_info
_nouveau_pm_perflvl_info:               ## @nouveau_pm_perflvl_info
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movb	$0, -48(%rbp)
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cltq
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$38, %rcx
	addl	%eax, %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$16, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_2:
	movb	$0, -64(%rbp)
	movl	4(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	cltq
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$38, %rcx
	addl	%eax, %ecx
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$16, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	movb	$0, -128(%rbp)
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	cltq
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$38, %rcx
	addl	%eax, %ecx
	leaq	L_.str.2(%rip), %rdx
	leaq	-128(%rbp), %rdi
	movl	$16, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_6:
	movb	$0, -96(%rbp)
	movl	12(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	16(%rbx), %edx
	movslq	%eax, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rcx
	addl	%esi, %ecx
	cmpl	%edx, %eax
	jne	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rdx
	leaq	-96(%rbp), %rdi
	movl	$32, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_10
LBB0_8:
	movslq	%edx, %rax
	imulq	$274877907, %rax, %r8           ## imm = 0x10624DD3
	movq	%r8, %rax
	shrq	$63, %rax
	sarq	$38, %r8
	addl	%eax, %r8d
	leaq	L_.str.3(%rip), %rdx
	leaq	-96(%rbp), %rdi
	movl	$32, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_snprintf
LBB0_10:
	movb	$0, -112(%rbp)
	movl	20(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$16, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_12:
	leaq	-112(%rbp), %rbx
	leaq	-96(%rbp), %r10
	leaq	L_.str.6(%rip), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-128(%rbp), %r9
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_snprintf
	addq	$16, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" core %dMHz"

L_.str.1:                               ## @.str.1
	.asciz	" shader %dMHz"

L_.str.2:                               ## @.str.2
	.asciz	" memory %dMHz"

L_.str.3:                               ## @.str.3
	.asciz	" voltage %dmV-%dmV"

L_.str.4:                               ## @.str.4
	.asciz	" voltage %dmV"

L_.str.5:                               ## @.str.5
	.asciz	" fanspeed %d%%"

L_.str.6:                               ## @.str.6
	.asciz	"%s%s%s%s%s\n"

	.no_dead_strip	_nouveau_pm_perflvl_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_pm_perflvl_info
_nouveau_pm_perflvl_info:               ; @nouveau_pm_perflvl_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	sturb	wzr, [x29, #-56]
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #56
	mov	w1, #16
	bl	_snprintf
LBB0_2:
	sturb	wzr, [x29, #-72]
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #72
	mov	w1, #16
	bl	_snprintf
LBB0_4:
	strb	wzr, [sp, #40]
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_6
; %bb.5:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #40
	mov	w1, #16
	bl	_snprintf
LBB0_6:
	strb	wzr, [sp, #72]
	ldr	w9, [x21, #12]
	cbz	w9, LBB0_11
; %bb.7:
	ldr	w10, [x21, #16]
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x8, w9, w11
	lsr	x12, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w12
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.8:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_9:
	smull	x9, w10, w11
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	stp	x8, x9, [sp]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_10:
	add	x0, sp, #72
	mov	w1, #32
	bl	_snprintf
LBB0_11:
	strb	wzr, [sp, #56]
	ldr	w8, [x21, #20]
	cbz	w8, LBB0_13
; %bb.12:
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str.5@PAGE
Lloh14:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #56
	mov	w1, #16
	bl	_snprintf
LBB0_13:
	add	x8, sp, #56
	str	x8, [sp, #32]
	add	x8, sp, #72
	add	x9, sp, #40
	stp	x9, x8, [sp, #16]
	sub	x8, x29, #72
	sub	x9, x29, #56
	stp	x9, x8, [sp]
Lloh15:
	adrp	x2, l_.str.6@PAGE
Lloh16:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" core %dMHz"

l_.str.1:                               ; @.str.1
	.asciz	" shader %dMHz"

l_.str.2:                               ; @.str.2
	.asciz	" memory %dMHz"

l_.str.3:                               ; @.str.3
	.asciz	" voltage %dmV-%dmV"

l_.str.4:                               ; @.str.4
	.asciz	" voltage %dmV"

l_.str.5:                               ; @.str.5
	.asciz	" fanspeed %d%%"

l_.str.6:                               ; @.str.6
	.asciz	"%s%s%s%s%s\n"

	.no_dead_strip	_nouveau_pm_perflvl_info
.subsections_via_symbols
