	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdec_s_fmt
_vdec_s_fmt:                            ## @vdec_s_fmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	callq	_to_inst
	movq	%rax, %rbx
	movl	8(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_vdec_try_fmt_common
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	(%r15), %rax
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%r15), %r14
	movq	(%rbx), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	16(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_6:
	leaq	-104(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -104(%rbp)
	movq	%r14, -88(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -92(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_vdec_try_fmt_common
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.7:
	movl	-92(%rbp), %eax
	movl	%eax, 48(%rbx)
	movl	-96(%rbp), %eax
	movl	%eax, 44(%rbx)
	movups	32(%r15), %xmm0
	movups	%xmm0, 28(%rbx)
	movq	24(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_8:
	leaq	-104(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -104(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -88(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -92(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_vdec_try_fmt_common
	movl	-92(%rbp), %eax
	movl	%eax, 20(%rbx)
	movl	-96(%rbp), %eax
	movl	%eax, 16(%rbx)
	movq	(%r15), %rax
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	addq	$8, %rbx
	jmp	LBB0_11
LBB0_10:
	cmpq	(%r14), %rax
	jne	LBB0_12
LBB0_11:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rbx)
LBB0_12:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,8,3 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.no_dead_strip	_vdec_s_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdec_s_fmt
_vdec_s_fmt:                            ; @vdec_s_fmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	bl	_to_inst
	mov	x19, x0
	ldp	w23, w25, [x21, #8]
	mov	x1, x21
	bl	_vdec_try_fmt_common
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x24, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh2:
	adrp	x22, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x27, [x21, #16]
	ldr	x8, [x19]
	ldr	x26, [x8]
	b	LBB0_5
LBB0_2:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x26, [x21, #16]
	ldr	x8, [x19, #8]
	ldr	x27, [x8]
	b	LBB0_5
LBB0_4:
	mov	x27, #0
	mov	x26, #0
LBB0_5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x8, [x24]
	str	x8, [sp]
	str	x27, [sp, #16]
	stp	w23, w25, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	bl	_vdec_try_fmt_common
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	d0, [sp, #8]
	stur	d0, [x19, #44]
	ldr	q0, [x21, #32]
	stur	q0, [x19, #28]
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_7:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x8, [x22]
	str	x8, [sp]
	str	x26, [sp, #16]
	stp	w23, w25, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	bl	_vdec_try_fmt_common
	ldr	d0, [sp, #8]
	str	d0, [x19, #16]
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	add	x19, x19, #8
	b	LBB0_10
LBB0_9:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_10:
	str	x20, [x19]
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,8,3 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.no_dead_strip	_vdec_s_fmt
.subsections_via_symbols
