	.file	"extr_pngrtran.c_png_read_transform_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in png_read_transform_info\n"
	.text
	.p2align 4
	.globl	png_read_transform_info
	.type	png_read_transform_info, @function
png_read_transform_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, 1
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	call	png_debug@PLT
	mov	eax, DWORD PTR [rbx]
	cmp	eax, DWORD PTR PNG_COLOR_TYPE_PALETTE[rip]
	je	.L4
	test	DWORD PTR PNG_COLOR_MASK_COLOR[rip], eax
	jne	.L14
.L4:
	mov	DWORD PTR 8[rbx], 1
	mov	edi, 1
.L3:
	test	DWORD PTR PNG_COLOR_MASK_ALPHA[rip], eax
	je	.L5
	add	edi, 1
	mov	DWORD PTR 8[rbx], edi
.L5:
	imul	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 12[rbx]
	movsx	rdi, edi
	mov	QWORD PTR 16[rbx], rdi
	call	PNG_ROWBYTES@PLT
	mov	DWORD PTR 24[rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	DWORD PTR 8[rbx], 3
	mov	edi, 3
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	png_read_transform_info, .-png_read_transform_info
	.comm	PNG_USER_TRANSFORM,4,4
	.comm	PNG_RGB_TO_GRAY,4,4
	.comm	PNG_PACK,4,4
	.comm	PNG_GRAY_TO_RGB,4,4
	.comm	PNG_GAMMA,4,4
	.comm	PNG_FLAG_STRIP_ALPHA,4,4
	.comm	PNG_FILLER,4,4
	.comm	PNG_EXPAND_tRNS,4,4
	.comm	PNG_EXPAND,4,4
	.comm	PNG_DITHER,4,4
	.comm	PNG_COLOR_TYPE_RGB_ALPHA,4,4
	.comm	PNG_COLOR_TYPE_RGB,4,4
	.comm	PNG_COLOR_TYPE_PALETTE,4,4
	.comm	PNG_COLOR_TYPE_GRAY,4,4
	.comm	PNG_COLOR_MASK_COLOR,4,4
	.comm	PNG_COLOR_MASK_ALPHA,4,4
	.comm	PNG_BACKGROUND,4,4
	.comm	PNG_ADD_ALPHA,4,4
	.comm	PNG_16_TO_8,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_pngrtran.c_png_read_transform_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in png_read_transform_info\012\000"
	.text
	.align	2
	.global	png_read_transform_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_read_transform_info, %function
png_read_transform_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	mov	r0, #1
	ldr	r1, .L15
	bl	png_debug
	ldr	r2, .L15+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L15+8
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L14
.L4:
	mov	r0, #1
	str	r0, [r4, #8]
.L3:
	ldr	r2, .L15+12
	ldr	r1, [r4, #12]
	ldr	r2, [r2]
	tst	r3, r2
	ldr	r3, [r4, #4]
	addne	r0, r0, #1
	strne	r0, [r4, #8]
	mul	r0, r3, r0
	str	r0, [r4, #16]
	bl	PNG_ROWBYTES
	str	r0, [r4, #20]
	pop	{r4, pc}
.L14:
	mov	r2, #3
	mov	r0, r2
	str	r2, [r4, #8]
	b	.L3
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	PNG_COLOR_TYPE_PALETTE
	.word	PNG_COLOR_MASK_COLOR
	.word	PNG_COLOR_MASK_ALPHA
	.size	png_read_transform_info, .-png_read_transform_info
	.comm	PNG_USER_TRANSFORM,4,4
	.comm	PNG_RGB_TO_GRAY,4,4
	.comm	PNG_PACK,4,4
	.comm	PNG_GRAY_TO_RGB,4,4
	.comm	PNG_GAMMA,4,4
	.comm	PNG_FLAG_STRIP_ALPHA,4,4
	.comm	PNG_FILLER,4,4
	.comm	PNG_EXPAND_tRNS,4,4
	.comm	PNG_EXPAND,4,4
	.comm	PNG_DITHER,4,4
	.comm	PNG_COLOR_TYPE_RGB_ALPHA,4,4
	.comm	PNG_COLOR_TYPE_RGB,4,4
	.comm	PNG_COLOR_TYPE_PALETTE,4,4
	.comm	PNG_COLOR_TYPE_GRAY,4,4
	.comm	PNG_COLOR_MASK_COLOR,4,4
	.comm	PNG_COLOR_MASK_ALPHA,4,4
	.comm	PNG_BACKGROUND,4,4
	.comm	PNG_ADD_ALPHA,4,4
	.comm	PNG_16_TO_8,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
