	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpu_free_ext_mem
_vpu_free_ext_mem:                      ## @vpu_free_ext_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movq	8(%rdi), %rdi
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_VPU_EXT_P_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VPU_EXT_D_SIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,8), %ecx
	movl	4(%rdx,%rsi,8), %edx
	movq	%rax, %rsi
	popq	%rbp
	jmp	_dma_free_coherent              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPU_EXT_D_SIZE,8,3             ## @VPU_EXT_D_SIZE
	.comm	_VPU_EXT_P_SIZE,8,3             ## @VPU_EXT_P_SIZE
	.no_dead_strip	_vpu_free_ext_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpu_free_ext_mem
_vpu_free_ext_mem:                      ; @vpu_free_ext_mem
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VPU_EXT_D_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPU_EXT_D_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _VPU_EXT_P_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VPU_EXT_P_SIZE@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	ldp	x10, x9, [x0]
	add	x10, x10, w1, sxtw #3
	ldp	w3, w2, [x10]
	mov	x0, x9
	mov	x1, x8
	b	_dma_free_coherent
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VPU_EXT_D_SIZE,8,3             ; @VPU_EXT_D_SIZE
	.comm	_VPU_EXT_P_SIZE,8,3             ; @VPU_EXT_P_SIZE
	.no_dead_strip	_vpu_free_ext_mem
.subsections_via_symbols
