	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ram_new_                 ## -- Begin function gf100_ram_new_
	.p2align	4, 0x90
_gf100_ram_new_:                        ## @gf100_ram_new_
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$408, %edi                      ## imm = 0x198
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	400(%rax), %rdx
	movq	%rdx, (%r13)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_gf100_ram_ctor
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	leaq	396(%r14), %rdx
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_nvbios_pll_parse
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	leaq	392(%r14), %rdx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_nvbios_pll_parse
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r12, %rdi
	callq	_nvkm_error
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1113632, %edi                  ## imm = 0x10FE20
	callq	_ramfuc_reg
	movq	%rax, 384(%r14)
	movl	$1113636, %edi                  ## imm = 0x10FE24
	callq	_ramfuc_reg
	movq	%rax, 376(%r14)
	movl	$1274656, %edi                  ## imm = 0x137320
	callq	_ramfuc_reg
	movq	%rax, 368(%r14)
	movl	$1274672, %edi                  ## imm = 0x137330
	callq	_ramfuc_reg
	movq	%rax, 360(%r14)
	movl	$1253376, %edi                  ## imm = 0x132000
	callq	_ramfuc_reg
	movq	%rax, 352(%r14)
	movl	$1253380, %edi                  ## imm = 0x132004
	callq	_ramfuc_reg
	movq	%rax, 344(%r14)
	movl	$1253632, %edi                  ## imm = 0x132100
	callq	_ramfuc_reg
	movq	%rax, 336(%r14)
	movl	$1274768, %edi                  ## imm = 0x137390
	callq	_ramfuc_reg
	movq	%rax, 328(%r14)
	movl	$1110672, %edi                  ## imm = 0x10F290
	callq	_ramfuc_reg
	movq	%rax, 320(%r14)
	movl	$1110676, %edi                  ## imm = 0x10F294
	callq	_ramfuc_reg
	movq	%rax, 312(%r14)
	movl	$1110680, %edi                  ## imm = 0x10F298
	callq	_ramfuc_reg
	movq	%rax, 304(%r14)
	movl	$1110684, %edi                  ## imm = 0x10F29C
	callq	_ramfuc_reg
	movq	%rax, 296(%r14)
	movl	$1110688, %edi                  ## imm = 0x10F2A0
	callq	_ramfuc_reg
	movq	%rax, 288(%r14)
	movl	$1110784, %edi                  ## imm = 0x10F300
	callq	_ramfuc_reg
	movq	%rax, 280(%r14)
	movl	$1110840, %edi                  ## imm = 0x10F338
	callq	_ramfuc_reg
	movq	%rax, 272(%r14)
	movl	$1110848, %edi                  ## imm = 0x10F340
	callq	_ramfuc_reg
	movq	%rax, 264(%r14)
	movl	$1110852, %edi                  ## imm = 0x10F344
	callq	_ramfuc_reg
	movq	%rax, 256(%r14)
	movl	$1110856, %edi                  ## imm = 0x10F348
	callq	_ramfuc_reg
	movq	%rax, 248(%r14)
	movl	$1112336, %edi                  ## imm = 0x10F910
	callq	_ramfuc_reg
	movq	%rax, 240(%r14)
	movl	$1112340, %edi                  ## imm = 0x10F914
	callq	_ramfuc_reg
	movq	%rax, 232(%r14)
	movl	$1051404, %edi                  ## imm = 0x100B0C
	callq	_ramfuc_reg
	movq	%rax, 224(%r14)
	movl	$1110096, %edi                  ## imm = 0x10F050
	callq	_ramfuc_reg
	movq	%rax, 216(%r14)
	movl	$1110160, %edi                  ## imm = 0x10F090
	callq	_ramfuc_reg
	movq	%rax, 208(%r14)
	movl	$1110528, %edi                  ## imm = 0x10F200
	callq	_ramfuc_reg
	movq	%rax, 200(%r14)
	movl	$1110544, %edi                  ## imm = 0x10F210
	callq	_ramfuc_reg
	movq	%rax, 192(%r14)
	movl	$1110800, %edi                  ## imm = 0x10F310
	callq	_ramfuc_reg
	movq	%rax, 184(%r14)
	movl	$1110804, %edi                  ## imm = 0x10F314
	callq	_ramfuc_reg
	movq	%rax, 176(%r14)
	movl	$1111568, %edi                  ## imm = 0x10F610
	callq	_ramfuc_reg
	movq	%rax, 168(%r14)
	movl	$1111572, %edi                  ## imm = 0x10F614
	callq	_ramfuc_reg
	movq	%rax, 160(%r14)
	movl	$1112064, %edi                  ## imm = 0x10F800
	callq	_ramfuc_reg
	movq	%rax, 152(%r14)
	movl	$1112072, %edi                  ## imm = 0x10F808
	callq	_ramfuc_reg
	movq	%rax, 144(%r14)
	movl	$1112100, %edi                  ## imm = 0x10F824
	callq	_ramfuc_reg
	movq	%rax, 136(%r14)
	movl	$1112112, %edi                  ## imm = 0x10F830
	callq	_ramfuc_reg
	movq	%rax, 128(%r14)
	movl	$1112456, %edi                  ## imm = 0x10F988
	callq	_ramfuc_reg
	movq	%rax, 120(%r14)
	movl	$1112460, %edi                  ## imm = 0x10F98C
	callq	_ramfuc_reg
	movq	%rax, 112(%r14)
	movl	$1112464, %edi                  ## imm = 0x10F990
	callq	_ramfuc_reg
	movq	%rax, 104(%r14)
	movl	$1112472, %edi                  ## imm = 0x10F998
	callq	_ramfuc_reg
	movq	%rax, 96(%r14)
	movl	$1112496, %edi                  ## imm = 0x10F9B0
	callq	_ramfuc_reg
	movq	%rax, 88(%r14)
	movl	$1112500, %edi                  ## imm = 0x10F9B4
	callq	_ramfuc_reg
	movq	%rax, 80(%r14)
	movl	$1112836, %edi                  ## imm = 0x10FB04
	callq	_ramfuc_reg
	movq	%rax, 72(%r14)
	movl	$1112840, %edi                  ## imm = 0x10FB08
	callq	_ramfuc_reg
	movq	%rax, 64(%r14)
	movl	$1274624, %edi                  ## imm = 0x137300
	callq	_ramfuc_reg
	movq	%rax, 56(%r14)
	movl	$1274640, %edi                  ## imm = 0x137310
	callq	_ramfuc_reg
	movq	%rax, 56(%r14)
	movl	$1274720, %edi                  ## imm = 0x137360
	callq	_ramfuc_reg
	movq	%rax, 48(%r14)
	movl	$1274860, %edi                  ## imm = 0x1373EC
	callq	_ramfuc_reg
	movq	%rax, 40(%r14)
	movl	$1274864, %edi                  ## imm = 0x1373F0
	callq	_ramfuc_reg
	movq	%rax, 32(%r14)
	movl	$1274872, %edi                  ## imm = 0x1373F8
	callq	_ramfuc_reg
	movq	%rax, 24(%r14)
	movl	$6406464, %edi                  ## imm = 0x61C140
	callq	_ramfuc_reg
	movq	%rax, 16(%r14)
	movl	$6361600, %edi                  ## imm = 0x611200
	callq	_ramfuc_reg
	movq	%rax, 8(%r14)
	movl	$1300724, %edi                  ## imm = 0x13D8F4
	callq	_ramfuc_reg
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mclk refpll data not found\n"

L_.str.1:                               ## @.str.1
	.asciz	"mclk pll data not found\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ram_new_                 ; -- Begin function gf100_ram_new_
	.p2align	2
_gf100_ram_new_:                        ; @gf100_ram_new_
	.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, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x1]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #408
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x2, x0, #400
	str	x2, [x23]
	mov	x0, x22
	mov	x1, x20
	bl	_gf100_ram_ctor
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.2:
	add	x2, x19, #396
	mov	x0, x21
	mov	w1, #12
	bl	_nvbios_pll_parse
	cbz	w0, LBB0_5
; %bb.3:
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_5:
	add	x2, x19, #392
	mov	x0, x21
	mov	w1, #4
	bl	_nvbios_pll_parse
	cbz	w0, LBB0_9
; %bb.6:
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_nvkm_error
LBB0_8:
	mov	x0, x22
	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
	ret
LBB0_9:
	mov	w21, #61520
	movk	w21, #16, lsl #16
	add	w0, w21, #3536
	bl	_ramfuc_reg
	str	x0, [x19, #384]
	add	w0, w21, #3540
	bl	_ramfuc_reg
	str	x0, [x19, #376]
	mov	w20, #29440
	movk	w20, #19, lsl #16
	orr	w0, w20, #0x20
	bl	_ramfuc_reg
	str	x0, [x19, #368]
	orr	w0, w20, #0x30
	bl	_ramfuc_reg
	str	x0, [x19, #360]
	mov	w22, #8192
	movk	w22, #19, lsl #16
	mov	w0, #8192
	movk	w0, #19, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #352]
	orr	w0, w22, #0x4
	bl	_ramfuc_reg
	str	x0, [x19, #344]
	orr	w0, w22, #0x100
	bl	_ramfuc_reg
	str	x0, [x19, #336]
	mov	w8, #144
	orr	w0, w20, w8
	bl	_ramfuc_reg
	str	x0, [x19, #328]
	add	w0, w21, #576
	bl	_ramfuc_reg
	str	x0, [x19, #320]
	add	w0, w21, #580
	bl	_ramfuc_reg
	str	x0, [x19, #312]
	add	w0, w21, #584
	bl	_ramfuc_reg
	str	x0, [x19, #304]
	add	w0, w21, #588
	bl	_ramfuc_reg
	str	x0, [x19, #296]
	add	w0, w21, #592
	bl	_ramfuc_reg
	str	x0, [x19, #288]
	add	w0, w21, #688
	bl	_ramfuc_reg
	str	x0, [x19, #280]
	add	w0, w21, #744
	bl	_ramfuc_reg
	str	x0, [x19, #272]
	add	w0, w21, #752
	bl	_ramfuc_reg
	str	x0, [x19, #264]
	add	w0, w21, #756
	bl	_ramfuc_reg
	str	x0, [x19, #256]
	add	w0, w21, #760
	bl	_ramfuc_reg
	str	x0, [x19, #248]
	add	w0, w21, #2240
	bl	_ramfuc_reg
	str	x0, [x19, #240]
	add	w0, w21, #2244
	bl	_ramfuc_reg
	str	x0, [x19, #232]
	mov	w0, #2828
	movk	w0, #16, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #224]
	mov	w0, #61520
	movk	w0, #16, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #216]
	add	w0, w21, #64
	bl	_ramfuc_reg
	str	x0, [x19, #208]
	add	w0, w21, #432
	bl	_ramfuc_reg
	str	x0, [x19, #200]
	add	w0, w21, #448
	bl	_ramfuc_reg
	str	x0, [x19, #192]
	add	w0, w21, #704
	bl	_ramfuc_reg
	str	x0, [x19, #184]
	add	w0, w21, #708
	bl	_ramfuc_reg
	str	x0, [x19, #176]
	add	w0, w21, #1472
	bl	_ramfuc_reg
	str	x0, [x19, #168]
	add	w0, w21, #1476
	bl	_ramfuc_reg
	str	x0, [x19, #160]
	add	w0, w21, #1968
	bl	_ramfuc_reg
	str	x0, [x19, #152]
	add	w0, w21, #1976
	bl	_ramfuc_reg
	str	x0, [x19, #144]
	add	w0, w21, #2004
	bl	_ramfuc_reg
	str	x0, [x19, #136]
	add	w0, w21, #2016
	bl	_ramfuc_reg
	str	x0, [x19, #128]
	add	w0, w21, #2360
	bl	_ramfuc_reg
	str	x0, [x19, #120]
	add	w0, w21, #2364
	bl	_ramfuc_reg
	str	x0, [x19, #112]
	add	w0, w21, #2368
	bl	_ramfuc_reg
	str	x0, [x19, #104]
	add	w0, w21, #2376
	bl	_ramfuc_reg
	str	x0, [x19, #96]
	add	w0, w21, #2400
	bl	_ramfuc_reg
	str	x0, [x19, #88]
	add	w0, w21, #2404
	bl	_ramfuc_reg
	str	x0, [x19, #80]
	add	w0, w21, #2740
	bl	_ramfuc_reg
	str	x0, [x19, #72]
	add	w0, w21, #2744
	bl	_ramfuc_reg
	str	x0, [x19, #64]
	mov	w0, #29440
	movk	w0, #19, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #56]
	orr	w0, w20, #0x10
	bl	_ramfuc_reg
	str	x0, [x19, #56]
	orr	w0, w20, #0x60
	bl	_ramfuc_reg
	str	x0, [x19, #48]
	mov	w8, #236
	orr	w0, w20, w8
	bl	_ramfuc_reg
	str	x0, [x19, #40]
	orr	w0, w20, #0xf0
	bl	_ramfuc_reg
	str	x0, [x19, #32]
	orr	w0, w20, #0xf8
	bl	_ramfuc_reg
	str	x0, [x19, #24]
	mov	w0, #49472
	movk	w0, #97, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #16]
	mov	w0, #4608
	movk	w0, #97, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #8]
	mov	w0, #55540
	movk	w0, #19, lsl #16
	bl	_ramfuc_reg
	mov	w22, #0
	str	x0, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mclk refpll data not found\n"

l_.str.1:                               ; @.str.1
	.asciz	"mclk pll data not found\n"

.subsections_via_symbols
