	.file	"extr_testcms2.c_CheckBlackPoint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"test5.icc"
.LC2:
	.string	"test1.icc"
.LC3:
	.string	"lcms2cmyk.icc"
.LC4:
	.string	"test2.icc"
	.text
	.p2align 4
	.type	CheckBlackPoint, @function
CheckBlackPoint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	DbgThread@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	cmsOpenProfileFromFile@PLT
	mov	r13d, DWORD PTR INTENT_RELATIVE_COLORIMETRIC[rip]
	mov	ebp, eax
	xor	eax, eax
	call	DbgThread@PLT
	xor	r8d, r8d
	mov	ecx, r13d
	mov	edx, ebp
	mov	edi, eax
	mov	rsi, r12
	call	cmsDetectDestinationBlackPoint@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	esi, ebp
	mov	edi, eax
	call	cmsCloseProfile@PLT
	xor	eax, eax
	call	DbgThread@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	cmsOpenProfileFromFile@PLT
	mov	r13d, DWORD PTR INTENT_RELATIVE_COLORIMETRIC[rip]
	mov	ebp, eax
	xor	eax, eax
	call	DbgThread@PLT
	xor	r8d, r8d
	mov	ecx, r13d
	mov	edx, ebp
	mov	edi, eax
	mov	rsi, r12
	lea	r13, 4[rsp]
	call	cmsDetectDestinationBlackPoint@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	rcx, r12
	mov	rdx, r13
	xor	esi, esi
	mov	edi, eax
	call	cmsXYZ2Lab@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	esi, ebp
	mov	edi, eax
	call	cmsCloseProfile@PLT
	xor	eax, eax
	call	DbgThread@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	cmsOpenProfileFromFile@PLT
	mov	r14d, DWORD PTR INTENT_RELATIVE_COLORIMETRIC[rip]
	mov	ebp, eax
	xor	eax, eax
	call	DbgThread@PLT
	xor	r8d, r8d
	mov	ecx, r14d
	mov	edx, ebp
	mov	edi, eax
	mov	rsi, r12
	call	cmsDetectDestinationBlackPoint@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	rcx, r12
	mov	rdx, r13
	xor	esi, esi
	mov	edi, eax
	call	cmsXYZ2Lab@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	esi, ebp
	mov	edi, eax
	call	cmsCloseProfile@PLT
	xor	eax, eax
	call	DbgThread@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	cmsOpenProfileFromFile@PLT
	mov	r14d, DWORD PTR INTENT_RELATIVE_COLORIMETRIC[rip]
	mov	ebp, eax
	xor	eax, eax
	call	DbgThread@PLT
	xor	r8d, r8d
	mov	ecx, r14d
	mov	edx, ebp
	mov	edi, eax
	mov	rsi, r12
	call	cmsDetectDestinationBlackPoint@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	rcx, r12
	mov	rdx, r13
	xor	esi, esi
	mov	edi, eax
	call	cmsXYZ2Lab@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	esi, ebp
	mov	edi, eax
	call	cmsCloseProfile@PLT
	xor	eax, eax
	call	DbgThread@PLT
	lea	rdx, .LC0[rip]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	cmsOpenProfileFromFile@PLT
	mov	r14d, DWORD PTR INTENT_PERCEPTUAL[rip]
	mov	ebp, eax
	xor	eax, eax
	call	DbgThread@PLT
	xor	r8d, r8d
	mov	ecx, r14d
	mov	edx, ebp
	mov	edi, eax
	mov	rsi, r12
	call	cmsDetectDestinationBlackPoint@PLT
	xor	eax, eax
	call	DbgThread@PLT
	xor	esi, esi
	mov	rcx, r12
	mov	rdx, r13
	mov	edi, eax
	call	cmsXYZ2Lab@PLT
	xor	eax, eax
	call	DbgThread@PLT
	mov	esi, ebp
	mov	edi, eax
	call	cmsCloseProfile@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CheckBlackPoint, .-CheckBlackPoint
	.comm	INTENT_RELATIVE_COLORIMETRIC,4,4
	.comm	INTENT_PERCEPTUAL,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_CheckBlackPoint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"test5.icc\000"
	.align	2
.LC2:
	.ascii	"test1.icc\000"
	.align	2
.LC3:
	.ascii	"lcms2cmyk.icc\000"
	.align	2
.LC4:
	.ascii	"test2.icc\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckBlackPoint, %function
CheckBlackPoint:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L6
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	DbgThread
	ldr	r2, .L6+4
	ldr	r1, .L6+8
	bl	cmsOpenProfileFromFile
	mov	r4, #0
	mov	r5, r0
	ldr	r6, .L6+12
	bl	DbgThread
	ldr	r3, [r6]
	mov	r2, r5
	add	r1, sp, #12
	str	r4, [sp]
	bl	cmsDetectDestinationBlackPoint
	bl	DbgThread
	mov	r1, r5
	bl	cmsCloseProfile
	bl	DbgThread
	ldr	r2, .L6+4
	ldr	r1, .L6+16
	bl	cmsOpenProfileFromFile
	mov	r5, r0
	bl	DbgThread
	mov	r2, r5
	ldr	r3, [r6]
	add	r1, sp, #12
	str	r4, [sp]
	bl	cmsDetectDestinationBlackPoint
	bl	DbgThread
	add	r3, sp, #12
	add	r2, sp, #16
	mov	r1, r4
	bl	cmsXYZ2Lab
	bl	DbgThread
	mov	r1, r5
	bl	cmsCloseProfile
	bl	DbgThread
	ldr	r2, .L6+4
	ldr	r1, .L6+20
	bl	cmsOpenProfileFromFile
	mov	r5, r0
	bl	DbgThread
	mov	r2, r5
	ldr	r3, [r6]
	add	r1, sp, #12
	str	r4, [sp]
	bl	cmsDetectDestinationBlackPoint
	bl	DbgThread
	add	r3, sp, #12
	add	r2, sp, #16
	mov	r1, r4
	bl	cmsXYZ2Lab
	bl	DbgThread
	mov	r1, r5
	bl	cmsCloseProfile
	bl	DbgThread
	ldr	r2, .L6+4
	ldr	r1, .L6+24
	bl	cmsOpenProfileFromFile
	mov	r5, r0
	bl	DbgThread
	mov	r2, r5
	ldr	r3, [r6]
	add	r1, sp, #12
	str	r4, [sp]
	bl	cmsDetectDestinationBlackPoint
	bl	DbgThread
	add	r3, sp, #12
	add	r2, sp, #16
	mov	r1, r4
	bl	cmsXYZ2Lab
	bl	DbgThread
	mov	r1, r5
	bl	cmsCloseProfile
	bl	DbgThread
	ldr	r2, .L6+4
	ldr	r1, .L6+16
	bl	cmsOpenProfileFromFile
	mov	r5, r0
	bl	DbgThread
	ldr	r3, .L6+28
	str	r4, [sp]
	mov	r2, r5
	ldr	r3, [r3]
	add	r1, sp, #12
	bl	cmsDetectDestinationBlackPoint
	bl	DbgThread
	add	r3, sp, #12
	add	r2, sp, #16
	mov	r1, r4
	bl	cmsXYZ2Lab
	bl	DbgThread
	mov	r1, r5
	bl	cmsCloseProfile
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, #1
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	INTENT_RELATIVE_COLORIMETRIC
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	INTENT_PERCEPTUAL
	.size	CheckBlackPoint, .-CheckBlackPoint
	.comm	INTENT_RELATIVE_COLORIMETRIC,4,4
	.comm	INTENT_PERCEPTUAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
