	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_InitSessionData              ## -- Begin function G_InitSessionData
	.p2align	4, 0x90
_G_InitSessionData:                     ## @G_InitSessionData
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_g_gametype@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_Info_ValueForKey
	cmpb	$115, (%rax)
	je	LBB0_9
## %bb.4:
	cmpl	$128, (%r14)
	jne	LBB0_5
## %bb.8:
	movq	_level@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jge	LBB0_9
	jmp	LBB0_7
LBB0_1:
	movq	_g_teamAutoJoin@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movl	$-1, %edi
	callq	_PickTeam
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_BroadcastTeamChange
	jmp	LBB0_11
LBB0_5:
	movq	_g_maxGameClients@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	movq	_level@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jl	LBB0_7
LBB0_9:
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_11:
	movq	_SPECTATOR_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_level@GOTPCREL(%rip), %rax
	movl	4(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_G_WriteClientSessionData       ## TAILCALL
LBB0_7:
	movq	_TEAM_FREE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_g_gametype,4,2                 ## @g_gametype
	.comm	_GT_TEAM,4,2                    ## @GT_TEAM
	.comm	_g_teamAutoJoin,8,3             ## @g_teamAutoJoin
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"team"

	.comm	_g_maxGameClients,4,2           ## @g_maxGameClients
	.comm	_level,8,2                      ## @level
	.comm	_TEAM_FREE,8,3                  ## @TEAM_FREE
	.comm	_SPECTATOR_FREE,4,2             ## @SPECTATOR_FREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_InitSessionData              ; -- Begin function G_InitSessionData
	.p2align	2
_G_InitSessionData:                     ; @G_InitSessionData
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _g_gametype@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_gametype@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _GT_TEAM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GT_TEAM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x20, _level@GOTPAGE
Lloh6:
	ldr	x20, [x20, _level@GOTPAGEOFF]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	bl	_Info_ValueForKey
	ldrb	w8, [x0]
	cmp	w8, #115
	b.eq	LBB0_8
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_7
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _g_teamAutoJoin@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_teamAutoJoin@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.5:
	mov	w0, #-1
	bl	_PickTeam
	str	x0, [x19, #8]
	mov	x0, x19
	mov	w1, #-1
	bl	_BroadcastTeamChange
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _g_maxGameClients@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_maxGameClients@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x20]
	cmp	w8, #1
	ccmp	w9, w8, #8, ge
	b.ge	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _TEAM_FREE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TEAM_FREE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _TEAM_SPECTATOR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TEAM_SPECTATOR@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_10:
Lloh19:
	adrp	x8, _SPECTATOR_FREE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SPECTATOR_FREE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	stp	w9, w8, [x19]
	mov	x0, x19
	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
	b	_G_WriteClientSessionData
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_g_gametype,4,2                 ; @g_gametype
	.comm	_GT_TEAM,4,2                    ; @GT_TEAM
	.comm	_g_teamAutoJoin,8,3             ; @g_teamAutoJoin
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"team"

	.comm	_g_maxGameClients,4,2           ; @g_maxGameClients
	.comm	_level,8,2                      ; @level
	.comm	_TEAM_FREE,8,3                  ; @TEAM_FREE
	.comm	_SPECTATOR_FREE,4,2             ; @SPECTATOR_FREE
.subsections_via_symbols
