	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_clk_prog_0
_gf100_clk_prog_0:                      ## @gf100_clk_prog_0
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$6, %esi
	jg	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	movq	8(%rdi), %r15
	movslq	%esi, %rax
	leaq	(%rax,%rax,2), %r12
	cmpl	$0, 8(%r15,%r12,4)
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %r14
	leal	1274320(,%rbx,4), %esi
	movl	4(%r15,%r12,4), %ecx
	movq	%r14, %rdi
	movl	$-2147467457, %edx              ## imm = 0x80003F3F
	callq	_nvkm_mask
	leal	1274208(,%rbx,4), %esi
	movl	(%r15,%r12,4), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gf100_clk_prog_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_clk_prog_0
_gf100_clk_prog_0:                      ; @gf100_clk_prog_0
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, #6
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	sxtw	x9, w1
	mov	w10, #12
	madd	x10, x9, x10, x8
	ldr	w10, [x10, #8]
	cbz	w10, LBB0_3
LBB0_2:
	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
LBB0_3:
	ldr	x19, [x0]
	mov	w10, #29024
	movk	w10, #19, lsl #16
	add	w20, w10, w1, lsl #2
	add	w1, w20, #112
	mov	w10, #12
	madd	x21, x9, x10, x8
	ldr	w3, [x21, #4]
	mov	x0, x19
	mov	w2, #16191
	movk	w2, #32768, lsl #16
	bl	_nvkm_mask
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	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
	b	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gf100_clk_prog_0
.subsections_via_symbols
