	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfc4175_parse_format
_rfc4175_parse_format:                  ## @rfc4175_parse_format
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	24(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	movl	$11, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_1:
	movl	$85, %edi
	movl	$89, %esi
	movl	$86, %edx
	movl	$89, %ecx
	callq	_MKTAG
	movl	$2, (%rbx)
	movl	4(%rbx), %ecx
	cmpl	$8, %ecx
	je	LBB0_2
## %bb.3:
	cmpl	$10, %ecx
	jne	LBB0_7
## %bb.4:
	movl	$20, %edx
	movq	_AV_PIX_FMT_YUV422P10@GOTPCREL(%rip), %rsi
	movl	$5, %ecx
	jmp	LBB0_5
LBB0_2:
	movl	$16, %edx
	movq	_AV_PIX_FMT_UYVY422@GOTPCREL(%rip), %rsi
	movl	$4, %ecx
LBB0_5:
	movl	%ecx, 8(%rbx)
	movl	(%rsi), %esi
	movq	(%r14), %rdi
	movl	%esi, (%rdi)
	movl	%eax, 4(%rdi)
	movl	%edx, 8(%rdi)
	movl	20(%rbx), %eax
	imull	16(%rbx), %eax
	imull	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 12(%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"YCbCr-4:2:2"

	.comm	_AV_PIX_FMT_UYVY422,4,2         ## @AV_PIX_FMT_UYVY422
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ## @AV_PIX_FMT_YUV422P10
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_rfc4175_parse_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfc4175_parse_format
_rfc4175_parse_format:                  ; @rfc4175_parse_format
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #11
	bl	_strncmp
	cbz	w0, LBB0_2
LBB0_1:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_2:
	mov	w0, #85
	mov	w1, #89
	mov	w2, #86
	mov	w3, #89
	bl	_MKTAG
	mov	w8, #2
	str	w8, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #10
	b.ne	LBB0_1
; %bb.4:
	mov	w9, #20
Lloh5:
	adrp	x11, _AV_PIX_FMT_YUV422P10@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AV_PIX_FMT_YUV422P10@GOTPAGEOFF]
	mov	w10, #5
	b	LBB0_6
LBB0_5:
	mov	w9, #16
Lloh7:
	adrp	x11, _AV_PIX_FMT_UYVY422@GOTPAGE
Lloh8:
	ldr	x11, [x11, _AV_PIX_FMT_UYVY422@GOTPAGEOFF]
	mov	w10, #4
LBB0_6:
	mov	w8, #0
	ldr	w11, [x11]
	ldr	x12, [x20]
	stp	w11, w0, [x12]
	str	w9, [x12, #8]
	ldp	w9, w11, [x19, #16]
	mul	w9, w11, w9
	mul	w9, w9, w10
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	stp	w10, w9, [x19, #8]
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"YCbCr-4:2:2"

	.comm	_AV_PIX_FMT_UYVY422,4,2         ; @AV_PIX_FMT_UYVY422
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ; @AV_PIX_FMT_YUV422P10
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_rfc4175_parse_format
.subsections_via_symbols
