	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function no_mischief_strncpy
LCPI0_0:
	.space	16,208
LCPI0_1:
	.space	16,9
LCPI0_2:
	.space	16,223
LCPI0_3:
	.space	16,191
LCPI0_4:
	.space	16,25
LCPI0_5:
	.space	16,95
LCPI0_6:
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.byte	208                             ## 0xd0
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_7:
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.byte	10                              ## 0xa
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_8:
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.byte	223                             ## 0xdf
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_9:
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.byte	191                             ## 0xbf
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_10:
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.byte	26                              ## 0x1a
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_11:
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.byte	95                              ## 0x5f
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_no_mischief_strncpy:                   ## @no_mischief_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.1:
	xorl	%r14d, %r14d
	cmpq	$8, %rdx
	jb	LBB0_12
## %bb.2:
	movq	%rdi, %rcx
	subq	%rsi, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.3:
	cmpq	$32, %rdx
	jae	LBB0_5
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_5:
	movq	%rdx, %r14
	andq	$-32, %r14
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208]
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9]
	movdqa	LCPI0_2(%rip), %xmm10           ## xmm10 = [223,223,223,223,223,223,223,223,223,223,223,223,223,223,223,223]
	movdqa	LCPI0_3(%rip), %xmm11           ## xmm11 = [191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191]
	movdqa	LCPI0_4(%rip), %xmm12           ## xmm12 = [25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25]
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rcx), %xmm3
	movdqu	16(%rsi,%rcx), %xmm6
	movdqa	%xmm3, %xmm0
	paddb	%xmm8, %xmm0
	movdqa	%xmm6, %xmm1
	paddb	%xmm8, %xmm1
	movdqa	%xmm0, %xmm4
	pminub	%xmm9, %xmm4
	pcmpeqb	%xmm0, %xmm4
	movdqa	%xmm1, %xmm5
	pminub	%xmm9, %xmm5
	pcmpeqb	%xmm1, %xmm5
	movdqa	%xmm3, %xmm1
	pand	%xmm10, %xmm1
	movdqa	%xmm6, %xmm2
	pand	%xmm10, %xmm2
	paddb	%xmm11, %xmm1
	paddb	%xmm11, %xmm2
	movdqa	%xmm1, %xmm0
	pminub	%xmm12, %xmm0
	pcmpeqb	%xmm1, %xmm0
	por	%xmm4, %xmm0
	movdqa	%xmm2, %xmm1
	pminub	%xmm12, %xmm1
	pcmpeqb	%xmm2, %xmm1
	por	%xmm5, %xmm1
	movdqa	%xmm7, %xmm2
	pblendvb	%xmm0, %xmm3, %xmm2
	movdqa	%xmm7, %xmm3
	movdqa	%xmm1, %xmm0
	pblendvb	%xmm0, %xmm6, %xmm3
	movdqu	%xmm2, (%rdi,%rcx)
	movdqu	%xmm3, 16(%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_6
## %bb.7:
	cmpq	%rdx, %r14
	je	LBB0_16
## %bb.8:
	testb	$24, %dl
	je	LBB0_12
LBB0_9:
	movq	%r14, %rcx
	movq	%rdx, %r14
	andq	$-8, %r14
	movdqa	LCPI0_6(%rip), %xmm8            ## xmm8 = <208,208,208,208,208,208,208,208,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_7(%rip), %xmm9            ## xmm9 = <10,10,10,10,10,10,10,10,u,u,u,u,u,u,u,u>
	pcmpeqd	%xmm3, %xmm3
	movdqa	LCPI0_8(%rip), %xmm10           ## xmm10 = <223,223,223,223,223,223,223,223,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_9(%rip), %xmm5            ## xmm5 = <191,191,191,191,191,191,191,191,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_10(%rip), %xmm6           ## xmm6 = <26,26,26,26,26,26,26,26,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_11(%rip), %xmm7           ## xmm7 = <95,95,95,95,95,95,95,95,u,u,u,u,u,u,u,u>
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx), %xmm4              ## xmm4 = mem[0],zero
	movdqa	%xmm4, %xmm0
	paddb	%xmm8, %xmm0
	movdqa	%xmm0, %xmm2
	pmaxub	%xmm9, %xmm2
	pcmpeqb	%xmm0, %xmm2
	pxor	%xmm3, %xmm2
	movdqa	%xmm4, %xmm1
	pand	%xmm10, %xmm1
	paddb	%xmm5, %xmm1
	movdqa	%xmm1, %xmm0
	pmaxub	%xmm6, %xmm0
	pcmpeqb	%xmm1, %xmm0
	pxor	%xmm3, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm7, %xmm1
	pblendvb	%xmm0, %xmm4, %xmm1
	movq	%xmm1, (%rdi,%rcx)
	addq	$8, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_10
## %bb.11:
	cmpq	%rdx, %r14
	je	LBB0_16
LBB0_12:
	movq	%r14, %r10
	notq	%r10
	testb	$1, %dl
	je	LBB0_14
## %bb.13:
	movzbl	(%rsi,%r14), %r8d
	leal	-48(%r8), %r9d
	movl	%r8d, %r11d
	andb	$-33, %r11b
	addb	$-65, %r11b
	cmpb	$10, %r9b
	movl	$95, %ecx
	cmovbl	%r8d, %ecx
	cmpb	$26, %r11b
	cmovbl	%r8d, %ecx
	movb	%cl, (%rdi,%r14)
	orq	$1, %r14
LBB0_14:
	addq	%rdx, %r10
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%r14), %ecx
	leal	-48(%rcx), %eax
	movl	%ecx, %ebx
	andb	$-33, %bl
	addb	$-65, %bl
	cmpb	$10, %al
	movl	$95, %eax
	cmovbl	%ecx, %eax
	cmpb	$26, %bl
	cmovbl	%ecx, %eax
	movb	%al, (%rdi,%r14)
	movzbl	1(%rsi,%r14), %eax
	leal	-48(%rax), %ecx
	movl	%eax, %ebx
	andb	$-33, %bl
	addb	$-65, %bl
	cmpb	$10, %cl
	movl	$95, %ecx
	cmovbl	%eax, %ecx
	cmpb	$26, %bl
	cmovbl	%eax, %ecx
	movb	%cl, 1(%rdi,%r14)
	addq	$2, %r14
	cmpq	%r14, %rdx
	jne	LBB0_15
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_no_mischief_strncpy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function no_mischief_strncpy
_no_mischief_strncpy:                   ; @no_mischief_strncpy
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_14
; %bb.1:
	mov	x8, #0
	cmp	x2, #8
	b.lo	LBB0_12
; %bb.2:
	sub	x9, x0, x1
	cmp	x9, #16
	b.lo	LBB0_12
; %bb.3:
	cmp	x2, #16
	b.hs	LBB0_8
; %bb.4:
	mov	x8, #0
LBB0_5:
	mov	x11, x8
	and	x8, x2, #0xfffffffffffffff8
	add	x9, x1, x11
	add	x10, x0, x11
	sub	x11, x11, x8
	movi.8b	v0, #208
	movi.8b	v1, #10
	movi.8b	v2, #223
	movi.8b	v3, #191
	movi.8b	v4, #26
	movi.8b	v5, #95
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d6, [x9], #8
	add.8b	v7, v6, v0
	cmhi.8b	v7, v1, v7
	and.8b	v16, v6, v2
	add.8b	v16, v16, v3
	cmhi.8b	v16, v4, v16
	orr.8b	v7, v16, v7
	bif.8b	v6, v5, v7
	str	d6, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x8, x2
	b.ne	LBB0_12
	b	LBB0_14
LBB0_8:
	and	x8, x2, #0xfffffffffffffff0
	movi.16b	v0, #208
	movi.16b	v1, #10
	movi.16b	v2, #223
	movi.16b	v3, #191
	movi.16b	v4, #26
	movi.16b	v5, #95
	mov	x9, x8
	mov	x10, x0
	mov	x11, x1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q6, [x11], #16
	add.16b	v7, v6, v0
	cmhi.16b	v7, v1, v7
	and.16b	v16, v6, v2
	add.16b	v16, v16, v3
	cmhi.16b	v16, v4, v16
	orr.16b	v7, v16, v7
	bif.16b	v6, v5, v7
	str	q6, [x10], #16
	subs	x9, x9, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x8, x2
	b.eq	LBB0_14
; %bb.11:
	tbnz	w2, #3, LBB0_5
LBB0_12:
	add	x9, x0, x8
	sub	x10, x2, x8
	add	x8, x1, x8
	mov	w11, #95
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x8], #1
	sub	w13, w12, #48
	and	w13, w13, #0xff
	and	w14, w12, #0xffffffdf
	sub	w14, w14, #65
	cmp	w13, #10
	and	w13, w14, #0xff
	ccmp	w13, #26, #0, hs
	csel	w12, w12, w11, lo
	strb	w12, [x9], #1
	subs	x10, x10, #1
	b.ne	LBB0_13
LBB0_14:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_no_mischief_strncpy
.subsections_via_symbols
