	.file	"extr_pngvalid.c_store_image_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"image overwrite"
.LC1:
	.string	"row start overwritten"
.LC2:
	.string	"row end overwritten"
	.text
	.p2align 4
	.type	store_image_check, @function
store_image_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rcx, QWORD PTR [rdi]
	cmp	DWORD PTR -4[rcx], 237
	jne	.L2
	mov	rsi, QWORD PTR 8[rdi]
	cmp	DWORD PTR [rcx+rsi*4], 254
	je	.L3
.L2:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, r14d
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	png_error@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	movsx	rbp, DWORD PTR 16[rdi]
	mov	rbx, QWORD PTR 24[rdi]
	lea	eax, 5[rbp]
	imul	edx, eax
	movsx	rdx, edx
	imul	rdx, rbx
	lea	r15, 8[rcx+rdx*4]
	test	rbx, rbx
	jle	.L1
	sal	rbp, 2
	lea	r13, .LC1[rip]
	lea	rax, 4[rbp]
	lea	r12, 20[rbp]
	mov	QWORD PTR [rsp], rax
	lea	rax, 8[rbp]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC2[rip]
	mov	edi, r14d
	call	png_error@PLT
.L8:
	add	r15, r12
	sub	rbx, 1
	je	.L1
.L9:
	cmp	DWORD PTR -8[r15], 190
	jne	.L5
	cmp	DWORD PTR -4[r15], 239
	je	.L6
.L5:
	mov	rsi, r13
	mov	edi, r14d
	call	png_error@PLT
.L6:
	cmp	DWORD PTR [r15+rbp], 222
	jne	.L7
	mov	rax, QWORD PTR [rsp]
	cmp	DWORD PTR [r15+rax], 173
	jne	.L7
	mov	rax, QWORD PTR 8[rsp]
	cmp	DWORD PTR [r15+rax], 17
	jne	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	store_image_check, .-store_image_check
	.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_pngvalid.c_store_image_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"image overwrite\000"
	.align	2
.LC1:
	.ascii	"row start overwritten\000"
	.align	2
.LC2:
	.ascii	"row end overwritten\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_image_check, %function
store_image_check:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r0]
	mov	fp, r1
	ldr	r1, [r4, #-4]
	sub	sp, sp, #12
	cmp	r1, #237
	bne	.L2
	ldr	r1, [r0, #4]
	ldr	r1, [r4, r1, lsl #2]
	cmp	r1, #254
	beq	.L3
.L2:
	mov	r0, fp
	ldr	r1, .L19
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	png_error
.L3:
	ldr	r6, [r0, #8]
	ldr	r5, [r0, #12]
	add	r1, r6, #5
	mul	r2, r1, r2
	mul	r2, r5, r2
	cmp	r5, #0
	add	r4, r4, r2, lsl #2
	add	r4, r4, #8
	ble	.L1
	lsl	r6, r6, #2
	add	r3, r6, #8
	ldr	r9, .L19+4
	ldr	r8, .L19+8
	add	r10, r6, #4
	str	r3, [sp, #4]
	add	r7, r6, #20
	b	.L9
.L7:
	mov	r1, r8
	mov	r0, fp
	bl	png_error
.L8:
	subs	r5, r5, #1
	add	r4, r4, r7
	beq	.L1
.L9:
	ldr	r2, [r4, #-8]
	cmp	r2, #190
	bne	.L5
	ldr	r2, [r4, #-4]
	cmp	r2, #239
	beq	.L6
.L5:
	mov	r1, r9
	mov	r0, fp
	bl	png_error
.L6:
	ldr	r2, [r6, r4]
	cmp	r2, #222
	bne	.L7
	ldr	r2, [r10, r4]
	cmp	r2, #173
	bne	.L7
	ldr	r3, [sp, #4]
	ldr	r2, [r3, r4]
	cmp	r2, #17
	bne	.L7
	b	.L8
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	store_image_check, .-store_image_check
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
