	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CL_WalkDemoExt
_CL_WalkDemoExt:                        ## @CL_WalkDemoExt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, (%rdx)
	movq	_MAX_OSPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEMOEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_com_protocol@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %r9
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	callq	_Com_sprintf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_FS_FOpenFileRead
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	(%r12), %r13
LBB0_2:
	movl	(%r13), %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	_demo_protocols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r9
	movl	$-1, %r12d
	testq	%r9, %r9
	je	LBB0_3
## %bb.5:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_com_protocol@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rax), %r9
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_MAX_OSPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEMOEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rcx
	callq	_Com_sprintf
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_FS_FOpenFileRead
	cmpl	$0, (%r14)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	_demo_protocols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%r13), %r9
	addq	$8, %r13
	testq	%r9, %r9
	jne	LBB0_6
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	_demo_protocols@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OSPATH,4,2                 ## @MAX_OSPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"demos/%s.%s%d"

	.comm	_DEMOEXT,4,2                    ## @DEMOEXT
	.comm	_com_protocol,8,3               ## @com_protocol
	.comm	_qtrue,4,2                      ## @qtrue
L_.str.1:                               ## @.str.1
	.asciz	"Demo file: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Not found: %s\n"

	.comm	_demo_protocols,8,3             ## @demo_protocols
	.comm	_com_legacyprotocol,8,3         ## @com_legacyprotocol
	.no_dead_strip	_CL_WalkDemoExt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CL_WalkDemoExt
_CL_WalkDemoExt:                        ; @CL_WalkDemoExt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	wzr, [x2]
Lloh0:
	adrp	x25, _MAX_OSPATH@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAX_OSPATH@GOTPAGEOFF]
Lloh2:
	adrp	x26, _DEMOEXT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DEMOEXT@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w4, [x26]
Lloh4:
	adrp	x24, _com_protocol@GOTPAGE
Lloh5:
	ldr	x24, [x24, _com_protocol@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x5, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_Com_sprintf
Lloh8:
	adrp	x27, _qtrue@GOTPAGE
Lloh9:
	ldr	x27, [x27, _qtrue@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_FS_FOpenFileRead
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_Com_Printf
	ldr	x8, [x24]
LBB0_2:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_3:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_Com_Printf
Lloh14:
	adrp	x8, _demo_protocols@GOTPAGE
Lloh15:
	ldr	x8, [x8, _demo_protocols@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x5, [x8]
	cbz	x5, LBB0_8
; %bb.4:
	mov	x28, #0
Lloh17:
	adrp	x22, l_.str@PAGE
Lloh18:
	add	x22, x22, l_.str@PAGEOFF
Lloh19:
	adrp	x23, l_.str.2@PAGE
Lloh20:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x8, [x8]
	cmp	x5, x8
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
	ldr	w4, [x26]
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_Com_sprintf
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_FS_FOpenFileRead
	ldr	w8, [x20]
	cbnz	w8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_Com_Printf
Lloh21:
	adrp	x8, _demo_protocols@GOTPAGE
Lloh22:
	ldr	x8, [x8, _demo_protocols@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x8, x8, x28
	ldr	x5, [x8, #8]
	add	x28, x28, #8
	cbnz	x5, LBB0_5
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	b	LBB0_10
LBB0_11:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_Com_Printf
Lloh26:
	adrp	x8, _demo_protocols@GOTPAGE
Lloh27:
	ldr	x8, [x8, _demo_protocols@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	add	x8, x8, x28
	b	LBB0_2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OSPATH,4,2                 ; @MAX_OSPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"demos/%s.%s%d"

	.comm	_DEMOEXT,4,2                    ; @DEMOEXT
	.comm	_com_protocol,8,3               ; @com_protocol
	.comm	_qtrue,4,2                      ; @qtrue
l_.str.1:                               ; @.str.1
	.asciz	"Demo file: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Not found: %s\n"

	.comm	_demo_protocols,8,3             ; @demo_protocols
	.comm	_com_legacyprotocol,8,3         ; @com_legacyprotocol
	.no_dead_strip	_CL_WalkDemoExt
.subsections_via_symbols
