	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pickup_Team                    ## -- Begin function Pickup_Team
	.p2align	4, 0x90
_Pickup_Team:                           ## @Pickup_Team
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_PrintMsg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_TEAM_RED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_TEAM_BLUE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	cmpl	(%r15), %edx
	jne	LBB0_5
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Team_TouchOurFlag              ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Team_TouchEnemyFlag            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"team_CTF_redflag"

	.comm	_TEAM_RED,4,2                   ## @TEAM_RED
L_.str.1:                               ## @.str.1
	.asciz	"team_CTF_blueflag"

	.comm	_TEAM_BLUE,4,2                  ## @TEAM_BLUE
L_.str.2:                               ## @.str.2
	.asciz	"Don't know what team the flag is on.\n"

	.comm	_GT_1FCTF,8,3                   ## @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ## @GT_OBELISK
	.comm	_TEAM_FREE,4,2                  ## @TEAM_FREE
	.comm	_g_gametype,8,3                 ## @g_gametype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pickup_Team                    ; -- Begin function Pickup_Team
	.p2align	2
_Pickup_Team:                           ; @Pickup_Team
	.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, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_PrintMsg
	mov	w0, #0
	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
LBB0_3:
Lloh6:
	adrp	x8, _TEAM_RED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEAM_RED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _TEAM_BLUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TEAM_BLUE@GOTPAGEOFF]
LBB0_5:
	ldr	w2, [x8]
	ldr	w8, [x21]
	mov	x0, x20
	mov	x1, x19
	cmp	w2, w8
	b.ne	LBB0_7
; %bb.6:
	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_TouchOurFlag
LBB0_7:
	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_TouchEnemyFlag
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"team_CTF_redflag"

	.comm	_TEAM_RED,4,2                   ; @TEAM_RED
l_.str.1:                               ; @.str.1
	.asciz	"team_CTF_blueflag"

	.comm	_TEAM_BLUE,4,2                  ; @TEAM_BLUE
l_.str.2:                               ; @.str.2
	.asciz	"Don't know what team the flag is on.\n"

	.comm	_GT_1FCTF,8,3                   ; @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ; @GT_OBELISK
	.comm	_TEAM_FREE,4,2                  ; @TEAM_FREE
	.comm	_g_gametype,8,3                 ; @g_gametype
.subsections_via_symbols
