	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_StopRecord_f                ## -- Begin function CL_StopRecord_f
	.p2align	4, 0x90
_CL_StopRecord_f:                       ## @CL_StopRecord_f
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_clc@GOTPCREL(%rip), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	$-1, -20(%rbp)
	movq	16(%rbx), %rdx
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_FS_Write
	movq	16(%rbx), %rdx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_FS_Write
	movq	16(%rbx), %rdi
	callq	_FS_FCloseFile
	movq	$0, 16(%rbx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	%rax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_Printf
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,24,3                       ## @clc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not recording a demo.\n"

	.comm	_qfalse,8,3                     ## @qfalse
L_.str.1:                               ## @.str.1
	.asciz	"Stopped demo.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_StopRecord_f                ; -- Begin function CL_StopRecord_f
	.p2align	2
_CL_StopRecord_f:                       ; @CL_StopRecord_f
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _clc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _clc@GOTPAGEOFF]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #-1
	str	w8, [sp, #12]
	ldr	x2, [x19, #16]
	add	x0, sp, #12
	mov	w1, #4
	bl	_FS_Write
	ldr	x2, [x19, #16]
	add	x0, sp, #12
	mov	w1, #4
	bl	_FS_Write
	ldr	x0, [x19, #16]
	bl	_FS_FCloseFile
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, x8, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Com_Printf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,24,3                       ; @clc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not recording a demo.\n"

	.comm	_qfalse,8,3                     ; @qfalse
l_.str.1:                               ; @.str.1
	.asciz	"Stopped demo.\n"

.subsections_via_symbols
