	.file	"extr_cmstypes.c_ReadMatrix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ReadMatrix, @function
ReadMatrix:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	cmsUNUSED_PARAMETER@PLT
	mov	edx, r13d
	mov	rsi, rbp
	mov	edi, r12d
	call	[QWORD PTR 0[rbp]]
	test	eax, eax
	je	.L4
	lea	r13, 16[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	mov	rdx, r13
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 20[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 24[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 28[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 32[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 36[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 40[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 44[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 48[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rbx, 4[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	mov	rdx, rbx
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 8[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	lea	rdx, 12[rsp]
	mov	rsi, rbp
	mov	edi, r12d
	call	_cmsRead15Fixed16Number@PLT
	test	eax, eax
	je	.L4
	mov	r8, rbx
	mov	rcx, r13
	mov	edx, 3
	mov	esi, 3
	mov	edi, r12d
	call	cmsStageAllocMatrix@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L44
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L44:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ReadMatrix, .-ReadMatrix
	.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_cmstypes.c_ReadMatrix.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReadMatrix, %function
ReadMatrix:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r6, r0
	mov	r5, r3
	ldr	r3, .L45
	sub	sp, sp, #64
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	bl	cmsUNUSED_PARAMETER
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	ldr	r3, [r4]
	blx	r3
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #24
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #28
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #32
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #36
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #40
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #44
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #48
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #52
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #56
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #12
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #16
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r6
	add	r2, sp, #20
	bl	_cmsRead15Fixed16Number
	cmp	r0, #0
	beq	.L4
	mov	r2, #3
	add	r3, sp, #12
	str	r3, [sp]
	mov	r0, r6
	mov	r1, r2
	add	r3, sp, #24
	bl	cmsStageAllocMatrix
	b	.L1
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L44
	add	sp, sp, #64
	@ sp needed
	pop	{r4, r5, r6, pc}
.L44:
	bl	__stack_chk_fail
.L46:
	.align	2
.L45:
	.word	.LC0
	.size	ReadMatrix, .-ReadMatrix
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
