	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_videobuf_vmalloc_free          ## -- Begin function videobuf_vmalloc_free
	.p2align	4, 0x90
_videobuf_vmalloc_free:                 ## @videobuf_vmalloc_free
	.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	(%rdi), %rax
	movq	_V4L2_MEMORY_USERPTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	movq	_MAGIC_VMAL_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MAGIC_CHECK
	movq	(%rbx), %rdi
	callq	_vfree
	movq	$0, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_MEMORY_USERPTR,8,3        ## @V4L2_MEMORY_USERPTR
	.comm	_MAGIC_VMAL_MEM,4,2             ## @MAGIC_VMAL_MEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_videobuf_vmalloc_free          ; -- Begin function videobuf_vmalloc_free
	.p2align	2
_videobuf_vmalloc_free:                 ; @videobuf_vmalloc_free
	.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, [x0]
Lloh0:
	adrp	x9, _V4L2_MEMORY_USERPTR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_MEMORY_USERPTR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldp	x8, x19, [x0, #8]
	cmp	x8, #0
	ccmp	x19, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _MAGIC_VMAL_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAGIC_VMAL_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MAGIC_CHECK
	ldr	x0, [x19]
	bl	_vfree
	str	xzr, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_MEMORY_USERPTR,8,3        ; @V4L2_MEMORY_USERPTR
	.comm	_MAGIC_VMAL_MEM,4,2             ; @MAGIC_VMAL_MEM
.subsections_via_symbols
