	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ComputeTexCoords
_ComputeTexCoords:                      ## @ComputeTexCoords
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_NUM_TEXTURE_BUNDLES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_34
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	movq	_tess@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	_NUM_TEXTURE_BUNDLES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_34
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	leaq	(%r15,%r15,2), %r14
	movl	(%rax,%r14,8), %ecx
	movl	$-136, %edx
	addl	%edx, %ecx
	cmpl	$6, %ecx
	ja	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rbx)
	jle	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rbx), %rcx
	movl	-4(%rcx,%r12,4), %edi
	leaq	(,%r15,8), %rcx
	movq	%r15, %rbx
	leaq	(%rcx,%rcx,2), %r15
	movq	16(%rax,%r15), %rax
	movl	(%rax), %esi
	callq	_DotProduct
	movq	_tess@GOTPCREL(%rip), %rcx
	movq	16(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	-8(%rcx,%r12,8), %rcx
	movq	%rax, (%rcx)
	movq	_tess@GOTPCREL(%rip), %rax
	movq	24(%rax), %rax
	movl	-4(%rax,%r12,4), %edi
	movq	(%r13), %rax
	movq	16(%rax,%r15), %rax
	movq	%rbx, %r15
	movl	4(%rax), %esi
	callq	_DotProduct
	movq	_tess@GOTPCREL(%rip), %rbx
	movq	16(%rbx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	-8(%rcx,%r12,8), %rcx
	movq	%rax, 8(%rcx)
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jge	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	incq	%r12
	jmp	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi), %rsi
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rsi, (%rdx)
	movq	16(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rsi), %rsi
	movq	8(%rsi), %rsi
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rsi, 8(%rdx)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_13
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	8(%rsi), %rsi
	movq	(%rsi), %rsi
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rsi, (%rdx)
	movq	16(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	8(%rsi), %rsi
	movq	8(%rsi), %rsi
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rsi, 8(%rdx)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
	jmp	LBB0_17
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	movl	(%rbx), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_Com_Memset
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_RB_CalcFogTexCoords
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_RB_CalcEnvironmentTexCoords
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_tess@GOTPCREL(%rip), %rbx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	cmpl	$0, 4(%rax,%r14,8)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_33
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movq	_ri@GOTPCREL(%rip), %r13
	jmp	LBB0_19
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=2
	movl	16(%rax,%rcx,4), %edi
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcScrollTexCoords
LBB0_31:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_tess@GOTPCREL(%rip), %rbx
LBB0_32:                                ##   in Loop: Header=BB0_19 Depth=2
	incl	%r15d
	movq	(%r12), %rax
	cmpl	4(%rax,%r14,8), %r15d
	jge	LBB0_33
LBB0_19:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rax,%r14,8), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movl	(%rax,%rcx,4), %edx
	leal	-128(%rdx), %esi
	cmpl	$7, %esi
	ja	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	leaq	LJTI0_1(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=2
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcTurbulentTexCoords
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%r13)
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_19 Depth=2
	leaq	(%rax,%rcx,4), %rdi
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcTransformTexCoords
	jmp	LBB0_31
LBB0_27:                                ##   in Loop: Header=BB0_19 Depth=2
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcStretchTexCoords
	jmp	LBB0_31
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=2
	movl	12(%rax,%rcx,4), %edi
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcScaleTexCoords
	jmp	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=2
	movl	4(%rax,%rcx,4), %edi
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	callq	_RB_CalcRotateTexCoords
	jmp	LBB0_31
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_TR_MAX_TEXMODS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_32
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_backEnd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	jmp	LBB0_25
LBB0_34:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_35
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_34
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
LJTI0_1:
	.long	L0_1_set_22
	.long	L0_1_set_28
	.long	L0_1_set_27
	.long	L0_1_set_24
	.long	L0_1_set_26
	.long	L0_1_set_29
	.long	L0_1_set_21
	.long	L0_1_set_23
	.end_data_region
                                        ## -- End function
	.comm	_NUM_TEXTURE_BUNDLES,4,2        ## @NUM_TEXTURE_BUNDLES
	.comm	_tess,40,3                      ## @tess
	.comm	_TR_MAX_TEXMODS,4,2             ## @TR_MAX_TEXMODS
	.comm	_backEnd,8,3                    ## @backEnd
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: unknown texmod '%d' in shader '%s'\n"

	.no_dead_strip	_ComputeTexCoords
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ComputeTexCoords
_ComputeTexCoords:                      ; @ComputeTexCoords
	.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
Lloh0:
	adrp	x8, _NUM_TEXTURE_BUNDLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_TEXTURE_BUNDLES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	ldr	x8, [x0]
	mov	w23, #24
	mov	w24, #20
Lloh3:
	adrp	x27, _tess@GOTPAGE
Lloh4:
	ldr	x27, [x27, _tess@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
Lloh5:
	adrp	x9, _NUM_TEXTURE_BUNDLES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NUM_TEXTURE_BUNDLES@GOTPAGEOFF]
Lloh7:
	ldrsw	x9, [x9]
	cmp	x22, x9
	b.ge	LBB0_33
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	mul	x9, x22, x23
	ldr	w9, [x8, x9]
	sub	w9, w9, #136
	cmp	w9, #6
	b.hi	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x12, lJTI0_0@PAGE
Lloh9:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	lsl	x26, x22, #3
	br	x10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x27, #24]
	lsl	x25, x21, #2
	ldr	w0, [x9, x25]
	add	x9, x22, x22, lsl #1
	lsl	x20, x9, #3
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8]
	bl	_DotProduct
	ldr	x8, [x27, #16]
	ldr	x8, [x8, x26]
	lsl	x28, x21, #3
	ldr	x8, [x8, x28]
	str	x0, [x8]
	ldr	x8, [x27, #24]
	ldr	w0, [x8, x25]
	ldr	x8, [x19]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #4]
	bl	_DotProduct
	ldr	x8, [x27, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x28]
	str	x0, [x8, #8]
	add	x21, x21, #1
	ldrsw	x8, [x27]
	cmp	x21, x8
	b.ge	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19]
	b	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x27, #32]
	ldr	x10, [x10, x8]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x11, [x27, #16]
	ldr	x11, [x11, x26]
	ldr	x11, [x11, x8]
	str	x10, [x11]
	ldr	x10, [x27, #32]
	ldr	x10, [x10, x8]
	ldr	x10, [x10]
	ldr	x11, [x27, #16]
	ldr	x11, [x11, x26]
	ldr	x10, [x10, #8]
	ldr	x11, [x11, x8]
	str	x10, [x11, #8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_11
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x27, #32]
	ldr	x10, [x10, x8]
	ldr	x10, [x10, #8]
	ldr	x10, [x10]
	ldr	x11, [x27, #16]
	ldr	x11, [x11, x26]
	ldr	x11, [x11, x8]
	str	x10, [x11]
	ldr	x10, [x27, #32]
	ldr	x10, [x10, x8]
	ldr	x10, [x10, #8]
	ldr	x11, [x27, #16]
	ldr	x11, [x11, x26]
	ldr	x10, [x10, #8]
	ldr	x11, [x11, x8]
	str	x10, [x11, #8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_14
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #16]
	ldr	x0, [x8, x22, lsl #3]
	ldr	w8, [x27]
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_Com_Memset
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #16]
	ldr	x0, [x8, x22, lsl #3]
	bl	_RB_CalcFogTexCoords
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #16]
	ldr	x0, [x8, x22, lsl #3]
	bl	_RB_CalcEnvironmentTexCoords
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	madd	x9, x22, x23, x8
	ldr	w9, [x9, #4]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
Lloh10:
	adrp	x20, _ri@GOTPAGE
Lloh11:
	ldr	x20, [x20, _ri@GOTPAGEOFF]
Lloh12:
	adrp	x21, _ERR_DROP@GOTPAGE
Lloh13:
	ldr	x21, [x21, _ERR_DROP@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str@PAGE
Lloh15:
	add	x25, x25, l_.str@PAGEOFF
Lloh16:
	adrp	x28, lJTI0_1@PAGE
Lloh17:
	add	x28, x28, lJTI0_1@PAGEOFF
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_23 Depth=2
	madd	x8, x9, x24, x8
	ldr	w0, [x8, #16]
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcScrollTexCoords
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	w26, w26, #1
	ldr	x8, [x19]
	madd	x9, x22, x23, x8
	ldr	w9, [x9, #4]
	cmp	w26, w9
	b.ge	LBB0_2
LBB0_23:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	madd	x8, x22, x23, x8
	ldr	x8, [x8, #8]
	smaddl	x0, w26, w24, x8
	ldr	w2, [x0]
	sub	w10, w2, #128
	cmp	w10, #7
	b.hi	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	sxtw	x9, w26
	adr	x11, LBB0_20
	ldrb	w12, [x28, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=2
	madd	x8, x9, x24, x8
	add	x0, x8, #8
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcTurbulentTexCoords
	b	LBB0_22
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [x20]
	ldr	w0, [x21]
	ldr	x9, [x27, #8]
	ldr	w3, [x9]
	mov	x1, x25
	blr	x8
	b	LBB0_22
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcTransformTexCoords
	b	LBB0_22
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=2
	madd	x8, x9, x24, x8
	add	x0, x8, #8
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcStretchTexCoords
	b	LBB0_22
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=2
	madd	x8, x9, x24, x8
	ldr	w0, [x8, #12]
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcScaleTexCoords
	b	LBB0_22
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=2
	madd	x8, x9, x24, x8
	ldr	w0, [x8, #4]
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	bl	_RB_CalcRotateTexCoords
	b	LBB0_22
LBB0_31:                                ;   in Loop: Header=BB0_23 Depth=2
Lloh18:
	adrp	x8, _TR_MAX_TEXMODS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TR_MAX_TEXMODS@GOTPAGEOFF]
Lloh20:
	ldr	w26, [x8]
	b	LBB0_22
LBB0_32:                                ;   in Loop: Header=BB0_23 Depth=2
Lloh21:
	adrp	x8, _backEnd@GOTPAGE
Lloh22:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w0, [x8]
	b	LBB0_21
LBB0_33:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_33-LBB0_5)>>2
lJTI0_1:
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_27-LBB0_20)>>2
	.byte	(LBB0_28-LBB0_20)>>2
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_29-LBB0_20)>>2
	.byte	(LBB0_30-LBB0_20)>>2
	.byte	(LBB0_31-LBB0_20)>>2
	.byte	(LBB0_32-LBB0_20)>>2
                                        ; -- End function
	.comm	_NUM_TEXTURE_BUNDLES,4,2        ; @NUM_TEXTURE_BUNDLES
	.comm	_tess,40,3                      ; @tess
	.comm	_TR_MAX_TEXMODS,4,2             ; @TR_MAX_TEXMODS
	.comm	_backEnd,8,3                    ; @backEnd
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: unknown texmod '%d' in shader '%s'\n"

	.no_dead_strip	_ComputeTexCoords
.subsections_via_symbols
