	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_RegisterShaderLightMap      ## -- Begin function RE_RegisterShaderLightMap
	.p2align	4, 0x90
_RE_RegisterShaderLightMap:             ## @RE_RegisterShaderLightMap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_strlen
	movq	_MAX_QPATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_R_FindShader
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	$0, 8(%rcx)
	jne	LBB0_4
## %bb.3:
	movl	(%rcx), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QPATH,8,3                  ## @MAX_QPATH
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Shader name exceeds MAX_QPATH\n"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_RegisterShaderLightMap      ; -- Begin function RE_RegisterShaderLightMap
	.p2align	2
_RE_RegisterShaderLightMap:             ; @RE_RegisterShaderLightMap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_strlen
Lloh0:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_R_FindShader
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _ri@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	w0, [x0]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QPATH,8,3                  ; @MAX_QPATH
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Shader name exceeds MAX_QPATH\n"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
