	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddTournamentQueue             ## -- Begin function AddTournamentQueue
	.p2align	4, 0x90
_AddTournamentQueue:                    ## @AddTournamentQueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_level@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	8(%rcx), %rcx
	movq	_CON_DISCONNECTED@GOTPCREL(%rip), %rdx
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %r8
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%rcx)
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rcx
	decq	%rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %rsi
	cmpq	(%rdx), %rsi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rcx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rsi
	cmpq	(%r8), %rsi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	8(%rcx)
	jmp	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_level,16,3                     ## @level
	.comm	_CON_DISCONNECTED,8,3           ## @CON_DISCONNECTED
	.comm	_TEAM_SPECTATOR,8,3             ## @TEAM_SPECTATOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddTournamentQueue             ; -- Begin function AddTournamentQueue
	.p2align	2
_AddTournamentQueue:                    ; @AddTournamentQueue
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _level@GOTPAGE
Lloh1:
	ldr	x9, [x9, _level@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x9, #8]
Lloh2:
	adrp	x10, _CON_DISCONNECTED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CON_DISCONNECTED@GOTPAGEOFF]
Lloh4:
	adrp	x11, _TEAM_SPECTATOR@GOTPAGE
Lloh5:
	ldr	x11, [x11, _TEAM_SPECTATOR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x9, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, #16]
	ldr	x13, [x10]
	cmp	x12, x13
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x0
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x9]
	ldr	x13, [x11]
	cmp	x12, x13
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x9, #8]
	add	x12, x12, #1
	str	x12, [x9, #8]
	b	LBB0_3
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_level,16,3                     ; @level
	.comm	_CON_DISCONNECTED,8,3           ; @CON_DISCONNECTED
	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
.subsections_via_symbols
