	.file	"extr_....png.c_png_gamma_8bit_correct.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	png_gamma_8bit_correct
	.type	png_gamma_8bit_correct, @function
png_gamma_8bit_correct:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	eax, -1[rdi]
	cmp	eax, 253
	jbe	.L2
	movzx	eax, dil
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movsd	QWORD PTR 8[rsp], xmm0
	call	png_log8bit@PLT
	mov	edx, DWORD PTR PNG_FP_1[rip]
	movsd	xmm0, QWORD PTR 8[rsp]
	lea	rdi, 16[rsp]
	mov	esi, eax
	call	png_muldiv@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L1
	movsd	xmm0, QWORD PTR 16[rsp]
	call	png_exp8bit@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	png_gamma_8bit_correct, .-png_gamma_8bit_correct
	.comm	PNG_FP_1,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_....png.c_png_gamma_8bit_correct.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	png_gamma_8bit_correct
	.syntax unified
	.arm
	.fpu softvfp
	.type	png_gamma_8bit_correct, %function
png_gamma_8bit_correct:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	ip, r0, #1
	mov	r5, r3
	ldr	r3, .L13
	sub	sp, sp, #28
	cmp	ip, #253
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bls	.L2
	and	r0, r0, #255
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r4, r2
	bl	png_log8bit
	ldr	r3, .L13+4
	str	r0, [sp]
	ldr	r1, [r3]
	mov	r2, r4
	mov	r3, r5
	str	r1, [sp, #4]
	add	r0, sp, #8
	bl	png_muldiv
	cmp	r0, #0
	beq	.L1
	add	r1, sp, #8
	ldmia	r1, {r0-r1}
	bl	png_exp8bit
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	PNG_FP_1
	.size	png_gamma_8bit_correct, .-png_gamma_8bit_correct
	.comm	PNG_FP_1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
