	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SetUserinfo                 ## -- Begin function SV_SetUserinfo
	.p2align	4, 0x90
_SV_SetUserinfo:                        ## @SV_SetUserinfo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%r15d, (%rax)
	jg	LBB0_3
LBB0_2:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_Com_Error
LBB0_3:
	testq	%r14, %r14
	leaq	L_.str.1(%rip), %rbx
	cmovneq	%r14, %rbx
	movq	_svs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%r15d, %r15
	movl	4(%rax,%r15,8), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_Q_strncpyz
	movq	(%r14), %rax
	movl	(%rax,%r15,8), %r14d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Info_ValueForKey
	movl	%r14d, %edi
	movq	%rax, %rsi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strncpyz                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_SetUserinfo: bad index %i\n"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_svs,8,3                        ## @svs
L_.str.2:                               ## @.str.2
	.asciz	"name"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SetUserinfo                 ; -- Begin function SV_SetUserinfo
	.p2align	2
_SV_SetUserinfo:                        ; @SV_SetUserinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _sv_maxclients@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sv_maxclients@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_Com_Error
LBB0_3:
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x20, #0
	csel	x20, x8, x20, eq
Lloh10:
	adrp	x21, _svs@GOTPAGE
Lloh11:
	ldr	x21, [x21, _svs@GOTPAGEOFF]
	ldr	x8, [x21]
	sbfiz	x19, x19, #3, #32
	add	x8, x8, x19
	ldr	w0, [x8, #4]
	mov	x1, x20
	mov	w2, #4
	bl	_Q_strncpyz
	ldr	x8, [x21]
	ldr	w19, [x8, x19]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_Info_ValueForKey
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Q_strncpyz
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_SetUserinfo: bad index %i\n"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_svs,8,3                        ; @svs
l_.str.2:                               ; @.str.2
	.asciz	"name"

.subsections_via_symbols
