	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv40_pm_clocks_get             ## -- Begin function nv40_pm_clocks_get
	.p2align	4, 0x90
_nv40_pm_clocks_get:                    ## @nv40_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_dev
	movq	%rax, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	callq	_nv_rd32
	movl	%eax, %ebx
	movl	%eax, %esi
	andl	$3, %esi
	movq	%r15, %rdi
	callq	_read_clk
	movq	%rax, 16(%r14)
	shrl	$4, %ebx
	andl	$3, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_read_clk
	movq	%rax, 8(%r14)
	movq	%r15, %rdi
	movl	$16416, %esi                    ## imm = 0x4020
	callq	_read_pll_2
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv40_pm_clocks_get             ; -- Begin function nv40_pm_clocks_get
	.p2align	2
_nv40_pm_clocks_get:                    ; @nv40_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_dev
	mov	w1, #49216
	bl	_nv_rd32
	mov	x21, x0
	and	w1, w0, #0x3
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #16]
	ubfx	w1, w21, #4, #2
	mov	x0, x20
	bl	_read_clk
	str	x0, [x19, #8]
	mov	x0, x20
	mov	w1, #16416
	bl	_read_pll_2
	str	w0, [x19]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
