	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_ram_calc
_nv50_ram_calc:                         ## @nv50_ram_calc
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_nv50_ram
	movq	%rax, %rcx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addq	$152, %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	144(%rcx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	leaq	24(%rcx), %rax
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	movl	%ebx, 24(%rcx)
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movq	%rax, 16(%rcx)
	xorl	%ebx, %ebx
	leaq	-140(%rbp), %r15
	leaq	-136(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-160(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rdi, %r14
	movl	%ebx, %esi
	leaq	-116(%rbp), %rdx
	leaq	-100(%rbp), %rcx
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_nvbios_perfEp
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r12d
	movl	-116(%rbp), %eax
	cmpl	$37, %eax
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$63, %eax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, -136(%rbp)
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movl	-132(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, -160(%rbp)
	movq	%r14, %rdi
	jl	LBB0_1
## %bb.7:
	movl	-100(%rbp), %edx
	movq	-184(%rbp), %r15                ## 8-byte Reload
	addq	$32, %r15
	movq	%rdi, %rbx
	movl	%r12d, %esi
	movq	%r15, %rcx
	callq	_nvbios_rammapEp_from_perf
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_nvbios_ramcfg_index
	cmpl	-140(%rbp), %eax
	jge	LBB0_8
## %bb.12:
	addl	-100(%rbp), %r12d
	movl	-136(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %ebx
	movl	%eax, %ecx
	movq	%r15, %r8
	callq	_nvbios_rammapSp_from_perf
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	(%r15), %esi
	cmpl	$255, %esi
	jne	LBB0_15
## %bb.20:
	leaq	-96(%rbp), %rsi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nv50_ram_timing_read
	movq	-152(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_21
LBB0_5:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_13:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	xorl	%r15d, %r15d
	movq	%r13, %rdi
LBB0_10:
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_64:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_66
## %bb.65:
	movl	%r15d, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r15, (%rsp)
	leaq	-116(%rbp), %rdx
	leaq	-100(%rbp), %rcx
	leaq	-140(%rbp), %r8
	leaq	-212(%rbp), %r9
	movq	%r14, %rdi
	callq	_nvbios_timingEp
	movl	-116(%rbp), %r8d
	movl	-100(%rbp), %r9d
	testl	%eax, %eax
	movq	-152(%rbp), %r12                ## 8-byte Reload
	je	LBB0_18
## %bb.16:
	cmpl	$16, %r8d
	jne	LBB0_18
## %bb.17:
	cmpl	$17, %r9d
	jle	LBB0_18
## %bb.19:
	leaq	-96(%rbp), %rsi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nv50_ram_timing_calc
LBB0_21:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ram_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_64
## %bb.22:
	movq	_mr@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_rd32
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_rd32
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r15), %rax
	movl	8(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_rd32
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	cmpl	$128, 8(%rbx)
	jne	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_nvkm_gddr3_calc
	movl	%eax, %r15d
	jmp	LBB0_25
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_nvkm_error
	jmp	LBB0_11
LBB0_24:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_25:
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.26:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_nvkm_error
	jmp	LBB0_64
LBB0_27:
	movq	%r13, %rax
	movq	(%r13), %rax
	cmpl	$150, (%rax)
	jg	LBB0_30
## %bb.28:
	cmpq	$0, 64(%rbx)
	jne	LBB0_30
## %bb.29:
	movq	%r12, %rdi
	movl	$1050384, %esi                  ## imm = 0x100710
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_ram_mask
LBB0_30:
	movq	%r12, %rdi
	movl	$1049088, %esi                  ## imm = 0x100200
	movl	$2048, %edx                     ## imm = 0x800
	xorl	%ecx, %ecx
	callq	_ram_mask
	movq	%r12, %rdi
	callq	_ram_wait_vblank
	movq	%r12, %rdi
	movl	$6361600, %esi                  ## imm = 0x611200
	movl	$13056, %edx                    ## imm = 0x3300
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$9476, %esi                     ## imm = 0x2504
	movl	$1, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$8000, %esi                     ## imm = 0x1F40
	callq	_ram_nsec
	movq	%r12, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_ram_setf
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_ram_wait
	movq	%r12, %rdi
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_ram_nsec
	cmpq	$0, 88(%rbx)
	je	LBB0_32
## %bb.31:
	movq	%r12, %rdi
	movl	$46, %esi
	movl	$1, %edx
	callq	_nv50_ram_gpio
LBB0_32:
	movq	%r12, %rdi
	movl	$1049300, %esi                  ## imm = 0x1002D4
	movl	$1, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049296, %esi                  ## imm = 0x1002D0
	movl	$1, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049296, %esi                  ## imm = 0x1002D0
	movl	$1, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049104, %esi                  ## imm = 0x100210
	xorl	%edx, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049308, %esi                  ## imm = 0x1002DC
	movl	$1, %edx
	callq	_ram_wr32
	leaq	-200(%rbp), %rdx
	movq	%r14, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	callq	_nvbios_pll_parse
	movq	$0, -192(%rbp)
	testl	%eax, %eax
	js	LBB0_33
## %bb.34:
	leaq	-164(%rbp), %rax
	movq	%rax, 8(%rsp)
	leaq	-204(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-200(%rbp), %rsi
	leaq	-172(%rbp), %rcx
	leaq	-168(%rbp), %r8
	leaq	-208(%rbp), %r9
	movq	%r13, %rdi
	movl	-132(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %edx
	callq	_nv04_pll_calc
	testl	%eax, %eax
	jle	LBB0_35
LBB0_37:
	xorl	%eax, %eax
	cmpl	$750001, %r14d                  ## imm = 0xB71B1
	setl	%al
	shll	$28, %eax
	movl	-200(%rbp), %ecx
	shll	$19, %ecx
	orl	%eax, %ecx
	movq	%rbx, %r15
	movl	-164(%rbp), %ebx
	movl	%ebx, %eax
	shll	$22, %eax
	shll	$16, %ebx
	orl	%eax, %ebx
	orl	%ecx, %ebx
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movq	%r12, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	movl	$-1073692672, %edx              ## imm = 0xC000C000
	movl	$49152, %ecx                    ## imm = 0xC000
	callq	_ram_mask
	movl	36(%r15), %ecx
	shll	$14, %ecx
	orl	$512, %ecx                      ## imm = 0x200
	movq	%r12, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	movl	$16896, %edx                    ## imm = 0x4200
	callq	_ram_mask
	movl	-172(%rbp), %ecx
	shll	$8, %ecx
	orl	-168(%rbp), %ecx
	movq	%r12, %rdi
	movl	$16396, %esi                    ## imm = 0x400C
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_ram_mask
	movq	%r12, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	movl	$-1845559296, %edx              ## imm = 0x91FF0000
	movl	%ebx, %ecx
	callq	_ram_mask
	movq	(%r13), %rax
	cmpl	$146, (%rax)
	jl	LBB0_39
## %bb.38:
	xorl	%edx, %edx
	cmpl	$750001, %r14d                  ## imm = 0xB71B1
	setl	%dl
	shll	$4, %edx
	movq	%r12, %rdi
	movl	$1052064, %esi                  ## imm = 0x100DA0
	callq	_ram_wr32
LBB0_39:
	xorl	%edx, %edx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	cmpl	$0, 136(%r13)
	sete	%dl
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_nv50_ram_gpio
	movq	%r12, %rdi
	movl	$64000, %esi                    ## imm = 0xFA00
	callq	_ram_nsec
	movq	%r12, %rdi
	movl	$32000, %esi                    ## imm = 0x7D00
	callq	_ram_nsec
	movq	%r12, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	movl	$8704, %edx                     ## imm = 0x2200
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_ram_mask
	movq	%r12, %rdi
	movl	$1049308, %esi                  ## imm = 0x1002DC
	xorl	%edx, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049300, %esi                  ## imm = 0x1002D4
	movl	$1, %edx
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$1049104, %esi                  ## imm = 0x100210
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_ram_wr32
	movq	%r12, %rdi
	movl	$12000, %esi                    ## imm = 0x2EE0
	callq	_ram_nsec
	movl	8(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_42
## %bb.40:
	cmpl	$129, %eax
	movq	_mr@GOTPCREL(%rip), %r14
	jne	LBB0_43
## %bb.41:
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_nuke
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ram_mask
	jmp	LBB0_43
LBB0_33:
	movl	%eax, %r15d
	jmp	LBB0_64
LBB0_35:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_37
## %bb.36:
	negl	%r15d
	jmp	LBB0_64
LBB0_42:
	movq	_mr@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_nuke
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	(%r13), %rax
	movl	4(%rax), %edx
	movq	%r12, %rdi
	callq	_ram_wr32
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ram_nuke
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	(%r13), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_ram_wr32
LBB0_43:
	movl	-84(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-92(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-72(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-68(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-64(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-96(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-88(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-80(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	movl	-76(%rbp), %ecx
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	$-1, %edx
	callq	_ram_mask
	cmpq	$0, 64(%r13)
	jne	LBB0_45
## %bb.44:
	movq	%r12, %rdi
	movl	$1049116, %esi                  ## imm = 0x10021C
	movl	$65536, %edx                    ## imm = 0x10000
	xorl	%ecx, %ecx
	callq	_ram_mask
LBB0_45:
	xorl	%ecx, %ecx
	cmpl	$0, 140(%r13)
	sete	%cl
	shll	$12, %ecx
	movq	%r12, %rdi
	movl	$1049088, %esi                  ## imm = 0x100200
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_ram_mask
	movq	%r12, %rdi
	movl	$1050384, %esi                  ## imm = 0x100710
	callq	_ram_rd32
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$1050388, %esi                  ## imm = 0x100714
	callq	_ram_rd32
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$1050392, %esi                  ## imm = 0x100718
	callq	_ram_rd32
	movl	%eax, %r14d
	andl	$-257, %r14d                    ## imm = 0xFEFF
	movq	%r12, %rdi
	movl	$1050396, %esi                  ## imm = 0x10071C
	callq	_ram_rd32
	andl	$-257, %eax                     ## imm = 0xFEFF
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	cmpl	$150, (%rcx)
	jg	LBB0_47
## %bb.46:
	andl	$-367, %ebx                     ## imm = 0xFE91
	andl	$268435167, %r15d               ## imm = 0xFFFFEDF
	movl	120(%r13), %r8d
	leal	96(%rbx), %ecx
	testl	%r8d, %r8d
	cmovnel	%ebx, %ecx
	cmpl	$0, 136(%r13)
	leal	256(%r15), %edi
	cmovnel	%r15d, %edi
	movq	112(%r13), %rdx
	leal	14(%rcx), %esi
	testq	%rdx, %rdx
	cmovel	%ecx, %esi
	jmp	LBB0_48
LBB0_47:
	andl	$268435423, %r15d               ## imm = 0xFFFFFDF
	andl	$-258, %ebx                     ## imm = 0xFEFE
	movl	120(%r13), %r8d
	xorl	%esi, %esi
	testl	%r8d, %r8d
	sete	%sil
	orl	%ebx, %esi
	movq	112(%r13), %rdx
	movl	%r15d, %edi
LBB0_48:
	xorl	%r12d, %r12d
	cmpq	$0, 128(%r13)
	setne	%r12b
	shll	$8, %r12d
	orl	%eax, %r12d
	movl	%esi, %r15d
	orl	$256, %r15d                     ## imm = 0x100
	cmpq	$0, 64(%r13)
	cmovel	%esi, %r15d
	movl	%edi, %eax
	orl	$32, %eax
	testl	%r8d, %r8d
	cmovnel	%edi, %eax
	leal	1879048192(%rax), %ecx
	testq	%rdx, %rdx
	cmovel	%eax, %ecx
	xorl	%ebx, %ebx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 104(%rax)
	setne	%bl
	shll	$8, %ebx
	orl	%r14d, %ebx
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movl	$1050388, %esi                  ## imm = 0x100714
	movl	$-1, %edx
	callq	_ram_mask
	movq	%r14, %rdi
	movl	$1050396, %esi                  ## imm = 0x10071C
	movl	$-1, %edx
	movl	%r12d, %ecx
	callq	_ram_mask
	movq	%r14, %rdi
	movl	$1050392, %esi                  ## imm = 0x100718
	movl	$-1, %edx
	movl	%ebx, %ecx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	callq	_ram_mask
	movq	%r14, %rdi
	movl	$1050384, %esi                  ## imm = 0x100710
	movl	$-1, %edx
	movl	%r15d, %ecx
	callq	_ram_mask
	cmpq	$0, 96(%rbx)
	je	LBB0_49
## %bb.50:
	movl	40(%rbx), %eax
	movl	44(%rbx), %edx
	shll	$16, %eax
	shll	$8, %edx
	orl	%eax, %edx
	orl	48(%rbx), %edx
	movq	%r14, %rdi
	movl	$1050016, %esi                  ## imm = 0x1005A0
	callq	_ram_wr32
	movl	52(%rbx), %edx
	shll	$8, %edx
	orl	56(%rbx), %edx
	movq	%r14, %rdi
	movl	$1050020, %esi                  ## imm = 0x1005A4
	callq	_ram_wr32
	xorl	%ecx, %ecx
	jmp	LBB0_51
LBB0_49:
	movl	$4096, %ecx                     ## imm = 0x1000
LBB0_51:
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	_mr@GOTPCREL(%rip), %r12
	movq	%r14, %rdi
	movl	$1049916, %esi                  ## imm = 0x10053C
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_ram_mask
	movq	(%r12), %rax
	movl	4(%rax), %esi
	movq	(%rbx), %rax
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_ram_mask
	cmpq	$0, 88(%rbx)
	jne	LBB0_53
## %bb.52:
	movq	%r14, %rdi
	movl	$46, %esi
	xorl	%edx, %edx
	callq	_nv50_ram_gpio
LBB0_53:
	cmpl	$0, 80(%rbx)
	jne	LBB0_55
## %bb.54:
	movq	%r14, %rdi
	callq	_nvkm_sddr2_dll_reset
LBB0_55:
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$1, %edx
	callq	_ram_setf
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ram_wait
	movq	%r14, %rdi
	movl	$6361600, %esi                  ## imm = 0x611200
	movl	$13104, %edx                    ## imm = 0x3330
	callq	_ram_wr32
	movq	%r14, %rdi
	movl	$9476, %esi                     ## imm = 0x2504
	xorl	%edx, %edx
	callq	_ram_wr32
	cmpq	$0, 72(%rbx)
	je	LBB0_57
## %bb.56:
	movq	%r14, %rdi
	movl	$1049088, %esi                  ## imm = 0x100200
	movl	$2048, %edx                     ## imm = 0x800
	movl	$2048, %ecx                     ## imm = 0x800
	callq	_ram_mask
LBB0_57:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, 36(%rbx)
	jne	LBB0_59
## %bb.58:
	movq	%r14, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	movl	$16384, %edx                    ## imm = 0x4000
	xorl	%ecx, %ecx
	callq	_ram_mask
LBB0_59:
	cmpq	$0, 64(%rbx)
	je	LBB0_61
## %bb.60:
	movq	%r14, %rdi
	movl	$1049116, %esi                  ## imm = 0x10021C
	movl	$65536, %edx                    ## imm = 0x10000
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_ram_mask
LBB0_61:
	movq	(%r15), %rax
	xorl	%r15d, %r15d
	cmpl	$150, (%rax)
	jg	LBB0_64
## %bb.62:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 64(%rax)
	je	LBB0_64
## %bb.63:
	movq	%r14, %rdi
	movl	$1050384, %esi                  ## imm = 0x100710
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	callq	_ram_mask
	jmp	LBB0_64
LBB0_66:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid/missing perftab entry\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid ramcfg strap\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid/missing rammap entry "

L_.str.3:                               ## @.str.3
	.asciz	"invalid/missing timing entry %02x %04x %02x %02x\n"

	.comm	_mr,8,3                         ## @mr
	.comm	_ENOSYS,4,2                     ## @ENOSYS
L_.str.4:                               ## @.str.4
	.asciz	"Could not calculate MR\n"

	.no_dead_strip	_nv50_ram_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_ram_calc
_nv50_ram_calc:                         ; @nv50_ram_calc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_nv50_ram
	mov	x21, x0
	mov	w22, #0
	add	x20, x0, #152
	ldr	x19, [x0, #144]
	ldr	x8, [x19]
	ldr	x24, [x8, #8]
	mov	x8, x0
	str	w23, [x8, #24]!
	str	x8, [x0, #16]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #76
	add	x3, sp, #72
	add	x4, sp, #68
	add	x5, sp, #60
	add	x6, sp, #96
	mov	x0, x24
	mov	x1, x22
	bl	_nvbios_perfEp
	cbz	w0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #76]
	cmp	w8, #37
	b.lt	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [sp, #60]
	cmp	w8, #63
	ccmp	w9, #1, #4, le
	b.le	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w22, w22, #1
	ldr	w8, [sp, #96]
	cmp	w8, w23
	b.lt	LBB0_1
; %bb.5:
	mov	x26, x0
	ldr	w2, [sp, #72]
	add	x25, x21, #32
	mov	x0, x24
	mov	x1, x26
	mov	x3, x25
	bl	_nvbios_rammapEp_from_perf
	mov	x0, x19
	bl	_nvbios_ramcfg_index
	ldr	w8, [sp, #68]
	cmp	w0, w8
	b.ge	LBB0_10
; %bb.6:
	mov	x22, x0
	ldr	w8, [sp, #72]
	add	w1, w8, w26
	ldr	w2, [sp, #60]
	mov	x0, x24
	mov	x3, x22
	mov	x4, x25
	bl	_nvbios_rammapSp_from_perf
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w1, [x25]
	cmp	w1, #255
	b.ne	LBB0_12
; %bb.8:
	add	x1, sp, #100
	mov	x0, x21
	bl	_nv50_ram_timing_read
	b	LBB0_16
LBB0_9:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_20
LBB0_10:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_11:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_12:
	add	x2, sp, #76
	add	x3, sp, #72
	add	x4, sp, #68
	add	x5, sp, #64
	mov	x0, x24
	mov	x6, x25
	bl	_nvbios_timingEp
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	w9, w8, [sp, #72]
	cbz	w0, LBB0_19
; %bb.13:
	cmp	w8, #16
	b.ne	LBB0_19
; %bb.14:
	cmp	w9, #17
	b.le	LBB0_19
; %bb.15:
	add	x1, sp, #100
	mov	x0, x21
	bl	_nv50_ram_timing_calc
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_ram_init
	mov	x28, x0
	cbnz	w0, LBB0_22
; %bb.17:
Lloh9:
	adrp	x22, _mr@GOTPAGE
Lloh10:
	ldr	x22, [x22, _mr@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ram_rd32
	ldr	x8, [x21]
	str	w0, [x8]
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_ram_rd32
	ldr	x8, [x21]
	str	w0, [x8, #4]
	ldr	x8, [x22]
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_ram_rd32
	ldr	x8, [x21]
	str	w0, [x8, #8]
	ldr	w8, [x21, #8]
	cmp	w8, #128
	b.ne	LBB0_24
; %bb.18:
	mov	x0, x21
	bl	_nvkm_gddr3_calc
	mov	x28, x0
	b	LBB0_25
LBB0_19:
	stp	x8, x9, [sp, #16]
	stp	x22, x0, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_20:
	mov	x0, x19
	bl	_nvkm_error
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
LBB0_21:
	neg	w28, w8
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_64
; %bb.23:
	mov	x0, x28
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_24:
Lloh19:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w28, w8
LBB0_25:
	cbz	w28, LBB0_27
; %bb.26:
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	b	LBB0_22
LBB0_27:
	mov	w27, #1808
	movk	w27, #16, lsl #16
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #150
	b.gt	LBB0_30
; %bb.28:
	ldr	x8, [x21, #64]
	cbnz	x8, LBB0_30
; %bb.29:
	mov	x0, x20
	mov	w1, #1808
	movk	w1, #16, lsl #16
	mov	w2, #512
	mov	w3, #0
	bl	_ram_mask
LBB0_30:
	sub	w1, w27, #1296
	mov	x0, x20
	str	w1, [sp, #36]                   ; 4-byte Folded Spill
	mov	w2, #2048
	mov	w3, #0
	bl	_ram_mask
	mov	x0, x20
	bl	_ram_wait_vblank
	add	w8, w27, #1296, lsl #12         ; =5308416
	add	w1, w8, #2800
	mov	x0, x20
	mov	w2, #13056
	bl	_ram_wr32
	mov	x0, x20
	mov	w1, #9476
	mov	w2, #1
	bl	_ram_wr32
	mov	x0, x20
	mov	w1, #8000
	bl	_ram_nsec
	mov	x0, x20
	mov	w1, #16
	mov	w2, #0
	bl	_ram_setf
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_ram_wait
	mov	x0, x20
	mov	w1, #2000
	bl	_ram_nsec
	ldr	x8, [x21, #88]
	cbz	x8, LBB0_32
; %bb.31:
	mov	x0, x20
	mov	w1, #46
	mov	w2, #1
	bl	_nv50_ram_gpio
LBB0_32:
	sub	w25, w27, #1084
	mov	x0, x20
	mov	x1, x25
	mov	w2, #1
	bl	_ram_wr32
	sub	w26, w27, #1088
	mov	x0, x20
	mov	x1, x26
	mov	w2, #1
	bl	_ram_wr32
	mov	x0, x20
	mov	x1, x26
	mov	w2, #1
	bl	_ram_wr32
	sub	w26, w27, #1280
	mov	x0, x20
	mov	x1, x26
	mov	w2, #0
	bl	_ram_wr32
	mov	w8, #1808
	movk	w8, #16, lsl #16
	sub	w27, w8, #1076
	mov	x0, x20
	mov	x1, x27
	mov	w2, #1
	bl	_ram_wr32
	add	x2, sp, #80
	mov	x0, x24
	mov	w1, #16392
	bl	_nvbios_pll_parse
	str	xzr, [sp, #88]
	tbnz	w0, #31, LBB0_39
; %bb.33:
	add	x1, sp, #80
	add	x3, sp, #56
	add	x4, sp, #52
	add	x5, sp, #48
	add	x6, sp, #44
	add	x7, sp, #40
	mov	x0, x19
	mov	x2, x23
	bl	_nv04_pll_calc
	cmp	w0, #0
	b.le	LBB0_40
LBB0_34:
	mov	w28, #29105
	movk	w28, #11, lsl #16
	mov	w8, #-2147483648
	mov	w9, #-1879048192
	cmp	w23, w28
	csel	w8, w9, w8, lt
	ldr	w9, [sp, #80]
	ldr	w10, [sp, #40]
	orr	w8, w8, w9, lsl #19
	orr	w8, w8, w10, lsl #22
	orr	w24, w8, w10, lsl #16
	mov	x0, x20
	mov	w1, #49216
	mov	w2, #-1073692672
	mov	w3, #49152
	bl	_ram_mask
	ldr	w8, [x21, #36]
	mov	w3, #512
	bfi	w3, w8, #14, #18
	mov	x0, x20
	mov	w1, #16392
	mov	w2, #16896
	bl	_ram_mask
	ldp	w9, w8, [sp, #52]
	orr	w3, w9, w8, lsl #8
	mov	x0, x20
	mov	w1, #16396
	mov	w2, #65535
	bl	_ram_mask
	mov	x0, x20
	mov	w1, #16392
	mov	w2, #-1845559296
	mov	x3, x24
	bl	_ram_mask
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #146
	b.lt	LBB0_36
; %bb.35:
	cmp	w23, w28
	cset	w8, lt
	lsl	w2, w8, #4
	mov	w8, #1808
	movk	w8, #16, lsl #16
	add	w1, w8, #1680
	mov	x0, x20
	bl	_ram_wr32
LBB0_36:
	ldr	w8, [x21, #136]
	cmp	w8, #0
	cset	w2, eq
	mov	x0, x20
	mov	w1, #24
	bl	_nv50_ram_gpio
	mov	x0, x20
	mov	w1, #64000
	bl	_ram_nsec
	mov	x0, x20
	mov	w1, #32000
	bl	_ram_nsec
	mov	x0, x20
	mov	w1, #16392
	mov	w2, #8704
	mov	w3, #8192
	bl	_ram_mask
	mov	x0, x20
	mov	x1, x27
	mov	w2, #0
	bl	_ram_wr32
	mov	x0, x20
	mov	x1, x25
	mov	w2, #1
	bl	_ram_wr32
	mov	x0, x20
	mov	x1, x26
	mov	w2, #-2147483648
	bl	_ram_wr32
	mov	x0, x20
	mov	w1, #12000
	bl	_ram_nsec
	ldr	w8, [x21, #8]
	cmp	w8, #128
	b.eq	LBB0_41
; %bb.37:
	cmp	w8, #129
	mov	w26, #1808
	movk	w26, #16, lsl #16
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	b.ne	LBB0_42
; %bb.38:
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ram_nuke
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_ram_mask
	b	LBB0_42
LBB0_39:
	mov	x28, x0
	b	LBB0_22
LBB0_40:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, #0
	b.gt	LBB0_21
	b	LBB0_34
LBB0_41:
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_ram_nuke
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	ldr	x8, [x21]
	ldr	w2, [x8, #4]
	mov	x0, x20
	bl	_ram_wr32
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ram_nuke
	ldr	x8, [x22]
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ram_wr32
	mov	w26, #1808
	movk	w26, #16, lsl #16
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
LBB0_42:
	ldr	w1, [sp, #112]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #104]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #124]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #128]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #132]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #100]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #108]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #116]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	w1, [sp, #120]
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x1
	bl	_ram_mask
	ldr	x8, [x21, #64]
	cbnz	x8, LBB0_44
; %bb.43:
	sub	w1, w26, #1268
	mov	x0, x20
	mov	w2, #65536
	mov	w3, #0
	bl	_ram_mask
LBB0_44:
	ldr	w8, [x21, #140]
	cmp	w8, #0
	cset	w8, eq
	lsl	w3, w8, #12
	mov	x0, x20
	mov	x1, x27
	mov	w2, #4096
	bl	_ram_mask
	mov	x0, x20
	mov	w1, #1808
	movk	w1, #16, lsl #16
	bl	_ram_rd32
	mov	x23, x0
	add	w1, w26, #4
	mov	x0, x20
	bl	_ram_rd32
	mov	x24, x0
	add	w1, w26, #8
	mov	x0, x20
	bl	_ram_rd32
	and	w25, w0, #0xfffffeff
	add	w1, w26, #12
	mov	x0, x20
	bl	_ram_rd32
	and	w8, w0, #0xfffffeff
	ldr	x9, [x19]
	ldr	w9, [x9]
	cmp	w9, #150
	b.gt	LBB0_46
; %bb.45:
	mov	w9, #-367
	and	w10, w23, w9
	mov	w9, #65247
	movk	w9, #4095, lsl #16
	and	w11, w24, w9
	ldr	w9, [x21, #120]
	orr	w12, w10, #0x60
	cmp	w9, #0
	csel	w12, w12, w10, eq
	ldr	w10, [x21, #136]
	orr	w13, w11, #0x100
	cmp	w10, #0
	csel	w10, w13, w11, eq
	ldr	x11, [x21, #112]
	orr	w13, w12, #0xe
	cmp	x11, #0
	csel	w12, w12, w13, eq
	b	LBB0_47
LBB0_46:
	mov	w9, #65247
	movk	w9, #4095, lsl #16
	orr	w9, w9, #0x100
	and	w10, w24, w9
	mov	w9, #-258
	and	w11, w23, w9
	ldr	w9, [x21, #120]
	cmp	w9, #0
	cset	w12, eq
	orr	w12, w11, w12
	ldr	x11, [x21, #112]
LBB0_47:
	ldr	x13, [x21, #128]
	cmp	x13, #0
	cset	w13, ne
	orr	w23, w8, w13, lsl #8
	ldr	x8, [x21, #64]
	orr	w13, w12, #0x100
	cmp	x8, #0
	csel	w24, w12, w13, eq
	orr	w8, w10, #0x20
	cmp	w9, #0
	csel	w8, w8, w10, eq
	orr	w9, w8, #0x70000000
	cmp	x11, #0
	csel	w3, w8, w9, eq
	ldr	x8, [x21, #104]
	cmp	x8, #0
	cset	w8, ne
	orr	w25, w25, w8, lsl #8
	add	w1, w26, #4
	mov	x0, x20
	mov	w2, #-1
	bl	_ram_mask
	add	w1, w26, #12
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x23
	bl	_ram_mask
	add	w1, w26, #8
	mov	x0, x20
	mov	w2, #-1
	mov	x3, x25
	bl	_ram_mask
	mov	x0, x20
	mov	w1, #1808
	movk	w1, #16, lsl #16
	mov	w2, #-1
	mov	x3, x24
	bl	_ram_mask
	ldr	x8, [x21, #96]
	cbz	x8, LBB0_49
; %bb.48:
	ldp	w8, w9, [x21, #40]
	lsl	w9, w9, #8
	orr	w8, w9, w8, lsl #16
	ldr	w9, [x21, #48]
	orr	w2, w8, w9
	sub	w1, w26, #368
	mov	x0, x20
	bl	_ram_wr32
	ldp	w8, w9, [x21, #52]
	orr	w2, w9, w8, lsl #8
	sub	w1, w26, #364
	mov	x0, x20
	bl	_ram_wr32
	mov	w3, #0
	b	LBB0_50
LBB0_49:
	mov	w3, #4096
LBB0_50:
	sub	w1, w26, #468
	mov	x0, x20
	mov	w2, #4096
	bl	_ram_mask
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	ldr	x8, [x21]
	ldr	w3, [x8, #4]
	mov	x0, x20
	mov	w2, #-1
	bl	_ram_mask
	ldr	x8, [x21, #88]
	cbnz	x8, LBB0_52
; %bb.51:
	mov	x0, x20
	mov	w1, #46
	mov	w2, #0
	bl	_nv50_ram_gpio
LBB0_52:
	ldr	w8, [x21, #80]
	cbnz	w8, LBB0_54
; %bb.53:
	mov	x0, x20
	bl	_nvkm_sddr2_dll_reset
LBB0_54:
	mov	x0, x20
	mov	w1, #16
	mov	w2, #1
	bl	_ram_setf
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_ram_wait
	add	w8, w26, #1296, lsl #12         ; =5308416
	add	w1, w8, #2800
	mov	x0, x20
	mov	w2, #13104
	bl	_ram_wr32
	mov	x0, x20
	mov	w1, #9476
	mov	w2, #0
	bl	_ram_wr32
	ldr	x8, [x21, #72]
	cbz	x8, LBB0_56
; %bb.55:
	mov	x0, x20
	mov	x1, x27
	mov	w2, #2048
	mov	w3, #2048
	bl	_ram_mask
LBB0_56:
	ldr	w8, [x21, #36]
	cbnz	w8, LBB0_58
; %bb.57:
	mov	x0, x20
	mov	w1, #16392
	mov	w2, #16384
	mov	w3, #0
	bl	_ram_mask
LBB0_58:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_60
; %bb.59:
	sub	w1, w26, #1268
	mov	x0, x20
	mov	w2, #65536
	mov	w3, #65536
	bl	_ram_mask
LBB0_60:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #150
	b.gt	LBB0_63
; %bb.61:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_63
; %bb.62:
	mov	x0, x20
	mov	w1, #1808
	movk	w1, #16, lsl #16
	mov	w2, #512
	mov	w3, #512
	bl	_ram_mask
LBB0_63:
	mov	w28, #0
	b	LBB0_22
LBB0_64:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid/missing perftab entry\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid ramcfg strap\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid/missing rammap entry "

l_.str.3:                               ; @.str.3
	.asciz	"invalid/missing timing entry %02x %04x %02x %02x\n"

	.comm	_mr,8,3                         ; @mr
	.comm	_ENOSYS,4,2                     ; @ENOSYS
l_.str.4:                               ; @.str.4
	.asciz	"Could not calculate MR\n"

	.no_dead_strip	_nv50_ram_calc
.subsections_via_symbols
