	.file	"extr_pngrtran.c_png_do_read_filler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in png_do_read_filler"
	.text
	.p2align 4
	.type	png_do_read_filler, @function
png_do_read_filler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	lea	rsi, .LC0[rip]
	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
	mov	r14d, DWORD PTR [rdi]
	mov	edi, 1
	call	png_debug@PLT
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR PNG_COLOR_TYPE_GRAY[rip]
	je	.L22
	cmp	rax, QWORD PTR PNG_COLOR_TYPE_RGB[rip]
	je	.L23
.L1:
	pop	rbx
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmp	DWORD PTR 16[rbx], 8
	jne	.L1
	movsx	rdx, r14d
	lea	rax, [rdx+rdx*2]
	lea	rax, [r12+rax*4]
	lea	rdx, [rax+rdx*4]
	test	DWORD PTR PNG_FLAG_FILLER_AFTER[rip], r13d
	je	.L10
	cmp	r14d, 1
	jle	.L11
	lea	r8d, -2[r14]
	add	r8, 1
	lea	rcx, 0[0+r8*4]
	mov	rdi, r8
	sub	rdi, rcx
	mov	rcx, rdx
	lea	rdi, [rax+rdi*4]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR -4[rcx], ebp
	mov	esi, DWORD PTR -4[rax]
	sub	rax, 12
	sub	rcx, 16
	mov	DWORD PTR 8[rcx], esi
	mov	esi, DWORD PTR 4[rax]
	mov	DWORD PTR 4[rcx], esi
	mov	esi, DWORD PTR [rax]
	mov	DWORD PTR [rcx], esi
	cmp	rdi, rax
	jne	.L12
	sal	r8, 4
	sub	rdx, r8
.L11:
	movabs	rax, 137438953476
	sal	r14d, 2
	mov	DWORD PTR -4[rdx], ebp
	mov	QWORD PTR 20[rbx], rax
	mov	DWORD PTR 28[rbx], r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	DWORD PTR 16[rbx], 8
	jne	.L1
	movsx	rdx, r14d
	sal	rdx, 2
	add	r12, rdx
	add	rdx, r12
	test	DWORD PTR PNG_FLAG_FILLER_AFTER[rip], r13d
	je	.L4
	cmp	r14d, 1
	jle	.L5
	lea	esi, -2[r14]
	xor	eax, eax
	lea	rdi, 1[rsi]
	not	rsi
	sal	rsi, 2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR -4[rdx+rax*2], ebp
	mov	ecx, DWORD PTR -4[r12+rax]
	mov	DWORD PTR -8[rdx+rax*2], ecx
	sub	rax, 4
	cmp	rax, rsi
	jne	.L6
	mov	rax, rdi
	neg	rax
	lea	rdx, [rdx+rax*8]
.L5:
	movabs	rax, 68719476738
	add	r14d, r14d
	mov	DWORD PTR -4[rdx], ebp
	mov	QWORD PTR 20[rbx], rax
	mov	DWORD PTR 28[rbx], r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	test	r14d, r14d
	jle	.L9
	lea	esi, -1[r14]
	xor	eax, eax
	not	rsi
	sal	rsi, 2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	ecx, DWORD PTR -4[r12+rax]
	mov	DWORD PTR -8[rdx+rax*2], ebp
	mov	DWORD PTR -4[rdx+rax*2], ecx
	sub	rax, 4
	cmp	rax, rsi
	jne	.L8
.L9:
	movabs	rax, 68719476738
	add	r14d, r14d
	mov	QWORD PTR 20[rbx], rax
	mov	DWORD PTR 28[rbx], r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	test	r14d, r14d
	jle	.L15
	lea	ecx, -1[r14]
	add	rcx, 1
	lea	rsi, 0[0+rcx*4]
	sub	rcx, rsi
	lea	rsi, [rax+rcx*4]
	.p2align 4,,10
	.p2align 3
.L14:
	mov	ecx, DWORD PTR -4[rax]
	sub	rax, 12
	sub	rdx, 16
	mov	DWORD PTR 12[rdx], ecx
	mov	ecx, DWORD PTR 4[rax]
	mov	DWORD PTR 8[rdx], ecx
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR 4[rdx], ecx
	mov	DWORD PTR [rdx], ebp
	cmp	rsi, rax
	jne	.L14
.L15:
	movabs	rax, 137438953476
	sal	r14d, 2
	mov	QWORD PTR 20[rbx], rax
	mov	DWORD PTR 28[rbx], r14d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	png_do_read_filler, .-png_do_read_filler
	.comm	PNG_FLAG_FILLER_AFTER,4,4
	.comm	PNG_COLOR_TYPE_RGB,8,8
	.comm	PNG_COLOR_TYPE_GRAY,8,8
	.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_pngrtran.c_png_do_read_filler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in png_do_read_filler\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_do_read_filler, %function
png_do_read_filler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r0, #1
	ldr	r1, .L23
	mov	r6, r2
	mov	r7, r3
	ldr	r8, [r5]
	bl	png_debug
	ldr	r2, .L23+4
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L22
	ldr	r2, .L23+8
	ldr	r2, [r2]
	cmp	r3, r2
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5, #8]
	cmp	r3, #8
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L23+12
	add	r3, r8, r8, lsl #1
	ldr	r2, [r2]
	add	r4, r4, r3, lsl #2
	ands	r7, r7, r2
	add	r3, r4, r8, lsl #2
	lsl	r0, r8, #2
	beq	.L10
	cmp	r8, #1
	ble	.L11
	mov	r2, r3
	mov	r1, #1
.L12:
	str	r6, [r2, #-4]
	ldr	ip, [r4, #-4]
	add	r1, r1, #1
	str	ip, [r2, #-8]
	ldr	ip, [r4, #-8]
	cmp	r8, r1
	str	ip, [r2, #-12]
	ldr	ip, [r4, #-12]!
	str	ip, [r2, #-16]!
	bne	.L12
	rsb	r8, r8, r8, lsl #28
	add	r3, r3, r8, lsl #4
	add	r3, r3, #16
.L11:
	mov	r1, #4
	mov	r2, #32
	str	r6, [r3, #-4]
	str	r0, [r5, #20]
	str	r1, [r5, #12]
	str	r2, [r5, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r3, [r5, #8]
	cmp	r3, #8
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L23+12
	add	r2, r4, r8, lsl #2
	ldr	r3, [r3]
	add	r4, r4, r8, lsl #3
	ands	r7, r7, r3
	beq	.L4
	cmp	r8, #1
	ble	.L5
	mov	r1, r4
	mov	r3, #1
.L6:
	str	r6, [r1, #-4]
	ldr	r0, [r2, #-4]!
	add	r3, r3, #1
	cmp	r8, r3
	str	r0, [r1, #-8]!
	bne	.L6
	rsb	r3, r8, r8, lsl #29
	add	r4, r4, r3, lsl #3
	add	r4, r4, #8
.L5:
	mov	r2, #2
	mov	r3, #16
	lsl	r8, r8, #1
	str	r6, [r4, #-4]
	str	r8, [r5, #20]
	str	r2, [r5, #12]
	str	r3, [r5, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	cmp	r8, #0
	ble	.L9
.L8:
	ldr	r3, [r2, #-4]!
	add	r7, r7, #1
	cmp	r8, r7
	str	r3, [r4, #-4]
	str	r6, [r4, #-8]!
	bne	.L8
.L9:
	mov	r2, #2
	mov	r3, #16
	lsl	r8, r8, #1
	str	r8, [r5, #20]
	str	r2, [r5, #12]
	str	r3, [r5, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	cmp	r8, #0
	ble	.L15
.L14:
	ldr	r2, [r4, #-4]
	add	r7, r7, #1
	str	r2, [r3, #-4]
	ldr	r2, [r4, #-8]
	cmp	r8, r7
	str	r2, [r3, #-8]
	ldr	r2, [r4, #-12]!
	str	r2, [r3, #-12]
	str	r6, [r3, #-16]!
	bne	.L14
.L15:
	mov	r2, #4
	mov	r3, #32
	str	r0, [r5, #20]
	str	r2, [r5, #12]
	str	r3, [r5, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	PNG_COLOR_TYPE_GRAY
	.word	PNG_COLOR_TYPE_RGB
	.word	PNG_FLAG_FILLER_AFTER
	.size	png_do_read_filler, .-png_do_read_filler
	.comm	PNG_FLAG_FILLER_AFTER,4,4
	.comm	PNG_COLOR_TYPE_RGB,4,4
	.comm	PNG_COLOR_TYPE_GRAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
