	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_drm_front_gem_prime_vmap   ## -- Begin function xen_drm_front_gem_prime_vmap
	.p2align	4, 0x90
_xen_drm_front_gem_prime_vmap:          ## @xen_drm_front_gem_prime_vmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_to_xen_gem_obj
	movl	4(%rax), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	(%rax), %esi
	movq	_VM_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PAGE_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_vmap                           ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_MAP,4,2                     ## @VM_MAP
	.comm	_PAGE_KERNEL,4,2                ## @PAGE_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_drm_front_gem_prime_vmap   ; -- Begin function xen_drm_front_gem_prime_vmap
	.p2align	2
_xen_drm_front_gem_prime_vmap:          ; @xen_drm_front_gem_prime_vmap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_to_xen_gem_obj
	mov	x8, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x8]
Lloh0:
	adrp	x8, _VM_MAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_MAP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PAGE_KERNEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PAGE_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	ldr	w3, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_vmap
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_MAP,4,2                     ; @VM_MAP
	.comm	_PAGE_KERNEL,4,2                ; @PAGE_KERNEL
.subsections_via_symbols
