	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Sys_ConcatenateFileLists
_Sys_ConcatenateFileLists:              ## @Sys_ConcatenateFileLists
	.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	%rsi, %r14
	movq	%rdi, %r12
	callq	_Sys_CountFileList
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_Sys_CountFileList
	addl	%eax, %ebx
	shlq	$32, %rbx
	movabsq	$4294967296, %rdi               ## imm = 0x100000000
	addq	%rbx, %rdi
	shrq	$29, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Z_Malloc
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	(%r12), %rcx
	movq	%r15, %rax
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	leaq	8(%r12), %rdx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rax)
	addq	$8, %rax
	movq	(%rdx), %rcx
	addq	$8, %rdx
	testq	%rcx, %rcx
	jne	LBB0_3
LBB0_4:
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	leaq	8(%r14), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rax)
	addq	$8, %rax
	movq	(%rdx), %rcx
	addq	$8, %rdx
	testq	%rcx, %rcx
	jne	LBB0_7
LBB0_8:
	movq	$0, (%rax)
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_Z_Free
LBB0_10:
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_Z_Free
LBB0_12:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Sys_ConcatenateFileLists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Sys_ConcatenateFileLists
_Sys_ConcatenateFileLists:              ; @Sys_ConcatenateFileLists
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_Sys_CountFileList
	mov	x21, x0
	mov	x0, x19
	bl	_Sys_CountFileList
	add	w8, w0, w21
	mov	x9, #4294967296
	add	x8, x9, x8, lsl #32
	lsr	x0, x8, #29
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_Z_Malloc
	mov	x21, x0
	mov	x8, x0
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x9, [x20]
	mov	x8, x21
	cbz	x9, LBB0_4
; %bb.2:
	add	x10, x20, #8
	mov	x8, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x8], #8
	ldr	x9, [x10], #8
	cbnz	x9, LBB0_3
LBB0_4:
	cbz	x19, LBB0_8
; %bb.5:
	ldr	x9, [x19]
	cbz	x9, LBB0_8
; %bb.6:
	add	x10, x19, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x8], #8
	ldr	x9, [x10], #8
	cbnz	x9, LBB0_7
LBB0_8:
	str	xzr, [x8]
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_Z_Free
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_Z_Free
LBB0_12:
	mov	x0, 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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Sys_ConcatenateFileLists
.subsections_via_symbols
