	.file	"extr_cmspack.c_UnrollLabFloatTo16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	UnrollLabFloatTo16, @function
UnrollLabFloatTo16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	T_PLANAR@PLT
	test	rax, rax
	je	.L2
	mov	rdx, QWORD PTR [rbx]
	movsx	r8, ebp
	mov	rsi, r14
	mov	edi, r13d
	lea	rax, [rbx+r8*4]
	mov	QWORD PTR 16[rsp], rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax+r8*4]
	mov	QWORD PTR 8[rsp], rdx
	mov	rdx, rsp
	mov	QWORD PTR [rsp], rax
	call	cmsFloat2LabEncoded@PLT
	lea	rax, 32[rbx]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdx, rsp
	mov	rsi, r14
	mov	edi, r13d
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR [rsp], rax
	call	cmsFloat2LabEncoded@PLT
	mov	edi, DWORD PTR [r12]
	call	T_EXTRA@PLT
	add	eax, 3
	cdqe
	sal	rax, 5
	add	rax, rbx
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	UnrollLabFloatTo16, .-UnrollLabFloatTo16
	.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_cmspack.c_UnrollLabFloatTo16.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UnrollLabFloatTo16, %function
UnrollLabFloatTo16:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	ldr	r3, .L8
	sub	sp, sp, #16
	mov	r5, r0
	ldr	r0, [r1]
	mov	r8, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r7, [sp, #40]
	bl	T_PLANAR
	cmp	r0, #0
	beq	.L2
	ldr	r2, [r4]
	ldr	ip, [r4, r7, lsl #2]
	ldr	r3, [r4, r7, lsl #3]
	str	r2, [sp, #8]
	mov	r1, r6
	mov	r0, r5
	mov	r2, sp
	stm	sp, {r3, ip}
	bl	cmsFloat2LabEncoded
	add	r0, r4, #16
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	str	r3, [sp, #8]
	ldr	r3, [r4, #8]
	mov	r1, r6
	str	r2, [sp, #4]
	mov	r0, r5
	mov	r2, sp
	str	r3, [sp]
	bl	cmsFloat2LabEncoded
	ldr	r0, [r8]
	bl	T_EXTRA
	add	r0, r0, #3
	add	r0, r4, r0, lsl #4
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	UnrollLabFloatTo16, .-UnrollLabFloatTo16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
