	.file	"extr_pngwutil.c_png_image_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	png_image_size, @function
png_image_size:
.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
	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, 8
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR 4[rdi]
	mov	r13d, DWORD PTR [rdi]
	cmp	r12d, 32767
	jg	.L6
	cmp	r13d, 32767
	jg	.L6
	cmp	QWORD PTR 8[rdi], 0
	je	.L3
	mov	ebp, DWORD PTR 16[rdi]
	mov	r14d, DWORD PTR 20[rdi]
	xor	ebx, ebx
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, ebx
	mov	edi, ebp
	call	PNG_PASS_COLS@PLT
	mov	esi, eax
	test	eax, eax
	jle	.L4
	mov	edi, r14d
	call	PNG_ROWBYTES@PLT
	mov	esi, ebx
	mov	edi, r13d
	mov	r15d, eax
	call	PNG_PASS_ROWS@PLT
	add	r15d, 1
	imul	r15d, eax
	add	r12d, r15d
.L4:
	add	ebx, 1
	cmp	ebx, 7
	jne	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	add	r12d, 1
	imul	r12d, r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	png_image_size, .-png_image_size
	.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_pngwutil.c_png_image_size.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_image_size, %function
png_image_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [r0]
	ldr	r6, [r0, #4]
	cmp	r6, #32768
	cmplt	r8, #32768
	bge	.L6
	ldr	r3, [r0, #8]
	cmp	r3, #0
	beq	.L3
	mov	r4, #0
	mov	r6, r4
	ldr	r7, [r0, #12]
	ldr	r9, [r0, #16]
.L5:
	mov	r1, r4
	mov	r0, r7
	bl	PNG_PASS_COLS
	subs	r1, r0, #0
	ble	.L4
	mov	r0, r9
	bl	PNG_ROWBYTES
	mov	r1, r4
	mov	r5, r0
	mov	r0, r8
	bl	PNG_PASS_ROWS
	add	r5, r5, #1
	mla	r6, r0, r5, r6
.L4:
	add	r4, r4, #1
	cmp	r4, #7
	bne	.L5
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	add	r6, r6, #1
	mul	r6, r8, r6
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mvn	r6, #0
	b	.L1
	.size	png_image_size, .-png_image_size
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
