	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogExit                        ## -- Begin function LogExit
	.p2align	4, 0x90
_LogExit:                               ## @LogExit
	.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	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_G_LogPrintf
	movq	_level@GOTPCREL(%rip), %r15
	movl	32(%r15), %eax
	movl	%eax, 36(%r15)
	movq	_CS_INTERMISSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_trap_SetConfigstring
	movl	(%r15), %ebx
	cmpl	$32, %ebx
	movl	$32, %r14d
	cmovll	%ebx, %r14d
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	16(%r15), %rax
	movq	_TEAM_RED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rax,%rcx,4), %rsi
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_G_LogPrintf
LBB0_2:
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.3:
	cmpl	$2, %r14d
	movl	$1, %r13d
	cmovgel	%r14d, %r13d
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %r8
	movq	_CON_CONNECTING@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	24(%r15), %rax
	movq	(%rcx,%r14,8), %rcx
	leaq	(%rcx,%rcx,4), %rdi
	movq	32(%rax,%rdi,8), %rdx
	cmpq	(%r8), %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rax,%rdi,8), %rdx
	cmpq	(%r12), %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax,%rdi,8), %edx
	cmpl	$999, %edx                      ## imm = 0x3E7
	movl	$999, %ebx                      ## imm = 0x3E7
	cmovgel	%ebx, %edx
	movq	8(%rax,%rdi,8), %rsi
	movq	_PERS_SCORE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movslq	(%rsi,%rbx,4), %rsi
	movq	%r8, %rbx
	movl	24(%rax,%rdi,8), %r8d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_G_LogPrintf
	movq	%rbx, %r8
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Exit: %s\n"

	.comm	_level,40,3                     ## @level
	.comm	_CS_INTERMISSION,4,2            ## @CS_INTERMISSION
L_.str.1:                               ## @.str.1
	.asciz	"1"

	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
L_.str.2:                               ## @.str.2
	.asciz	"red:%i  blue:%i\n"

	.comm	_TEAM_RED,8,3                   ## @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ## @TEAM_BLUE
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
	.comm	_CON_CONNECTING,8,3             ## @CON_CONNECTING
L_.str.3:                               ## @.str.3
	.asciz	"score: %i  ping: %i  client: %i %s\n"

	.comm	_PERS_SCORE,8,3                 ## @PERS_SCORE
	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
	.comm	_PERS_RANK,8,3                  ## @PERS_RANK
	.comm	_SVF_BOT,4,2                    ## @SVF_BOT
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_g_singlePlayer,8,3             ## @g_singlePlayer
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogExit                        ; -- Begin function LogExit
	.p2align	2
_LogExit:                               ; @LogExit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_G_LogPrintf
Lloh2:
	adrp	x20, _level@GOTPAGE
Lloh3:
	ldr	x20, [x20, _level@GOTPAGEOFF]
	ldr	w8, [x20, #32]
	str	w8, [x20, #36]
Lloh4:
	adrp	x8, _CS_INTERMISSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CS_INTERMISSION@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_SetConfigstring
	ldr	w21, [x20]
	mov	w8, #32
Lloh9:
	adrp	x9, _g_gametype@GOTPAGE
Lloh10:
	ldr	x9, [x9, _g_gametype@GOTPAGEOFF]
	cmp	w21, #32
	csel	w19, w21, w8, lt
Lloh11:
	ldr	x8, [x9]
Lloh12:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
Lloh15:
	adrp	x9, _TEAM_RED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TEAM_RED@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldrsw	x1, [x8, x9, lsl #2]
Lloh18:
	adrp	x9, _TEAM_BLUE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TEAM_BLUE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_G_LogPrintf
LBB0_2:
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x21, #0
	cmp	w19, #1
	csinc	w8, w19, wzr, gt
	lsl	x22, x8, #3
Lloh23:
	adrp	x23, _TEAM_SPECTATOR@GOTPAGE
Lloh24:
	ldr	x23, [x23, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh25:
	adrp	x24, _CON_CONNECTING@GOTPAGE
Lloh26:
	ldr	x24, [x24, _CON_CONNECTING@GOTPAGEOFF]
	mov	w25, #40
	mov	w26, #999
Lloh27:
	adrp	x27, _PERS_SCORE@GOTPAGE
Lloh28:
	ldr	x27, [x27, _PERS_SCORE@GOTPAGEOFF]
Lloh29:
	adrp	x19, l_.str.3@PAGE
Lloh30:
	add	x19, x19, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #8
	cmp	x22, x21
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #24]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21]
	madd	x10, x8, x25, x9
	ldr	x10, [x10, #32]
	ldr	x11, [x23]
	cmp	x10, x11
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x10, x8, x25, x9
	ldr	x10, [x10, #16]
	ldr	x11, [x24]
	cmp	x10, x11
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x9, x8, x25, x9
	ldr	w10, [x9]
	cmp	w10, #999
	csel	w10, w10, w26, lt
	ldr	x11, [x9, #8]
	ldr	x12, [x27]
	ldrsw	x1, [x11, x12, lsl #2]
	ldr	w9, [x9, #24]
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
	mov	x0, x19
	bl	_G_LogPrintf
	b	LBB0_4
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Exit: %s\n"

	.comm	_level,40,3                     ; @level
	.comm	_CS_INTERMISSION,4,2            ; @CS_INTERMISSION
l_.str.1:                               ; @.str.1
	.asciz	"1"

	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
l_.str.2:                               ; @.str.2
	.asciz	"red:%i  blue:%i\n"

	.comm	_TEAM_RED,8,3                   ; @TEAM_RED
	.comm	_TEAM_BLUE,8,3                  ; @TEAM_BLUE
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
	.comm	_CON_CONNECTING,8,3             ; @CON_CONNECTING
l_.str.3:                               ; @.str.3
	.asciz	"score: %i  ping: %i  client: %i %s\n"

	.comm	_PERS_SCORE,8,3                 ; @PERS_SCORE
	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
	.comm	_PERS_RANK,8,3                  ; @PERS_RANK
	.comm	_SVF_BOT,4,2                    ; @SVF_BOT
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_g_singlePlayer,8,3             ; @g_singlePlayer
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
