	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Team_InitGame                  ## -- Begin function Team_InitGame
	.p2align	4, 0x90
_Team_InitGame:                         ## @Team_InitGame
	.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	_teamgame@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_g_gametype@GOTPCREL(%rip), %rax
	cmpl	$128, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	$-1, (%rbx)
	movq	_TEAM_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FLAG_ATBASE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_Team_SetFlagStatus
	movl	$-1, 4(%rbx)
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Team_SetFlagStatus             ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_teamgame,12,2                  ## @teamgame
	.comm	_g_gametype,4,2                 ## @g_gametype
	.comm	_TEAM_RED,4,2                   ## @TEAM_RED
	.comm	_FLAG_ATBASE,4,2                ## @FLAG_ATBASE
	.comm	_TEAM_BLUE,4,2                  ## @TEAM_BLUE
	.comm	_TEAM_FREE,4,2                  ## @TEAM_FREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Team_InitGame                  ; -- Begin function Team_InitGame
	.p2align	2
_Team_InitGame:                         ; @Team_InitGame
	.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
Lloh0:
	adrp	x19, _teamgame@GOTPAGE
Lloh1:
	ldr	x19, [x19, _teamgame@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh2:
	adrp	x8, _g_gametype@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_gametype@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #-1
	str	w20, [x19]
Lloh5:
	adrp	x8, _TEAM_RED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TEAM_RED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x21, _FLAG_ATBASE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _FLAG_ATBASE@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_Team_SetFlagStatus
	str	w20, [x19, #4]
Lloh10:
	adrp	x8, _TEAM_BLUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TEAM_BLUE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x21]
	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	_Team_SetFlagStatus
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_teamgame,12,2                  ; @teamgame
	.comm	_g_gametype,4,2                 ; @g_gametype
	.comm	_TEAM_RED,4,2                   ; @TEAM_RED
	.comm	_FLAG_ATBASE,4,2                ; @FLAG_ATBASE
	.comm	_TEAM_BLUE,4,2                  ; @TEAM_BLUE
	.comm	_TEAM_FREE,4,2                  ; @TEAM_FREE
.subsections_via_symbols
