	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_concat_copy               ## -- Begin function list_concat_copy
	.p2align	4, 0x90
_list_concat_copy:                      ## @list_concat_copy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_Assert
	movl	8(%r14), %esi
	addl	8(%rbx), %esi
	movq	(%rbx), %rdi
	callq	_new_list
	movq	%rax, %r15
	movq	16(%rax), %rdi
	movq	16(%rbx), %rsi
	movl	8(%rbx), %edx
	shll	$2, %edx
	callq	_memcpy
	movslq	8(%rbx), %rdi
	addq	16(%r15), %rdi
	movq	16(%r14), %rsi
	movl	8(%r14), %edx
	shll	$2, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_check_list_invariants
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	jmp	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_copy                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_concat_copy               ; -- Begin function list_concat_copy
	.p2align	2
_list_concat_copy:                      ; @list_concat_copy
	.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
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
	cmp	x8, x19
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x20, #8]
	ldr	w9, [x19, #8]
	add	w1, w9, w8
	ldr	x0, [x20]
	bl	_new_list
	mov	x21, x0
	ldr	x0, [x0, #16]
	ldr	x1, [x20, #16]
	ldr	w8, [x20, #8]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	x8, [x21, #16]
	ldrsw	x9, [x20, #8]
	add	x0, x8, x9
	ldr	x1, [x19, #16]
	ldr	w8, [x19, #8]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	x0, x21
	bl	_check_list_invariants
	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
LBB0_3:
	mov	x0, x19
	b	LBB0_5
LBB0_4:
	mov	x0, x20
LBB0_5:
	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	_list_copy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
.subsections_via_symbols
