	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotRandomOpponentName          ## -- Begin function BotRandomOpponentName
	.p2align	4, 0x90
_BotRandomOpponentName:                 ## @BotRandomOpponentName
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	$0, (%rbx)
	movq	_level@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_CS_PLAYERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_trap_GetConfigstring
	movq	%r12, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_BotSameTeam
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax,%rcx,4)
	incl	%ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_10:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_random
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testl	%esi, %esi
	jle	LBB0_18
## %bb.11:
	imull	%esi, %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovlel	%eax, %ecx
	subl	%ecx, %eax
	leal	-1(%rsi), %ecx
	cmpl	%ecx, %eax
	cmovbl	%eax, %ecx
	leal	1(%rcx), %edx
	cmpl	$33, %edx
	jb	LBB0_15
## %bb.12:
	movl	%edx, %ebx
	andl	$31, %ebx
	movl	$32, %edi
	cmovnel	%ebx, %edi
	subl	%edi, %edx
	notl	%ecx
	addl	%edi, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	addl	$32, %ecx
	jne	LBB0_13
## %bb.14:
	movl	%edx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	incl	%ebx
	cmpl	%ebx, %esi
	jne	LBB0_15
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_1:
	xorl	%eax, %eax
	callq	_random
	jmp	LBB0_19
LBB0_16:
	movl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
LBB0_19:
	movl	(%rbx), %edi
	leaq	_BotRandomOpponentName.name(%rip), %rbx
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_EasyClientName
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
.zerofill __DATA,__bss,_BotRandomOpponentName.name,32,4 ## @BotRandomOpponentName.name
	.comm	_level,4,2                      ## @level
	.comm	_CS_PLAYERS,8,3                 ## @CS_PLAYERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n"

L_.str.1:                               ## @.str.1
	.asciz	"t"

	.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	_BotRandomOpponentName          ; -- Begin function BotRandomOpponentName
	.p2align	2
_BotRandomOpponentName:                 ; @BotRandomOpponentName
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _MAX_CLIENTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_CLIENTS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	str	wzr, [x25]
Lloh13:
	adrp	x27, _level@GOTPAGE
Lloh14:
	ldr	x27, [x27, _level@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #0
	b.le	LBB0_12
; %bb.1:
	mov	x22, #0
	mov	w26, #0
Lloh15:
	adrp	x28, _CS_PLAYERS@GOTPAGE
Lloh16:
	ldr	x28, [x28, _CS_PLAYERS@GOTPAGEOFF]
Lloh17:
	adrp	x23, l_.str@PAGE
Lloh18:
	add	x23, x23, l_.str@PAGEOFF
Lloh19:
	adrp	x24, l_.str.1@PAGE
Lloh20:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	x22, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	add	x0, x22, x8
	mov	x1, x21
	mov	x2, x20
	bl	_trap_GetConfigstring
	mov	x0, x21
	bl	_strlen
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_Info_ValueForKey
	bl	_strlen
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_Info_ValueForKey
	bl	_atoi
Lloh21:
	adrp	x8, _TEAM_SPECTATOR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_BotSameTeam
	cbnz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w22, [x25, w26, sxtw #2]
	add	w26, w26, #1
	b	LBB0_2
LBB0_9:
	bl	_random
	subs	w11, w26, #1
	b.lt	LBB0_19
; %bb.10:
	mul	w9, w0, w26
	cmp	w9, #1
	csinc	w10, w9, wzr, lt
	sub	w8, w9, w10
	cmp	w8, w11
	csel	w12, w8, w11, lo
	add	w11, w12, #1
	cmp	w11, #65
	b.hs	LBB0_13
; %bb.11:
	mov	w11, #0
	b	LBB0_15
LBB0_12:
	bl	_random
	b	LBB0_19
LBB0_13:
	ands	w13, w11, #0x3f
	mov	w14, #64
	csel	w13, w14, w13, eq
	sub	w11, w11, w13
	mvn	w12, w12
	add	w12, w12, w13
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	adds	w12, w12, #64
	b.ne	LBB0_14
LBB0_15:
	sub	w9, w9, w11
	sub	w9, w9, w10
	sub	w10, w26, w11
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cbz	w9, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w9, w9, #1
	subs	w10, w10, #1
	b.ne	LBB0_16
	b	LBB0_19
LBB0_18:
	add	x25, x25, w8, uxtw #2
LBB0_19:
	ldr	w0, [x25]
Lloh24:
	adrp	x19, _BotRandomOpponentName.name@PAGE
Lloh25:
	add	x19, x19, _BotRandomOpponentName.name@PAGEOFF
	mov	x1, x19
	mov	w2, #32
	bl	_EasyClientName
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
.zerofill __DATA,__bss,_BotRandomOpponentName.name,32,0 ; @BotRandomOpponentName.name
	.comm	_level,4,2                      ; @level
	.comm	_CS_PLAYERS,8,3                 ; @CS_PLAYERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n"

l_.str.1:                               ; @.str.1
	.asciz	"t"

	.comm	_TEAM_SPECTATOR,8,3             ; @TEAM_SPECTATOR
.subsections_via_symbols
