	.file	"extr_common.c_Com_SafeMode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"safe"
.LC1:
	.string	"cvar_restart"
	.text
	.p2align 4
	.globl	Com_SafeMode
	.type	Com_SafeMode, @function
Com_SafeMode:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR com_numConsoleLines[rip]
	test	eax, eax
	jle	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	call	Cmd_Argv@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	Q_stricmp@PLT
	test	eax, eax
	je	.L5
	add	rbx, 1
	cmp	DWORD PTR com_numConsoleLines[rip], ebx
	jle	.L17
.L6:
	mov	rax, QWORD PTR com_consoleLines[rip]
	lea	r12, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	Cmd_TokenizeString@PLT
	xor	edi, edi
	call	Cmd_Argv@PLT
	mov	rsi, rbp
	mov	edi, eax
	call	Q_stricmp@PLT
	test	eax, eax
	jne	.L3
.L5:
	mov	rax, QWORD PTR com_consoleLines[rip]
	mov	rax, QWORD PTR [rax+r12]
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR qtrue[rip]
	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
.L17:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR qfalse[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR qfalse[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	Com_SafeMode, .-Com_SafeMode
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	com_numConsoleLines,4,4
	.comm	com_consoleLines,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_common.c_Com_SafeMode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"safe\000"
	.align	2
.LC1:
	.ascii	"cvar_restart\000"
	.text
	.align	2
	.global	Com_SafeMode
	.syntax unified
	.arm
	.fpu softvfp
	.type	Com_SafeMode, %function
Com_SafeMode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L13
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	ldr	r5, .L13+4
	ldr	r7, .L13+8
	ldr	r9, .L13+12
	b	.L6
.L3:
	mov	r0, #0
	bl	Cmd_Argv
	mov	r1, r9
	bl	Q_stricmp
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r6]
	cmp	r3, r4
	ble	.L2
.L6:
	ldr	r3, [r5]
	lsl	r8, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	Cmd_TokenizeString
	mov	r0, #0
	bl	Cmd_Argv
	mov	r1, r7
	bl	Q_stricmp
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L3
.L5:
	mov	r2, #0
	ldr	r3, [r5]
	ldr	r1, .L13+16
	ldr	r3, [r3, r8]
	ldr	r0, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L13+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	.align	2
.L13:
	.word	com_numConsoleLines
	.word	com_consoleLines
	.word	.LC0
	.word	.LC1
	.word	qtrue
	.word	qfalse
	.size	Com_SafeMode, .-Com_SafeMode
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	com_numConsoleLines,4,4
	.comm	com_consoleLines,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
