	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_gem_info_ioctl          ## -- Begin function radeon_gem_info_ioctl
	.p2align	4, 0x90
_radeon_gem_info_ioctl:                 ## @radeon_gem_info_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	24(%rax), %rcx
	movq	_TTM_PL_VRAM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,8), %edx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	%edx, (%rsi)
	movl	12(%rax), %ecx
	subl	16(%rax), %ecx
	movl	%ecx, 8(%rsi)
	movl	8(%rax), %ecx
	subl	(%rax), %ecx
	movl	%ecx, 4(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTM_PL_VRAM,8,3                ## @TTM_PL_VRAM
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_gem_info_ioctl          ; -- Begin function radeon_gem_info_ioctl
	.p2align	2
_radeon_gem_info_ioctl:                 ; @radeon_gem_info_ioctl
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TTM_PL_VRAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TTM_PL_VRAM@GOTPAGEOFF]
	ldr	x10, [x8, #24]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
Lloh3:
	adrp	x10, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	ldp	w11, w10, [x8, #12]
	ldr	w12, [x8, #8]
	sub	w10, w11, w10
	str	w10, [x1, #8]
	ldr	w8, [x8]
	sub	w8, w12, w8
	stp	w9, w8, [x1]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTM_PL_VRAM,8,3                ; @TTM_PL_VRAM
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
.subsections_via_symbols
