	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_NextDownload                ## -- Begin function CL_NextDownload
	.p2align	4, 0x90
_CL_NextDownload:                       ## @CL_NextDownload
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_clc@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_8
## %bb.1:
	cmpb	$64, %al
	jne	LBB0_3
## %bb.2:
	incq	%r14
LBB0_3:
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CL_DownloadsComplete           ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %r15
	addq	%rbx, %r15
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_CL_BeginDownload
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	(%r12), %rbx
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,16,3                       ## @clc
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_NextDownload                ; -- Begin function CL_NextDownload
	.p2align	2
_CL_NextDownload:                       ; @CL_NextDownload
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x22, _clc@GOTPAGE
Lloh1:
	ldr	x22, [x22, _clc@GOTPAGEOFF]
	ldr	x8, [x22]
	ldrb	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
	cmp	w9, #64
	cinc	x19, x8, eq
	mov	x0, x19
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	strb	wzr, [x20], #1
	mov	x0, x20
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	strb	wzr, [x21], #1
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CL_DownloadsComplete
LBB0_5:
	mov	x0, x20
	bl	_strlen
	add	x21, x20, w0, sxtw
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_CL_BeginDownload
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	ldr	x19, [x22]
	mov	x0, x21
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memmove
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,16,3                       ; @clc
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
