	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prog_pll
_prog_pll:                              ## @prog_pll
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_nouveau_dev
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_nouveau_drm
	leal	16672(,%r15,4), %ebx
	leal	16736(,%r15,4), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.3:
	testl	%edx, %edx
	jne	LBB0_4
## %bb.5:
	orl	$257, %ecx                      ## imm = 0x101
	movq	%r13, %rdi
	movl	$4141377, %edx                  ## imm = 0x3F3141
	callq	_nv_mask
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$24, %edx
	movl	$24, %ecx
	callq	_nv_mask
	movl	$20, %edi
	callq	_udelay
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	jmp	LBB0_6
LBB0_1:
	testl	%edx, %edx
	je	LBB0_2
LBB0_4:
	leal	4(%r14), %r15d
	movq	%r13, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	movl	$257, %edx                      ## imm = 0x101
	movl	$257, %ecx                      ## imm = 0x101
	callq	_nv_mask
	movl	4(%r12), %edx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_nv_wr32
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$21, %edx
	movl	$21, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$131072, %edx                   ## imm = 0x20000
	movl	$131072, %ecx                   ## imm = 0x20000
	callq	_nv_wait
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_6:
	movl	%ebx, %esi
	movl	$256, %edx                      ## imm = 0x100
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_mask                        ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NV_DEBUG                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no clock for %02x\n"

	.no_dead_strip	_prog_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prog_pll
_prog_pll:                              ; @prog_pll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
	bl	_nouveau_dev
	mov	x19, x0
	mov	x0, x21
	bl	_nouveau_drm
	lsl	w8, w24, #2
	mov	w9, #16672
	add	w22, w8, w9
	mov	w9, #16736
	add	w21, w8, w9
	ldp	w8, w9, [x23]
	cbz	w8, LBB0_3
; %bb.1:
	cbnz	w9, LBB0_4
; %bb.2:
	mov	w9, #257
	orr	w3, w8, w9
	mov	x0, x19
	mov	x1, x21
	mov	w2, #12609
	movk	w2, #63, lsl #16
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x20
	mov	w2, #24
	mov	w3, #24
	bl	_nv_mask
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x22
	mov	w2, #256
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x22
	b	LBB0_5
LBB0_3:
	cbz	w9, LBB0_6
LBB0_4:
	add	w24, w20, #4
	mov	x0, x19
	mov	x1, x22
	mov	w2, #257
	mov	w3, #257
	bl	_nv_mask
	ldr	w2, [x23, #4]
	mov	x0, x19
	mov	x1, x24
	bl	_nv_wr32
	mov	x0, x19
	mov	x1, x20
	mov	w2, #21
	mov	w3, #21
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x20
	mov	w2, #16
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x20
	mov	w2, #131072
	mov	w3, #131072
	bl	_nv_wait
	mov	x0, x19
	mov	x1, x20
	mov	w2, #16
	mov	w3, #16
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x21
	mov	w2, #256
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	x1, x21
LBB0_5:
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nv_mask
LBB0_6:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_NV_DEBUG
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no clock for %02x\n"

	.no_dead_strip	_prog_pll
.subsections_via_symbols
