	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_GetConfigstring             ## -- Begin function SV_GetConfigstring
	.p2align	4, 0x90
_SV_GetConfigstring:                    ## @SV_GetConfigstring
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edi, %ebx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	jns	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_Com_Error
	testl	%ebx, %ebx
	js	LBB0_4
LBB0_3:
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_5
LBB0_4:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_Com_Error
LBB0_5:
	movq	_sv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strncpyz                     ## TAILCALL
LBB0_6:
	movb	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_GetConfigstring: bufferSize == %i"

	.comm	_MAX_CONFIGSTRINGS,4,2          ## @MAX_CONFIGSTRINGS
L_.str.1:                               ## @.str.1
	.asciz	"SV_GetConfigstring: bad index %i"

	.comm	_sv,8,3                         ## @sv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_GetConfigstring             ; -- Begin function SV_GetConfigstring
	.p2align	2
_SV_GetConfigstring:                    ; @SV_GetConfigstring
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w2, #0
	b.le	LBB0_2
; %bb.1:
	tbz	w21, #31, LBB0_3
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_Com_Error
	tbnz	w21, #31, LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _MAX_CONFIGSTRINGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_CONFIGSTRINGS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w21
	b.gt	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_Com_Error
LBB0_5:
Lloh13:
	adrp	x8, _sv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sv@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w1, [x8, w21, sxtw #2]
	cbz	w1, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x2, x19
	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
LBB0_7:
	strb	wzr, [x20]
	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
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_GetConfigstring: bufferSize == %i"

	.comm	_MAX_CONFIGSTRINGS,4,2          ; @MAX_CONFIGSTRINGS
l_.str.1:                               ; @.str.1
	.asciz	"SV_GetConfigstring: bad index %i"

	.comm	_sv,8,3                         ; @sv
.subsections_via_symbols
