	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copystr                        ## -- Begin function copystr
	.p2align	4, 0x90
_copystr:                               ## @copystr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r9
	negq	%r9
	movl	$1, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi,%r8), %r10d
	movb	%r10b, -1(%rsi,%r8)
	testb	%r10b, %r10b
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r9,%r8), %r10
	incq	%r10
	incq	%r8
	cmpq	$1, %r10
	jne	LBB0_3
## %bb.6:
	movq	%rdx, %r8
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%r8d, %r8d
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_8:
	movq	%r8, (%rcx)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copystr                        ; -- Begin function copystr
	.p2align	2
_copystr:                               ; @copystr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _ENAMETOOLONG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENAMETOOLONG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cbz	x2, LBB0_4
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x9]
	strb	w10, [x1, x9]
	add	x9, x9, #1
	cbz	w10, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x2, x9
	b.ne	LBB0_2
LBB0_4:
	cbz	x3, LBB0_6
LBB0_5:
	str	x2, [x3]
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	mov	x2, x9
	cbnz	x3, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
.subsections_via_symbols
