	.file	"126620.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"None"
.LC1:
	.string	"Adam7"
.LC2:
	.string	"Invalid"
.LC3:
	.string	"Unknown"
	.text
	.type	str_interlace, @function
str_interlace:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cmp	eax, 2
	je	.L2
	cmp	eax, 2
	jg	.L3
	test	eax, eax
	je	.L4
	cmp	eax, 1
	je	.L5
	jmp	.L3
.L4:
	lea	rax, .LC0[rip]
	jmp	.L6
.L5:
	lea	rax, .LC1[rip]
	jmp	.L6
.L2:
	lea	rax, .LC2[rip]
	jmp	.L6
.L3:
	lea	rax, .LC3[rip]
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	str_interlace, .-str_interlace
	.section	.rodata
.LC4:
	.string	"Gray"
.LC5:
	.string	"Palette"
.LC6:
	.string	"RGB"
.LC7:
	.string	"RGB_Alpha"
.LC8:
	.string	"Gray_Alpha"
	.text
	.type	str_color_type, @function
str_color_type:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cmp	eax, 6
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L14-.L10
	.long	.L8-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.text
.L14:
	lea	rax, .LC4[rip]
	jmp	.L15
.L12:
	lea	rax, .LC5[rip]
	jmp	.L15
.L13:
	lea	rax, .LC6[rip]
	jmp	.L15
.L9:
	lea	rax, .LC7[rip]
	jmp	.L15
.L11:
	lea	rax, .LC8[rip]
	jmp	.L15
.L8:
	lea	rax, .LC3[rip]
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	str_color_type, .-str_color_type
	.section	.rodata
.LC9:
	.string	"Gray/Palette"
	.text
	.type	str_channels, @function
str_channels:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cmp	eax, 4
	je	.L17
	cmp	eax, 4
	jg	.L18
	cmp	eax, 3
	je	.L19
	cmp	eax, 3
	jg	.L18
	cmp	eax, 1
	je	.L20
	cmp	eax, 2
	je	.L21
	jmp	.L18
.L20:
	lea	rax, .LC9[rip]
	jmp	.L22
.L21:
	lea	rax, .LC8[rip]
	jmp	.L22
.L19:
	lea	rax, .LC6[rip]
	jmp	.L22
.L17:
	lea	rax, .LC7[rip]
	jmp	.L22
.L18:
	lea	rax, .LC3[rip]
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	str_channels, .-str_channels
	.section	.rodata
.LC10:
	.string	"%s </path/to/png/file>\n"
.LC11:
	.string	"rb"
	.align 8
.LC12:
	.string	"Unable to open given file (%s)\n"
	.align 8
.LC13:
	.string	"Input file(%s) is not of png format\n"
.LC14:
	.string	"1.6.37"
	.align 8
.LC15:
	.string	"Fail to create png read structure"
	.align 8
.LC16:
	.string	"Fail to create png info structure"
.LC17:
	.string	"libpng version: %s\n"
.LC18:
	.string	"Width:          %u\n"
.LC19:
	.string	"Height:         %u\n"
.LC20:
	.string	"Interlace type: %d:%s\n"
.LC21:
	.string	"Color Type:     %d:%s\n"
.LC22:
	.string	"Channels:       %d:%s\n"
.LC23:
	.string	"Bit Depth:      %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 2
	je	.L24
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L32
.L24:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L32
.L26:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	png_sig_cmp@PLT
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L32
.L27:
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	lea	rdi, .LC14[rip]
	call	png_create_read_struct@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	jne	.L28
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L32
.L28:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	png_create_info_struct@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jne	.L29
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	png_destroy_read_struct@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L32
.L29:
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 200
	mov	rcx, QWORD PTR longjmp@GOTPCREL[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	png_set_longjmp_fn@PLT
	mov	rdi, rax
	call	_setjmp@PLT
	endbr64
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_destroy_info_struct@PLT
	lea	rax, -48[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	png_destroy_read_struct@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_init_io@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	png_set_sig_bytes@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_read_info@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	png_get_libpng_ver@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_image_width@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_image_height@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_interlace_type@PLT
	mov	BYTE PTR -64[rbp], al
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_color_type@PLT
	mov	BYTE PTR -63[rbp], al
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_channels@PLT
	mov	BYTE PTR -62[rbp], al
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_get_bit_depth@PLT
	mov	BYTE PTR -61[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -64[rbp]
	mov	edi, eax
	call	str_interlace
	mov	rdx, rax
	movzx	eax, BYTE PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -63[rbp]
	mov	edi, eax
	call	str_color_type
	mov	rdx, rax
	movzx	eax, BYTE PTR -63[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -62[rbp]
	mov	edi, eax
	call	str_channels
	mov	rdx, rax
	movzx	eax, BYTE PTR -62[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -61[rbp]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	png_destroy_info_struct@PLT
	lea	rax, -48[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	png_destroy_read_struct@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"126620.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"None\000"
	.align	2
.LC1:
	.ascii	"Adam7\000"
	.align	2
.LC2:
	.ascii	"Invalid\000"
	.align	2
.LC3:
	.ascii	"Unknown\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	str_interlace, %function
str_interlace:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L2
	cmp	r3, #2
	bgt	.L3
	cmp	r3, #0
	beq	.L4
	cmp	r3, #1
	beq	.L5
	b	.L3
.L4:
	ldr	r3, .L7
	b	.L6
.L5:
	ldr	r3, .L7+4
	b	.L6
.L2:
	ldr	r3, .L7+8
	b	.L6
.L3:
	ldr	r3, .L7+12
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	str_interlace, .-str_interlace
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Gray\000"
	.align	2
.LC5:
	.ascii	"Palette\000"
	.align	2
.LC6:
	.ascii	"RGB\000"
	.align	2
.LC7:
	.ascii	"RGB_Alpha\000"
	.align	2
.LC8:
	.ascii	"Gray_Alpha\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	str_color_type, %function
str_color_type:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L16
	.word	.L10
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L10
	.word	.L11
.L16:
	ldr	r3, .L18
	b	.L17
.L14:
	ldr	r3, .L18+4
	b	.L17
.L15:
	ldr	r3, .L18+8
	b	.L17
.L11:
	ldr	r3, .L18+12
	b	.L17
.L13:
	ldr	r3, .L18+16
	b	.L17
.L10:
	ldr	r3, .L18+20
.L17:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC3
	.size	str_color_type, .-str_color_type
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Gray/Palette\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	str_channels, %function
str_channels:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L21
.L23:
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L22
.L26:
	ldr	r3, .L28
	b	.L27
.L25:
	ldr	r3, .L28+4
	b	.L27
.L24:
	ldr	r3, .L28+8
	b	.L27
.L22:
	ldr	r3, .L28+12
	b	.L27
.L21:
	ldr	r3, .L28+16
.L27:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L29:
	.align	2
.L28:
	.word	.LC9
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.word	.LC3
	.size	str_channels, .-str_channels
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%s </path/to/png/file>\012\000"
	.align	2
.LC11:
	.ascii	"rb\000"
	.align	2
.LC12:
	.ascii	"Unable to open given file (%s)\012\000"
	.align	2
.LC13:
	.ascii	"Input file(%s) is not of png format\012\000"
	.align	2
.LC14:
	.ascii	"1.6.37\000"
	.align	2
.LC15:
	.ascii	"Fail to create png read structure\000"
	.align	2
.LC16:
	.ascii	"Fail to create png info structure\000"
	.align	2
.LC17:
	.ascii	"libpng version: %s\012\000"
	.align	2
.LC18:
	.ascii	"Width:          %u\012\000"
	.align	2
.LC19:
	.ascii	"Height:         %u\012\000"
	.align	2
.LC20:
	.ascii	"Interlace type: %d:%s\012\000"
	.align	2
.LC21:
	.ascii	"Color Type:     %d:%s\012\000"
	.align	2
.LC22:
	.ascii	"Channels:       %d:%s\012\000"
	.align	2
.LC23:
	.ascii	"Bit Depth:      %d\012\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	beq	.L31
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+4
	bl	printf
	mvn	r3, #0
	b	.L39
.L31:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L41+8
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+12
	bl	printf
	mvn	r3, #0
	b	.L39
.L33:
	sub	r0, fp, #24
	ldr	r3, [fp, #-44]
	mov	r2, #8
	mov	r1, #1
	bl	fread
	sub	r3, fp, #24
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	png_sig_cmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+16
	bl	printf
	ldr	r0, [fp, #-44]
	bl	fclose
	mvn	r3, #0
	b	.L39
.L34:
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L41+20
	bl	png_create_read_struct
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L35
	ldr	r0, .L41+24
	bl	puts
	ldr	r0, [fp, #-44]
	bl	fclose
	mvn	r3, #0
	b	.L39
.L35:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	png_create_info_struct
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L41+28
	bl	puts
	sub	r3, fp, #52
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	png_destroy_read_struct
	ldr	r0, [fp, #-44]
	bl	fclose
	mvn	r3, #0
	b	.L39
.L36:
	ldr	r3, [fp, #-52]
	mov	r2, #392
	ldr	r1, .L41+32
	mov	r0, r3
	bl	png_set_longjmp_fn
	mov	r3, r0
	mov	r0, r3
	bl	_setjmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-52]
	sub	r2, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	png_destroy_info_struct
	sub	r3, fp, #52
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	png_destroy_read_struct
	ldr	r0, [fp, #-44]
	bl	fclose
	mvn	r3, #0
	b	.L39
.L38:
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	png_init_io
	ldr	r3, [fp, #-52]
	mov	r1, #8
	mov	r0, r3
	bl	png_set_sig_bytes
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_read_info
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	png_get_libpng_ver
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_image_width
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_image_height
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_interlace_type
	mov	r3, r0
	strb	r3, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_color_type
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_channels
	mov	r3, r0
	strb	r3, [fp, #-54]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	png_get_bit_depth
	mov	r3, r0
	strb	r3, [fp, #-53]
	ldr	r1, [fp, #-36]
	ldr	r0, .L41+36
	bl	printf
	ldr	r1, [fp, #-32]
	ldr	r0, .L41+40
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r0, .L41+44
	bl	printf
	ldrb	r4, [fp, #-56]	@ zero_extendqisi2
	ldrb	r3, [fp, #-56]	@ zero_extendqisi2
	mov	r0, r3
	bl	str_interlace
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L41+48
	bl	printf
	ldrb	r4, [fp, #-55]	@ zero_extendqisi2
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	mov	r0, r3
	bl	str_color_type
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L41+52
	bl	printf
	ldrb	r4, [fp, #-54]	@ zero_extendqisi2
	ldrb	r3, [fp, #-54]	@ zero_extendqisi2
	mov	r0, r3
	bl	str_channels
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L41+56
	bl	printf
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L41+60
	bl	printf
	ldr	r3, [fp, #-52]
	sub	r2, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	png_destroy_info_struct
	sub	r3, fp, #52
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	png_destroy_read_struct
	ldr	r0, [fp, #-44]
	bl	fclose
	mov	r3, #0
.L39:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC24
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	longjmp
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
