	.file	"extr_pngset.c_add_one_chunk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_one_chunk, @function
add_one_chunk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movsx	r14, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	test	esi, esi
	je	.L6
	lea	eax, -1[rsi]
	lea	rax, 5[rax+rax*4]
	lea	r12, [rdi+rax*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 40
	cmp	rbx, r12
	je	.L2
.L5:
	mov	edx, 4
	mov	esi, ebp
	mov	rdi, rbx
	call	memcmp@PLT
	test	rax, rax
	jne	.L3
	mov	QWORD PTR 32[rbx], r14
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L6:
	.cfi_restore_state
	mov	r12, rdi
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	DWORD PTR PNG_HANDLE_CHUNK_AS_DEFAULT[rip], r14d
	je	.L4
	add	r13d, 1
	mov	esi, ebp
	mov	rdi, r12
	mov	edx, 4
	call	memcpy@PLT
	mov	QWORD PTR 32[r12], r14
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	add_one_chunk, .-add_one_chunk
	.comm	PNG_HANDLE_CHUNK_AS_DEFAULT,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_pngset.c_add_one_chunk.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_one_chunk, %function
add_one_chunk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r6, r1, #0
	mov	r4, r0
	mov	r7, r2
	mov	r8, r3
	beq	.L2
	mov	r5, #0
	b	.L5
.L3:
	cmp	r6, r5
	add	r4, r4, #20
	beq	.L2
.L5:
	mov	r2, #4
	mov	r1, r7
	mov	r0, r4
	bl	memcmp
	cmp	r0, #0
	add	r5, r5, #1
	bne	.L3
.L11:
	str	r8, [r4, #16]
.L4:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L4
	mov	r1, r7
	mov	r2, #4
	mov	r0, r4
	add	r6, r6, #1
	bl	memcpy
	b	.L11
.L14:
	.align	2
.L13:
	.word	PNG_HANDLE_CHUNK_AS_DEFAULT
	.size	add_one_chunk, .-add_one_chunk
	.comm	PNG_HANDLE_CHUNK_AS_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
