	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gt215_ram_prog
_gt215_ram_prog:                        ## @gt215_ram_prog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_gt215_ram
	movq	%rax, %rbx
	movq	(%rax), %rax
	addq	$8, %rbx
	movq	(%rax), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_nvkm_boolopt
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$5428, %esi                     ## imm = 0x1534
	movl	$2, %edx
	movl	$2, %ecx
	callq	_nvkm_mask
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ram_exec
	movq	%r14, %rdi
	movl	$9476, %esi                     ## imm = 0x2504
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movq	%r14, %rdi
	movl	$5428, %esi                     ## imm = 0x1534
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movq	%r14, %rdi
	movl	$6382344, %esi                  ## imm = 0x616308
	movl	$16, %edx
	movl	$16, %ecx
	callq	_nvkm_mask
	movq	%r14, %rdi
	movl	$6384392, %esi                  ## imm = 0x616B08
	movl	$16, %edx
	movl	$16, %ecx
	callq	_nvkm_mask
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ram_exec
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NvMemExec"

	.no_dead_strip	_gt215_ram_prog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gt215_ram_prog
_gt215_ram_prog:                        ; @gt215_ram_prog
	.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
	bl	_gt215_ram
	mov	x20, x0
	ldr	x8, [x20], #8
	ldr	x19, [x8]
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_nvkm_boolopt
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #5428
	mov	w2, #2
	mov	w3, #2
	bl	_nvkm_mask
	mov	x0, x20
	mov	w1, #1
	bl	_ram_exec
	mov	x0, x19
	mov	w1, #9476
	mov	w2, #1
	mov	w3, #0
	bl	_nvkm_mask
	mov	x0, x19
	mov	w1, #5428
	mov	w2, #2
	mov	w3, #0
	bl	_nvkm_mask
	mov	w20, #25352
	movk	w20, #97, lsl #16
	mov	x0, x19
	mov	w1, #25352
	movk	w1, #97, lsl #16
	mov	w2, #16
	mov	w3, #16
	bl	_nvkm_mask
	orr	w1, w20, #0x800
	mov	x0, x19
	mov	w2, #16
	mov	w3, #16
	bl	_nvkm_mask
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	bl	_ram_exec
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NvMemExec"

	.no_dead_strip	_gt215_ram_prog
.subsections_via_symbols
