	.file	"extr_testcms2.c_Check8linearXFORM.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Differences too big (%x)"
	.text
	.p2align 4
	.type	Check8linearXFORM, @function
Check8linearXFORM:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -68[rbp], esi
	mov	DWORD PTR -76[rbp], edi
	mov	rbx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR cmsMAXCHANNELS[rip]
	mov	rcx, rax
	lea	rax, 15[0+rax*8]
	mov	rsi, rax
	mov	rdx, rax
	and	rsi, -4096
	and	rdx, -16
	sub	rbx, rsi
	mov	rsi, rbx
	cmp	rsp, rsi
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rsi
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	rdx, rax
	mov	rsi, rsp
	and	rax, -4096
	mov	r13, rsp
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L6
.L26:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L26
.L6:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L27
.L7:
	lea	eax, 0[0+rcx*8]
	mov	rdx, rsp
	xor	ebx, ebx
	xor	r15d, r15d
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	QWORD PTR -88[rbp], rdx
	sub	eax, 1
	lea	r12, 8[rdx+rax*8]
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR -72[rbp]
	mov	esi, ebx
	mov	rdi, r13
	call	memset@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	r14, QWORD PTR -88[rbp]
	mov	esi, DWORD PTR -76[rbp]
	mov	rdx, r13
	mov	edi, eax
	mov	r8d, 1
	mov	rcx, r14
	call	cmsDoTransform@PLT
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR [r14]
	sub	rdi, rbx
	call	abs@PLT
	cmp	r15d, eax
	cmovl	r15d, eax
	add	r14, 8
	cmp	r14, r12
	jne	.L9
.L8:
	add	rbx, 1
	cmp	rbx, 255
	jne	.L10
	mov	eax, 1
	cmp	r15d, 2
	jg	.L28
.L1:
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L29
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L25:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L28:
	mov	esi, r15d
	lea	rdi, .LC0[rip]
	call	Fail@PLT
	xor	eax, eax
	jmp	.L1
.L27:
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L7
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Check8linearXFORM, .-Check8linearXFORM
	.comm	cmsMAXCHANNELS,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_testcms2.c_Check8linearXFORM.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Differences too big (%x)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Check8linearXFORM, %function
Check8linearXFORM:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	add	fp, sp, #32
	sub	sp, sp, #20
	mov	r10, r0
	mov	r6, r1
	mov	r5, r4
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r3, .L14+4
	ldr	r9, [r3]
	lsl	r9, r9, #2
	add	r3, r9, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r7, sp, #8
	sub	sp, sp, r3
	add	r8, sp, #8
.L4:
	mov	r2, r9
	mov	r1, r5
	mov	r0, r7
	bl	memset
	bl	DbgThread
	mov	r3, #1
	mov	r2, r7
	str	r3, [sp]
	mov	r1, r10
	mov	r3, r8
	bl	cmsDoTransform
	cmp	r6, #0
	ble	.L2
	mov	r2, #0
	sub	r1, r8, #4
.L3:
	ldr	r3, [r1, #4]!
	add	r2, r2, #1
	sub	r3, r3, r5
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r4, r3
	movlt	r4, r3
	cmp	r6, r2
	bne	.L3
.L2:
	add	r5, r5, #1
	cmp	r5, #255
	bne	.L4
	cmp	r4, #2
	movle	r0, #1
	bgt	.L12
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r1, r4
	ldr	r0, .L14+8
	bl	Fail
	mov	r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	cmsMAXCHANNELS
	.word	.LC0
	.size	Check8linearXFORM, .-Check8linearXFORM
	.comm	cmsMAXCHANNELS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
