	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TeamLeader                     ## -- Begin function TeamLeader
	.p2align	4, 0x90
_TeamLeader:                            ## @TeamLeader
	.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), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	8(%rcx), %rdx
	movq	_CON_DISCONNECTED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	$16, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	addq	$24, %rdx
	cmpq	%rcx, %r8
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, -16(%rdx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -8(%rdx)
	je	LBB0_5
## %bb.6:
	movl	%ecx, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_level,16,3                     ## @level
	.comm	_CON_DISCONNECTED,8,3           ## @CON_DISCONNECTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TeamLeader                     ; -- Begin function TeamLeader
	.p2align	2
_TeamLeader:                            ; @TeamLeader
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x10, _level@GOTPAGE
Lloh1:
	ldr	x10, [x10, _level@GOTPAGEOFF]
	ldr	w9, [x10]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x11, [x10, #8]
Lloh2:
	adrp	x10, _CON_DISCONNECTED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CON_DISCONNECTED@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	add	x11, x11, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x11, x11, #24
	cmp	x9, x0
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x12, x10
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w12, [x11, #-16]
	cmp	w12, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x12, [x11, #-8]
	cbz	x12, LBB0_2
; %bb.6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_7:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_level,16,3                     ; @level
	.comm	_CON_DISCONNECTED,8,3           ; @CON_DISCONNECTED
.subsections_via_symbols
