	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCTFCarryingFlag             ## -- Begin function BotCTFCarryingFlag
	.p2align	4, 0x90
_BotCTFCarryingFlag:                    ## @BotCTFCarryingFlag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	_INVENTORY_REDFLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_5
## %bb.2:
	movq	_CTF_FLAG_RED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_INVENTORY_BLUEFLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_3
## %bb.6:
	movq	_CTF_FLAG_BLUE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_CTF_FLAG_NONE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_CTF_FLAG_NONE,4,2              ## @CTF_FLAG_NONE
	.comm	_INVENTORY_REDFLAG,8,3          ## @INVENTORY_REDFLAG
	.comm	_CTF_FLAG_RED,4,2               ## @CTF_FLAG_RED
	.comm	_INVENTORY_BLUEFLAG,8,3         ## @INVENTORY_BLUEFLAG
	.comm	_CTF_FLAG_BLUE,4,2              ## @CTF_FLAG_BLUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCTFCarryingFlag             ; -- Begin function BotCTFCarryingFlag
	.p2align	2
_BotCTFCarryingFlag:                    ; @BotCTFCarryingFlag
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _gametype@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _GT_CTF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GT_CTF@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x8, _CTF_FLAG_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTF_FLAG_NONE@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	x9, [x0]
Lloh8:
	adrp	x10, _INVENTORY_REDFLAG@GOTPAGE
Lloh9:
	ldr	x10, [x10, _INVENTORY_REDFLAG@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
	cmp	x10, #0
	b.le	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _CTF_FLAG_RED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTF_FLAG_RED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh14:
	adrp	x10, _INVENTORY_BLUEFLAG@GOTPAGE
Lloh15:
	ldr	x10, [x10, _INVENTORY_BLUEFLAG@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
Lloh17:
	adrp	x10, _CTF_FLAG_BLUE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CTF_FLAG_BLUE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, gt
LBB0_4:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_CTF_FLAG_NONE,4,2              ; @CTF_FLAG_NONE
	.comm	_INVENTORY_REDFLAG,8,3          ; @INVENTORY_REDFLAG
	.comm	_CTF_FLAG_RED,4,2               ; @CTF_FLAG_RED
	.comm	_INVENTORY_BLUEFLAG,8,3         ; @INVENTORY_BLUEFLAG
	.comm	_CTF_FLAG_BLUE,4,2              ; @CTF_FLAG_BLUE
.subsections_via_symbols
