	.file	"extr_fog.c_gl_fog_color_pixels.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"Bad fog mode in gl_fog_color_pixels"
	.text
	.p2align 4
	.globl	gl_fog_color_pixels
	.type	gl_fog_color_pixels, @function
gl_fog_color_pixels:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pxor	xmm7, xmm7
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR 8[rdi]
	movsd	xmm6, QWORD PTR 48[rdi]
	movss	xmm2, DWORD PTR .LC0[rip]
	movsd	xmm5, QWORD PTR 80[rax]
	movsd	xmm0, QWORD PTR 112[rax]
	mov	rax, QWORD PTR 64[rdi]
	movsd	xmm1, QWORD PTR [rdx]
	movsd	QWORD PTR 40[rsp], xmm6
	movsd	QWORD PTR 8[rsp], xmm5
	mulsd	xmm1, QWORD PTR [rax]
	movsd	QWORD PTR 16[rsp], xmm1
	movsd	xmm1, QWORD PTR 8[rdx]
	mulsd	xmm1, QWORD PTR 8[rax]
	movsd	QWORD PTR 24[rsp], xmm1
	movsd	xmm1, QWORD PTR 16[rdx]
	mulsd	xmm1, QWORD PTR 16[rax]
	mov	eax, DWORD PTR 16[rdi]
	movsd	QWORD PTR 32[rsp], xmm1
	movaps	xmm1, xmm2
	divss	xmm1, DWORD PTR 56[rdi]
	cvtss2sd	xmm7, xmm1
	movsd	QWORD PTR 48[rsp], xmm7
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L33
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rsi, .LC5[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	gl_problem@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movq	xmm4, QWORD PTR .LC2[rip]
	movsd	xmm1, QWORD PTR 40[rdi]
	movapd	xmm5, xmm4
	movaps	XMMWORD PTR 64[rsp], xmm4
	xorpd	xmm5, xmm1
	movapd	xmm3, xmm5
	mulsd	xmm3, xmm1
	movsd	QWORD PTR 88[rsp], xmm3
	test	rsi, rsi
	je	.L1
	xorpd	xmm0, xmm4
	pxor	xmm7, xmm7
	xor	ebx, ebx
	movss	DWORD PTR 104[rsp], xmm2
	movsd	xmm6, QWORD PTR .LC1[rip]
	movsd	QWORD PTR 96[rsp], xmm0
	movsd	QWORD PTR 80[rsp], xmm7
	movsd	QWORD PTR 56[rsp], xmm6
	.p2align 4,,10
	.p2align 3
.L17:
	pxor	xmm0, xmm0
	movsd	xmm7, QWORD PTR 96[rsp]
	cvtsi2sd	xmm0, DWORD PTR [r12+rbx*4]
	subsd	xmm0, QWORD PTR 40[rsp]
	mulsd	xmm0, QWORD PTR 48[rsp]
	addsd	xmm0, QWORD PTR 8[rsp]
	divsd	xmm7, xmm0
	movapd	xmm0, xmm7
	movsd	xmm7, QWORD PTR 80[rsp]
	comisd	xmm7, xmm0
	jbe	.L15
	xorpd	xmm0, XMMWORD PTR 64[rsp]
.L15:
	movsd	xmm1, QWORD PTR 88[rsp]
	mulsd	xmm1, xmm0
	mulsd	xmm0, xmm1
	call	exp@PLT
	movss	xmm2, DWORD PTR 104[rsp]
	pxor	xmm1, xmm1
	call	CLAMP@PLT
	movsd	xmm2, QWORD PTR 56[rsp]
	pxor	xmm1, xmm1
	movsd	xmm3, QWORD PTR 16[rsp]
	cvtsi2sd	xmm1, DWORD PTR 0[r13+rbx*4]
	subsd	xmm2, xmm0
	mulsd	xmm1, xmm0
	mulsd	xmm3, xmm2
	addsd	xmm1, xmm3
	movsd	xmm3, QWORD PTR 24[rsp]
	mulsd	xmm3, xmm2
	cvttsd2si	eax, xmm1
	mulsd	xmm2, QWORD PTR 32[rsp]
	pxor	xmm1, xmm1
	mov	DWORD PTR 0[r13+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r14+rbx*4]
	mulsd	xmm1, xmm0
	addsd	xmm1, xmm3
	cvttsd2si	eax, xmm1
	pxor	xmm1, xmm1
	mov	DWORD PTR [r14+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r15+rbx*4]
	mulsd	xmm0, xmm1
	addsd	xmm0, xmm2
	cvttsd2si	eax, xmm0
	mov	DWORD PTR [r15+rbx*4], eax
	add	rbx, 1
	cmp	rbp, rbx
	jne	.L17
.L1:
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	movsd	xmm6, QWORD PTR 24[rdi]
	pxor	xmm1, xmm1
	movsd	xmm7, QWORD PTR .LC1[rip]
	cvtss2sd	xmm1, DWORD PTR 32[rdi]
	movsd	QWORD PTR 88[rsp], xmm6
	subsd	xmm6, xmm1
	movsd	QWORD PTR 56[rsp], xmm7
	divsd	xmm7, xmm6
	movsd	QWORD PTR 96[rsp], xmm7
	test	rsi, rsi
	je	.L1
	movq	xmm4, QWORD PTR .LC2[rip]
	pxor	xmm6, xmm6
	xor	ebx, ebx
	movsd	QWORD PTR 80[rsp], xmm6
	xorpd	xmm0, xmm4
	movaps	XMMWORD PTR 64[rsp], xmm4
	movsd	QWORD PTR 104[rsp], xmm0
	.p2align 4,,10
	.p2align 3
.L11:
	pxor	xmm0, xmm0
	movsd	xmm5, QWORD PTR 104[rsp]
	cvtsi2sd	xmm0, DWORD PTR [r12+rbx*4]
	subsd	xmm0, QWORD PTR 40[rsp]
	mulsd	xmm0, QWORD PTR 48[rsp]
	addsd	xmm0, QWORD PTR 8[rsp]
	divsd	xmm5, xmm0
	movapd	xmm0, xmm5
	movsd	xmm5, QWORD PTR 80[rsp]
	comisd	xmm5, xmm0
	jbe	.L9
	xorpd	xmm0, XMMWORD PTR 64[rsp]
.L9:
	movsd	xmm6, QWORD PTR 88[rsp]
	pxor	xmm1, xmm1
	subsd	xmm6, xmm0
	movsd	xmm0, QWORD PTR 96[rsp]
	mulsd	xmm0, xmm6
	call	CLAMP@PLT
	movsd	xmm3, QWORD PTR 56[rsp]
	pxor	xmm1, xmm1
	movsd	xmm4, QWORD PTR 16[rsp]
	cvtsi2sd	xmm1, DWORD PTR 0[r13+rbx*4]
	movss	xmm2, DWORD PTR .LC0[rip]
	subsd	xmm3, xmm0
	mulsd	xmm1, xmm0
	mulsd	xmm4, xmm3
	addsd	xmm1, xmm4
	movsd	xmm4, QWORD PTR 24[rsp]
	mulsd	xmm4, xmm3
	cvttsd2si	eax, xmm1
	mulsd	xmm3, QWORD PTR 32[rsp]
	pxor	xmm1, xmm1
	mov	DWORD PTR 0[r13+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r14+rbx*4]
	mulsd	xmm1, xmm0
	addsd	xmm1, xmm4
	cvttsd2si	eax, xmm1
	pxor	xmm1, xmm1
	mov	DWORD PTR [r14+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r15+rbx*4]
	mulsd	xmm0, xmm1
	addsd	xmm0, xmm3
	cvttsd2si	eax, xmm0
	mov	DWORD PTR [r15+rbx*4], eax
	add	rbx, 1
	cmp	rbp, rbx
	jne	.L11
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	rsi, rsi
	je	.L1
	movq	xmm5, QWORD PTR .LC2[rip]
	movsd	xmm7, QWORD PTR .LC1[rip]
	pxor	xmm4, xmm4
	xor	ebx, ebx
	movsd	QWORD PTR 80[rsp], xmm4
	xorpd	xmm0, xmm5
	movaps	XMMWORD PTR 64[rsp], xmm5
	movsd	QWORD PTR 96[rsp], xmm0
	movsd	QWORD PTR 56[rsp], xmm7
	movss	DWORD PTR 104[rsp], xmm2
	.p2align 4,,10
	.p2align 3
.L14:
	pxor	xmm0, xmm0
	movsd	xmm1, QWORD PTR 96[rsp]
	movsd	xmm5, QWORD PTR 80[rsp]
	cvtsi2sd	xmm0, DWORD PTR [r12+rbx*4]
	subsd	xmm0, QWORD PTR 40[rsp]
	mulsd	xmm0, QWORD PTR 48[rsp]
	addsd	xmm0, QWORD PTR 8[rsp]
	divsd	xmm1, xmm0
	comisd	xmm5, xmm1
	jbe	.L12
	xorpd	xmm1, XMMWORD PTR 64[rsp]
.L12:
	movsd	xmm0, QWORD PTR 40[rdi]
	xorpd	xmm0, XMMWORD PTR 64[rsp]
	mov	QWORD PTR 88[rsp], rdi
	mulsd	xmm0, xmm1
	call	exp@PLT
	movss	xmm2, DWORD PTR 104[rsp]
	pxor	xmm1, xmm1
	call	CLAMP@PLT
	movsd	xmm2, QWORD PTR 56[rsp]
	pxor	xmm1, xmm1
	movsd	xmm3, QWORD PTR 16[rsp]
	cvtsi2sd	xmm1, DWORD PTR 0[r13+rbx*4]
	mov	rdi, QWORD PTR 88[rsp]
	subsd	xmm2, xmm0
	mulsd	xmm1, xmm0
	mulsd	xmm3, xmm2
	addsd	xmm1, xmm3
	movsd	xmm3, QWORD PTR 24[rsp]
	mulsd	xmm3, xmm2
	cvttsd2si	eax, xmm1
	mulsd	xmm2, QWORD PTR 32[rsp]
	pxor	xmm1, xmm1
	mov	DWORD PTR 0[r13+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r14+rbx*4]
	mulsd	xmm1, xmm0
	addsd	xmm1, xmm3
	cvttsd2si	eax, xmm1
	pxor	xmm1, xmm1
	mov	DWORD PTR [r14+rbx*4], eax
	cvtsi2sd	xmm1, DWORD PTR [r15+rbx*4]
	mulsd	xmm0, xmm1
	addsd	xmm0, xmm2
	cvttsd2si	eax, xmm0
	mov	DWORD PTR [r15+rbx*4], eax
	add	rbx, 1
	cmp	rbp, rbx
	jne	.L14
	add	rsp, 120
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gl_fog_color_pixels, .-gl_fog_color_pixels
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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_fog.c_gl_fog_color_pixels.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.global	__aeabi_d2iz
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad fog mode in gl_fog_color_pixels\000"
	.text
	.align	2
	.global	gl_fog_color_pixels
	.syntax unified
	.arm
	.fpu softvfp
	.type	gl_fog_color_pixels, %function
gl_fog_color_pixels:
	@ args = 12, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	lr, r3
	ldr	ip, [r0]
	sub	sp, sp, #92
	ldr	r5, [r0, #8]
	ldr	r8, [r0, #56]
	str	lr, [sp, #56]
	ldr	lr, [ip, #112]
	mov	r10, r0
	add	r7, ip, #80
	ldmia	r7, {r6-r7}
	mov	r4, r1
	ldmia	r5, {r0-r1}
	mov	fp, r2
	ldmia	r8, {r2-r3}
	ldr	r9, [ip, #116]
	str	lr, [sp, #52]
	stm	sp, {r6-r7}
	bl	__aeabi_dmul
	add	r3, r8, #8
	ldmia	r3, {r2-r3}
	mov	r6, r0
	mov	r7, r1
	add	r1, r5, #8
	ldmia	r1, {r0-r1}
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	bl	__aeabi_dmul
	add	r3, r8, #16
	ldmia	r3, {r2-r3}
	mov	r6, r0
	mov	r7, r1
	add	r1, r5, #16
	ldmia	r1, {r0-r1}
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	bl	__aeabi_dmul
	mov	r3, r1
	mov	r2, r0
	add	r1, r10, #40
	ldmia	r1, {r0-r1}
	str	r0, [sp, #32]
	str	r1, [sp, #36]
	ldr	r1, [r10, #48]	@ float
	mov	r0, #1065353216
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	bl	__aeabi_fdiv
	bl	__aeabi_f2d
	ldr	r3, [r10, #12]
	str	r0, [sp, #40]
	str	r1, [sp, #44]
	cmp	r3, #129
	ldr	r5, [sp, #128]
	ldr	r6, [sp, #132]
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	beq	.L33
	mov	r0, r10
	ldr	r1, .L34
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	gl_problem
.L2:
	ldr	lr, [r10, #32]
	ldr	ip, [r10, #36]
	mov	r2, lr
	mov	r0, lr
	mov	r3, ip
	add	r1, ip, #-2147483648
	bl	__aeabi_dmul
	cmp	r4, #0
	str	r0, [sp, #64]
	str	r1, [sp, #68]
	beq	.L1
	sub	fp, fp, #4
	add	r3, fp, r4, lsl #2
	str	r3, [sp, #72]
	add	r3, r9, #-2147483648
	str	r3, [sp, #80]
	ldr	r3, [sp, #56]
	sub	r10, r6, #4
	sub	r3, r3, #4
	str	r3, [sp, #56]
	sub	r3, r5, #4
	str	r3, [sp, #60]
.L17:
	ldr	r0, [fp, #4]!
	bl	__aeabi_i2d
	add	r3, sp, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	add	r3, sp, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	ldmia	sp, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [sp, #52]
	ldr	r1, [sp, #80]
	bl	__aeabi_ddiv
	mov	r4, r1
	mov	r5, r0
	mov	r1, r4
	mov	r0, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	add	r3, sp, #64
	ldmia	r3, {r2-r3}
	cmp	r0, #0
	addne	r4, r4, #-2147483648
	mov	r0, r5
	mov	r1, r4
	bl	__aeabi_dmul
	mov	r2, r5
	mov	r3, r4
	bl	__aeabi_dmul
	bl	exp
	mov	r3, #1065353216
	mov	r2, #0
	bl	CLAMP
	mov	r4, r0
	mov	r5, r1
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	ldr	r1, .L34+4
	bl	__aeabi_dsub
	ldr	r3, [sp, #56]
	mov	r6, r0
	ldr	r0, [r3, #4]!
	mov	r7, r1
	str	r3, [sp, #56]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r8, r0
	mov	r9, r1
	add	r1, sp, #8
	ldmia	r1, {r0-r1}
	mov	r3, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #56]
	str	r0, [r3]
	ldr	r3, [sp, #60]
	ldr	r0, [r3, #4]!
	str	r3, [sp, #60]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r8, r0
	mov	r9, r1
	add	r1, sp, #16
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #60]
	str	r0, [r3]
	ldr	r0, [r10, #4]!
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r4, r0
	mov	r5, r1
	add	r1, sp, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r3, r1
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #72]
	str	r0, [r10]
	cmp	fp, r3
	bne	.L17
.L1:
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	ldr	r0, [r10, #24]	@ float
	add	r8, r10, #16
	ldmia	r8, {r7-r8}
	str	r7, [sp, #64]
	str	r8, [sp, #68]
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r7
	mov	r1, r8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L34+4
	bl	__aeabi_ddiv
	cmp	r4, #0
	str	r0, [sp, #72]
	str	r1, [sp, #76]
	beq	.L1
	sub	fp, fp, #4
	add	r3, fp, r4, lsl #2
	str	r3, [sp, #80]
	add	r3, r9, #-2147483648
	str	r3, [sp, #84]
	ldr	r3, [sp, #56]
	sub	r10, r6, #4
	sub	r3, r3, #4
	str	r3, [sp, #60]
	sub	r3, r5, #4
	str	r3, [sp, #56]
.L11:
	ldr	r0, [fp, #4]!
	bl	__aeabi_i2d
	add	r3, sp, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	add	r3, sp, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	ldmia	sp, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [sp, #52]
	ldr	r1, [sp, #84]
	bl	__aeabi_ddiv
	mov	r4, r1
	mov	r5, r0
	mov	r1, r4
	mov	r0, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	ip, r0
	add	r1, sp, #64
	ldmia	r1, {r0-r1}
	cmp	ip, #0
	addne	r4, r4, #-2147483648
	mov	r2, r5
	mov	r3, r4
	bl	__aeabi_dsub
	add	r3, sp, #72
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r3, #1065353216
	mov	r2, #0
	bl	CLAMP
	mov	r4, r0
	mov	r5, r1
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	ldr	r1, .L34+4
	bl	__aeabi_dsub
	ldr	r3, [sp, #60]
	mov	r6, r0
	ldr	r0, [r3, #4]!
	mov	r7, r1
	str	r3, [sp, #60]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r8, r0
	mov	r9, r1
	add	r1, sp, #8
	ldmia	r1, {r0-r1}
	mov	r3, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #60]
	str	r0, [r3]
	ldr	r3, [sp, #56]
	ldr	r0, [r3, #4]!
	str	r3, [sp, #56]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r8, r0
	mov	r9, r1
	add	r1, sp, #16
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #56]
	str	r0, [r3]
	ldr	r0, [r10, #4]!
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r4, r0
	mov	r5, r1
	add	r1, sp, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r3, r1
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #80]
	str	r0, [r10]
	cmp	r3, fp
	bne	.L11
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	cmp	r4, #0
	beq	.L1
	sub	fp, fp, #4
	add	r3, fp, r4, lsl #2
	str	r3, [sp, #72]
	add	r3, r9, #-2147483648
	str	r3, [sp, #80]
	ldr	r3, [sp, #56]
	sub	r3, r3, #4
	str	r3, [sp, #56]
	sub	r3, r5, #4
	str	r3, [sp, #60]
	sub	r3, r6, #4
	str	r3, [sp, #64]
.L14:
	ldr	r0, [fp, #4]!
	bl	__aeabi_i2d
	add	r3, sp, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	add	r3, sp, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	ldmia	sp, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [sp, #52]
	ldr	r1, [sp, #80]
	bl	__aeabi_ddiv
	mov	r4, r1
	mov	r5, r0
	mov	r1, r4
	mov	r0, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	ldr	ip, [r10, #36]
	cmp	r0, #0
	addne	r4, r4, #-2147483648
	add	r1, ip, #-2147483648
	mov	r2, r5
	mov	r3, r4
	ldr	r0, [r10, #32]
	bl	__aeabi_dmul
	bl	exp
	mov	r3, #1065353216
	mov	r2, #0
	bl	CLAMP
	mov	r4, r0
	mov	r5, r1
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	ldr	r1, .L34+4
	bl	__aeabi_dsub
	ldr	r3, [sp, #56]
	mov	r6, r0
	ldr	r0, [r3, #4]!
	mov	r7, r1
	str	r3, [sp, #56]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r8, r0
	mov	r9, r1
	add	r1, sp, #8
	ldmia	r1, {r0-r1}
	mov	r3, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #56]
	str	r0, [r3]
	ldr	r3, [sp, #60]
	ldr	r0, [r3, #4]!
	str	r3, [sp, #60]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r8, r0
	mov	r3, r7
	mov	r9, r1
	add	r1, sp, #16
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #60]
	ldr	r8, [sp, #64]
	str	r0, [r3]
	ldr	r0, [r8, #4]!
	str	r8, [sp, #64]
	bl	__aeabi_i2d
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r4, r0
	mov	r5, r1
	add	r1, sp, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r3, r1
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	ldr	r3, [sp, #72]
	str	r0, [r8]
	cmp	fp, r3
	bne	.L14
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	1072693248
	.size	gl_fog_color_pixels, .-gl_fog_color_pixels
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
