	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_string
_copy_string:                           ## @copy_string
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_get_context
	movq	16(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	4(%rax), %r9d
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.3:
	movl	(%rax), %esi
	addl	8(%rax), %r9d
	xorl	%edi, %edi
	cmpl	$1, %r15d
	je	LBB0_6
## %bb.4:
	movl	%r15d, %r8d
	andl	$-2, %r8d
	movl	%r9d, %r10d
	subl	%r14d, %r10d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rdi), %ebx
	andl	%esi, %ebx
	movslq	%ebx, %rbx
	leal	(%r10,%rdi), %ecx
	andl	%esi, %ecx
	movslq	%ecx, %rcx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, (%rdx,%rbx,4)
	leal	(%r9,%rdi), %ecx
	incl	%ecx
	andl	%esi, %ecx
	movslq	%ecx, %rcx
	leal	(%r10,%rdi), %ebx
	incl	%ebx
	andl	%esi, %ebx
	movslq	%ebx, %rbx
	movl	(%rdx,%rbx,4), %ebx
	movl	%ebx, (%rdx,%rcx,4)
	addl	$2, %edi
	cmpl	%edi, %r8d
	jne	LBB0_5
LBB0_6:
	testb	$1, %r15b
	je	LBB0_8
## %bb.7:
	addl	%edi, %r9d
	movl	%r9d, %ecx
	andl	%esi, %ecx
	movslq	%ecx, %rcx
	subl	%r14d, %r9d
	andl	%esi, %r9d
	movslq	%r9d, %rsi
	movl	(%rdx,%rsi,4), %esi
	movl	%esi, (%rdx,%rcx,4)
LBB0_8:
	movl	4(%rax), %r9d
LBB0_9:
	addl	%r15d, %r9d
	movl	%r9d, 4(%rax)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_copy_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_string
_copy_string:                           ; @copy_string
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	bl	_get_context
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w10, [x0, #4]
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	w9, [x0]
	ldr	w11, [x0, #8]
	add	w10, w11, w10
	neg	w11, w20
	mov	x12, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w13, w10, w9
	add	w14, w11, w10
	and	w14, w14, w9
	ldr	w14, [x8, w14, sxtw #2]
	str	w14, [x8, w13, sxtw #2]
	add	w10, w10, #1
	subs	w12, w12, #1
	b.ne	LBB0_3
; %bb.4:
	ldr	w10, [x0, #4]
LBB0_5:
	add	w8, w10, w19
	str	w8, [x0, #4]
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_copy_string
.subsections_via_symbols
