	.file	"extr_pngrutil.c_png_handle_oFFs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in png_handle_oFFs\n"
.LC1:
	.string	"Missing IHDR before oFFs"
.LC2:
	.string	"Invalid oFFs after IDAT"
.LC3:
	.string	"Duplicate oFFs chunk"
.LC4:
	.string	"Incorrect oFFs chunk length"
	.text
	.p2align 4
	.globl	png_handle_oFFs
	.type	png_handle_oFFs, @function
png_handle_oFFs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, 1
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	png_debug@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR PNG_HAVE_IHDR[rip], eax
	je	.L18
	lea	rsi, .LC2[rip]
	test	DWORD PTR PNG_HAVE_IDAT[rip], eax
	jne	.L16
	test	r13, r13
	je	.L3
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR PNG_INFO_oFFs[rip], eax
	jne	.L19
.L3:
	lea	rsi, .LC4[rip]
	cmp	r12d, 9
	je	.L20
.L16:
	mov	rdi, rbp
	call	png_warning@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	png_crc_finish@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 48
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	r12, rsp
	mov	rdi, rbp
	mov	edx, 9
	mov	rsi, r12
	call	png_crc_read@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	png_crc_finish@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, r12
	call	png_get_int_32@PLT
	lea	rdi, 16[rsp]
	mov	r12d, eax
	call	png_get_int_32@PLT
	mov	r8d, DWORD PTR 32[rsp]
	mov	edx, r12d
	mov	rsi, r13
	mov	ecx, eax
	mov	rdi, rbp
	call	png_set_oFFs@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	png_error@PLT
	lea	rsi, .LC4[rip]
	cmp	r12d, 9
	jne	.L16
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rsi, .LC3[rip]
	jmp	.L16
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	png_handle_oFFs, .-png_handle_oFFs
	.comm	PNG_INFO_oFFs,4,4
	.comm	PNG_HAVE_IHDR,4,4
	.comm	PNG_HAVE_IDAT,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_pngrutil.c_png_handle_oFFs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in png_handle_oFFs\012\000"
	.align	2
.LC1:
	.ascii	"Missing IHDR before oFFs\000"
	.align	2
.LC2:
	.ascii	"Invalid oFFs after IDAT\000"
	.align	2
.LC3:
	.ascii	"Duplicate oFFs chunk\000"
	.align	2
.LC4:
	.ascii	"Incorrect oFFs chunk length\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	png_handle_oFFs
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_handle_oFFs, %function
png_handle_oFFs:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L22
	sub	sp, sp, #48
	mov	r6, r1
	mov	r0, #1
	ldr	r1, .L22+4
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	png_debug
	ldr	r2, .L22+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L18
	ldr	r2, .L22+12
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r1, .L22+16
	bne	.L16
	cmp	r6, #0
	beq	.L3
	ldr	r3, .L22+20
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L19
.L3:
	cmp	r5, #9
	beq	.L6
.L21:
	ldr	r1, .L22+24
.L16:
	mov	r0, r4
	bl	png_warning
	mov	r1, r5
	mov	r0, r4
	bl	png_crc_finish
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mov	r2, r5
	add	r1, sp, #8
	mov	r0, r4
	bl	png_crc_read
	mov	r1, #0
	mov	r0, r4
	bl	png_crc_finish
	cmp	r0, #0
	bne	.L1
	add	r0, sp, #8
	bl	png_get_int_32
	mov	r5, r0
	add	r0, sp, #24
	bl	png_get_int_32
	ldr	ip, [sp, #40]
	mov	r3, r0
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	str	ip, [sp]
	bl	png_set_oFFs
	b	.L1
.L18:
	mov	r0, r4
	ldr	r1, .L22+28
	bl	png_error
	cmp	r5, #9
	beq	.L6
	b	.L21
.L19:
	ldr	r1, .L22+32
	b	.L16
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	.LC0
	.word	PNG_HAVE_IHDR
	.word	PNG_HAVE_IDAT
	.word	.LC2
	.word	PNG_INFO_oFFs
	.word	.LC4
	.word	.LC1
	.word	.LC3
	.size	png_handle_oFFs, .-png_handle_oFFs
	.comm	PNG_INFO_oFFs,4,4
	.comm	PNG_HAVE_IHDR,4,4
	.comm	PNG_HAVE_IDAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
