	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_GetPlayerByNum
_SV_GetPlayerByNum:                     ## @SV_GetPlayerByNum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$1, %eax
	jg	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_16
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_4:
	movl	$1, %edi
	callq	_Cmd_Argv
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_9
## %bb.5:
	movq	%rax, %rdx
	incq	%rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addb	$-58, %cl
	cmpb	$-11, %cl
	jbe	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movzbl	(%rdx), %ecx
	incq	%rdx
	testb	%cl, %cl
	jne	LBB0_7
LBB0_9:
	movq	%rax, %rdi
	callq	_atoi
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:
	movq	_sv_maxclients@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_11
## %bb.12:
	movq	_svs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %edx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_14
## %bb.13:
	leaq	(%rcx,%rdx,4), %rbx
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
LBB0_15:
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_16
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_com_sv_running,8,3             ## @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No player specified.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Bad slot number: %s\n"

	.comm	_sv_maxclients,8,3              ## @sv_maxclients
L_.str.2:                               ## @.str.2
	.asciz	"Bad client slot: %i\n"

	.comm	_svs,8,3                        ## @svs
L_.str.3:                               ## @.str.3
	.asciz	"Client %i is not active\n"

	.no_dead_strip	_SV_GetPlayerByNum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_GetPlayerByNum
_SV_GetPlayerByNum:                     ; @SV_GetPlayerByNum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh1:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.1:
	bl	_Cmd_Argc
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_3:
	mov	w0, #1
	bl	_Cmd_Argv
	ldrb	w9, [x0]
	cbz	w9, LBB0_7
; %bb.4:
	mov	w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #58
	cmn	w9, #11
	b.ls	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x0, x8]
	add	x8, x8, #1
	cbnz	w9, LBB0_5
LBB0_7:
	bl	_atoi
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_11
; %bb.8:
Lloh5:
	adrp	x8, _sv_maxclients@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sv_maxclients@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_11
; %bb.9:
Lloh8:
	adrp	x8, _svs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x8, x8, w0, uxtw #2
	ldr	w9, [x8]
	cbnz	w9, LBB0_15
; %bb.10:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
	str	x0, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_13:
	bl	_Com_Printf
LBB0_14:
	mov	x8, #0
LBB0_15:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_com_sv_running,8,3             ; @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No player specified.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Bad slot number: %s\n"

	.comm	_sv_maxclients,8,3              ; @sv_maxclients
l_.str.2:                               ; @.str.2
	.asciz	"Bad client slot: %i\n"

	.comm	_svs,8,3                        ; @svs
l_.str.3:                               ; @.str.3
	.asciz	"Client %i is not active\n"

	.no_dead_strip	_SV_GetPlayerByNum
.subsections_via_symbols
