	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpawnModelsOnVictoryPads       ## -- Begin function SpawnModelsOnVictoryPads
	.p2align	4, 0x90
_SpawnModelsOnVictoryPads:              ## @SpawnModelsOnVictoryPads
	.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	_podium1@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movq	_podium2@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_podium3@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_SpawnPodium
	movq	%rax, %r13
	movq	_offsetFirst@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_entities@GOTPCREL(%rip), %rdi
	movq	_level@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rax), %rax
	leaq	(,%rax,4), %rdx
	addq	(%rdi), %rdx
	movq	(%rcx,%rax,8), %rax
	movq	_PERS_RANK@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_RANK_TIED_FLAG@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	notl	%ecx
	andl	(%rax,%rdi,4), %ecx
	movq	%r13, %rdi
	callq	_SpawnModelOnVictoryPad
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$2000, %ecx                     ## imm = 0x7D0
	addq	24(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	_CelebrateStart@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rax, (%r12)
LBB0_2:
	movq	_offsetSecond@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	8(%rax), %rax
	leaq	(,%rax,4), %rdx
	movq	_g_entities@GOTPCREL(%rip), %r12
	addq	(%r12), %rdx
	movq	(%rcx,%rax,8), %rax
	movq	(%r14), %rdi
	movl	(%r15), %ecx
	notl	%ecx
	andl	(%rax,%rdi,4), %ecx
	movq	%r13, %rdi
	callq	_SpawnModelOnVictoryPad
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_podium2@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	cmpl	$3, 8(%rbx)
	jl	LBB0_7
## %bb.5:
	movq	_offsetThird@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	16(%rax), %rax
	leaq	(,%rax,4), %rdx
	addq	(%r12), %rdx
	movq	(%rcx,%rax,8), %rax
	movq	(%r14), %rdi
	movl	(%r15), %ecx
	notl	%ecx
	andl	(%rax,%rdi,4), %ecx
	movq	%r13, %rdi
	callq	_SpawnModelOnVictoryPad
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_podium3@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_podium1,8,3                    ## @podium1
	.comm	_podium2,8,3                    ## @podium2
	.comm	_podium3,8,3                    ## @podium3
	.comm	_offsetFirst,4,2                ## @offsetFirst
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_level,32,3                     ## @level
	.comm	_PERS_RANK,8,3                  ## @PERS_RANK
	.comm	_RANK_TIED_FLAG,4,2             ## @RANK_TIED_FLAG
	.comm	_CelebrateStart,4,2             ## @CelebrateStart
	.comm	_offsetSecond,4,2               ## @offsetSecond
	.comm	_offsetThird,4,2                ## @offsetThird
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpawnModelsOnVictoryPads       ; -- Begin function SpawnModelsOnVictoryPads
	.p2align	2
_SpawnModelsOnVictoryPads:              ; @SpawnModelsOnVictoryPads
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x26, _podium1@GOTPAGE
Lloh1:
	ldr	x26, [x26, _podium1@GOTPAGEOFF]
	str	xzr, [x26]
Lloh2:
	adrp	x21, _podium2@GOTPAGE
Lloh3:
	ldr	x21, [x21, _podium2@GOTPAGEOFF]
	str	xzr, [x21]
Lloh4:
	adrp	x20, _podium3@GOTPAGE
Lloh5:
	ldr	x20, [x20, _podium3@GOTPAGEOFF]
	str	xzr, [x20]
	bl	_SpawnPodium
	mov	x19, x0
Lloh6:
	adrp	x8, _offsetFirst@GOTPAGE
Lloh7:
	ldr	x8, [x8, _offsetFirst@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x23, _g_entities@GOTPAGE
Lloh10:
	ldr	x23, [x23, _g_entities@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh11:
	adrp	x22, _level@GOTPAGE
Lloh12:
	ldr	x22, [x22, _level@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #2
	ldr	x8, [x22, #16]
	ldr	x8, [x8, x9, lsl #3]
Lloh13:
	adrp	x24, _PERS_RANK@GOTPAGE
Lloh14:
	ldr	x24, [x24, _PERS_RANK@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	w8, [x8, x9, lsl #2]
Lloh15:
	adrp	x25, _RANK_TIED_FLAG@GOTPAGE
Lloh16:
	ldr	x25, [x25, _RANK_TIED_FLAG@GOTPAGEOFF]
	ldr	w9, [x25]
	bic	w3, w8, w9
	bl	_SpawnModelOnVictoryPad
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22, #24]
	add	x8, x8, #2000
	str	x8, [x0, #8]
Lloh17:
	adrp	x8, _CelebrateStart@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CelebrateStart@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0]
	str	x0, [x26]
LBB0_2:
Lloh20:
	adrp	x8, _offsetSecond@GOTPAGE
Lloh21:
	ldr	x8, [x8, _offsetSecond@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x9, [x9, #8]
	ldr	x10, [x22, #16]
	ldr	x10, [x10, x9, lsl #3]
	add	x2, x8, x9, lsl #2
	ldr	x8, [x24]
	ldr	w8, [x10, x8, lsl #2]
	ldr	w9, [x25]
	bic	w3, w8, w9
	mov	x0, x19
	bl	_SpawnModelOnVictoryPad
	cbz	x0, LBB0_4
; %bb.3:
	str	x0, [x21]
LBB0_4:
	ldr	w8, [x22, #8]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.5:
Lloh23:
	adrp	x8, _offsetThird@GOTPAGE
Lloh24:
	ldr	x8, [x8, _offsetThird@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x9, [x9, #16]
	ldr	x10, [x22, #16]
	ldr	x10, [x10, x9, lsl #3]
	add	x2, x8, x9, lsl #2
	ldr	x8, [x24]
	ldr	w8, [x10, x8, lsl #2]
	ldr	w9, [x25]
	bic	w3, w8, w9
	mov	x0, x19
	bl	_SpawnModelOnVictoryPad
	cbz	x0, LBB0_7
; %bb.6:
	str	x0, [x20]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_podium1,8,3                    ; @podium1
	.comm	_podium2,8,3                    ; @podium2
	.comm	_podium3,8,3                    ; @podium3
	.comm	_offsetFirst,4,2                ; @offsetFirst
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_level,32,3                     ; @level
	.comm	_PERS_RANK,8,3                  ; @PERS_RANK
	.comm	_RANK_TIED_FLAG,4,2             ; @RANK_TIED_FLAG
	.comm	_CelebrateStart,4,2             ; @CelebrateStart
	.comm	_offsetSecond,4,2               ; @offsetSecond
	.comm	_offsetThird,4,2                ; @offsetThird
.subsections_via_symbols
