	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strncpy                        ## -- Begin function strncpy
	.p2align	4, 0x90
_strncpy:                               ## @strncpy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.4:
	leaq	1(%rbx), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rax), %ecx
	movb	%cl, -1(%rdi)
	cmpb	$0, (%rsi,%rax)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	incq	%rdi
	cmpq	%rax, %rdx
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	movq	%rbx, %rdi
LBB0_2:
	cmpq	%rdx, %rax
	jae	LBB0_7
## %bb.3:
	subq	%rax, %rdx
	movq	%rdx, %rsi
	callq	___bzero
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	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	_strncpy                        ; -- Begin function strncpy
	.p2align	2
_strncpy:                               ; @strncpy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x8, #0
	cbz	x2, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x1, x8]
	strb	w9, [x19, x8]
	ldrb	w9, [x1, x8]
	cbz	w9, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	cmp	x2, x8
	b.ne	LBB0_1
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	cmp	x8, x2
	b.lo	LBB0_5
	b	LBB0_6
LBB0_4:
	add	x9, x19, x8
	add	x0, x9, #1
	cmp	x8, x2
	b.hs	LBB0_6
LBB0_5:
	sub	x1, x2, x8
	bl	_bzero
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
