	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Byteswap
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Byteswap
	.p2align	4, 0x90
_Byteswap:                              ## @Byteswap
	.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
	cmpl	$4, %edx
	jl	LBB0_10
## %bb.1:
	movl	%edx, %r8d
	shrl	$2, %r8d
	xorl	%ecx, %ecx
	cmpl	$32, %edx
	jb	LBB0_6
## %bb.2:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_6
## %bb.3:
	movl	%r8d, %ecx
	andl	$-8, %ecx
	andl	$-32, %edx
	xorl	%eax, %eax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,0,255,0,255,0,255,0,255,0,255,0,255,0,255,0]
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rax), %xmm1
	movdqu	16(%rsi,%rax), %xmm2
	movdqa	%xmm1, %xmm3
	pslld	$8, %xmm3
	movdqa	%xmm2, %xmm4
	pslld	$8, %xmm4
	psrld	$8, %xmm1
	psrld	$8, %xmm2
	pblendvb	%xmm0, %xmm1, %xmm3
	pblendvb	%xmm0, %xmm2, %xmm4
	movdqu	%xmm3, (%rdi,%rax)
	movdqu	%xmm4, 16(%rdi,%rax)
	addq	$32, %rax
	cmpq	%rax, %rdx
	jne	LBB0_4
## %bb.5:
	cmpq	%r8, %rcx
	je	LBB0_10
LBB0_6:
	movq	%rcx, %rax
	notq	%rax
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	movl	(%rsi,%rcx,4), %edx
	bswapl	%edx
	rorl	$16, %edx
	movl	%edx, (%rdi,%rcx,4)
	orq	$1, %rcx
LBB0_8:
	addq	%r8, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %eax
	bswapl	%eax
	rorl	$16, %eax
	movl	%eax, (%rdi,%rcx,4)
	movl	4(%rsi,%rcx,4), %eax
	bswapl	%eax
	rorl	$16, %eax
	movl	%eax, 4(%rdi,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_9
LBB0_10:
	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	_Byteswap                       ; -- Begin function Byteswap
	.p2align	2
_Byteswap:                              ; @Byteswap
	.cfi_startproc
; %bb.0:
	cmp	w2, #4
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	lsr	w8, w2, #2
	cmp	w2, #64
	b.lo	LBB0_6
; %bb.2:
	sub	x10, x0, x1
	cmp	x10, #64
	b.lo	LBB0_6
; %bb.3:
	and	x9, x8, #0x3ffffff0
	add	x10, x0, #32
	add	x11, x1, #32
	movi.2d	v0, #0xff00ff00ff00ff00
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	shl.4s	v5, v1, #8
	shl.4s	v6, v2, #8
	shl.4s	v7, v3, #8
	shl.4s	v16, v4, #8
	ushr.4s	v1, v1, #8
	ushr.4s	v2, v2, #8
	ushr.4s	v3, v3, #8
	ushr.4s	v4, v4, #8
	bit.16b	v1, v5, v0
	bit.16b	v2, v6, v0
	bit.16b	v3, v7, v0
	stp	q1, q2, [x10, #-32]
	mov.16b	v1, v0
	bsl.16b	v1, v16, v4
	stp	q3, q1, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	lsl	x11, x9, #2
	add	x10, x0, x11
	add	x11, x1, x11
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	rev16	w9, w9
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
