	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_gem_prime_import        ## -- Begin function amdgpu_gem_prime_import
	.p2align	4, 0x90
_amdgpu_gem_prime_import:               ## @amdgpu_gem_prime_import
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rsi), %rax
	cmpq	_amdgpu_dmabuf_ops@GOTPCREL(%rip), %rax
	jne	LBB0_3
## %bb.1:
	movq	(%rsi), %rbx
	cmpq	%rdi, (%rbx)
	je	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_drm_gem_prime_import           ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_drm_gem_object_get
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amdgpu_dmabuf_ops,4,2          ## @amdgpu_dmabuf_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_gem_prime_import        ; -- Begin function amdgpu_gem_prime_import
	.p2align	2
_amdgpu_gem_prime_import:               ; @amdgpu_gem_prime_import
	.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
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _amdgpu_dmabuf_ops@GOTPAGE
Lloh1:
	ldr	x9, [x9, _amdgpu_dmabuf_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x19, [x1]
	ldr	x8, [x19]
	cmp	x8, x0
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_gem_prime_import
LBB0_3:
	mov	x0, x19
	bl	_drm_gem_object_get
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_amdgpu_dmabuf_ops,4,2          ; @amdgpu_dmabuf_ops
.subsections_via_symbols
