	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set16
_set16:                                 ## @set16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jle	LBB0_13
## %bb.1:
	leal	-1(%rdx), %r9d
	cmpl	$15, %r9d
	jb	LBB0_11
## %bb.2:
	incq	%r9
	movq	%r9, %r8
	andq	$-16, %r8
	movd	%esi, %xmm0
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-16(%r8), %rax
	movq	%rax, %rcx
	shrq	$4, %rcx
	incq	%rcx
	movl	%ecx, %r10d
	andl	$7, %r10d
	cmpq	$112, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	andq	$-8, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rdi,%rax,2)
	movdqu	%xmm0, 16(%rdi,%rax,2)
	movdqu	%xmm0, 32(%rdi,%rax,2)
	movdqu	%xmm0, 48(%rdi,%rax,2)
	movdqu	%xmm0, 64(%rdi,%rax,2)
	movdqu	%xmm0, 80(%rdi,%rax,2)
	movdqu	%xmm0, 96(%rdi,%rax,2)
	movdqu	%xmm0, 112(%rdi,%rax,2)
	movdqu	%xmm0, 128(%rdi,%rax,2)
	movdqu	%xmm0, 144(%rdi,%rax,2)
	movdqu	%xmm0, 160(%rdi,%rax,2)
	movdqu	%xmm0, 176(%rdi,%rax,2)
	movdqu	%xmm0, 192(%rdi,%rax,2)
	movdqu	%xmm0, 208(%rdi,%rax,2)
	movdqu	%xmm0, 224(%rdi,%rax,2)
	movdqu	%xmm0, 240(%rdi,%rax,2)
	subq	$-128, %rax
	addq	$-8, %rcx
	jne	LBB0_5
LBB0_6:
	testq	%r10, %r10
	je	LBB0_9
## %bb.7:
	leaq	(%rdi,%rax,2), %rax
	addq	$16, %rax
	shlq	$5, %r10
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rax,%rcx)
	movdqu	%xmm0, (%rax,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_8
LBB0_9:
	cmpq	%r8, %r9
	je	LBB0_13
## %bb.10:
	subl	%r8d, %edx
	leaq	(%rdi,%r8,2), %rdi
LBB0_11:
	incl	%edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movw	%si, (%rdi)
	addq	$2, %rdi
	decl	%edx
	cmpl	$1, %edx
	ja	LBB0_12
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set16
_set16:                                 ; @set16
	.cfi_startproc
; %bb.0:
	subs	w8, w2, #1
	b.lt	LBB0_8
; %bb.1:
	cmp	w8, #31
	b.hs	LBB0_3
; %bb.2:
	mov	x8, x0
	b	LBB0_6
LBB0_3:
	add	x9, x8, #1
	and	x10, x9, #0x1ffffffe0
	sub	w2, w2, w10
	add	x8, x0, x10, lsl #1
	dup.8h	v0, w1
	add	x11, x0, #32
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #32
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_6:
	add	w9, w2, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	strh	w1, [x8], #2
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set16
.subsections_via_symbols
