	.file	"extr_lodepng.c_addChunk_PLTE.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PLTE"
	.text
	.p2align 4
	.type	addChunk_PLTE, @function
addChunk_PLTE:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -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	r13, rsp
	mov	rdi, r13
	call	ucvector_init@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, rbx
	and	eax, 3
	cmp	rax, 3
	je	.L3
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r13
	mov	esi, DWORD PTR [rax+rbx*4]
	call	ucvector_push_back@PLT
.L3:
	mov	eax, DWORD PTR 0[rbp]
	add	rbx, 1
	sal	eax, 2
	cdqe
	cmp	rax, rbx
	ja	.L4
.L2:
	mov	ecx, DWORD PTR [rsp]
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	addChunk@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	ucvector_cleanup@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	addChunk_PLTE, .-addChunk_PLTE
	.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_lodepng.c_addChunk_PLTE.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PLTE\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addChunk_PLTE, %function
addChunk_PLTE:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	sub	sp, sp, #16
	ldr	r3, .L16
	mov	r6, r0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ucvector_init
	ldr	r2, [r5]
	cmp	r2, #0
	beq	.L2
	mov	r4, #0
.L4:
	and	r3, r4, #3
	cmp	r3, #3
	beq	.L3
	ldr	r3, [r5, #4]
	add	r0, sp, #4
	ldr	r1, [r3, r4, lsl #2]
	bl	ucvector_push_back
	ldr	r2, [r5]
.L3:
	add	r4, r4, #1
	cmp	r4, r2, lsl #2
	bcc	.L4
.L2:
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #8]
	ldr	r1, .L16+4
	mov	r0, r6
	bl	addChunk
	mov	r4, r0
	add	r0, sp, #4
	bl	ucvector_cleanup
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	.LC0
	.size	addChunk_PLTE, .-addChunk_PLTE
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
