	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_llswap
_do_llswap:                             ## @do_llswap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Q_order@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-2, %eax
	jne	LBB0_1
LBB0_26:
	popq	%rbp
	retq
LBB0_1:
	testl	%eax, %eax
	js	LBB0_2
## %bb.9:
	cmpl	$2, %eax
	jne	LBB0_10
## %bb.20:
	testq	%rsi, %rsi
	jle	LBB0_26
## %bb.21:
	movl	$1, %eax
	cmpq	$1, %rsi
	je	LBB0_24
## %bb.22:
	movq	%rsi, %rcx
	andq	$-2, %rcx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	negl	(%rdi,%rax,4)
	negl	8(%rdi,%rax,4)
	addq	$4, %rax
	addq	$-2, %rcx
	jne	LBB0_23
LBB0_24:
	testb	$1, %sil
	je	LBB0_26
## %bb.25:
	negl	(%rdi,%rax,4)
	popq	%rbp
	retq
LBB0_2:
	testq	%rsi, %rsi
	jle	LBB0_26
## %bb.3:
	cmpq	$4, %rsi
	jae	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_10:
	testq	%rsi, %rsi
	jle	LBB0_26
## %bb.11:
	xorl	%eax, %eax
	cmpq	$1, %rsi
	je	LBB0_19
## %bb.12:
	movq	%rsi, %rax
	andq	$-2, %rax
	leaq	-2(%rax), %rcx
	movq	%rcx, %r8
	shrq	%r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.14:
	movq	%r8, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx,4), %xmm0
	movdqu	16(%rdi,%rcx,4), %xmm1
	pshufd	$177, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,3,2]
	pxor	%xmm2, %xmm2
	psubd	%xmm0, %xmm2
	movdqu	%xmm2, (%rdi,%rcx,4)
	pshufd	$177, %xmm1, %xmm0              ## xmm0 = xmm1[1,0,3,2]
	pxor	%xmm1, %xmm1
	psubd	%xmm0, %xmm1
	movdqu	%xmm1, 16(%rdi,%rcx,4)
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_15
## %bb.16:
	testb	$1, %r8b
	je	LBB0_18
LBB0_17:
	movdqu	(%rdi,%rcx,4), %xmm0
	shlq	$2, %rcx
	orq	$4, %rcx
	pshufd	$177, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,3,2]
	pxor	%xmm1, %xmm1
	psubd	%xmm0, %xmm1
	movdqu	%xmm1, -4(%rdi,%rcx)
LBB0_18:
	cmpq	%rsi, %rax
	je	LBB0_26
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	subl	4(%rdi,%rax,8), %ecx
	xorl	%edx, %edx
	subl	(%rdi,%rax,8), %edx
	movl	%ecx, (%rdi,%rax,8)
	movl	%edx, 4(%rdi,%rax,8)
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_19
	jmp	LBB0_26
LBB0_5:
	movq	%rsi, %rax
	andq	$-4, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx,8), %xmm0
	movdqu	16(%rdi,%rcx,8), %xmm1
	pshufd	$177, %xmm0, %xmm0              ## xmm0 = xmm0[1,0,3,2]
	movdqu	%xmm0, (%rdi,%rcx,8)
	pshufd	$177, %xmm1, %xmm0              ## xmm0 = xmm1[1,0,3,2]
	movdqu	%xmm0, 16(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.7:
	cmpq	%rsi, %rax
	je	LBB0_26
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	rolq	$32, (%rdi,%rax,8)
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_8
	jmp	LBB0_26
LBB0_13:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	jne	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_order,4,2                    ## @Q_order
	.no_dead_strip	_do_llswap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_llswap
_do_llswap:                             ; @do_llswap
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Q_order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_order@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, #2
	b.ne	LBB0_2
LBB0_1:
	ret
LBB0_2:
	tbnz	w8, #31, LBB0_7
; %bb.3:
	cmp	w8, #2
	b.ne	LBB0_10
; %bb.4:
	cmp	x1, #1
	b.lt	LBB0_1
; %bb.5:
	cmp	x1, #4
	b.hs	LBB0_18
; %bb.6:
	mov	x8, #0
	b	LBB0_21
LBB0_7:
	cmp	x1, #1
	b.lt	LBB0_1
; %bb.8:
	cmp	x1, #8
	b.hs	LBB0_13
; %bb.9:
	mov	x8, #0
	b	LBB0_16
LBB0_10:
	cmp	x1, #1
	b.lt	LBB0_1
; %bb.11:
	cmp	x1, #8
	b.hs	LBB0_23
; %bb.12:
	mov	x8, #0
	b	LBB0_26
LBB0_13:
	and	x8, x1, #0xfffffffffffffff8
	add	x9, x0, #32
	mov	x10, x8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sub	x11, x9, #32
	ld2.4s	{ v0, v1 }, [x11]
	ld2.4s	{ v3, v4 }, [x9]
	mov.16b	v2, v0
	mov.16b	v5, v3
	st2.4s	{ v1, v2 }, [x11]
	st2.4s	{ v4, v5 }, [x9]
	add	x9, x9, #64
	subs	x10, x10, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x8, x1
	b.eq	LBB0_1
LBB0_16:
	sub	x9, x1, x8
	add	x8, x0, x8, lsl #3
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x8]
	rev64.2s	v0, v0
	str	d0, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_17
	b	LBB0_1
LBB0_18:
	and	x8, x1, #0xfffffffffffffffc
	add	x9, x0, #20
	mov	x10, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x9, #-16]
	ldur	w12, [x9, #-8]
	ldr	w13, [x9]
	ldr	w14, [x9, #8]
	neg	w11, w11
	neg	w12, w12
	neg	w13, w13
	neg	w14, w14
	stur	w11, [x9, #-16]
	stur	w12, [x9, #-8]
	str	w13, [x9]
	str	w14, [x9, #8]
	add	x9, x9, #32
	subs	x10, x10, #4
	b.ne	LBB0_19
; %bb.20:
	cmp	x8, x1
	b.eq	LBB0_1
LBB0_21:
	sub	x9, x1, x8
	add	x8, x0, x8, lsl #3
	add	x8, x8, #4
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	neg	w10, w10
	str	w10, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_22
	b	LBB0_1
LBB0_23:
	and	x8, x1, #0xfffffffffffffff8
	add	x9, x0, #32
	mov	x10, x8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	sub	x11, x9, #32
	ld2.4s	{ v0, v1 }, [x11]
	ld2.4s	{ v2, v3 }, [x9]
	neg.4s	v4, v1
	neg.4s	v5, v0
	neg.4s	v0, v3
	neg.4s	v1, v2
	st2.4s	{ v4, v5 }, [x11]
	st2.4s	{ v0, v1 }, [x9]
	add	x9, x9, #64
	subs	x10, x10, #8
	b.ne	LBB0_24
; %bb.25:
	cmp	x8, x1
	b.eq	LBB0_1
LBB0_26:
	sub	x9, x1, x8
	add	x8, x0, x8, lsl #3
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x8]
	neg.2s	v0, v0
	rev64.2s	v0, v0
	str	d0, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_27
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_order,4,2                    ; @Q_order
	.no_dead_strip	_do_llswap
.subsections_via_symbols
