	.file	"extr_videotoolboxenc.c_get_cv_color_primaries.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Color primaries %s is not supported.\n"
	.text
	.p2align 4
	.type	get_cv_color_primaries, @function
get_cv_color_primaries:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	cmp	edi, 129
	je	.L2
	cmp	edi, 130
	je	.L3
	cmp	edi, 128
	je	.L8
	call	av_color_primaries_name@PLT
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	mov	ecx, eax
	call	av_log@PLT
	mov	QWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR kCVImageBufferColorPrimaries_ITU_R_709_2[rip]
	mov	QWORD PTR [rsi], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	QWORD PTR [rsi], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR compat_keys[rip]
	mov	QWORD PTR [rsi], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_cv_color_primaries, .-get_cv_color_primaries
	.comm	kCVImageBufferColorPrimaries_ITU_R_709_2,8,8
	.comm	compat_keys,8,8
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_videotoolboxenc.c_get_cv_color_primaries.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Color primaries %s is not supported.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_cv_color_primaries, %function
get_cv_color_primaries:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	cmp	r0, #129
	beq	.L2
	cmp	r0, #130
	beq	.L3
	cmp	r0, #128
	beq	.L8
	ldr	r3, .L9
	ldr	r6, [r3]
	bl	av_color_primaries_name
	mov	r1, r6
	mov	r3, r0
	ldr	r2, .L9+4
	mov	r0, r4
	bl	av_log
	mov	r3, #0
	mvn	r0, #0
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L9+8
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r1]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, #0
	str	r0, [r1]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L9+12
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r1]
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	kCVImageBufferColorPrimaries_ITU_R_709_2
	.word	compat_keys
	.size	get_cv_color_primaries, .-get_cv_color_primaries
	.comm	kCVImageBufferColorPrimaries_ITU_R_709_2,4,4
	.comm	compat_keys,4,4
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
