	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_vram_gtt_location           ## -- Begin function si_vram_gtt_location
	.p2align	4, 0x90
_si_vram_gtt_location:                  ## @si_vram_gtt_location
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$0, (%rsi)
	jns	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movabsq	$-4611686015206162432, %rax     ## imm = 0xC0000000C0000000
	movq	%rax, (%r14)
LBB0_2:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_radeon_vram_location
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_radeon_gtt_location            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"limiting VRAM\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_vram_gtt_location           ; -- Begin function si_vram_gtt_location
	.p2align	2
_si_vram_gtt_location:                  ; @si_vram_gtt_location
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	tbz	w8, #31, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	movi.2s	v0, #192, lsl #24
	str	d0, [x19]
LBB0_2:
	mov	x0, x20
	mov	x1, x20
	mov	w2, #0
	bl	_radeon_vram_location
	str	xzr, [x20]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_radeon_gtt_location
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"limiting VRAM\n"

.subsections_via_symbols
