	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_pll_1
_read_pll_1:                            ## @read_pll_1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_nouveau_dev
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jns	LBB0_2
## %bb.1:
	movzbl	%cl, %esi
	movzbl	%ch, %eax
	imull	$27000, %eax, %eax              ## imm = 0x6978
	xorl	%edx, %edx
	divl	%esi
LBB0_2:
	shrl	$16, %ecx
	andb	$7, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_pll_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_pll_1
_read_pll_1:                            ; @read_pll_1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_nouveau_dev
	mov	x1, x19
	bl	_nv_rd32
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	and	w8, w0, #0xff
	ubfx	w9, w0, #8, #8
	mov	w10, #27000
	mul	w9, w9, w10
	udiv	w8, w9, w8
LBB0_3:
	ubfx	w9, w0, #16, #3
	lsr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_pll_1
.subsections_via_symbols
