	.file	"extr_color_gamma.c_build_hlg_degamma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	build_hlg_degamma, @function
build_hlg_degamma:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	rsi, -1
	je	.L9
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 1[rsi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [r15+rbp*4]
	mov	rsi, rbx
	mov	rcx, r14
	mov	rdx, r13
	add	rbp, 1
	add	rbx, 12
	call	compute_hlg_eotf@PLT
	mov	eax, DWORD PTR -12[rbx]
	mov	DWORD PTR -4[rbx], eax
	mov	DWORD PTR -8[rbx], eax
	cmp	r12, rbp
	jne	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	build_hlg_degamma, .-build_hlg_degamma
	.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_color_gamma.c_build_hlg_degamma.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_hlg_degamma, %function
build_hlg_degamma:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmn	r1, #1
	ldr	r8, [sp, #32]
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, r0
	mov	r9, r3
	mov	r5, #0
	sub	r6, r2, #4
	add	r7, r1, #1
.L3:
	mov	r1, r4
	mov	r3, r8
	mov	r2, r9
	ldr	r0, [r6, #4]!
	bl	compute_hlg_eotf
	add	r5, r5, #1
	ldr	r1, [r4]
	cmp	r5, r7
	str	r1, [r4, #8]
	str	r1, [r4, #4]
	add	r4, r4, #12
	bne	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	build_hlg_degamma, .-build_hlg_degamma
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
