	.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
	movq	%rsi, %rax
	movq	%rsi, %rcx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	decq	%rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rax,%rcx), %esi
	movb	%sil, (%rdi,%rcx)
	incq	%rcx
	testb	%sil, %sil
	jne	LBB0_2
## %bb.4:
	addq	%rax, %rcx
	movq	%rcx, %rdx
	jmp	LBB0_7
LBB0_5:
	movb	$0, (%rdi,%rcx)
	addq	%rax, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rdx
	cmpb	$0, (%rcx)
	movq	%rdx, %rcx
	jne	LBB0_6
LBB0_7:
	notq	%rax
	addq	%rdx, %rax
	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:
	mov	x8, x1
	cbz	x2, LBB0_5
; %bb.1:
	sub	x9, x2, #1
	mov	x8, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w10, [x8], #1
	strb	w10, [x0], #1
	sub	x9, x9, #1
	cbnz	w10, LBB0_2
	b	LBB0_6
LBB0_4:
	strb	wzr, [x0]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_5
LBB0_6:
	mvn	x9, x1
	add	x0, x8, x9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
