	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ram_init                 ## -- Begin function gf100_ram_init
	.p2align	4, 0x90
_gf100_ram_init:                        ## @gf100_ram_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_gf100_ram
	cmpl	$128, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	8(%rax), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rcx
	addq	%rdx, %rdx
	andq	$-16, %rdx
	leaq	(%rdx,%rdx,2), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	subq	%rax, %r14
	movq	%r15, %rdi
	movl	$1112424, %esi                  ## imm = 0x10F968
	movl	%r13d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112428, %esi                  ## imm = 0x10F96C
	movl	%r13d, %edx
	callq	_nvkm_wr32
	leaq	_gf100_ram_init.train0(%rip), %rax
	movl	(%rax,%r14), %r12d
	movl	%r12d, %ebx
	orl	$256, %ebx                      ## imm = 0x100
	movq	%r15, %rdi
	movl	$1112352, %esi                  ## imm = 0x10F920
	movl	%ebx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112356, %esi                  ## imm = 0x10F924
	movl	%ebx, %edx
	callq	_nvkm_wr32
	leaq	_gf100_ram_init.train1(%rip), %rax
	movl	(%rax,%r14), %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$1112344, %esi                  ## imm = 0x10F918
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112348, %esi                  ## imm = 0x10F91C
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112352, %esi                  ## imm = 0x10F920
	movl	%r12d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112356, %esi                  ## imm = 0x10F924
	movl	%r12d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112344, %esi                  ## imm = 0x10F918
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$1112348, %esi                  ## imm = 0x10F91C
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$256, %r13d                     ## imm = 0x100
	addq	$4, %rbx
	incq	%rax
	cmpl	$12288, %r13d                   ## imm = 0x3000
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @gf100_ram_init.train0
_gf100_ram_init.train0:
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	85                              ## 0x55
	.long	170                             ## 0xaa
	.long	51                              ## 0x33
	.long	204                             ## 0xcc
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	0                               ## 0x0

	.p2align	4                               ## @gf100_ram_init.train1
_gf100_ram_init.train1:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	1431655765                      ## 0x55555555
	.long	2863311530                      ## 0xaaaaaaaa
	.long	858993459                       ## 0x33333333
	.long	3435973836                      ## 0xcccccccc
	.long	4042322160                      ## 0xf0f0f0f0
	.long	252645135                       ## 0xf0f0f0f
	.long	16711935                        ## 0xff00ff
	.long	4278255360                      ## 0xff00ff00
	.long	65535                           ## 0xffff
	.long	4294901760                      ## 0xffff0000

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ram_init                 ; -- Begin function gf100_ram_init
	.p2align	2
_gf100_ram_init:                        ; @gf100_ram_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_gf100_ram
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	mov	w19, #0
	mov	w26, #0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	mov	w27, #63768
	movk	w27, #16, lsl #16
Lloh0:
	adrp	x28, _gf100_ram_init.train1@PAGE
Lloh1:
	add	x28, x28, _gf100_ram_init.train1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w27, #80
	mov	x0, x20
	mov	x2, x19
	bl	_nvkm_wr32
	add	w1, w27, #84
	mov	x0, x20
	mov	x2, x19
	bl	_nvkm_wr32
	and	w8, w26, #0xff
	mov	w9, #171
	mul	w8, w8, w9
	lsr	w8, w8, #11
	mov	w9, #12
	msub	w8, w8, w9, w26
	and	x8, x8, #0xff
	lsl	x25, x8, #2
Lloh2:
	adrp	x8, _gf100_ram_init.train0@PAGE
Lloh3:
	add	x8, x8, _gf100_ram_init.train0@PAGEOFF
	ldr	w21, [x8, x25]
	orr	w22, w21, #0x100
	add	w23, w27, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_nvkm_wr32
	add	w24, w27, #12
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_nvkm_wr32
	ldr	w22, [x28, x25]
	mov	x0, x20
	mov	w1, #63768
	movk	w1, #16, lsl #16
	mov	x2, x22
	bl	_nvkm_wr32
	add	w25, w27, #4
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x24
	mov	x2, x21
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #63768
	movk	w1, #16, lsl #16
	mov	x2, x22
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_nvkm_wr32
	add	w26, w26, #1
	add	w19, w19, #256
	cmp	w26, #48
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @gf100_ram_init.train0
_gf100_ram_init.train0:
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	85                              ; 0x55
	.long	170                             ; 0xaa
	.long	51                              ; 0x33
	.long	204                             ; 0xcc
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	0                               ; 0x0

	.p2align	2                               ; @gf100_ram_init.train1
_gf100_ram_init.train1:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	1431655765                      ; 0x55555555
	.long	2863311530                      ; 0xaaaaaaaa
	.long	858993459                       ; 0x33333333
	.long	3435973836                      ; 0xcccccccc
	.long	4042322160                      ; 0xf0f0f0f0
	.long	252645135                       ; 0xf0f0f0f
	.long	16711935                        ; 0xff00ff
	.long	4278255360                      ; 0xff00ff00
	.long	65535                           ; 0xffff
	.long	4294901760                      ; 0xffff0000

.subsections_via_symbols
