	.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), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	_BotRandomOpponentName.maxclients(%rip), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableIntegerValue
	movl	%eax, _BotRandomOpponentName.maxclients(%rip)
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$0, (%r13)
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 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_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	movq	_TEAM_SPECTATOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_BotSameTeam
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r13d, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax,%r13,4)
	incl	%r13d
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	_BotRandomOpponentName.maxclients(%rip), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_random
	testl	%r13d, %r13d
	jle	LBB0_22
## %bb.15:
	imull	%r13d, %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovlel	%eax, %ecx
	subl	%ecx, %eax
	leal	-1(%r13), %ecx
	cmpl	%ecx, %eax
	cmovbl	%eax, %ecx
	leal	1(%rcx), %edx
	cmpl	$33, %edx
	jb	LBB0_19
## %bb.16:
	movl	%edx, %esi
	andl	$31, %esi
	movl	$32, %edi
	cmovnel	%esi, %edi
	subl	%edi, %edx
	notl	%ecx
	addl	%edi, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	addl	$32, %ecx
	jne	LBB0_17
## %bb.18:
	movl	%edx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_19
	jmp	LBB0_22
LBB0_4:
	xorl	%eax, %eax
	callq	_random
LBB0_22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_23:
	movl	(%rax), %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_25
## %bb.24:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	jmp	LBB0_23
LBB0_25:
	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.maxclients,4,2 ## @BotRandomOpponentName.maxclients
.zerofill __DATA,__bss,_BotRandomOpponentName.name,32,4 ## @BotRandomOpponentName.name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sv_maxclients"

	.comm	_CS_PLAYERS,8,3                 ## @CS_PLAYERS
L_.str.1:                               ## @.str.1
	.asciz	"n"

L_.str.2:                               ## @.str.2
	.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	x26, _MAX_CLIENTS@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w12, [x26]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	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
	adrp	x28, _BotRandomOpponentName.maxclients@PAGE
	ldr	w0, [x28, _BotRandomOpponentName.maxclients@PAGEOFF]
	cbnz	w0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableIntegerValue
	str	w0, [x28, _BotRandomOpponentName.maxclients@PAGEOFF]
	ldr	w12, [x26]
LBB0_2:
	str	wzr, [x25]
	cmp	w0, #1
	ccmp	w12, #0, #4, ge
	b.gt	LBB0_4
; %bb.3:
	bl	_random
	b	LBB0_21
LBB0_4:
	mov	x22, #0
	mov	w27, #0
Lloh14:
	adrp	x24, _CS_PLAYERS@GOTPAGE
Lloh15:
	ldr	x24, [x24, _CS_PLAYERS@GOTPAGEOFF]
Lloh16:
	adrp	x23, l_.str.1@PAGE
Lloh17:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x28, _BotRandomOpponentName.maxclients@PAGEOFF]
	ldrsw	x9, [x26]
	cmp	x22, x8
	ccmp	x22, x9, #0, lt
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	x22, x8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	add	x0, x22, x8
	mov	x1, x21
	mov	x2, x20
	bl	_trap_GetConfigstring
	mov	x0, x21
	bl	_strlen
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_Info_ValueForKey
	bl	_strlen
	cbz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Info_ValueForKey
	bl	_atoi
Lloh20:
	adrp	x8, _TEAM_SPECTATOR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TEAM_SPECTATOR@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_BotSameTeam
	cbnz	x0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	str	w22, [x25, w27, sxtw #2]
	add	w27, w27, #1
	b	LBB0_5
LBB0_12:
	bl	_random
	subs	w11, w27, #1
	b.lt	LBB0_21
; %bb.13:
	mul	w9, w0, w27
	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_15
; %bb.14:
	mov	w11, #0
	b	LBB0_17
LBB0_15:
	ands	w13, w11, #0x3f
	mov	w14, #64
	csel	w13, w14, w13, eq
	sub	w11, w11, w13
	mvn	w12, w12
	add	w12, w12, w13
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	adds	w12, w12, #64
	b.ne	LBB0_16
LBB0_17:
	sub	w9, w9, w11
	sub	w9, w9, w10
	sub	w10, w27, w11
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cbz	w9, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	w9, w9, #1
	subs	w10, w10, #1
	b.ne	LBB0_18
	b	LBB0_21
LBB0_20:
	add	x25, x25, w8, uxtw #2
LBB0_21:
	ldr	w0, [x25]
Lloh23:
	adrp	x19, _BotRandomOpponentName.name@PAGE
Lloh24:
	add	x19, x19, _BotRandomOpponentName.name@PAGEOFF
	mov	x1, x19
	mov	w2, #32
	bl	_EasyClientName
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	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_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
.zerofill __DATA,__bss,_BotRandomOpponentName.maxclients,4,2 ; @BotRandomOpponentName.maxclients
.zerofill __DATA,__bss,_BotRandomOpponentName.name,32,0 ; @BotRandomOpponentName.name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sv_maxclients"

	.comm	_CS_PLAYERS,8,3                 ; @CS_PLAYERS
l_.str.1:                               ; @.str.1
	.asciz	"n"

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

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