	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gl_compute_spot_exp_table
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_compute_spot_exp_table
	.p2align	4, 0x90
_gl_compute_spot_exp_table:             ## @gl_compute_spot_exp_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	(%rdi), %xmm2                   ## xmm2 = mem[0],zero
	movq	8(%rdi), %rcx
	movq	(%rcx), %rax
	movq	$0, (%rax)
	movq	_EXP_TABLE_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$1, %eax
	jle	LBB0_1
## %bb.5:
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	movq	_FLT_MIN@GOTPCREL(%rip), %r15
                                        ## implicit-def: $xmm0
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorpd	%xmm0, %xmm0
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %rcx
	movl	%ebx, %eax
	movq	(%rcx,%rax,8), %rax
	movsd	%xmm0, (%rax)
	movq	%rbx, %rdx
	incq	%rdx
	movq	%rbx, %rax
	cmpq	$2, %rdx
	jbe	LBB0_2
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %ecx
	leaq	-1(%rax), %rbx
	movl	$1, %r13d
	testl	%ecx, %ecx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movl	(%r14), %eax
	decl	%eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %edi
	movapd	%xmm2, %xmm0
	callq	_pow
	movsd	(%r15), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_1:
	decl	%eax
	jmp	LBB0_17
LBB0_2:
	movl	(%r14), %edx
	leal	-1(%rdx), %eax
	cmpl	$2, %edx
	jl	LBB0_17
## %bb.3:
	movl	%eax, %edi
	movq	(%rcx), %rsi
	leaq	-1(%rdi), %rbx
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rbx
	jae	LBB0_12
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_12:
	andl	$-4, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%rbx,8), %rdx
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%rsi), %xmm0
	movsd	%xmm0, 8(%rsi)
	movq	16(%rcx,%rbx,8), %rsi
	movsd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%rdx), %xmm0
	movsd	%xmm0, 8(%rdx)
	movq	24(%rcx,%rbx,8), %rdx
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%rsi), %xmm0
	movsd	%xmm0, 8(%rsi)
	movq	32(%rcx,%rbx,8), %rsi
	addq	$4, %rbx
	movsd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%rdx), %xmm0
	movsd	%xmm0, 8(%rdx)
	cmpq	%rbx, %rdi
	jne	LBB0_13
LBB0_14:
	testq	%r8, %r8
	je	LBB0_17
## %bb.15:
	leaq	(%rcx,%rbx,8), %rdi
	addq	$8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rbx,8), %rdx
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%rsi), %xmm0
	movsd	%xmm0, 8(%rsi)
	incq	%rbx
	movq	%rdx, %rsi
	cmpq	%rbx, %r8
	jne	LBB0_16
LBB0_17:
	cltq
	movq	(%rcx,%rax,8), %rax
	movq	$0, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXP_TABLE_SIZE,4,2             ## @EXP_TABLE_SIZE
	.comm	_FLT_MIN,8,3                    ## @FLT_MIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_compute_spot_exp_table      ; -- Begin function gl_compute_spot_exp_table
	.p2align	2
_gl_compute_spot_exp_table:             ; @gl_compute_spot_exp_table
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	ldr	d8, [x0]
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	str	xzr, [x9]
Lloh0:
	adrp	x20, _EXP_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EXP_TABLE_SIZE@GOTPAGEOFF]
	ldr	w10, [x20]
	cmp	w10, #1
	b.le	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	w9, #0
Lloh2:
	adrp	x21, _FLT_MIN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FLT_MIN@GOTPAGEOFF]
	mov	x22, #4636737291354636288
                                        ; implicit-def: $d0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x10, [x8, w23, uxtw #3]
	str	d0, [x10]
	add	x11, x23, #1
	mov	x10, x23
	cmp	x11, #2
	b.ls	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x10, #1
	cbnz	w9, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w10, #1
	scvtf	d0, w8
	ldr	w8, [x20]
	sub	w8, w8, #1
	scvtf	d1, w8
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	fmov	d0, d8
	bl	_pow
	ldr	d1, [x21]
	fmov	d2, x22
	fmul	d1, d1, d2
	fcmp	d0, d1
	b.pl	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #1
	movi	d0, #0000000000000000
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	b	LBB0_3
LBB0_8:
	sub	w9, w10, #1
	b	LBB0_12
LBB0_9:
	ldr	w10, [x20]
	sub	w9, w10, #1
	cmp	w10, #2
	b.lt	LBB0_12
; %bb.10:
	mov	x10, #0
	ldr	x12, [x8]
	lsl	x11, x9, #3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x8, x10
	ldr	x13, [x13, #8]
	ldr	d0, [x13]
	ldr	d1, [x12]
	fsub	d0, d0, d1
	str	d0, [x12, #8]
	add	x10, x10, #8
	mov	x12, x13
	cmp	x11, x10
	b.ne	LBB0_11
LBB0_12:
	ldr	x8, [x8, w9, sxtw #3]
	str	xzr, [x8, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EXP_TABLE_SIZE,4,2             ; @EXP_TABLE_SIZE
	.comm	_FLT_MIN,8,3                    ; @FLT_MIN
.subsections_via_symbols
