	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_GetPlayerByHandle
_SV_GetPlayerByHandle:                  ## @SV_GetPlayerByHandle
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	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	%r13d, %r13d
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_19
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_4:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	leal	-48(%rcx), %edx
	incq	%rax
	cmpb	$10, %dl
	jb	LBB0_5
## %bb.6:
	testb	%cl, %cl
	je	LBB0_7
LBB0_11:
	movq	_sv_maxclients@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	jle	LBB0_18
## %bb.12:
	movq	_svs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r12), %rax
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%ebx
	addq	$16, %r13
	cmpl	(%rax), %ebx
	jge	LBB0_18
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r13), %rdi
	movq	%r14, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r13), %rsi
	movq	%r15, %rdi
	movl	$64, %edx
	callq	_Q_strncpyz
	movq	%r15, %rdi
	callq	_Q_CleanStr
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	%r13, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	callq	_atoi
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	_sv_maxclients@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_11
## %bb.9:
	movq	_svs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movl	%eax, %eax
	shlq	$4, %rax
	cmpq	$0, 8(%r13,%rax)
	je	LBB0_11
## %bb.10:
	addq	%rax, %r13
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.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"

	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_svs,8,3                        ## @svs
L_.str.1:                               ## @.str.1
	.asciz	"Player %s is not on the server\n"

	.no_dead_strip	_SV_GetPlayerByHandle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_GetPlayerByHandle
_SV_GetPlayerByHandle:                  ; @SV_GetPlayerByHandle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh4:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.1:
	bl	_Cmd_Argc
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_3:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x19, x0
	mov	x8, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	sub	w10, w9, #48
	cmp	w10, #10
	b.lo	LBB0_4
; %bb.5:
Lloh8:
	adrp	x21, _sv_maxclients@GOTPAGE
Lloh9:
	ldr	x21, [x21, _sv_maxclients@GOTPAGEOFF]
	cbz	w9, LBB0_18
LBB0_6:
	ldr	x8, [x21]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w22, #0
Lloh10:
	adrp	x9, _svs@GOTPAGE
Lloh11:
	ldr	x9, [x9, _svs@GOTPAGEOFF]
Lloh12:
	ldr	x20, [x9]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	add	x20, x20, #16
	ldr	w9, [x8]
	cmp	w22, w9
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x20]
	mov	x1, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x20]
	add	x0, sp, #8
	mov	w2, #64
	bl	_Q_strncpyz
	add	x0, sp, #8
	bl	_Q_CleanStr
	add	x0, sp, #8
	mov	x1, x19
	bl	_Q_stricmp
	cbnz	w0, LBB0_8
	b	LBB0_16
LBB0_13:
	str	x19, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_Com_Printf
LBB0_15:
	mov	x20, #0
LBB0_16:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.17:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
	mov	x0, x19
	bl	_atoi
	tbnz	w0, #31, LBB0_6
; %bb.19:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_6
; %bb.20:
Lloh18:
	adrp	x8, _svs@GOTPAGE
Lloh19:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x20, x8, w0, uxtw #4
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_16
	b	LBB0_6
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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"

	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_svs,8,3                        ; @svs
l_.str.1:                               ; @.str.1
	.asciz	"Player %s is not on the server\n"

	.no_dead_strip	_SV_GetPlayerByHandle
.subsections_via_symbols
