	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_pm_clocks_get             ## -- Begin function nv50_pm_clocks_get
	.p2align	4, 0x90
_nv50_pm_clocks_get:                    ## @nv50_pm_clocks_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_nouveau_drm
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_nv_device
	cmpl	$170, (%rax)
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	callq	_nv_device
	cmpl	$172, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_clk_src_nvclk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, 32(%r14)
	movq	_clk_src_sclk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, 24(%r14)
	movq	_clk_src_mclk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, 16(%r14)
	movl	(%rbx), %edi
	callq	_nv_device
	cmpl	$80, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_clk_src_vdec@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, 8(%r14)
	movq	_clk_src_dom6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, (%r14)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clk_src_nvclk,4,2              ## @clk_src_nvclk
	.comm	_clk_src_sclk,4,2               ## @clk_src_sclk
	.comm	_clk_src_mclk,4,2               ## @clk_src_mclk
	.comm	_clk_src_vdec,4,2               ## @clk_src_vdec
	.comm	_clk_src_dom6,4,2               ## @clk_src_dom6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_pm_clocks_get             ; -- Begin function nv50_pm_clocks_get
	.p2align	2
_nv50_pm_clocks_get:                    ; @nv50_pm_clocks_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	bl	_nouveau_drm
	mov	x21, x0
	ldr	w0, [x0]
	bl	_nv_device
	ldr	w8, [x0]
	cmp	w8, #170
	b.eq	LBB0_4
; %bb.1:
	ldr	w0, [x21]
	bl	_nv_device
	ldr	w8, [x0]
	cmp	w8, #172
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _clk_src_nvclk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clk_src_nvclk@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #32]
Lloh3:
	adrp	x8, _clk_src_sclk@GOTPAGE
Lloh4:
	ldr	x8, [x8, _clk_src_sclk@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #24]
Lloh6:
	adrp	x8, _clk_src_mclk@GOTPAGE
Lloh7:
	ldr	x8, [x8, _clk_src_mclk@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #16]
	ldr	w0, [x21]
	bl	_nv_device
	ldr	w8, [x0]
	cmp	w8, #80
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _clk_src_vdec@GOTPAGE
Lloh10:
	ldr	x8, [x8, _clk_src_vdec@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #8]
Lloh12:
	adrp	x8, _clk_src_dom6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _clk_src_dom6@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_clk_src_nvclk,4,2              ; @clk_src_nvclk
	.comm	_clk_src_sclk,4,2               ; @clk_src_sclk
	.comm	_clk_src_mclk,4,2               ; @clk_src_mclk
	.comm	_clk_src_vdec,4,2               ; @clk_src_vdec
	.comm	_clk_src_dom6,4,2               ; @clk_src_dom6
.subsections_via_symbols
