	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_LoadEntities                 ## -- Begin function R_LoadEntities
	.p2align	4, 0x90
_R_LoadEntities:                        ## @R_LoadEntities
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_TOKEN_CHARS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r15), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_s_worldData@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movabsq	$274877907008, %rcx             ## imm = 0x4000000040
	movq	%rcx, (%rax)
	movl	$128, 8(%rax)
	movq	_fileBase@GOTPCREL(%rip), %rax
	movq	8(%rbx), %r12
	addq	(%rax), %r12
	movq	%r12, -56(%rbp)
	movq	_ri@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rdi
	incq	%rdi
	movq	_h_low@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	*8(%rcx)
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_strcpy
	movl	8(%r14), %eax
	movl	%eax, 12(%r14)
	movq	_qtrue@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-56(%rbp), %rdi
	callq	_COM_ParseExt
	cmpb	$123, (%rax)
	jne	LBB0_16
## %bb.1:
	leaq	-56(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	movq	%r15, %rdi
	movq	%rax, %rsi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdx
	callq	_R_RemapShader
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$125, %cl
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Q_strncpyz
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$125, %cl
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Q_strncpyz
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_Q_strncmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_Q_strncmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_s_worldData@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	4(%rdx), %rcx
	leaq	8(%rdx), %r8
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_sscanf
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rax)
	movq	_r_vertexLight@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rsi
	incq	%rsi
	movb	$0, (%rax)
	movq	%r15, %rdi
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rdx
	movq	_ri@GOTPCREL(%rip), %rax
	callq	*(%rax)
LBB0_16:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ## @MAX_TOKEN_CHARS
	.comm	_s_worldData,16,3               ## @s_worldData
	.comm	_fileBase,8,3                   ## @fileBase
	.comm	_ri,16,3                        ## @ri
	.comm	_h_low,4,2                      ## @h_low
	.comm	_qtrue,4,2                      ## @qtrue
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vertexremapshader"

	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"WARNING: no semi colon in vertexshaderremap '%s'\n"

	.comm	_r_vertexLight,8,3              ## @r_vertexLight
L_.str.2:                               ## @.str.2
	.asciz	"0"

L_.str.3:                               ## @.str.3
	.asciz	"remapshader"

L_.str.4:                               ## @.str.4
	.asciz	"WARNING: no semi colon in shaderremap '%s'\n"

L_.str.5:                               ## @.str.5
	.asciz	"gridsize"

L_.str.6:                               ## @.str.6
	.asciz	"%f %f %f"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_LoadEntities                 ; -- Begin function R_LoadEntities
	.p2align	2
_R_LoadEntities:                        ; @R_LoadEntities
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x28, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_TOKEN_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_TOKEN_CHARS@GOTPAGEOFF]
	ldr	w19, [x8]
	mov	x9, x19
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x19, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
	ldr	w22, [x8]
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh9:
	adrp	x27, _s_worldData@GOTPAGE
Lloh10:
	ldr	x27, [x27, _s_worldData@GOTPAGEOFF]
	ldr	x8, [x27]
	movi.2s	v0, #64
	str	d0, [x8]
	mov	w9, #128
	str	w9, [x8, #8]
Lloh11:
	adrp	x8, _fileBase@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fileBase@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldp	x10, x9, [x0]
	add	x23, x9, x8
Lloh14:
	adrp	x8, _ri@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
	stur	x23, [x29, #-96]
Lloh16:
	ldr	x8, [x8, #8]
	add	x0, x10, #1
Lloh17:
	adrp	x9, _h_low@GOTPAGE
Lloh18:
	ldr	x9, [x9, _h_low@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	blr	x8
	str	w0, [x27, #8]
	mov	x1, x23
	bl	_strcpy
	ldr	w8, [x27, #8]
	str	w8, [x27, #12]
Lloh20:
	adrp	x23, _qtrue@GOTPAGE
Lloh21:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	ldr	w1, [x23]
	sub	x0, x29, #96
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #123
	b.ne	LBB0_19
; %bb.1:
Lloh22:
	adrp	x24, l_.str@PAGE
Lloh23:
	add	x24, x24, l_.str@PAGEOFF
Lloh24:
	adrp	x25, l_.str.2@PAGE
Lloh25:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh26:
	adrp	x26, l_.str.3@PAGE
Lloh27:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x0, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x2, x25
	bl	_R_RemapShader
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	sub	x0, x29, #96
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #125
	b.eq	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_Q_strncpyz
	ldr	w1, [x23]
	sub	x0, x29, #96
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #125
	b.eq	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_Q_strncpyz
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_Q_strncmp
	cbz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x26
	bl	_Q_strncmp
	cbz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Q_stricmp
	cbnz	w0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x27]
	add	x3, x2, #4
	add	x4, x2, #8
	mov	x0, x20
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sscanf
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x0]
Lloh32:
	adrp	x8, _r_vertexLight@GOTPAGE
Lloh33:
	ldr	x8, [x8, _r_vertexLight@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #59
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	strb	wzr, [x1], #1
	b	LBB0_3
LBB0_16:
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
Lloh39:
	adrp	x8, _ri@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x9]
	mov	x2, x20
	blr	x8
LBB0_19:
	mov	sp, x28
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ; @MAX_TOKEN_CHARS
	.comm	_s_worldData,16,3               ; @s_worldData
	.comm	_fileBase,8,3                   ; @fileBase
	.comm	_ri,16,3                        ; @ri
	.comm	_h_low,4,2                      ; @h_low
	.comm	_qtrue,4,2                      ; @qtrue
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vertexremapshader"

	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"WARNING: no semi colon in vertexshaderremap '%s'\n"

	.comm	_r_vertexLight,8,3              ; @r_vertexLight
l_.str.2:                               ; @.str.2
	.asciz	"0"

l_.str.3:                               ; @.str.3
	.asciz	"remapshader"

l_.str.4:                               ; @.str.4
	.asciz	"WARNING: no semi colon in shaderremap '%s'\n"

l_.str.5:                               ; @.str.5
	.asciz	"gridsize"

l_.str.6:                               ; @.str.6
	.asciz	"%f %f %f"

.subsections_via_symbols
