	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_AddAnimSurfaces              ## -- Begin function R_AddAnimSurfaces
	.p2align	4, 0x90
_R_AddAnimSurfaces:                     ## @R_AddAnimSurfaces
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rcx
	cmpl	$0, 4(%rax,%rcx,4)
	jle	LBB0_3
## %bb.1:
	leaq	(%rax,%rcx,4), %r14
	movslq	(%r14), %rax
	leaq	(%r14,%rax,4), %rbx
	xorl	%r15d, %r15d
	movq	_qfalse@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_R_GetShaderByHandle
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_R_AddDrawSurf
	movslq	(%rbx), %rax
	leaq	(%rbx,%rax,4), %rbx
	incl	%r15d
	cmpl	4(%r14), %r15d
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,8,3                         ## @tr
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_AddAnimSurfaces              ; -- Begin function R_AddAnimSurfaces
	.p2align	2
_R_AddAnimSurfaces:                     ; @R_AddAnimSurfaces
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldrsw	x9, [x8]
	add	x20, x8, x9, lsl #2
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
	ldrsw	x8, [x20]
	add	x19, x20, x8, lsl #2
Lloh3:
	adrp	x22, _qfalse@GOTPAGE
Lloh4:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	bl	_R_GetShaderByHandle
	mov	x1, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_R_AddDrawSurf
	ldrsw	x8, [x19]
	add	x19, x19, x8, lsl #2
	add	w21, w21, #1
	ldr	w8, [x20, #4]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,8,3                         ; @tr
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
