	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_yuv_type
_parse_yuv_type:                        ## @parse_yuv_type
	.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
	movl	%esi, %r14d
	testq	%rdi, %rdi
	leaq	L_.str(%rip), %rbx
	cmovneq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_AVCOL_SPC_BT709@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_AVCOL_SPC_FCC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_AVCOL_SPC_SMPTE240M@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	_AVCOL_SPC_BT470BG@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r14d
LBB0_13:
	leal	-11(%r14), %eax
	cmpl	$-10, %eax
	movq	_AVCOL_SPC_BT470BG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %edi
	cmovbl	%eax, %edi
	cmpl	$8, %r14d
	cmovel	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sws_getCoefficients            ## TAILCALL
LBB0_10:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_AVCOL_SPC_BT2020_NCL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bt601"

L_.str.1:                               ## @.str.1
	.asciz	"bt709"

	.comm	_AVCOL_SPC_BT709,4,2            ## @AVCOL_SPC_BT709
L_.str.2:                               ## @.str.2
	.asciz	"fcc"

	.comm	_AVCOL_SPC_FCC,4,2              ## @AVCOL_SPC_FCC
L_.str.3:                               ## @.str.3
	.asciz	"smpte240m"

	.comm	_AVCOL_SPC_SMPTE240M,4,2        ## @AVCOL_SPC_SMPTE240M
L_.str.4:                               ## @.str.4
	.asciz	"bt470"

L_.str.5:                               ## @.str.5
	.asciz	"smpte170m"

	.comm	_AVCOL_SPC_BT470BG,4,2          ## @AVCOL_SPC_BT470BG
L_.str.6:                               ## @.str.6
	.asciz	"bt2020"

	.comm	_AVCOL_SPC_BT2020_NCL,4,2       ## @AVCOL_SPC_BT2020_NCL
	.no_dead_strip	_parse_yuv_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_yuv_type
_parse_yuv_type:                        ; @parse_yuv_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x20, x8, x0, eq
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strstr
Lloh4:
	adrp	x21, _AVCOL_SPC_BT470BG@GOTPAGE
Lloh5:
	ldr	x21, [x21, _AVCOL_SPC_BT470BG@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AVCOL_SPC_BT709@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVCOL_SPC_BT709@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_2:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _AVCOL_SPC_FCC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVCOL_SPC_FCC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_4:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _AVCOL_SPC_SMPTE240M@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVCOL_SPC_SMPTE240M@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_6:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_9
; %bb.7:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_9
; %bb.8:
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_11
LBB0_9:
	ldr	w8, [x21]
LBB0_10:
	sub	w9, w8, #11
	cmn	w9, #10
	ccmp	w8, #8, #4, hs
	ldr	w9, [x21]
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sws_getCoefficients
LBB0_11:
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_strstr
Lloh27:
	adrp	x8, _AVCOL_SPC_BT2020_NCL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AVCOL_SPC_BT2020_NCL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w19, w8, eq
	b	LBB0_10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bt601"

l_.str.1:                               ; @.str.1
	.asciz	"bt709"

	.comm	_AVCOL_SPC_BT709,4,2            ; @AVCOL_SPC_BT709
l_.str.2:                               ; @.str.2
	.asciz	"fcc"

	.comm	_AVCOL_SPC_FCC,4,2              ; @AVCOL_SPC_FCC
l_.str.3:                               ; @.str.3
	.asciz	"smpte240m"

	.comm	_AVCOL_SPC_SMPTE240M,4,2        ; @AVCOL_SPC_SMPTE240M
l_.str.4:                               ; @.str.4
	.asciz	"bt470"

l_.str.5:                               ; @.str.5
	.asciz	"smpte170m"

	.comm	_AVCOL_SPC_BT470BG,4,2          ; @AVCOL_SPC_BT470BG
l_.str.6:                               ; @.str.6
	.asciz	"bt2020"

	.comm	_AVCOL_SPC_BT2020_NCL,4,2       ; @AVCOL_SPC_BT2020_NCL
	.no_dead_strip	_parse_yuv_type
.subsections_via_symbols
