	.file	"extr_cl_scrn.c_SCR_DrawDemoRecording.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"RECORDING %s: %ik"
	.text
	.p2align 4
	.globl	SCR_DrawDemoRecording
	.type	SCR_DrawDemoRecording, @function
SCR_DrawDemoRecording:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 1040
	.cfi_def_cfa_offset 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR clc[rip+24]
	test	eax, eax
	je	.L1
	cmp	QWORD PTR clc[rip+16], 0
	je	.L7
.L1:
	mov	rax, QWORD PTR 1032[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 1040
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR clc[rip+8]
	mov	r12, rsp
	call	FS_FTell@PLT
	mov	rdx, QWORD PTR clc[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	test	eax, eax
	lea	ecx, 1023[rax]
	cmovns	ecx, eax
	sar	ecx, 10
	call	sprintf@PLT
	mov	rax, QWORD PTR g_color_table[rip]
	mov	rdi, r12
	mov	ebp, DWORD PTR qtrue[rip]
	mov	ebx, DWORD PTR 28[rax]
	call	strlen@PLT
	mov	edi, 80
	mov	r9d, ebp
	mov	rcx, r12
	sub	edi, eax
	mov	r8d, ebx
	mov	edx, 8
	mov	esi, 20
	sal	edi, 2
	call	SCR_DrawStringExt@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	SCR_DrawDemoRecording, .-SCR_DrawDemoRecording
	.comm	qtrue,4,4
	.comm	g_color_table,8,8
	.comm	clc,32,32
	.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_cl_scrn.c_SCR_DrawDemoRecording.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RECORDING %s: %ik\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	SCR_DrawDemoRecording
	.syntax unified
	.arm
	.fpu softvfp
	.type	SCR_DrawDemoRecording, %function
SCR_DrawDemoRecording:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L12
	ldr	r4, .L12+4
	sub	sp, sp, #1040
	ldr	r3, [r3]
	str	r3, [sp, #1036]
	mov	r3,#0
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L1
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #1036]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #1040
	@ sp needed
	pop	{r4, pc}
.L10:
	ldr	r0, [r4, #4]
	bl	FS_FTell
	add	r3, r0, #1020
	cmp	r0, #0
	add	r3, r3, #3
	movlt	r0, r3
	ldr	r2, [r4]
	asr	r3, r0, #10
	ldr	r1, .L12+8
	add	r0, sp, #12
	bl	sprintf
	add	r0, sp, #12
	bl	strlen
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [sp, #4]
	ldr	r2, [r3, #28]
	rsb	r0, r0, #80
	str	r2, [sp]
	mov	r1, #20
	mov	r2, #8
	add	r3, sp, #12
	lsl	r0, r0, #2
	bl	SCR_DrawStringExt
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	clc
	.word	.LC0
	.word	qtrue
	.word	g_color_table
	.size	SCR_DrawDemoRecording, .-SCR_DrawDemoRecording
	.comm	qtrue,4,4
	.comm	g_color_table,4,4
	.comm	clc,16,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
