	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_drawAnimatedBack            ## -- Begin function WI_drawAnimatedBack
	.p2align	4, 0x90
_WI_drawAnimatedBack:                   ## @WI_drawAnimatedBack
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_commercial@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_wbs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	(%rax), %rax
	cmpq	$2, %rax
	jg	LBB0_5
## %bb.2:
	movq	_NUMANIMS@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_5
## %bb.3:
	movl	$20, %ebx
	xorl	%r12d, %r12d
	movq	_FB@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_anims@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax,%rbx), %edi
	movl	-4(%rax,%rbx), %esi
	movl	(%r14), %edx
	movq	-20(%rax,%rbx), %rcx
	movq	-12(%rax,%rbx), %rax
	movl	(%rax,%rcx,4), %ecx
	callq	_V_DrawPatch
	incq	%r12
	movq	(%r13), %rcx
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movslq	(%rcx,%rax,4), %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r12
	jl	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_commercial,8,3                 ## @commercial
	.comm	_wbs,8,3                        ## @wbs
	.comm	_NUMANIMS,8,3                   ## @NUMANIMS
	.comm	_anims,8,3                      ## @anims
	.comm	_FB,4,2                         ## @FB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_drawAnimatedBack            ; -- Begin function WI_drawAnimatedBack
	.p2align	2
_WI_drawAnimatedBack:                   ; @WI_drawAnimatedBack
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _commercial@GOTPAGE
Lloh1:
	ldr	x8, [x8, _commercial@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x19, _wbs@GOTPAGE
Lloh4:
	ldr	x19, [x19, _wbs@GOTPAGEOFF]
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	cmp	w8, #2
	b.gt	LBB0_5
; %bb.2:
Lloh5:
	adrp	x20, _NUMANIMS@GOTPAGE
Lloh6:
	ldr	x20, [x20, _NUMANIMS@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
Lloh7:
	adrp	x23, _anims@GOTPAGE
Lloh8:
	ldr	x23, [x23, _anims@GOTPAGEOFF]
Lloh9:
	adrp	x24, _FB@GOTPAGE
Lloh10:
	ldr	x24, [x24, _FB@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x8, [x9, x8, lsl #3]
	add	x8, x8, x21
	ldp	w1, w0, [x8, #16]
	ldr	w2, [x24]
	ldp	x9, x8, [x8]
	ldr	w3, [x8, x9, lsl #2]
	bl	_V_DrawPatch
	add	x22, x22, #1
	ldr	x9, [x20]
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	ldrsw	x9, [x9, x8, lsl #2]
	add	x21, x21, #24
	cmp	x22, x9
	b.lt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_commercial,8,3                 ; @commercial
	.comm	_wbs,8,3                        ; @wbs
	.comm	_NUMANIMS,8,3                   ; @NUMANIMS
	.comm	_anims,8,3                      ; @anims
	.comm	_FB,4,2                         ; @FB
.subsections_via_symbols
