	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_string_strlcpy             ## -- Begin function isc_string_strlcpy
	.p2align	4, 0x90
_isc_string_strlcpy:                    ## @isc_string_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
	cmpq	$2, %rdx
	jae	LBB0_2
## %bb.1:
	movq	%rax, %rcx
	jmp	LBB0_5
LBB0_2:
	leaq	-1(%rdx), %rsi
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %r8d
	movb	%r8b, (%rdi)
	incq	%rcx
	testb	%r8b, %r8b
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	decq	%rsi
	jne	LBB0_3
LBB0_5:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movb	$0, (%rdi)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rdx
	cmpb	$0, (%rcx)
	movq	%rdx, %rcx
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	movq	%rcx, %rdx
LBB0_9:
	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	_isc_string_strlcpy             ; -- Begin function isc_string_strlcpy
	.p2align	2
_isc_string_strlcpy:                    ; @isc_string_strlcpy
	.cfi_startproc
; %bb.0:
	cmp	x2, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x8, x1
	b	LBB0_5
LBB0_2:
	sub	x9, x2, #1
	mov	x10, x1
	mov	x8, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8], #1
	strb	w11, [x0]
	cbz	w11, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	mov	x10, x8
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_5:
	cbz	x2, LBB0_7
; %bb.6:
	strb	wzr, [x0]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_7
	b	LBB0_9
LBB0_8:
	add	x8, x10, #1
LBB0_9:
	mvn	x9, x1
	add	x0, x8, x9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
