	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ConfigstringModified        ## -- Begin function CL_ConfigstringModified
	.p2align	4, 0x90
_CL_ConfigstringModified:               ## @CL_ConfigstringModified
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_atoi
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_3
LBB0_2:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_Com_Error
LBB0_3:
	movl	$2, %edi
	callq	_Cmd_ArgsFrom
	movq	%rax, %rsi
	movq	_cl@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movslq	%ebx, %rax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movslq	(%rdx,%rax,4), %rdi
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	addq	%rcx, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_Com_Memset
	movl	$1, 16(%r13)
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.5:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rax
	movl	%ecx, (%rax,%r15,4)
	movslq	16(%r13), %rdi
	addq	(%r13), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_Com_Memcpy
	addl	%r12d, 16(%r13)
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%r15, %r14
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx,%r15,4), %rbx
	addq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movl	16(%r13), %ecx
	leal	(%rax,%rcx), %edx
	incl	%edx
	movl	%eax, %r12d
	incl	%r12d
	movq	_MAX_GAMESTATE_CHARS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_Com_Error
	movl	16(%r13), %ecx
	jmp	LBB0_11
LBB0_13:
	movq	_CS_SYSTEMINFO@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_14
## %bb.15:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CL_SystemInfoChanged           ## TAILCALL
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CONFIGSTRINGS,4,2          ## @MAX_CONFIGSTRINGS
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CL_ConfigstringModified: bad index %i"

	.comm	_cl,24,3                        ## @cl
	.comm	_MAX_GAMESTATE_CHARS,4,2        ## @MAX_GAMESTATE_CHARS
L_.str.1:                               ## @.str.1
	.asciz	"MAX_GAMESTATE_CHARS exceeded"

	.comm	_CS_SYSTEMINFO,4,2              ## @CS_SYSTEMINFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ConfigstringModified        ; -- Begin function CL_ConfigstringModified
	.p2align	2
_CL_ConfigstringModified:               ; @CL_ConfigstringModified
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w0, #1
	bl	_Cmd_Argv
	bl	_atoi
	mov	x19, x0
Lloh0:
	adrp	x25, _MAX_CONFIGSTRINGS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAX_CONFIGSTRINGS@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [x25]
	cmp	w19, w8
	b.lt	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_3:
	mov	w0, #2
	bl	_Cmd_ArgsFrom
	mov	x20, x0
Lloh7:
	adrp	x21, _cl@GOTPAGE
Lloh8:
	ldr	x21, [x21, _cl@GOTPAGEOFF]
	ldp	x26, x27, [x21]
	ldrsw	x8, [x27, w19, sxtw #2]
	add	x0, x26, x8
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.4:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #0
	mov	w2, #24
	bl	_Com_Memset
	mov	w8, #1
	str	w8, [x21, #16]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.5:
	mov	x28, #0
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	mov	w22, w9
Lloh9:
	adrp	x19, _MAX_GAMESTATE_CHARS@GOTPAGE
Lloh10:
	ldr	x19, [x19, _MAX_GAMESTATE_CHARS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldp	x10, x9, [x21]
	str	w8, [x9, x28, lsl #2]
	ldrsw	x8, [x21, #16]
	add	x0, x10, x8
	mov	x1, x23
	mov	x2, x24
	bl	_Com_Memcpy
	ldr	w8, [x21, #16]
	add	w8, w8, w24
	str	w8, [x21, #16]
	ldr	w8, [x25]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x28, x28, #1
	cmp	x28, w8, sxtw
	b.ge	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x20
	cmp	x22, x28
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x9, [x27, x28, lsl #2]
	add	x23, x26, x9
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x23]
	cbz	w9, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_strlen
	add	w24, w0, #1
	ldr	w8, [x21, #16]
	ldr	w9, [x19]
	add	w10, w24, w8
	cmp	w10, w9
	b.le	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh11:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
	ldr	w8, [x21, #16]
	b	LBB0_6
LBB0_13:
Lloh16:
	adrp	x8, _CS_SYSTEMINFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CS_SYSTEMINFO@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w9, w8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_CL_SystemInfoChanged
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CONFIGSTRINGS,4,2          ; @MAX_CONFIGSTRINGS
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CL_ConfigstringModified: bad index %i"

	.comm	_cl,24,3                        ; @cl
	.comm	_MAX_GAMESTATE_CHARS,4,2        ; @MAX_GAMESTATE_CHARS
l_.str.1:                               ; @.str.1
	.asciz	"MAX_GAMESTATE_CHARS exceeded"

	.comm	_CS_SYSTEMINFO,4,2              ; @CS_SYSTEMINFO
.subsections_via_symbols
