	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swablong
_swablong:                              ## @swablong
	.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 $esi killed $esi def $rsi
	movq	%rdi, %rax
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	testb	$1, %sil
	jne	LBB0_3
## %bb.2:
	movl	%esi, %ecx
	cmpl	$1, %esi
	jne	LBB0_5
	jmp	LBB0_7
LBB0_3:
	movb	(%rax), %cl
	movb	3(%rax), %dl
	movb	%dl, (%rax)
	movb	%cl, 3(%rax)
	rolw	$8, 1(%rax)
	leal	-1(%rsi), %ecx
	addq	$4, %rax
	cmpl	$1, %esi
	je	LBB0_7
LBB0_5:
	decl	%ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %esi
	movzbl	3(%rax), %edx
	movb	%dl, (%rax)
	movb	%sil, 3(%rax)
	rolw	$8, 1(%rax)
	movzbl	4(%rax), %esi
	movzbl	7(%rax), %edx
	movb	%dl, 4(%rax)
	movb	%sil, 7(%rax)
	rolw	$8, 5(%rax)
	addq	$8, %rax
	addl	$-2, %ecx
	jb	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_swablong
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swablong
_swablong:                              ; @swablong
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	subs	w9, w1, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w9, #31
	b.hs	LBB0_4
; %bb.2:
	mov	x0, x8
	b	LBB0_7
LBB0_3:
	mov	x0, x8
	ret
LBB0_4:
	add	x9, x9, #1
	and	x10, x9, #0x1ffffffe0
	add	x0, x8, x10, lsl #2
	sub	w1, w1, w10
	add	x8, x8, #64
	mov	x11, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x12, x8, #64
	ld4.16b	{ v0, v1, v2, v3 }, [x12]
	mov.16b	v4, v3
	mov.16b	v5, v2
	ld4.16b	{ v16, v17, v18, v19 }, [x8]
	mov.16b	v6, v1
	mov.16b	v7, v0
	mov.16b	v0, v19
	mov.16b	v1, v18
	mov.16b	v2, v17
	mov.16b	v3, v16
	st4.16b	{ v4, v5, v6, v7 }, [x12]
	st4.16b	{ v0, v1, v2, v3 }, [x8]
	add	x8, x8, #128
	subs	x11, x11, #32
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x10
	b.eq	LBB0_9
LBB0_7:
	add	w8, w1, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0]
	ldrb	w10, [x0, #3]
	strb	w10, [x0]
	strb	w9, [x0, #3]
	ldrb	w9, [x0, #2]
	ldrb	w10, [x0, #1]
	strb	w10, [x0, #2]
	strb	w9, [x0, #1]
	add	x0, x0, #4
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_swablong
.subsections_via_symbols
