	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetLeader                      ## -- Begin function SetLeader
	.p2align	4, 0x90
_SetLeader:                             ## @SetLeader
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_level@GOTPCREL(%rip), %r13
	movq	8(%r13), %rax
	movslq	%esi, %r12
	shlq	$5, %r12
	movq	(%rax,%r12), %rcx
	movq	_CON_DISCONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_11
LBB0_2:
	cmpl	%r15d, 16(%rax,%r12)
	jne	LBB0_3
## %bb.4:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.5:
	movl	$24, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%ecx, %rdx
	movq	8(%r13), %rax
	addq	$32, %r14
	cmpq	%rdx, %rbx
	jge	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, -8(%rax,%r14)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rax,%r14)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax,%r14)
	movl	%ebx, %edi
	callq	_ClientUserinfoChanged
	movl	(%r13), %ecx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax,%r12)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ClientUserinfoChanged
	movq	8(%r13), %rax
	leaq	L_.str.2(%rip), %rdi
LBB0_11:
	movl	8(%rax,%r12), %esi
	callq	_va
	movl	%r15d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PrintTeam                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_level,16,3                     ## @level
	.comm	_CON_DISCONNECTED,8,3           ## @CON_DISCONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"print \"%s is not connected\n\""

L_.str.1:                               ## @.str.1
	.asciz	"print \"%s is not on the team anymore\n\""

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_qtrue,8,3                      ## @qtrue
L_.str.2:                               ## @.str.2
	.asciz	"print \"%s is the new team leader\n\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetLeader                      ; -- Begin function SetLeader
	.p2align	2
_SetLeader:                             ; @SetLeader
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _level@GOTPAGE
Lloh1:
	ldr	x23, [x23, _level@GOTPAGEOFF]
	ldr	x8, [x23, #8]
	sxtw	x22, w20
	sbfiz	x9, x20, #5, #32
	ldr	x9, [x8, x9]
Lloh2:
	adrp	x10, _CON_DISCONNECTED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CON_DISCONNECTED@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_2:
	add	x9, x8, x22, lsl #5
	ldr	w9, [x9, #16]
	cmp	w9, w19
	b.ne	LBB0_9
; %bb.3:
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x24, #0
	mov	x21, #0
Lloh7:
	adrp	x25, _qfalse@GOTPAGE
Lloh8:
	ldr	x25, [x25, _qfalse@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x8, [x23, #8]
	add	x24, x24, #32
	cmp	x21, w9, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x24
	ldr	w10, [x8, #16]
	cmp	w10, w19
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x10, [x8, #24]
	cbz	x10, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x25]
	str	x9, [x8, #24]
	mov	x0, x21
	bl	_ClientUserinfoChanged
	ldr	w9, [x23]
	b	LBB0_5
LBB0_9:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x9, _qtrue@GOTPAGE
Lloh12:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x8, x8, x22, lsl #5
	str	x9, [x8, #24]
	mov	x0, x20
	bl	_ClientUserinfoChanged
	ldr	x8, [x23, #8]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_11:
	add	x8, x8, x22, lsl #5
	ldr	w1, [x8, #8]
	bl	_va
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PrintTeam
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_level,16,3                     ; @level
	.comm	_CON_DISCONNECTED,8,3           ; @CON_DISCONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"print \"%s is not connected\n\""

l_.str.1:                               ; @.str.1
	.asciz	"print \"%s is not on the team anymore\n\""

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_qtrue,8,3                      ; @qtrue
l_.str.2:                               ; @.str.2
	.asciz	"print \"%s is the new team leader\n\""

.subsections_via_symbols
