	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function __unaligned_store
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
LCPI0_2:
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
LCPI0_3:
	.long	4294967192                      ## 0xffffff98
	.long	4294967192                      ## 0xffffff98
	.long	4294967192                      ## 0xffffff98
	.long	4294967192                      ## 0xffffff98
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.space	16,255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
___unaligned_store:                     ## @__unaligned_store
	.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_12
## %bb.1:
	movl	%edx, %r8d
	cmpl	$8, %edx
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movl	%r8d, %eax
	andl	$-8, %eax
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm13               ## xmm13 = xmm0[0,0,0,0]
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm8                ## xmm8 = xmm0[0,0,0,0]
	leaq	-8(%rax), %rcx
	movq	%rcx, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	%r9, %r10
	andq	$-2, %r10
	movdqa	LCPI0_0(%rip), %xmm14           ## xmm14 = [0,1,2,3]
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4294967256,4294967256,4294967256,4294967256]
	movdqa	LCPI0_2(%rip), %xmm10           ## xmm10 = [4294967224,4294967224,4294967224,4294967224]
	movdqa	LCPI0_3(%rip), %xmm11           ## xmm11 = [4294967192,4294967192,4294967192,4294967192]
	movdqa	LCPI0_4(%rip), %xmm12           ## xmm12 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm14, %xmm2
	pxor	LCPI0_5(%rip), %xmm2
	paddd	%xmm13, %xmm2
	pslld	$3, %xmm2
	movdqa	%xmm13, %xmm1
	psubd	%xmm14, %xmm1
	pshuflw	$254, %xmm2, %xmm5              ## xmm5 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm0
	psrad	%xmm5, %xmm0
	pshufd	$238, %xmm2, %xmm5              ## xmm5 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm5, %xmm7              ## xmm7 = xmm5[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm6
	psrad	%xmm7, %xmm6
	pslld	$3, %xmm1
	movdqa	%xmm1, %xmm7
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm3
	psrad	%xmm2, %xmm3
	paddd	%xmm9, %xmm7
	pshuflw	$84, %xmm5, %xmm2               ## xmm2 = xmm5[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm5
	psrad	%xmm2, %xmm5
	pblendw	$15, %xmm0, %xmm6               ## xmm6 = xmm0[0,1,2,3],xmm6[4,5,6,7]
	pshuflw	$254, %xmm7, %xmm0              ## xmm0 = xmm7[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm2
	psrad	%xmm0, %xmm2
	pshufd	$238, %xmm7, %xmm0              ## xmm0 = xmm7[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm4              ## xmm4 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm15
	psrad	%xmm4, %xmm15
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm7, %xmm3               ## xmm3 = xmm7[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$204, %xmm6, %xmm5              ## xmm5 = xmm5[0,1],xmm6[2,3],xmm5[4,5],xmm6[6,7]
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm3
	psrad	%xmm0, %xmm3
	pblendw	$15, %xmm2, %xmm15              ## xmm15 = xmm2[0,1,2,3],xmm15[4,5,6,7]
	pblendw	$15, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm15, %xmm3             ## xmm3 = xmm3[0,1],xmm15[2,3],xmm3[4,5],xmm15[6,7]
	movdqu	%xmm5, (%rdi,%rcx,4)
	movdqa	%xmm1, %xmm0
	paddd	%xmm10, %xmm0
	pshuflw	$254, %xmm0, %xmm2              ## xmm2 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm4
	psrad	%xmm2, %xmm4
	pshufd	$238, %xmm0, %xmm2              ## xmm2 = xmm0[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm5              ## xmm5 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm6
	psrad	%xmm5, %xmm6
	movdqu	%xmm3, 16(%rdi,%rcx,4)
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm3
	psrad	%xmm0, %xmm3
	paddd	%xmm11, %xmm1
	pshuflw	$84, %xmm2, %xmm0               ## xmm0 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm2
	psrad	%xmm0, %xmm2
	pblendw	$15, %xmm4, %xmm6               ## xmm6 = xmm4[0,1,2,3],xmm6[4,5,6,7]
	pshuflw	$254, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm4
	psrad	%xmm0, %xmm4
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm5              ## xmm5 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm7
	psrad	%xmm5, %xmm7
	pblendw	$15, %xmm3, %xmm2               ## xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm3
	psrad	%xmm1, %xmm3
	pblendw	$204, %xmm6, %xmm2              ## xmm2 = xmm2[0,1],xmm6[2,3],xmm2[4,5],xmm6[6,7]
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm1
	psrad	%xmm0, %xmm1
	pblendw	$15, %xmm4, %xmm7               ## xmm7 = xmm4[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm3, %xmm1               ## xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	pblendw	$204, %xmm7, %xmm1              ## xmm1 = xmm1[0,1],xmm7[2,3],xmm1[4,5],xmm7[6,7]
	movdqu	%xmm2, 32(%rdi,%rcx,4)
	movdqu	%xmm1, 48(%rdi,%rcx,4)
	addq	$16, %rcx
	paddd	%xmm12, %xmm14
	addq	$-2, %r10
	jne	LBB0_6
## %bb.7:
	testb	$1, %r9b
	je	LBB0_9
LBB0_8:
	pcmpeqd	%xmm0, %xmm0
	pxor	%xmm14, %xmm0
	paddd	%xmm13, %xmm0
	psubd	%xmm14, %xmm13
	pslld	$3, %xmm13
	paddd	LCPI0_1(%rip), %xmm13
	pslld	$3, %xmm0
	pshuflw	$254, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm2
	psrad	%xmm1, %xmm2
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	pshuflw	$254, %xmm1, %xmm3              ## xmm3 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm4
	psrad	%xmm3, %xmm4
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm3
	psrad	%xmm0, %xmm3
	pblendw	$15, %xmm2, %xmm4               ## xmm4 = xmm2[0,1,2,3],xmm4[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm0               ## xmm0 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm1
	psrad	%xmm0, %xmm1
	pblendw	$15, %xmm3, %xmm1               ## xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	pshuflw	$254, %xmm13, %xmm0             ## xmm0 = xmm13[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm2
	psrad	%xmm0, %xmm2
	pshufd	$238, %xmm13, %xmm0             ## xmm0 = xmm13[2,3,2,3]
	pshuflw	$254, %xmm0, %xmm3              ## xmm3 = xmm0[2,3,3,3,4,5,6,7]
	movdqa	%xmm8, %xmm5
	psrad	%xmm3, %xmm5
	pblendw	$204, %xmm4, %xmm1              ## xmm1 = xmm1[0,1],xmm4[2,3],xmm1[4,5],xmm4[6,7]
	pshuflw	$84, %xmm13, %xmm3              ## xmm3 = xmm13[0,1,1,1,4,5,6,7]
	movdqa	%xmm8, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$15, %xmm2, %xmm5               ## xmm5 = xmm2[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1,4,5,6,7]
	psrad	%xmm0, %xmm8
	pblendw	$15, %xmm4, %xmm8               ## xmm8 = xmm4[0,1,2,3],xmm8[4,5,6,7]
	pblendw	$204, %xmm5, %xmm8              ## xmm8 = xmm8[0,1],xmm5[2,3],xmm8[4,5],xmm5[6,7]
	movdqu	%xmm1, (%rdi,%rcx,4)
	movdqu	%xmm8, 16(%rdi,%rcx,4)
LBB0_9:
	cmpq	%r8, %rax
	je	LBB0_12
LBB0_10:
	subl	%eax, %edx
	leal	-8(,%rdx,8), %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, %edx
	sarl	%cl, %edx
	movl	%edx, (%rdi,%rax,4)
	incq	%rax
	addl	$-8, %ecx
	cmpq	%rax, %r8
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
LBB0_4:
	movdqa	LCPI0_0(%rip), %xmm14           ## xmm14 = [0,1,2,3]
	xorl	%ecx, %ecx
	testb	$1, %r9b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___unaligned_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function __unaligned_store
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
___unaligned_store:                     ; @__unaligned_store
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w8, w2
	cmp	w2, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_6
LBB0_3:
	and	x9, x8, #0xfffffff0
	dup.4s	v0, w2
	dup.4s	v1, w1
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	q2, [x10, lCPI0_0@PAGEOFF]
	add	x10, x0, #32
	movi.4s	v3, #40
	movi.4s	v4, #72
	movi.4s	v5, #104
	movi.4s	v6, #16
	mov	x11, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mvn.16b	v7, v2
	add.4s	v7, v0, v7
	sub.4s	v16, v0, v2
	shl.4s	v16, v16, #3
	shl.4s	v7, v7, #3
	neg.4s	v7, v7
	sshl.4s	v7, v1, v7
	sub.4s	v17, v3, v16
	sshl.4s	v17, v1, v17
	sub.4s	v18, v4, v16
	sshl.4s	v18, v1, v18
	sub.4s	v16, v5, v16
	sshl.4s	v16, v1, v16
	stp	q7, q17, [x10, #-32]
	stp	q18, q16, [x10], #64
	add.4s	v2, v2, v6
	subs	x11, x11, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	sub	w10, w2, w9
	lsl	w10, w10, #3
	sub	w10, w10, #8
	add	x11, x0, x9, lsl #2
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	asr	w9, w1, w10
	str	w9, [x11], #4
	sub	w10, w10, #8
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___unaligned_store
.subsections_via_symbols
