	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcsncpy                        ## -- Begin function wcsncpy
	.p2align	4, 0x90
_wcsncpy:                               ## @wcsncpy
	.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_6
## %bb.1:
	xorl	%eax, %eax
	movq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax), %edi
	movl	%edi, (%rbx,%rax)
	testl	%edi, %edi
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	decq	%rcx
	jne	LBB0_2
	jmp	LBB0_6
LBB0_3:
	cmpq	$1, %rcx
	je	LBB0_6
## %bb.4:
	leaq	(%rbx,%rax), %rdi
	addq	$4, %rdi
	shlq	$2, %rdx
	subq	%rax, %rdx
	addq	$-4, %rdx
	movq	%rdx, %rsi
	callq	___bzero
LBB0_6:
	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	_wcsncpy                        ; -- Begin function wcsncpy
	.p2align	2
_wcsncpy:                               ; @wcsncpy
	.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
	cbz	x2, LBB0_6
; %bb.1:
	mov	x8, x1
	lsl	x9, x2, #2
	sub	x1, x9, #4
	add	x0, x19, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	stur	w9, [x0, #-4]
	cbz	w9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #4
	sub	x1, x1, #4
	add	x0, x0, #4
	sub	x2, x2, #1
	cbnz	x2, LBB0_2
	b	LBB0_6
LBB0_4:
	cmp	x2, #1
	b.eq	LBB0_6
; %bb.5:
	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
