	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_try_fmt
_vidioc_try_fmt:                        ## @vidioc_try_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_mfc_debug
	movq	(%rbx), %rax
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	_MFC_FMT_DEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_find_format
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%rax), %rcx
	movq	_S5P_FIMV_CODEC_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.7:
	movq	_MFC_FMT_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_find_format
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	(%r14), %rcx
	movl	8(%rax), %eax
	testl	%eax, (%rcx)
	jne	LBB0_13
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_12
LBB0_5:
	movq	(%r14), %rcx
	movl	8(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_13
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
LBB0_12:
	callq	_mfc_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Type is %d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,8,3 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_MFC_FMT_DEC,4,2                ## @MFC_FMT_DEC
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported format for source.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_S5P_FIMV_CODEC_NONE,8,3        ## @S5P_FIMV_CODEC_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Unknown codec\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unsupported format by this MFC version.\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_MFC_FMT_RAW,4,2                ## @MFC_FMT_RAW
L_.str.4:                               ## @.str.4
	.asciz	"Unsupported format for destination.\n"

	.no_dead_strip	_vidioc_try_fmt
.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
_vidioc_try_fmt:                        ; @vidioc_try_fmt
	.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	x20, x2
	bl	_video_drvdata
	mov	x19, x0
	ldr	x2, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_mfc_debug
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _MFC_FMT_DEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MFC_FMT_DEC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_find_format
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x0]
Lloh8:
	adrp	x9, _S5P_FIMV_CODEC_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S5P_FIMV_CODEC_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_4:
Lloh13:
	adrp	x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh16:
	adrp	x8, _MFC_FMT_RAW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MFC_FMT_RAW@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_find_format
	cbz	x0, LBB0_10
LBB0_6:
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	bl	_mfc_err
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Type is %d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,8,3 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
	.comm	_MFC_FMT_DEC,4,2                ; @MFC_FMT_DEC
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported format for source.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_S5P_FIMV_CODEC_NONE,8,3        ; @S5P_FIMV_CODEC_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Unknown codec\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unsupported format by this MFC version.\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_MFC_FMT_RAW,4,2                ; @MFC_FMT_RAW
l_.str.4:                               ; @.str.4
	.asciz	"Unsupported format for destination.\n"

	.no_dead_strip	_vidioc_try_fmt
.subsections_via_symbols
