	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_get_clock_info
_smu_get_clock_info:                    ## @smu_get_clock_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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	$0, -32(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_PERF_LEVEL_ACTIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_smu_get_perf_level
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movl	-36(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-44(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, (%rbx)
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_smu_get_perf_level
	testl	%eax, %eax
	je	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	-36(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-44(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PERF_LEVEL_ACTIVITY,4,2        ## @PERF_LEVEL_ACTIVITY
	.no_dead_strip	_smu_get_clock_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_get_clock_info
_smu_get_clock_info:                    ; @smu_get_clock_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #24]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PERF_LEVEL_ACTIVITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_LEVEL_ACTIVITY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_smu_get_perf_level
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	d0, [sp, #16]
	stur	d0, [x19, #4]
	ldp	w8, w9, [sp, #8]
	mul	w8, w9, w8
	str	w8, [x19]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_smu_get_perf_level
	cbz	w0, LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	d0, [sp, #16]
	stur	d0, [x19, #4]
	ldp	w8, w9, [sp, #8]
	mul	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PERF_LEVEL_ACTIVITY,4,2        ; @PERF_LEVEL_ACTIVITY
	.no_dead_strip	_smu_get_clock_info
.subsections_via_symbols
