	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_venus_helper_find_buf          ## -- Begin function venus_helper_find_buf
	.p2align	4, 0x90
_venus_helper_find_buf:                 ## @venus_helper_find_buf
	.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), %rdi
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	%edx, %esi
	popq	%rbp
	jmp	_v4l2_m2m_src_buf_remove_by_idx ## TAILCALL
LBB0_2:
	movl	%edx, %esi
	popq	%rbp
	jmp	_v4l2_m2m_dst_buf_remove_by_idx ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_venus_helper_find_buf          ; -- Begin function venus_helper_find_buf
	.p2align	2
_venus_helper_find_buf:                 ; @venus_helper_find_buf
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	x1, x2
	b	_v4l2_m2m_src_buf_remove_by_idx
LBB0_2:
	mov	x1, x2
	b	_v4l2_m2m_dst_buf_remove_by_idx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
.subsections_via_symbols
