	.file	"extr_ui_gameinfo.c_UI_ParseInfos.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"{"
.LC1:
	.string	"Missing { in info file\n"
.LC2:
	.string	"Max infos exceeded\n"
.LC3:
	.string	"Unexpected end of info file\n"
.LC4:
	.string	"}"
.LC5:
	.string	"<NULL>"
.LC6:
	.string	"%d"
	.text
	.p2align 4
	.globl	UI_ParseInfos
	.type	UI_ParseInfos, @function
UI_ParseInfos:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	rbx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_TOKEN_CHARS[rip]
	mov	DWORD PTR -76[rbp], eax
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rcx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L31:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L31
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L32
.L4:
	movsx	rax, DWORD PTR MAX_INFO_STRING[rip]
	mov	rbx, rsp
	mov	r12, rsp
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rcx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L6
.L33:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L33
.L6:
	mov	rax, rcx
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L34
.L7:
	mov	QWORD PTR -104[rbp], rdx
	mov	r13, rsp
	lea	rbx, -72[rbp]
	lea	r14, .LC4[rip]
	mov	DWORD PTR -80[rbp], 0
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbx
	call	COM_Parse@PLT
	cmp	BYTE PTR [rax], 0
	mov	rdi, rax
	je	.L1
.L38:
	lea	rsi, .LC0[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L35
	mov	ecx, DWORD PTR -92[rbp]
	cmp	DWORD PTR -80[rbp], ecx
	je	.L36
	mov	BYTE PTR 0[r13], 0
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r12
	mov	rdi, r13
	call	Info_SetValueForKey@PLT
.L14:
	mov	esi, DWORD PTR qtrue[rip]
	mov	rdi, rbx
	call	COM_ParseExt@PLT
	cmp	BYTE PTR [rax], 0
	mov	r15, rax
	je	.L37
	mov	rsi, r14
	mov	rdi, rax
	call	strcmp@PLT
	test	rax, rax
	je	.L12
	mov	edx, DWORD PTR -76[rbp]
	mov	rsi, r15
	mov	rdi, r12
	call	Q_strncpyz@PLT
	mov	esi, DWORD PTR qfalse[rip]
	mov	rdi, rbx
	call	COM_ParseExt@PLT
	cmp	BYTE PTR [rax], 0
	mov	rdx, rax
	jne	.L13
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	QWORD PTR -88[rbp], rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -88[rbp]
	jmp	.L13
.L32:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L37:
	lea	rdi, .LC3[rip]
	call	Com_Printf@PLT
.L12:
	mov	rdi, r13
	call	strlen@PLT
	mov	esi, DWORD PTR MAX_ARENAS[rip]
	lea	rdi, .LC6[rip]
	mov	QWORD PTR -88[rbp], rax
	call	va@PLT
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -88[rbp]
	lea	rdi, 6[rdx+rax]
	call	UI_Alloc@PLT
	mov	rcx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rcx], rax
	test	rax, rax
	je	.L15
	mov	rsi, r13
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdi, rbx
	add	DWORD PTR -80[rbp], 1
	add	QWORD PTR -104[rbp], 8
	call	COM_Parse@PLT
	cmp	BYTE PTR [rax], 0
	mov	rdi, rax
	jne	.L38
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	mov	eax, DWORD PTR -80[rbp]
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L35:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	Com_Printf@PLT
	jmp	.L1
.L36:
	lea	rdi, .LC2[rip]
	call	Com_Printf@PLT
	jmp	.L1
.L34:
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L7
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	UI_ParseInfos, .-UI_ParseInfos
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	MAX_TOKEN_CHARS,4,4
	.comm	MAX_INFO_STRING,4,4
	.comm	MAX_ARENAS,4,4
	.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_ui_gameinfo.c_UI_ParseInfos.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Missing { in info file\012\000"
	.align	2
.LC1:
	.ascii	"Max infos exceeded\012\000"
	.align	2
.LC2:
	.ascii	"Unexpected end of info file\012\000"
	.align	2
.LC3:
	.ascii	"<NULL>\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	UI_ParseInfos
	.syntax unified
	.arm
	.fpu softvfp
	.type	UI_ParseInfos, %function
UI_ParseInfos:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	ip, .L31
	ldr	r3, .L31+4
	ldr	r7, [ip]
	ldr	r3, [r3]
	add	ip, r7, #7
	bic	ip, ip, #7
	add	r3, r3, #7
	sub	sp, sp, ip
	bic	r3, r3, #7
	mov	r4, sp
	sub	sp, sp, r3
	ldr	r3, .L31+8
	str	r1, [fp, #-60]
	str	r2, [fp, #-56]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	mov	r5, sp
	ldr	r6, .L31+12
	ldr	r8, .L31+16
	ldr	r9, .L31+20
	str	r3, [fp, #-52]
	str	r0, [fp, #-48]
.L11:
	sub	r0, fp, #48
	bl	COM_Parse
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
	cmp	r3, #123
	beq	.L27
.L14:
	ldr	r0, .L31+24
	bl	Com_Printf
.L1:
	ldr	r3, .L31+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	ldr	r0, [fp, #-52]
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-60]
	cmp	r2, r1
	beq	.L29
	strb	r3, [r5]
	b	.L10
.L9:
	mov	r2, r10
	mov	r1, r4
	mov	r0, r5
	bl	Info_SetValueForKey
.L10:
	ldr	r1, [r6]
	sub	r0, fp, #48
	bl	COM_ParseExt
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r1, r0
	cmp	r3, #0
	beq	.L30
	cmp	r3, #125
	bne	.L15
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
.L15:
	mov	r2, r7
	mov	r0, r4
	bl	Q_strncpyz
	ldr	r1, [r8]
	sub	r0, fp, #48
	bl	COM_ParseExt
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r10, r0
	cmp	r3, #0
	bne	.L9
	mov	r2, #7
	mov	r1, r9
	bl	memcpy
	b	.L9
.L30:
	ldr	r0, .L31+28
	bl	Com_Printf
.L7:
	mov	r0, r5
	bl	strlen
	ldr	r3, .L31+32
	mov	r10, r0
	ldr	r1, [r3]
	ldr	r0, .L31+36
	bl	va
	bl	strlen
	add	r0, r10, r0
	add	r0, r0, #6
	bl	UI_Alloc
	ldr	r2, [fp, #-56]
	cmp	r0, #0
	str	r0, [r2]
	beq	.L11
	ldr	r3, [fp, #-52]
	mov	r1, r5
	add	r3, r3, #1
	str	r3, [fp, #-52]
	add	r3, r2, #4
	str	r3, [fp, #-56]
	bl	strcpy
	b	.L11
.L29:
	ldr	r0, .L31+40
	bl	Com_Printf
	b	.L1
.L28:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	MAX_TOKEN_CHARS
	.word	MAX_INFO_STRING
	.word	.LC5
	.word	qtrue
	.word	qfalse
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.word	MAX_ARENAS
	.word	.LC4
	.word	.LC1
	.size	UI_ParseInfos, .-UI_ParseInfos
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	MAX_TOKEN_CHARS,4,4
	.comm	MAX_INFO_STRING,4,4
	.comm	MAX_ARENAS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
