	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strlcpy                        ## -- Begin function strlcpy
	.p2align	4, 0x90
_strlcpy:                               ## @strlcpy
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_strlen
	cmpq	$2, %r14
	jb	LBB0_13
## %bb.1:
	leaq	-1(%r14), %r8
	cmpq	$32, %r8
	jb	LBB0_12
## %bb.2:
	movq	%r15, %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.3:
	movq	%r8, %r9
	andq	$-32, %r9
	leaq	-32(%r9), %rcx
	movq	%rcx, %rdi
	shrq	$5, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$96, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_13:
	cmpq	$1, %r14
	je	LBB0_14
	jmp	LBB0_15
LBB0_5:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rcx), %xmm0
	movups	16(%rbx,%rcx), %xmm1
	movups	%xmm0, (%r15,%rcx)
	movups	%xmm1, 16(%r15,%rcx)
	movups	32(%rbx,%rcx), %xmm0
	movups	48(%rbx,%rcx), %xmm1
	movups	%xmm0, 32(%r15,%rcx)
	movups	%xmm1, 48(%r15,%rcx)
	movups	64(%rbx,%rcx), %xmm0
	movups	80(%rbx,%rcx), %xmm1
	movups	%xmm0, 64(%r15,%rcx)
	movups	%xmm1, 80(%r15,%rcx)
	movups	96(%rbx,%rcx), %xmm0
	movups	112(%rbx,%rcx), %xmm1
	movups	%xmm0, 96(%r15,%rcx)
	movups	%xmm1, 112(%r15,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	leaq	(%rbx,%rcx), %rdi
	addq	$16, %rdi
	addq	%r15, %rcx
	addq	$16, %rcx
	shlq	$5, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rdx), %xmm0
	movups	(%rdi,%rdx), %xmm1
	movups	%xmm0, -16(%rcx,%rdx)
	movups	%xmm1, (%rcx,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_9
LBB0_10:
	addq	%r9, %r15
	cmpq	%r9, %r8
	je	LBB0_14
## %bb.11:
	subq	%r9, %r14
	addq	%r9, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	incq	%rbx
	movb	%cl, (%r15)
	incq	%r15
	decq	%r14
	cmpq	$1, %r14
	ja	LBB0_12
LBB0_14:
	movb	$0, (%r15)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strlcpy                        ; -- Begin function strlcpy
	.p2align	2
_strlcpy:                               ; @strlcpy
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_strlen
	cmp	x19, #2
	b.lo	LBB0_6
; %bb.1:
	sub	x10, x19, #1
	cmp	x10, #64
	b.lo	LBB0_7
; %bb.2:
	sub	x8, x21, x20
	cmp	x8, #64
	b.lo	LBB0_7
; %bb.3:
	and	x11, x10, #0xffffffffffffffc0
	add	x8, x21, x11
	sub	x19, x19, x11
	add	x9, x20, x11
	add	x12, x21, #32
	add	x13, x20, #32
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #64
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x11
	b.ne	LBB0_8
	b	LBB0_9
LBB0_6:
	mov	x8, x21
	cmp	x19, #1
	b.eq	LBB0_9
	b	LBB0_10
LBB0_7:
	mov	x8, x21
	mov	x9, x20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	strb	w10, [x8], #1
	sub	x19, x19, #1
	cmp	x19, #1
	b.hi	LBB0_8
LBB0_9:
	strb	wzr, [x8]
LBB0_10:
	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
.subsections_via_symbols
