	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseFlare
_ParseFlare:                            ## @ParseFlare
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	20(%rdi), %edi
	callq	_LittleLong
	incq	%rax
	movq	%rax, 16(%r15)
	movl	16(%r14), %edi
	movq	_LIGHTMAP_BY_VERTEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShaderForShaderNum
	movq	%rax, 8(%r15)
	movq	_r_singleShader@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_tr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_3:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_h_low@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	$32, %edi
	callq	*(%rax)
	movq	%rax, %rbx
	movq	_SF_FLARE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, (%r15)
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_LittleFloat
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_LittleFloat
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	callq	_LittleFloat
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	callq	_LittleFloat
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_LittleFloat
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	4(%rax), %edi
	callq	_LittleFloat
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r14), %rax
	movl	8(%rax), %edi
	callq	_LittleFloat
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	callq	_LittleFloat
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	8(%rax), %edi
	callq	_LittleFloat
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIGHTMAP_BY_VERTEX,4,2         ## @LIGHTMAP_BY_VERTEX
	.comm	_r_singleShader,8,3             ## @r_singleShader
	.comm	_tr,8,3                         ## @tr
	.comm	_ri,8,3                         ## @ri
	.comm	_h_low,4,2                      ## @h_low
	.comm	_SF_FLARE,4,2                   ## @SF_FLARE
	.no_dead_strip	_ParseFlare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseFlare
_ParseFlare:                            ; @ParseFlare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_LittleLong
	add	x8, x0, #1
	str	x8, [x21, #16]
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _LIGHTMAP_BY_VERTEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIGHTMAP_BY_VERTEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ShaderForShaderNum
	str	x0, [x21, #8]
Lloh3:
	adrp	x8, _r_singleShader@GOTPAGE
Lloh4:
	ldr	x8, [x8, _r_singleShader@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _tr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x21, #8]
LBB0_3:
Lloh9:
	adrp	x8, _ri@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _h_low@GOTPAGE
Lloh13:
	ldr	x9, [x9, _h_low@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	mov	w0, #32
	blr	x8
	mov	x20, x0
Lloh15:
	adrp	x8, _SF_FLARE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SF_FLARE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	x0, [x21]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_LittleFloat
	ldr	x8, [x20, #16]
	str	x0, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_LittleFloat
	ldr	x8, [x20, #8]
	str	x0, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	bl	_LittleFloat
	ldr	x8, [x20]
	str	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_LittleFloat
	ldr	x8, [x20, #16]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_LittleFloat
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8, #4]
	bl	_LittleFloat
	ldr	x8, [x20]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
	bl	_LittleFloat
	ldr	x8, [x20, #16]
	str	x0, [x8, #16]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	bl	_LittleFloat
	ldr	x8, [x20, #8]
	str	x0, [x8, #16]
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8, #8]
	bl	_LittleFloat
	ldr	x8, [x20]
	str	x0, [x8, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LIGHTMAP_BY_VERTEX,4,2         ; @LIGHTMAP_BY_VERTEX
	.comm	_r_singleShader,8,3             ; @r_singleShader
	.comm	_tr,8,3                         ; @tr
	.comm	_ri,8,3                         ; @ri
	.comm	_h_low,4,2                      ; @h_low
	.comm	_SF_FLARE,4,2                   ; @SF_FLARE
	.no_dead_strip	_ParseFlare
.subsections_via_symbols
