	.file	"extr_cmsopt.c_DupPluginOptimizationList.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DupPluginOptimizationList, @function
DupPluginOptimizationList:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	pxor	xmm0, xmm0
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR OptimizationPlugin[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rsi]
	test	rdi, rdi
	movaps	XMMWORD PTR [rsp], xmm0
	mov	QWORD PTR 16[rsp], 0
	setne	dil
	mov	rbx, QWORD PTR [rax+rdx*8]
	movzx	edi, dil
	call	_cmsAssert@PLT
	xor	edi, edi
	test	rbx, rbx
	setne	dil
	call	_cmsAssert@PLT
	mov	rbx, QWORD PTR [rbx]
	test	rbx, rbx
	je	.L2
	xor	ebp, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	je	.L2
.L7:
	mov	edi, DWORD PTR [r12]
	mov	edx, 24
	mov	rsi, rbx
	call	_cmsSubAllocDup@PLT
	mov	rdx, rbp
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[rax], 0
	test	rdx, rdx
	je	.L5
	mov	QWORD PTR 8[rdx], rax
.L5:
	cmp	QWORD PTR [rsp], 0
	jne	.L6
	mov	rbx, QWORD PTR 8[rbx]
	mov	QWORD PTR [rsp], rax
	test	rbx, rbx
	jne	.L7
.L2:
	mov	rdx, QWORD PTR OptimizationPlugin[rip]
	mov	rax, QWORD PTR 8[r12]
	mov	rsi, rsp
	mov	edi, DWORD PTR [r12]
	lea	rbx, [rax+rdx*8]
	mov	edx, 24
	call	_cmsSubAllocDup@PLT
	mov	QWORD PTR [rbx], rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	DupPluginOptimizationList, .-DupPluginOptimizationList
	.comm	OptimizationPlugin,8,8
	.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_cmsopt.c_DupPluginOptimizationList.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DupPluginOptimizationList, %function
DupPluginOptimizationList:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, #0
	ldr	r7, .L20
	ldr	r3, [r1, #4]
	ldr	r2, [r7]
	mov	r6, r0
	ldr	r4, [r3, r2, lsl #2]
	subs	r0, r0, r5
	ldr	r3, .L20+4
	sub	sp, sp, #16
	movne	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r5, [sp]
	str	r5, [sp, #4]
	str	r5, [sp, #8]
	bl	_cmsAssert
	subs	r0, r4, r5
	movne	r0, #1
	bl	_cmsAssert
	ldr	r4, [r4]
	cmp	r4, r5
	beq	.L2
	mov	r8, r5
	b	.L7
.L18:
	cmp	r3, #0
	str	r8, [r0, #4]
	strne	r5, [r3, #4]
	ldr	r3, [sp]
	ldr	r4, [r4, #4]
	cmp	r3, #0
	streq	r0, [sp]
	cmp	r4, #0
	beq	.L2
.L7:
	mov	r2, #12
	mov	r1, r4
	ldr	r0, [r6]
	bl	_cmsSubAllocDup
	mov	r3, r5
	subs	r5, r0, #0
	bne	.L18
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, sp
	mov	r2, #12
	ldr	r0, [r6]
	ldr	r5, [r7]
	ldr	r4, [r6, #4]
	bl	_cmsSubAllocDup
	str	r0, [r4, r5, lsl #2]
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	OptimizationPlugin
	.word	.LC0
	.size	DupPluginOptimizationList, .-DupPluginOptimizationList
	.comm	OptimizationPlugin,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
