	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GetShaderByHandle            ## -- Begin function R_GetShaderByHandle
	.p2align	4, 0x90
_R_GetShaderByHandle:                   ## @R_GetShaderByHandle
	.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, %rdx
	movq	_tr@GOTPCREL(%rip), %rbx
	cmpq	%rdi, (%rbx)
	jbe	LBB0_1
## %bb.2:
	shlq	$3, %rdx
	addq	8(%rbx), %rdx
	movq	%rdx, %rbx
	jmp	LBB0_3
LBB0_1:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
	addq	$16, %rbx
LBB0_3:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"R_GetShaderByHandle: out of range hShader '%d'\n"

	.comm	_tr,24,3                        ## @tr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GetShaderByHandle            ; -- Begin function R_GetShaderByHandle
	.p2align	2
_R_GetShaderByHandle:                   ; @R_GetShaderByHandle
	.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	x2, x0
Lloh0:
	adrp	x19, _tr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tr@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, x0
	b.ls	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	add	x8, x8, x2, lsl #3
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ri@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	add	x8, x19, #16
LBB0_3:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"R_GetShaderByHandle: out of range hShader '%d'\n"

	.comm	_tr,24,3                        ; @tr
.subsections_via_symbols
