	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_try_fmt_vid_out
_vidioc_try_fmt_vid_out:                ## @vidioc_try_fmt_vid_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_file2ctx
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_20
## %bb.2:
	movq	_multiplanar@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.3:
	cmpl	$0, 4(%r14)
	je	LBB0_5
## %bb.4:
	movq	32(%rbx), %rdi
	callq	_find_fmt
	jmp	LBB0_8
LBB0_10:
	movq	_multiplanar@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.11:
	cmpl	$0, 4(%r14)
	je	LBB0_13
## %bb.12:
	movq	16(%rbx), %rdi
	callq	_find_fmt
	jmp	LBB0_16
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	cmpl	$0, (%r14)
	je	LBB0_15
## %bb.14:
	movq	_V4L2_PIX_FMT_FWHT_STATELESS@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_5:
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.6:
	movq	_V4L2_PIX_FMT_FWHT_STATELESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_15:
	movq	_V4L2_PIX_FMT_FWHT@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_19
## %bb.17:
	leaq	8(%rbx), %rax
	jmp	LBB0_18
LBB0_7:
	movq	_V4L2_PIX_FMT_FWHT@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	cmpq	$0, 24(%rbx)
	jne	LBB0_19
## %bb.9:
	leaq	24(%rbx), %rax
LBB0_18:
	movq	_V4L2_COLORSPACE_REC709@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vidioc_try_fmt                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_multiplanar,4,2                ## @multiplanar
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_PIX_FMT_FWHT_STATELESS,8,3 ## @V4L2_PIX_FMT_FWHT_STATELESS
	.comm	_V4L2_PIX_FMT_FWHT,8,3          ## @V4L2_PIX_FMT_FWHT
	.comm	_V4L2_COLORSPACE_REC709,8,3     ## @V4L2_COLORSPACE_REC709
	.no_dead_strip	_vidioc_try_fmt_vid_out
.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_out
_vidioc_try_fmt_vid_out:                ; @vidioc_try_fmt_vid_out
	.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
	bl	_file2ctx
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _multiplanar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _multiplanar@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.3:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_11
; %bb.4:
	ldr	x0, [x19, #32]
	bl	_find_fmt
	ldr	x8, [x0]
	b	LBB0_20
LBB0_5:
Lloh3:
	adrp	x8, _multiplanar@GOTPAGE
Lloh4:
	ldr	x8, [x8, _multiplanar@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.6:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_9
; %bb.7:
	ldr	x0, [x19, #16]
	bl	_find_fmt
	ldr	x8, [x0]
	b	LBB0_15
LBB0_8:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w8, [x20]
	cbz	w8, LBB0_13
; %bb.10:
Lloh9:
	adrp	x8, _V4L2_PIX_FMT_FWHT_STATELESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_PIX_FMT_FWHT_STATELESS@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w8, [x20]
	cbz	w8, LBB0_18
; %bb.12:
Lloh11:
	adrp	x8, _V4L2_PIX_FMT_FWHT_STATELESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_PIX_FMT_FWHT_STATELESS@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:
Lloh13:
	adrp	x8, _V4L2_PIX_FMT_FWHT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_PIX_FMT_FWHT@GOTPAGEOFF]
LBB0_14:
	ldr	x8, [x8]
LBB0_15:
	str	x8, [x19, #16]
	mov	x8, x19
	ldr	x9, [x8, #8]!
	cbnz	x9, LBB0_17
LBB0_16:
Lloh15:
	adrp	x9, _V4L2_COLORSPACE_REC709@GOTPAGE
Lloh16:
	ldr	x9, [x9, _V4L2_COLORSPACE_REC709@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vidioc_try_fmt
LBB0_18:
Lloh18:
	adrp	x8, _V4L2_PIX_FMT_FWHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_PIX_FMT_FWHT@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
LBB0_20:
	str	x8, [x19, #32]
	mov	x8, x19
	ldr	x9, [x8, #24]!
	cbnz	x9, LBB0_17
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_multiplanar,4,2                ; @multiplanar
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_PIX_FMT_FWHT_STATELESS,8,3 ; @V4L2_PIX_FMT_FWHT_STATELESS
	.comm	_V4L2_PIX_FMT_FWHT,8,3          ; @V4L2_PIX_FMT_FWHT
	.comm	_V4L2_COLORSPACE_REC709,8,3     ; @V4L2_COLORSPACE_REC709
	.no_dead_strip	_vidioc_try_fmt_vid_out
.subsections_via_symbols
