	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function swab
LCPI0_0:
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	3                               ## 0x3
	.byte	2                               ## 0x2
	.byte	5                               ## 0x5
	.byte	4                               ## 0x4
	.byte	7                               ## 0x7
	.byte	6                               ## 0x6
	.byte	9                               ## 0x9
	.byte	8                               ## 0x8
	.byte	11                              ## 0xb
	.byte	10                              ## 0xa
	.byte	13                              ## 0xd
	.byte	12                              ## 0xc
	.byte	15                              ## 0xf
	.byte	14                              ## 0xe
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_swab
	.p2align	4, 0x90
_swab:                                  ## @swab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_21
## %bb.1:
	movl	%edx, %ecx
	shrl	%ecx
	testb	$14, %dl
	je	LBB0_17
## %bb.2:
	movzwl	(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, (%rsi)
	leal	-1(%rcx), %eax
	testb	$7, %al
	je	LBB0_3
## %bb.4:
	movzwl	2(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 2(%rsi)
	leal	-2(%rcx), %eax
	testb	$7, %al
	je	LBB0_5
## %bb.6:
	movzwl	4(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 4(%rsi)
	leal	-3(%rcx), %eax
	testb	$7, %al
	je	LBB0_7
## %bb.8:
	movzwl	6(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 6(%rsi)
	leal	-4(%rcx), %eax
	testb	$7, %al
	je	LBB0_9
## %bb.10:
	movzwl	8(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 8(%rsi)
	leal	-5(%rcx), %eax
	testb	$7, %al
	je	LBB0_11
## %bb.12:
	movzwl	10(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 10(%rsi)
	leal	-6(%rcx), %eax
	testb	$7, %al
	je	LBB0_13
## %bb.14:
	movzwl	12(%rdi), %eax
	rolw	$8, %ax
	movw	%ax, 12(%rsi)
	leal	-7(%rcx), %eax
	testb	$7, %al
	je	LBB0_15
## %bb.16:
	movzwl	14(%rdi), %eax
	rolw	$8, %ax
	addq	$16, %rdi
	movw	%ax, 14(%rsi)
	addq	$16, %rsi
	addl	$-8, %ecx
LBB0_17:
	movl	%ecx, %eax
	jmp	LBB0_18
LBB0_3:
	addq	$2, %rdi
	addq	$2, %rsi
	jmp	LBB0_18
LBB0_5:
	addq	$4, %rdi
	addq	$4, %rsi
	jmp	LBB0_18
LBB0_7:
	addq	$6, %rdi
	addq	$6, %rsi
	jmp	LBB0_18
LBB0_9:
	addq	$8, %rdi
	addq	$8, %rsi
	jmp	LBB0_18
LBB0_11:
	addq	$10, %rdi
	addq	$10, %rsi
	jmp	LBB0_18
LBB0_13:
	addq	$12, %rdi
	addq	$12, %rsi
	jmp	LBB0_18
LBB0_15:
	addq	$14, %rdi
	addq	$14, %rsi
LBB0_18:
	cmpl	$8, %eax
	jl	LBB0_21
## %bb.19:
	shrl	$3, %eax
	incl	%eax
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx), %xmm1
	pshufb	%xmm0, %xmm1
	movdqu	%xmm1, (%rsi,%rcx)
	addq	$16, %rcx
	decl	%eax
	cmpl	$1, %eax
	ja	LBB0_20
LBB0_21:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STEP,4,2                       ## @STEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swab                           ; -- Begin function swab
	.p2align	2
_swab:                                  ; @swab
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_21
; %bb.1:
	lsr	w8, w2, #1
	tst	w2, #0xe
	b.eq	LBB0_18
; %bb.2:
	ldrb	w9, [x0]
	ldrb	w10, [x0, #1]
	strb	w10, [x1]
	strb	w9, [x1, #1]
	sub	w9, w8, #1
	tst	w9, #0x7
	b.eq	LBB0_10
; %bb.3:
	ldrb	w9, [x0, #2]
	ldrb	w10, [x0, #3]
	strb	w10, [x1, #2]
	strb	w9, [x1, #3]
	sub	w9, w8, #2
	tst	w9, #0x7
	b.eq	LBB0_11
; %bb.4:
	ldrb	w9, [x0, #4]
	ldrb	w10, [x0, #5]
	strb	w10, [x1, #4]
	strb	w9, [x1, #5]
	sub	w9, w8, #3
	tst	w9, #0x7
	b.eq	LBB0_12
; %bb.5:
	ldrb	w9, [x0, #6]
	ldrb	w10, [x0, #7]
	strb	w10, [x1, #6]
	strb	w9, [x1, #7]
	sub	w9, w8, #4
	tst	w9, #0x7
	b.eq	LBB0_13
; %bb.6:
	ldrb	w9, [x0, #8]
	ldrb	w10, [x0, #9]
	strb	w10, [x1, #8]
	strb	w9, [x1, #9]
	sub	w9, w8, #5
	tst	w9, #0x7
	b.eq	LBB0_14
; %bb.7:
	ldrb	w9, [x0, #10]
	ldrb	w10, [x0, #11]
	strb	w10, [x1, #10]
	strb	w9, [x1, #11]
	sub	w9, w8, #6
	tst	w9, #0x7
	b.eq	LBB0_15
; %bb.8:
	ldrb	w9, [x0, #12]
	ldrb	w10, [x0, #13]
	strb	w10, [x1, #12]
	strb	w9, [x1, #13]
	sub	w9, w8, #7
	tst	w9, #0x7
	b.eq	LBB0_16
; %bb.9:
	ldrb	w9, [x0, #14]
	ldrb	w10, [x0, #15]
	add	x0, x0, #16
	strb	w10, [x1, #14]
	strb	w9, [x1, #15]
	add	x1, x1, #16
	sub	w8, w8, #8
	b	LBB0_18
LBB0_10:
	add	x0, x0, #2
	add	x1, x1, #2
	b	LBB0_17
LBB0_11:
	add	x0, x0, #4
	add	x1, x1, #4
	b	LBB0_17
LBB0_12:
	add	x0, x0, #6
	add	x1, x1, #6
	b	LBB0_17
LBB0_13:
	add	x0, x0, #8
	add	x1, x1, #8
	b	LBB0_17
LBB0_14:
	add	x0, x0, #10
	add	x1, x1, #10
	b	LBB0_17
LBB0_15:
	add	x0, x0, #12
	add	x1, x1, #12
	b	LBB0_17
LBB0_16:
	add	x0, x0, #14
	add	x1, x1, #14
LBB0_17:
	mov	x8, x9
LBB0_18:
	cmp	w8, #8
	b.lt	LBB0_21
; %bb.19:
	lsr	w8, w8, #3
	add	w8, w8, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x0], #16
	rev16.16b	v0, v0
	str	q0, [x1], #16
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_20
LBB0_21:
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_STEP,4,2                       ; @STEP
.subsections_via_symbols
