	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llist_copy
_llist_copy:                            ## @llist_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	%rdi, %r14
	leaq	-32(%rbp), %rdi
	callq	_llist_init
	movl	16(%r14), %ecx
	movq	-32(%rbp), %rax
	movl	%ecx, 16(%rax)
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_llist_item_get
	movq	%rax, %r15
	movq	-32(%rbp), %rax
	movq	%r15, 8(%rax)
	movq	8(%r14), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 8(%r15)
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_llist_item_get
	movq	%rax, (%r15)
	movl	8(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rbx), %rbx
	movq	%rax, %r15
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rax
LBB0_4:
	movq	$0, (%rax)
	movq	-32(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-32(%rbp), %rax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_llist_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llist_copy
_llist_copy:                            ; @llist_copy
	.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
	mov	x20, x0
	add	x0, sp, #8
	bl	_llist_init
	ldr	w8, [x20, #16]
	ldr	x0, [sp, #8]
	str	w8, [x0, #16]
	cbz	w8, LBB0_5
; %bb.1:
	bl	_llist_item_get
	mov	x19, x0
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	str	w9, [x0, #8]
	ldr	x20, [x8]
	cbz	x20, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_llist_item_get
	str	x0, [x19]
	ldr	w8, [x20, #8]
	str	w8, [x0, #8]
	ldr	x20, [x20]
	mov	x19, x0
	cbnz	x20, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x0, x19
LBB0_4:
	str	xzr, [x0]
	ldr	x8, [sp, #8]
	str	x0, [x8]
	ldr	x0, [sp, #8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_llist_copy
.subsections_via_symbols
