	.file	"extr_pngdec.c_handle_p_frame_png.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	handle_p_frame_png, @function
handle_p_frame_png:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rax, rsi
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR 8[rsi]
	mov	r12d, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR [rdi]
	mov	rbx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR 16[rdi]
	imul	r12d, esi
	mov	edi, DWORD PTR [rax]
	mov	rdx, QWORD PTR [rdx]
	mov	rbp, QWORD PTR [rdx]
	xor	edx, edx
	call	av_image_get_linesize@PLT
	mov	esi, r12d
	mov	edi, eax
	call	FFMIN@PLT
	mov	esi, DWORD PTR INT_MAX[rip]
	lea	rdi, 16[r13]
	xor	edx, edx
	mov	r12d, eax
	call	ff_thread_await_progress@PLT
	mov	r8d, DWORD PTR 8[r13]
	test	r8d, r8d
	jle	.L1
	movsx	rdi, DWORD PTR 12[r13]
	xor	esi, esi
	lea	ecx, -1[r12]
	sal	rdi, 3
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	test	r12d, r12d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR 0[rbp+rax*8]
	add	QWORD PTR [rbx+rax*8], rdx
	mov	rdx, rax
	add	rax, 1
	cmp	rcx, rdx
	jne	.L4
.L6:
	add	esi, 1
	add	rbx, rdi
	add	rbp, rdi
	cmp	esi, r8d
	jne	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	handle_p_frame_png, .-handle_p_frame_png
	.comm	INT_MAX,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_pngdec.c_handle_p_frame_png.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_p_frame_png, %function
handle_p_frame_png:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r0
	ldr	r2, [r0, #16]
	ldr	r3, [r1, #4]
	ldr	ip, [r2]
	ldr	r0, [r1]
	mov	r2, #0
	ldr	r1, [r8]
	ldr	r5, [ip]
	ldr	r4, [r3]
	bl	av_image_get_linesize
	ldr	r3, [r8]
	ldr	r1, [r8, #4]
	mul	r1, r3, r1
	bl	FFMIN
	ldr	r3, .L10
	mov	r6, r0
	mov	r2, #0
	ldr	r1, [r3]
	add	r0, r8, #16
	bl	ff_thread_await_progress
	ldr	r7, [r8, #8]
	cmp	r7, #0
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r8, #12]
	mov	r8, #0
	sub	lr, r4, #4
	lsl	r0, r0, #2
	add	lr, lr, r6, lsl #2
.L3:
	cmp	r6, #0
	subgt	r3, r4, #4
	subgt	r1, r5, #4
	ble	.L6
.L4:
	ldr	r2, [r3, #4]!
	ldr	ip, [r1, #4]!
	cmp	lr, r3
	add	r2, r2, ip
	str	r2, [r3]
	bne	.L4
.L6:
	add	r8, r8, #1
	cmp	r8, r7
	add	r4, r4, r0
	add	r5, r5, r0
	add	lr, lr, r0
	bne	.L3
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	INT_MAX
	.size	handle_p_frame_png, .-handle_p_frame_png
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
