	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_ram_new_                 ## -- Begin function gk104_ram_new_
	.p2align	4, 0x90
_gk104_ram_new_:                        ## @gk104_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movq	8(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_nvbios_ramcfg_index
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$552, %edi                      ## imm = 0x228
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	leaq	544(%rax), %rdx
	movq	%rdx, (%r12)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gf100_ram_ctor
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_31
## %bb.3:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	548(%r13), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	movl	$140344, %esi                   ## imm = 0x22438
	callq	_nvkm_rd32
	movl	%eax, (%r13)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$140628, %esi                   ## imm = 0x22554
	callq	_nvkm_rd32
	movl	%eax, 4(%r13)
	movl	$0, 8(%r13)
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.4:
	movq	%r13, %r14
	movl	$1114628, %r12d                 ## imm = 0x110204
	movl	$1, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %ecx
	movl	$1, %r13d
	shll	%cl, %r13d
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_nvkm_rd32
	movq	%rax, %rcx
	testq	%r15, %r15
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, %r15
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	orl	%r13d, 8(%r14)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r13
	cmpl	(%r14), %ebx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r13), %eax
	addl	$4096, %r12d                    ## imm = 0x1000
	incl	%ebx
	movq	%rcx, %r15
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_31
LBB0_12:
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_gk104_ram_ctor_data
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	%eax, %r12d
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_15
## %bb.17:
	leaq	540(%r13), %rdx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_nvbios_pll_parse
	testl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_19
## %bb.18:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str(%rip), %rsi
LBB0_16:
	movq	%r14, %rdi
	callq	_nvkm_error
LBB0_31:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	536(%r13), %rdx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_nvbios_pll_parse
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_16
LBB0_21:
	movl	(%r15), %edi
	movq	_DCB_GPIO_UNUSED@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	-72(%rbp), %r8
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_nvkm_gpio_find
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:
	movl	-72(%rbp), %eax
	leal	54800(,%rax,4), %edi
	callq	_ramfuc_reg
	movq	%rax, 528(%r13)
	movq	-64(%rbp), %rax
	movl	(%rax), %ecx
	xorl	$2, %ecx
	shll	$12, %ecx
	movq	16(%r13), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	xorl	$2, %eax
	shll	$12, %eax
	movl	%eax, 4(%rdx)
LBB0_23:
	movl	(%r15), %edi
	movl	(%r14), %ecx
	leaq	-72(%rbp), %r8
	xorl	%esi, %esi
	movl	$46, %edx
	callq	_nvkm_gpio_find
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movl	-72(%rbp), %eax
	leal	54800(,%rax,4), %edi
	callq	_ramfuc_reg
	movq	%rax, 520(%r13)
	movq	-64(%rbp), %rax
	movl	(%rax), %ecx
	xorl	$2, %ecx
	shll	$12, %ecx
	movq	24(%r13), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	xorl	$2, %eax
	shll	$12, %eax
	movl	%eax, 4(%rdx)
LBB0_25:
	movl	$54788, %edi                    ## imm = 0xD604
	callq	_ramfuc_reg
	movq	%rax, 512(%r13)
	movl	$1253408, %edi                  ## imm = 0x132020
	callq	_ramfuc_reg
	movq	%rax, 504(%r13)
	movl	$1253416, %edi                  ## imm = 0x132028
	callq	_ramfuc_reg
	movq	%rax, 496(%r13)
	movl	$1253412, %edi                  ## imm = 0x132024
	callq	_ramfuc_reg
	movq	%rax, 488(%r13)
	movl	$1253424, %edi                  ## imm = 0x132030
	callq	_ramfuc_reg
	movq	%rax, 480(%r13)
	movl	$1253428, %edi                  ## imm = 0x132034
	callq	_ramfuc_reg
	movq	%rax, 472(%r13)
	movl	$1253376, %edi                  ## imm = 0x132000
	callq	_ramfuc_reg
	movq	%rax, 464(%r13)
	movl	$1253380, %edi                  ## imm = 0x132004
	callq	_ramfuc_reg
	movq	%rax, 456(%r13)
	movl	$1253440, %edi                  ## imm = 0x132040
	callq	_ramfuc_reg
	movq	%rax, 448(%r13)
	movl	$1110600, %edi                  ## imm = 0x10F248
	callq	_ramfuc_reg
	movq	%rax, 440(%r13)
	movl	$1110672, %edi                  ## imm = 0x10F290
	callq	_ramfuc_reg
	movq	%rax, 432(%r13)
	movl	$1110676, %edi                  ## imm = 0x10F294
	callq	_ramfuc_reg
	movq	%rax, 424(%r13)
	movl	$1110680, %edi                  ## imm = 0x10F298
	callq	_ramfuc_reg
	movq	%rax, 416(%r13)
	movl	$1110684, %edi                  ## imm = 0x10F29C
	callq	_ramfuc_reg
	movq	%rax, 408(%r13)
	movl	$1110688, %edi                  ## imm = 0x10F2A0
	callq	_ramfuc_reg
	movq	%rax, 400(%r13)
	movl	$1110692, %edi                  ## imm = 0x10F2A4
	callq	_ramfuc_reg
	movq	%rax, 392(%r13)
	movl	$1110696, %edi                  ## imm = 0x10F2A8
	callq	_ramfuc_reg
	movq	%rax, 384(%r13)
	movl	$1110700, %edi                  ## imm = 0x10F2AC
	callq	_ramfuc_reg
	movq	%rax, 376(%r13)
	movl	$1110732, %edi                  ## imm = 0x10F2CC
	callq	_ramfuc_reg
	movq	%rax, 368(%r13)
	movl	$1110760, %edi                  ## imm = 0x10F2E8
	callq	_ramfuc_reg
	movq	%rax, 360(%r13)
	movl	$1110608, %edi                  ## imm = 0x10F250
	callq	_ramfuc_reg
	movq	%rax, 352(%r13)
	movl	$1110604, %edi                  ## imm = 0x10F24C
	callq	_ramfuc_reg
	movq	%rax, 344(%r13)
	movl	$1113796, %edi                  ## imm = 0x10FEC4
	callq	_ramfuc_reg
	movq	%rax, 336(%r13)
	movl	$1113800, %edi                  ## imm = 0x10FEC8
	callq	_ramfuc_reg
	movq	%rax, 328(%r13)
	movl	$1111556, %edi                  ## imm = 0x10F604
	callq	_ramfuc_reg
	movq	%rax, 320(%r13)
	movl	$1111572, %edi                  ## imm = 0x10F614
	callq	_ramfuc_reg
	movq	%rax, 312(%r13)
	movl	$1111568, %edi                  ## imm = 0x10F610
	callq	_ramfuc_reg
	movq	%rax, 304(%r13)
	movl	$1050480, %edi                  ## imm = 0x100770
	callq	_ramfuc_reg
	movq	%rax, 296(%r13)
	movl	$1050488, %edi                  ## imm = 0x100778
	callq	_ramfuc_reg
	movq	%rax, 288(%r13)
	movl	$1110564, %edi                  ## imm = 0x10F224
	callq	_ramfuc_reg
	movq	%rax, 280(%r13)
	movl	$1112176, %edi                  ## imm = 0x10F870
	callq	_ramfuc_reg
	movq	%rax, 272(%r13)
	movl	$1111704, %edi                  ## imm = 0x10F698
	callq	_ramfuc_reg
	movq	%rax, 264(%r13)
	movl	$1111700, %edi                  ## imm = 0x10F694
	callq	_ramfuc_reg
	movq	%rax, 256(%r13)
	movl	$1111736, %edi                  ## imm = 0x10F6B8
	callq	_ramfuc_reg
	movq	%rax, 248(%r13)
	movl	$1112072, %edi                  ## imm = 0x10F808
	callq	_ramfuc_reg
	movq	%rax, 240(%r13)
	movl	$1111664, %edi                  ## imm = 0x10F670
	callq	_ramfuc_reg
	movq	%rax, 232(%r13)
	movl	$1111564, %edi                  ## imm = 0x10F60C
	callq	_ramfuc_reg
	movq	%rax, 224(%r13)
	movl	$1112112, %edi                  ## imm = 0x10F830
	callq	_ramfuc_reg
	movq	%rax, 216(%r13)
	movl	$1274860, %edi                  ## imm = 0x1373EC
	callq	_ramfuc_reg
	movq	%rax, 208(%r13)
	movl	$1112064, %edi                  ## imm = 0x10F800
	callq	_ramfuc_reg
	movq	%rax, 200(%r13)
	movl	$1112108, %edi                  ## imm = 0x10F82C
	callq	_ramfuc_reg
	movq	%rax, 192(%r13)
	movl	$1112440, %edi                  ## imm = 0x10F978
	callq	_ramfuc_reg
	movq	%rax, 184(%r13)
	movl	$1112336, %edi                  ## imm = 0x10F910
	callq	_ramfuc_reg
	movq	%rax, 176(%r13)
	movl	$1112340, %edi                  ## imm = 0x10F914
	callq	_ramfuc_reg
	movq	%rax, 168(%r13)
	movl	544(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_28
## %bb.26:
	cmpl	$128, %eax
	jne	LBB0_30
## %bb.27:
	movl	$1110784, %edi                  ## imm = 0x10F300
	callq	_ramfuc_reg
	movq	%r13, %rbx
	addq	$160, %rbx
	movq	160(%r13), %rcx
	movq	%rax, (%rcx)
	movl	$1110832, %edi                  ## imm = 0x10F330
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 8(%rcx)
	movl	$1110836, %edi                  ## imm = 0x10F334
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 16(%rcx)
	movl	$1110840, %edi                  ## imm = 0x10F338
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 24(%rcx)
	movl	$1110844, %edi                  ## imm = 0x10F33C
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 32(%rcx)
	movl	$1110848, %edi                  ## imm = 0x10F340
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 40(%rcx)
	movl	$1110852, %edi                  ## imm = 0x10F344
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 48(%rcx)
	movl	$1110856, %edi                  ## imm = 0x10F348
	callq	_ramfuc_reg
	movq	160(%r13), %rcx
	movq	%rax, 56(%rcx)
	movl	$15, %r15d
	movl	$1110860, %r14d                 ## imm = 0x10F34C
	movl	$8, %r12d
	movl	$1110868, %edi                  ## imm = 0x10F354
	jmp	LBB0_29
LBB0_28:
	movl	$1110784, %edi                  ## imm = 0x10F300
	callq	_ramfuc_reg
	movq	%r13, %rbx
	addq	$160, %rbx
	movq	160(%r13), %rcx
	movq	%rax, (%rcx)
	movl	$2, %r15d
	movl	$1110816, %r14d                 ## imm = 0x10F320
	movl	$1, %r12d
	movl	$1110788, %edi                  ## imm = 0x10F304
LBB0_29:
	callq	_ramfuc_reg
	movq	(%rbx), %rcx
	movq	%rax, (%rcx,%r12,8)
	movl	%r14d, %edi
	callq	_ramfuc_reg
	movq	(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
LBB0_30:
	movl	$6471680, %edi                  ## imm = 0x62C000
	callq	_ramfuc_reg
	movq	%rax, 152(%r13)
	movl	$1110528, %edi                  ## imm = 0x10F200
	callq	_ramfuc_reg
	movq	%rax, 144(%r13)
	movl	$1110544, %edi                  ## imm = 0x10F210
	callq	_ramfuc_reg
	movq	%rax, 136(%r13)
	movl	$1110800, %edi                  ## imm = 0x10F310
	callq	_ramfuc_reg
	movq	%rax, 128(%r13)
	movl	$1110804, %edi                  ## imm = 0x10F314
	callq	_ramfuc_reg
	movq	%rax, 120(%r13)
	movl	$1110808, %edi                  ## imm = 0x10F318
	callq	_ramfuc_reg
	movq	%rax, 112(%r13)
	movl	$1110160, %edi                  ## imm = 0x10F090
	callq	_ramfuc_reg
	movq	%rax, 104(%r13)
	movl	$1111708, %edi                  ## imm = 0x10F69C
	callq	_ramfuc_reg
	movq	%rax, 96(%r13)
	movl	$1112100, %edi                  ## imm = 0x10F824
	callq	_ramfuc_reg
	movq	%rax, 88(%r13)
	movl	$1274864, %edi                  ## imm = 0x1373F0
	callq	_ramfuc_reg
	movq	%rax, 80(%r13)
	movl	$1274868, %edi                  ## imm = 0x1373F4
	callq	_ramfuc_reg
	movq	%rax, 72(%r13)
	movl	$1274656, %edi                  ## imm = 0x137320
	callq	_ramfuc_reg
	movq	%rax, 64(%r13)
	movl	$1111644, %edi                  ## imm = 0x10F65C
	callq	_ramfuc_reg
	movq	%rax, 56(%r13)
	movl	$1111740, %edi                  ## imm = 0x10F6BC
	callq	_ramfuc_reg
	movq	%rax, 48(%r13)
	movl	$1050384, %edi                  ## imm = 0x100710
	callq	_ramfuc_reg
	movq	%rax, 40(%r13)
	movl	$1050448, %edi                  ## imm = 0x100750
	callq	_ramfuc_reg
	movq	%rax, 32(%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse ramcfg data\n"

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

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

	.comm	_DCB_GPIO_UNUSED,4,2            ## @DCB_GPIO_UNUSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_ram_new_                 ; -- Begin function gk104_ram_new_
	.p2align	2
_gk104_ram_new_:                        ; @gk104_ram_new_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x25, x2
	mov	x21, x1
	mov	x24, x0
	ldr	x20, [x1]
	ldr	x22, [x20, #8]
	mov	x0, x1
	bl	_nvbios_ramcfg_index
	mov	x23, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #552
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	add	x2, x0, #544
	str	x2, [x25]
	mov	x0, x24
	mov	x1, x21
	bl	_gf100_ram_ctor
	mov	x24, x0
	cbnz	w0, LBB0_19
; %bb.2:
	add	x0, x19, #548
	bl	_INIT_LIST_HEAD
	mov	w24, #9272
	movk	w24, #2, lsl #16
	mov	x0, x20
	mov	w1, #9272
	movk	w1, #2, lsl #16
	bl	_nvkm_rd32
	str	w0, [x19]
	add	w1, w24, #284
	mov	x0, x20
	bl	_nvkm_rd32
	stp	w0, wzr, [x19, #4]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x27, #0
	mov	w24, #516
	movk	w24, #17, lsl #16
	mov	w25, #1
	mov	w26, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w26, #1
	lsl	w28, w25, w8
	tst	w0, w28
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_nvkm_rd32
	mov	x8, x0
	cbz	x27, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x27, x8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #8]
	orr	w8, w8, w28
	str	w8, [x19, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	cmp	w26, w9
	b.ge	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #4]
	add	w24, w24, #1, lsl #12           ; =4096
	add	w26, w26, #1
	mov	x27, x8
	b	LBB0_4
LBB0_11:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_19
LBB0_12:
	mov	w25, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x25
	bl	_gk104_ram_ctor_data
	add	w25, w25, #1
	cbz	w0, LBB0_13
; %bb.14:
	mov	x24, x0
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_17
; %bb.15:
	add	x2, x19, #540
	mov	x0, x22
	mov	w1, #12
	bl	_nvbios_pll_parse
	cbz	w0, LBB0_20
; %bb.16:
	mov	x24, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
LBB0_18:
	mov	x0, x21
	bl	_nvkm_error
LBB0_19:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
	add	x2, x19, #536
	mov	x0, x22
	mov	w1, #4
	bl	_nvbios_pll_parse
	cbz	w0, LBB0_22
; %bb.21:
	mov	x24, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_22:
	ldr	w0, [x20]
Lloh15:
	adrp	x21, _DCB_GPIO_UNUSED@GOTPAGE
Lloh16:
	ldr	x21, [x21, _DCB_GPIO_UNUSED@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x4, sp
	mov	w1, #0
	mov	w2, #24
	bl	_nvkm_gpio_find
	cbnz	w0, LBB0_24
; %bb.23:
	ldr	w8, [sp]
	mov	w9, #54800
	add	w0, w9, w8, lsl #2
	bl	_ramfuc_reg
	str	x0, [x19, #528]
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	lsl	w9, w9, #12
	eor	w9, w9, #0x2000
	ldr	x10, [x19, #16]
	str	w9, [x10]
	ldr	w8, [x8, #4]
	lsl	w8, w8, #12
	eor	w8, w8, #0x2000
	str	w8, [x10, #4]
LBB0_24:
	ldr	w0, [x20]
	ldr	w3, [x21]
	mov	x4, sp
	mov	w1, #0
	mov	w2, #46
	bl	_nvkm_gpio_find
	cbnz	w0, LBB0_26
; %bb.25:
	ldr	w8, [sp]
	mov	w9, #54800
	add	w0, w9, w8, lsl #2
	bl	_ramfuc_reg
	str	x0, [x19, #520]
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	lsl	w9, w9, #12
	eor	w9, w9, #0x2000
	ldr	x10, [x19, #24]
	str	w9, [x10]
	ldr	w8, [x8, #4]
	lsl	w8, w8, #12
	eor	w8, w8, #0x2000
	str	w8, [x10, #4]
LBB0_26:
	mov	w23, #29472
	movk	w23, #19, lsl #16
	mov	w22, #62208
	movk	w22, #16, lsl #16
	mov	w21, #1808
	movk	w21, #16, lsl #16
	mov	w0, #54788
	bl	_ramfuc_reg
	str	x0, [x19, #512]
	mov	w20, #8192
	movk	w20, #19, lsl #16
	orr	w0, w20, #0x20
	bl	_ramfuc_reg
	str	x0, [x19, #504]
	mov	w8, #40
	orr	w0, w20, w8
	bl	_ramfuc_reg
	str	x0, [x19, #496]
	mov	w8, #36
	orr	w0, w20, w8
	bl	_ramfuc_reg
	str	x0, [x19, #488]
	orr	w0, w20, #0x30
	bl	_ramfuc_reg
	str	x0, [x19, #480]
	mov	w8, #52
	orr	w0, w20, w8
	bl	_ramfuc_reg
	str	x0, [x19, #472]
	mov	w0, #8192
	movk	w0, #19, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #464]
	orr	w0, w20, #0x4
	bl	_ramfuc_reg
	str	x0, [x19, #456]
	orr	w0, w20, #0x40
	bl	_ramfuc_reg
	str	x0, [x19, #448]
	sub	w0, w22, #184
	bl	_ramfuc_reg
	str	x0, [x19, #440]
	sub	w0, w22, #112
	bl	_ramfuc_reg
	str	x0, [x19, #432]
	sub	w0, w22, #108
	bl	_ramfuc_reg
	str	x0, [x19, #424]
	sub	w0, w22, #104
	bl	_ramfuc_reg
	str	x0, [x19, #416]
	sub	w0, w22, #100
	bl	_ramfuc_reg
	str	x0, [x19, #408]
	sub	w0, w22, #96
	bl	_ramfuc_reg
	str	x0, [x19, #400]
	sub	w0, w22, #92
	bl	_ramfuc_reg
	str	x0, [x19, #392]
	sub	w0, w22, #88
	bl	_ramfuc_reg
	str	x0, [x19, #384]
	sub	w0, w22, #84
	bl	_ramfuc_reg
	str	x0, [x19, #376]
	sub	w0, w22, #52
	bl	_ramfuc_reg
	str	x0, [x19, #368]
	sub	w0, w22, #24
	bl	_ramfuc_reg
	str	x0, [x19, #360]
	sub	w0, w22, #176
	bl	_ramfuc_reg
	str	x0, [x19, #352]
	sub	w0, w22, #180
	bl	_ramfuc_reg
	str	x0, [x19, #344]
	add	w0, w22, #3012
	bl	_ramfuc_reg
	str	x0, [x19, #336]
	add	w0, w22, #3016
	bl	_ramfuc_reg
	str	x0, [x19, #328]
	add	w0, w22, #772
	bl	_ramfuc_reg
	str	x0, [x19, #320]
	add	w0, w22, #788
	bl	_ramfuc_reg
	str	x0, [x19, #312]
	add	w0, w22, #784
	bl	_ramfuc_reg
	str	x0, [x19, #304]
	orr	w0, w21, #0x60
	bl	_ramfuc_reg
	str	x0, [x19, #296]
	mov	w8, #104
	orr	w0, w21, w8
	bl	_ramfuc_reg
	str	x0, [x19, #288]
	sub	w0, w22, #220
	bl	_ramfuc_reg
	str	x0, [x19, #280]
	add	w0, w22, #1392
	bl	_ramfuc_reg
	str	x0, [x19, #272]
	add	w0, w22, #920
	bl	_ramfuc_reg
	str	x0, [x19, #264]
	add	w0, w22, #916
	bl	_ramfuc_reg
	str	x0, [x19, #256]
	add	w0, w22, #952
	bl	_ramfuc_reg
	str	x0, [x19, #248]
	add	w0, w22, #1288
	bl	_ramfuc_reg
	str	x0, [x19, #240]
	add	w0, w22, #880
	bl	_ramfuc_reg
	str	x0, [x19, #232]
	add	w0, w22, #780
	bl	_ramfuc_reg
	str	x0, [x19, #224]
	add	w0, w22, #1328
	bl	_ramfuc_reg
	str	x0, [x19, #216]
	mov	w8, #204
	orr	w0, w23, w8
	bl	_ramfuc_reg
	str	x0, [x19, #208]
	add	w0, w22, #1280
	bl	_ramfuc_reg
	str	x0, [x19, #200]
	add	w0, w22, #1324
	bl	_ramfuc_reg
	str	x0, [x19, #192]
	add	w0, w22, #1656
	bl	_ramfuc_reg
	str	x0, [x19, #184]
	add	w0, w22, #1552
	bl	_ramfuc_reg
	str	x0, [x19, #176]
	add	w0, w22, #1556
	bl	_ramfuc_reg
	str	x0, [x19, #168]
	ldr	w8, [x19, #544]
	cmp	w8, #129
	b.eq	LBB0_29
; %bb.27:
	cmp	w8, #128
	b.ne	LBB0_31
; %bb.28:
	mov	w0, #62208
	movk	w0, #16, lsl #16
	bl	_ramfuc_reg
	mov	x24, x19
	ldr	x8, [x24, #160]!
	str	x0, [x8]
	add	w0, w22, #48
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #8]
	add	w0, w22, #52
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #16]
	add	w0, w22, #56
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #24]
	add	w0, w22, #60
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #32]
	add	w0, w22, #64
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #40]
	add	w0, w22, #68
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #48]
	add	w0, w22, #72
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, #56]
	add	w20, w22, #76
	add	w0, w22, #84
	mov	w25, #15
	mov	w26, #8
	b	LBB0_30
LBB0_29:
	mov	w0, #62208
	movk	w0, #16, lsl #16
	bl	_ramfuc_reg
	mov	x24, x19
	ldr	x8, [x24, #160]!
	str	x0, [x8]
	add	w0, w22, #4
	add	w20, w22, #32
	mov	w25, #2
	mov	w26, #1
LBB0_30:
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, x26, lsl #3]
	mov	x0, x20
	bl	_ramfuc_reg
	ldr	x8, [x24]
	str	x0, [x8, x25, lsl #3]
LBB0_31:
	mov	w0, #49152
	movk	w0, #98, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #152]
	sub	w0, w22, #256
	bl	_ramfuc_reg
	str	x0, [x19, #144]
	sub	w0, w22, #240
	bl	_ramfuc_reg
	str	x0, [x19, #136]
	add	w0, w22, #16
	bl	_ramfuc_reg
	str	x0, [x19, #128]
	add	w0, w22, #20
	bl	_ramfuc_reg
	str	x0, [x19, #120]
	add	w0, w22, #24
	bl	_ramfuc_reg
	str	x0, [x19, #112]
	sub	w0, w22, #624
	bl	_ramfuc_reg
	str	x0, [x19, #104]
	add	w0, w22, #924
	bl	_ramfuc_reg
	str	x0, [x19, #96]
	add	w0, w22, #1316
	bl	_ramfuc_reg
	str	x0, [x19, #88]
	add	w0, w23, #208
	bl	_ramfuc_reg
	str	x0, [x19, #80]
	add	w0, w23, #212
	bl	_ramfuc_reg
	str	x0, [x19, #72]
	mov	w0, #29472
	movk	w0, #19, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #64]
	add	w0, w22, #860
	bl	_ramfuc_reg
	str	x0, [x19, #56]
	add	w0, w22, #956
	bl	_ramfuc_reg
	str	x0, [x19, #48]
	mov	w0, #1808
	movk	w0, #16, lsl #16
	bl	_ramfuc_reg
	str	x0, [x19, #40]
	add	w0, w21, #64
	bl	_ramfuc_reg
	mov	w24, #0
	str	x0, [x19, #32]
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse ramcfg data\n"

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

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

	.comm	_DCB_GPIO_UNUSED,4,2            ; @DCB_GPIO_UNUSED
.subsections_via_symbols
