	.file	"extr_libmp4mux.c_GetColrBox.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nclc"
.LC1:
	.string	"nclx"
.LC2:
	.string	"colr"
	.text
	.p2align 4
	.type	GetColrBox, @function
GetColrBox:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	lea	rdi, .LC2[rip]
	call	box_new@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	test	ebp, ebp
	lea	rax, .LC1[rip]
	mov	esi, 4
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	cmove	rdx, rax
	call	bo_add_mem@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	vlc_primaries_to_iso_23001_8_cp@PLT
	mov	rdi, r12
	mov	esi, eax
	call	bo_add_16be@PLT
	mov	edi, DWORD PTR 12[rbx]
	call	vlc_xfer_to_iso_23001_8_tc@PLT
	mov	rdi, r12
	mov	esi, eax
	call	bo_add_16be@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	vlc_coeffs_to_iso_23001_8_mc@PLT
	mov	rdi, r12
	mov	esi, eax
	call	bo_add_16be@PLT
	xor	esi, esi
	mov	rax, QWORD PTR COLOR_RANGE_FULL[rip]
	cmp	QWORD PTR [rbx], rax
	sete	sil
	mov	rdi, r12
	sal	esi, 7
	call	bo_add_8@PLT
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	GetColrBox, .-GetColrBox
	.comm	COLOR_RANGE_FULL,8,8
	.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_libmp4mux.c_GetColrBox.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nclc\000"
	.align	2
.LC1:
	.ascii	"nclx\000"
	.align	2
.LC2:
	.ascii	"colr\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetColrBox, %function
GetColrBox:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r0, .L12
	mov	r5, r1
	bl	box_new
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, .L12+4
	cmp	r5, #0
	ldr	r2, .L12+8
	mov	r1, #4
	moveq	r2, r3
	bl	bo_add_mem
	ldr	r0, [r6, #12]
	bl	vlc_primaries_to_iso_23001_8_cp
	mov	r1, r0
	mov	r0, r4
	bl	bo_add_16be
	ldr	r0, [r6, #8]
	bl	vlc_xfer_to_iso_23001_8_tc
	mov	r1, r0
	mov	r0, r4
	bl	bo_add_16be
	ldr	r0, [r6, #4]
	bl	vlc_coeffs_to_iso_23001_8_mc
	mov	r1, r0
	mov	r0, r4
	bl	bo_add_16be
	ldr	r3, .L12+12
	ldr	r1, [r6]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r1, r3
	moveq	r1, #128
	movne	r1, #0
	bl	bo_add_8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	COLOR_RANGE_FULL
	.size	GetColrBox, .-GetColrBox
	.comm	COLOR_RANGE_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
