	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmap_udmabuf
_mmap_udmabuf:                          ## @mmap_udmabuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VM_SHARED@GOTPCREL(%rip), %rax
	movq	_VM_MAYSHARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	_udmabuf_vm_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rsi)
	movq	%rax, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_SHARED,4,2                  ## @VM_SHARED
	.comm	_VM_MAYSHARE,4,2                ## @VM_MAYSHARE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_udmabuf_vm_ops,4,2             ## @udmabuf_vm_ops
	.no_dead_strip	_mmap_udmabuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmap_udmabuf
_mmap_udmabuf:                          ; @mmap_udmabuf
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x10, _VM_SHARED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VM_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _VM_MAYSHARE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _VM_MAYSHARE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _udmabuf_vm_ops@GOTPAGE
Lloh7:
	ldr	x9, [x9, _udmabuf_vm_ops@GOTPAGEOFF]
	stp	x8, x9, [x1, #8]
	ret
LBB0_2:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_SHARED,4,2                  ; @VM_SHARED
	.comm	_VM_MAYSHARE,4,2                ; @VM_MAYSHARE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_udmabuf_vm_ops,4,2             ; @udmabuf_vm_ops
	.no_dead_strip	_mmap_udmabuf
.subsections_via_symbols
