	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu10_get_performance_level
_smu10_get_performance_level:           ## @smu10_get_performance_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	testq	%r8, %r8
	je	LBB0_3
## %bb.4:
	movq	(%rdi), %rax
	movq	8(%rax), %rsi
	movq	8(%rsi), %rdx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movslq	(%rsi), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	addq	$-4, %rdx
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	addq	$16, %rax
LBB0_7:
	movl	(%rax), %eax
	movl	(%rdx), %ecx
	movl	%ecx, 20(%r8)
	movl	%eax, 16(%r8)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r8)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smu10_get_performance_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_get_performance_level
_smu10_get_performance_level:           ; @smu10_get_performance_level
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_5
; %bb.1:
	cbz	x0, LBB0_5
; %bb.2:
	cbz	x4, LBB0_5
; %bb.3:
	ldr	x8, [x0]
	ldr	x10, [x8, #8]
	ldr	x9, [x10, #8]
	cbz	x3, LBB0_6
; %bb.4:
	ldrsw	x10, [x10]
	add	x9, x9, x10, lsl #2
	sub	x9, x9, #4
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	add	x8, x8, #16
LBB0_7:
	mov	w0, #0
	ldr	w8, [x8]
	ldr	w9, [x9]
	stp	w8, w9, [x4, #16]
	stp	xzr, xzr, [x4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smu10_get_performance_level
.subsections_via_symbols
