	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_try_fmt_vid_cap_mplane
_vidioc_try_fmt_vid_cap_mplane:         ## @vidioc_try_fmt_vid_cap_mplane
	.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	%rdx, %rbx
	movq	%rdx, %rdi
	callq	_mtk_vdec_find_format
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_mtk_video_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CAP_FMT_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_mtk_vdec_find_format
LBB0_2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vidioc_try_fmt                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mtk_video_formats,8,3          ## @mtk_video_formats
	.comm	_CAP_FMT_IDX,8,3                ## @CAP_FMT_IDX
	.no_dead_strip	_vidioc_try_fmt_vid_cap_mplane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_try_fmt_vid_cap_mplane
_vidioc_try_fmt_vid_cap_mplane:         ; @vidioc_try_fmt_vid_cap_mplane
	.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
	mov	x19, x2
	mov	x0, x2
	bl	_mtk_vdec_find_format
	mov	x1, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _mtk_video_formats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mtk_video_formats@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CAP_FMT_IDX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAP_FMT_IDX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19]
	mov	x0, x19
	bl	_mtk_vdec_find_format
	mov	x1, x0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vidioc_try_fmt
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mtk_video_formats,8,3          ; @mtk_video_formats
	.comm	_CAP_FMT_IDX,8,3                ; @CAP_FMT_IDX
	.no_dead_strip	_vidioc_try_fmt_vid_cap_mplane
.subsections_via_symbols
