	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_RegisterShaderNoMip         ## -- Begin function RE_RegisterShaderNoMip
	.p2align	4, 0x90
_RE_RegisterShaderNoMip:                ## @RE_RegisterShaderNoMip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_strlen
	movq	_MAX_QPATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	_LIGHTMAP_2D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	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:
	addq	$8, %rsp
	popq	%rbx
	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	_LIGHTMAP_2D,4,2                ## @LIGHTMAP_2D
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_RegisterShaderNoMip         ; -- Begin function RE_RegisterShaderNoMip
	.p2align	2
_RE_RegisterShaderNoMip:                ; @RE_RegisterShaderNoMip
	.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, 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, _LIGHTMAP_2D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIGHTMAP_2D@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _qfalse@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_R_FindShader
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _ri@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_LIGHTMAP_2D,4,2                ; @LIGHTMAP_2D
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
