	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SCR_DrawDemoRecording          ## -- Begin function SCR_DrawDemoRecording
	.p2align	4, 0x90
_SCR_DrawDemoRecording:                 ## @SCR_DrawDemoRecording
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_clc@GOTPCREL(%rip), %rbx
	cmpl	$0, 24(%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	callq	_FS_FTell
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rdx
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-1040(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strlen
	shll	$2, %eax
	movl	$320, %edi                      ## imm = 0x140
	subl	%eax, %edi
	movq	_g_color_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	28(%rax), %r8d
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$20, %esi
	movl	$8, %edx
	movq	%rbx, %rcx
	callq	_SCR_DrawStringExt
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,32,3                       ## @clc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECORDING %s: %ik"

	.comm	_g_color_table,8,3              ## @g_color_table
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SCR_DrawDemoRecording          ; -- Begin function SCR_DrawDemoRecording
	.p2align	2
_SCR_DrawDemoRecording:                 ; @SCR_DrawDemoRecording
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #1040
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x19, _clc@GOTPAGE
Lloh4:
	ldr	x19, [x19, _clc@GOTPAGEOFF]
	ldr	w8, [x19, #24]
	ldr	x9, [x19, #16]
	cmp	w8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_FS_FTell
	ldr	x2, [x19]
	add	w8, w0, #1023
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w3, w8, #10
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	add	x0, sp, #8
	bl	_strlen
	mov	w8, #320
	sub	w0, w8, w0, lsl #2
Lloh7:
	adrp	x8, _g_color_table@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_color_table@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w4, [x8, #28]
Lloh10:
	adrp	x8, _qtrue@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
Lloh13:
	adrp	x8, _qfalse@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh15:
	ldr	w6, [x8]
	add	x3, sp, #8
	mov	w1, #20
	mov	w2, #8
	bl	_SCR_DrawStringExt
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,32,3                       ; @clc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECORDING %s: %ik"

	.comm	_g_color_table,8,3              ; @g_color_table
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
