	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_vram_mgr_vis_size
_amdgpu_vram_mgr_vis_size:              ## @amdgpu_vram_mgr_vis_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rdx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rdx, %r8
	shlq	%cl, %r8
	addq	8(%rsi), %rdx
	shlq	%cl, %rdx
	movq	(%rdi), %rcx
	cmpq	%rcx, %rdx
	cmovgeq	%rcx, %rdx
	subq	%r8, %rdx
	xorl	%eax, %eax
	cmpq	%rcx, %r8
	cmovlq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.no_dead_strip	_amdgpu_vram_mgr_vis_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_vram_mgr_vis_size
_amdgpu_vram_mgr_vis_size:              ; @amdgpu_vram_mgr_vis_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x1]
	lsl	x11, x9, x8
	add	x9, x10, x9
	lsl	x8, x9, x8
	ldr	x9, [x0]
	cmp	x8, x9
	csel	x8, x8, x9, lt
	sub	x8, x8, x11
	cmp	x11, x9
	csel	x0, x8, xzr, lt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.no_dead_strip	_amdgpu_vram_mgr_vis_size
.subsections_via_symbols
