	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BeginIntermission              ## -- Begin function BeginIntermission
	.p2align	4, 0x90
_BeginIntermission:                     ## @BeginIntermission
	.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	_level@GOTPCREL(%rip), %r14
	cmpq	$0, 16(%r14)
	je	LBB0_1
## %bb.13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_g_gametype@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_AdjustTournamentScores
LBB0_3:
	movq	8(%r14), %rax
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
	callq	_FindIntermissionPoint
	movq	(%rbx), %rax
	movq	_GT_SINGLE_PLAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_UpdateTournamentInfo
	xorl	%eax, %eax
	callq	_SpawnModelsOnVictoryPads
LBB0_5:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	movq	_g_entities@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_MoveClientToIntermission
	movl	(%r14), %eax
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	cmpl	$0, 8(%rcx,%rbx)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rcx,%rbx), %r15
	cmpq	$0, (%rcx,%rbx)
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_respawn
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SendScoreboardMessageToAllClients ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_level,24,3                     ## @level
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
	.comm	_GT_SINGLE_PLAYER,8,3           ## @GT_SINGLE_PLAYER
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_g_singlePlayer,8,3             ## @g_singlePlayer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BeginIntermission              ; -- Begin function BeginIntermission
	.p2align	2
_BeginIntermission:                     ; @BeginIntermission
	.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	x20, _level@GOTPAGE
Lloh1:
	ldr	x20, [x20, _level@GOTPAGEOFF]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	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
LBB0_2:
Lloh2:
	adrp	x19, _g_gametype@GOTPAGE
Lloh3:
	ldr	x19, [x19, _g_gametype@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _GT_TOURNAMENT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	bl	_AdjustTournamentScores
LBB0_4:
	ldr	x8, [x20, #8]
	str	x8, [x20, #16]
	bl	_FindIntermissionPoint
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _GT_SINGLE_PLAYER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	bl	_UpdateTournamentInfo
	bl	_SpawnModelsOnVictoryPads
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x21, #0
	mov	x22, #0
Lloh10:
	adrp	x23, _g_entities@GOTPAGE
Lloh11:
	ldr	x23, [x23, _g_entities@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_MoveClientToIntermission
	ldr	w8, [x20]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	add	x21, x21, #16
	cmp	x22, w8, sxtw
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x19, x9, x21
	ldr	w10, [x19, #8]
	cbz	w10, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x9, x21]
	cmp	x8, #0
	b.gt	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_respawn
	b	LBB0_8
LBB0_13:
	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
	b	_SendScoreboardMessageToAllClients
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_level,24,3                     ; @level
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
	.comm	_GT_SINGLE_PLAYER,8,3           ; @GT_SINGLE_PLAYER
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_g_singlePlayer,8,3             ; @g_singlePlayer
.subsections_via_symbols
