	.file	"extr_g_svcmds.c_ClientForString.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Bad client slot: %i\n"
.LC1:
	.string	"Client %i is not connected\n"
.LC2:
	.string	"User %s is not on the server\n"
	.text
	.p2align 4
	.globl	ClientForString
	.type	ClientForString, @function
ClientForString:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movzx	eax, BYTE PTR [rdi]
	sub	eax, 48
	cmp	al, 9
	jbe	.L2
	mov	eax, DWORD PTR level[rip]
	xor	ebx, ebx
	test	eax, eax
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, rbx
	mov	rax, QWORD PTR CON_DISCONNECTED[rip]
	sal	r12, 4
	add	r12, QWORD PTR level[rip+8]
	cmp	QWORD PTR [r12], rax
	je	.L9
	mov	edi, DWORD PTR 8[r12]
	mov	rsi, rbp
	call	Q_stricmp@PLT
	test	eax, eax
	je	.L1
.L9:
	add	rbx, 1
	cmp	DWORD PTR level[rip], ebx
	jg	.L3
.L4:
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	G_Printf@PLT
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	atoi@PLT
	test	eax, eax
	js	.L5
	cmp	DWORD PTR level[rip], eax
	jle	.L5
	movsx	r12, eax
	mov	rdx, QWORD PTR CON_DISCONNECTED[rip]
	sal	r12, 4
	add	r12, QWORD PTR level[rip+8]
	cmp	QWORD PTR [r12], rdx
	jne	.L1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	G_Printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, eax
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	call	Com_Printf@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ClientForString, .-ClientForString
	.comm	level,16,16
	.comm	CON_DISCONNECTED,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_g_svcmds.c_ClientForString.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad client slot: %i\012\000"
	.align	2
.LC1:
	.ascii	"Client %i is not connected\012\000"
	.align	2
.LC2:
	.ascii	"User %s is not on the server\012\000"
	.text
	.align	2
	.global	ClientForString
	.syntax unified
	.arm
	.fpu softvfp
	.type	ClientForString, %function
ClientForString:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldrb	r3, [r0]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L2
	ldr	r6, .L17
	mov	r7, r0
	ldr	r3, [r6]
	cmp	r3, #0
	movgt	r4, #0
	ldrgt	r8, .L17+4
	ble	.L4
.L3:
	ldr	r3, [r6, #4]
	ldr	r2, [r8]
	ldr	ip, [r3, r4, lsl #3]
	add	r5, r3, r4, lsl #3
	cmp	ip, r2
	add	r4, r4, #1
	beq	.L9
	mov	r1, r7
	ldr	r0, [r5, #4]
	bl	Q_stricmp
	cmp	r0, #0
	beq	.L1
.L9:
	ldr	r3, [r6]
	cmp	r3, r4
	bgt	.L3
.L4:
	mov	r1, r7
	ldr	r0, .L17+8
	bl	G_Printf
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	atoi
	subs	r1, r0, #0
	blt	.L5
	ldr	r3, .L17
	ldr	r2, [r3]
	cmp	r2, r1
	ble	.L5
	ldr	r3, [r3, #4]
	ldr	r2, .L17+4
	ldr	r0, [r3, r1, lsl #3]
	ldr	r2, [r2]
	add	r5, r3, r1, lsl #3
	cmp	r0, r2
	bne	.L1
	ldr	r0, .L17+12
	bl	G_Printf
	mov	r5, #0
	b	.L1
.L5:
	ldr	r0, .L17+16
	bl	Com_Printf
	mov	r5, #0
	b	.L1
.L18:
	.align	2
.L17:
	.word	level
	.word	CON_DISCONNECTED
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	ClientForString, .-ClientForString
	.comm	level,8,4
	.comm	CON_DISCONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
