	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_file_to_fpriv           ## -- Begin function amdgpu_file_to_fpriv
	.p2align	4, 0x90
_amdgpu_file_to_fpriv:                  ## @amdgpu_file_to_fpriv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	cmpq	_amdgpu_driver_kms_fops@GOTPCREL(%rip), %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_amdgpu_driver_kms_fops,4,2     ## @amdgpu_driver_kms_fops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_file_to_fpriv           ; -- Begin function amdgpu_file_to_fpriv
	.p2align	2
_amdgpu_file_to_fpriv:                  ; @amdgpu_file_to_fpriv
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _amdgpu_driver_kms_fops@GOTPAGE
Lloh1:
	ldr	x10, [x10, _amdgpu_driver_kms_fops@GOTPAGEOFF]
	cmp	x9, x10
	b.eq	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	mov	w0, #0
	ldr	x8, [x8]
	ldr	x8, [x8]
	str	x8, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_amdgpu_driver_kms_fops,4,2     ; @amdgpu_driver_kms_fops
.subsections_via_symbols
