	.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
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rax
	decq	%rax
	je	LBB0_8
## %bb.3:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rcx), %edx
	movb	%dl, (%rdi,%rcx)
	testb	%dl, %dl
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.7:
	addq	%rcx, %rdi
	addq	%rcx, %rsi
LBB0_8:
	movb	$0, (%rdi)
	cmpb	$0, (%rsi)
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	cmpb	$0, (%rsi)
	je	LBB0_12
LBB0_10:
	incq	%rsi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	incq	%rax
	cmpb	$0, (%rsi)
	leaq	1(%rsi), %rsi
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
LBB0_5:
	movq	%rcx, %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:
	cbz	x2, LBB0_7
; %bb.1:
	mov	x8, x0
	subs	x9, x2, #1
	b.eq	LBB0_6
; %bb.2:
	mov	x0, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1, x0]
	strb	w10, [x8, x0]
	cbz	w10, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_3
; %bb.5:
	add	x8, x8, x0
	add	x1, x1, x0
LBB0_6:
	strb	wzr, [x8]
	mov	x0, x9
	ldrb	w8, [x1]
	cbnz	w8, LBB0_8
	b	LBB0_10
LBB0_7:
	mov	x0, #0
	ldrb	w8, [x1]
	cbz	w8, LBB0_10
LBB0_8:
	add	x8, x1, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, #1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_9
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
