	.file	"extr_gx.c_GX_InitLightDistAttn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	GX_InitLightDistAttn
	.type	GX_InitLightDistAttn, @function
GX_InitLightDistAttn:
.LFB0:
	.cfi_startproc
	endbr64
	pxor	xmm2, xmm2
	comiss	xmm2, xmm0
	ja	.L7
	comiss	xmm2, xmm1
	ja	.L7
	movss	xmm4, DWORD PTR .LC1[rip]
	movaps	xmm3, xmm2
	movaps	xmm5, xmm2
	comiss	xmm1, xmm4
	jnb	.L2
	cmp	esi, 130
	je	.L3
	cmp	esi, 131
	je	.L4
	cmp	esi, 128
	jne	.L2
	movaps	xmm3, xmm4
	subss	xmm3, xmm1
	mulss	xmm1, xmm0
	mulss	xmm1, xmm0
	divss	xmm3, xmm1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	movss	xmm4, DWORD PTR .LC1[rip]
	movaps	xmm3, xmm2
	movaps	xmm5, xmm2
.L2:
	movss	DWORD PTR [rdi], xmm4
	movss	DWORD PTR 4[rdi], xmm5
	movss	DWORD PTR 8[rdi], xmm3
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movaps	xmm5, xmm4
	subss	xmm5, xmm1
	mulss	xmm1, xmm0
	divss	xmm5, xmm1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movaps	xmm3, xmm4
	subss	xmm3, xmm1
	mulss	xmm3, DWORD PTR .LC2[rip]
	mulss	xmm1, xmm0
	movaps	xmm5, xmm3
	divss	xmm5, xmm1
	mulss	xmm1, xmm0
	divss	xmm3, xmm1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	GX_InitLightDistAttn, .-GX_InitLightDistAttn
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1065353216
	.align 4
.LC2:
	.long	1056964608
	.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_gx.c_GX_InitLightDistAttn.c"
	.text
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpge
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.align	2
	.global	GX_InitLightDistAttn
	.syntax unified
	.arm
	.fpu softvfp
	.type	GX_InitLightDistAttn, %function
GX_InitLightDistAttn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	mov	r0, r1
	mov	r1, #0
	mov	r6, r2
	mov	r7, r3
	bl	__aeabi_fcmplt
	cmp	r0, #0
	bne	.L8
	mov	r1, #0
	mov	r0, r6
	bl	__aeabi_fcmplt
	cmp	r0, #0
	bne	.L8
	mov	r1, #1065353216
	mov	r0, r6
	bl	__aeabi_fcmpge
	cmp	r0, #0
	beq	.L11
.L8:
	mov	r3, #0
	mov	r5, r3
.L2:
	mov	r2, #1065353216
	str	r5, [r4, #4]	@ float
	str	r3, [r4, #8]	@ float
	str	r2, [r4]	@ float
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	cmp	r7, #130
	beq	.L3
	cmp	r7, #131
	beq	.L4
	cmp	r7, #128
	bne	.L8
	mov	r1, r6
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r6
	mov	r0, r5
	mov	r6, r3
	bl	__aeabi_fmul
	mov	r1, r5
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r5, #0
	mov	r3, r0
	b	.L2
.L4:
	mov	r1, r6
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r1, r6
	mov	r6, r0
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, #0
	mov	r5, r0
	b	.L2
.L3:
	mov	r1, r6
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r1, #1056964608
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r6
	mov	r0, r5
	mov	r6, r3
	bl	__aeabi_fmul
	mov	r7, r0
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r5
	mov	r0, r7
	mov	r5, r3
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, r0
	b	.L2
	.size	GX_InitLightDistAttn, .-GX_InitLightDistAttn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
