	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gl_swap4
LCPI0_0:
	.byte	128                             ## 0x80
	.byte	2                               ## 0x2
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	10                              ## 0xa
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_1:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	1                               ## 0x1
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	9                               ## 0x9
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
LCPI0_2:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	0                               ## 0x0
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	8                               ## 0x8
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_swap4
	.p2align	4, 0x90
_gl_swap4:                              ## @gl_swap4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	cmpq	$4, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_3:
	movq	%rsi, %r8
	andq	$-4, %r8
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [128,2,128,128,128,128,128,128,128,10,128,128,128,128,128,128]
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [128,128,1,128,128,128,128,128,128,128,9,128,128,128,128,128]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [128,128,128,0,128,128,128,128,128,128,128,8,128,128,128,128]
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rcx,8), %xmm3
	movdqu	16(%rdi,%rcx,8), %xmm4
	movdqa	%xmm3, %xmm5
	psrlq	$24, %xmm5
	movdqa	%xmm4, %xmm6
	psrlq	$24, %xmm6
	movdqa	%xmm3, %xmm7
	pshufb	%xmm8, %xmm7
	por	%xmm5, %xmm7
	movdqa	%xmm4, %xmm5
	pshufb	%xmm8, %xmm5
	por	%xmm6, %xmm5
	movdqa	%xmm3, %xmm6
	pshufb	%xmm1, %xmm6
	movdqa	%xmm4, %xmm0
	pshufb	%xmm1, %xmm0
	pshufb	%xmm2, %xmm3
	por	%xmm6, %xmm3
	por	%xmm7, %xmm3
	pshufb	%xmm2, %xmm4
	por	%xmm0, %xmm4
	por	%xmm5, %xmm4
	movdqu	%xmm3, (%rdi,%rcx,8)
	movdqu	%xmm4, 16(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_4
## %bb.5:
	cmpq	%rsi, %r8
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r8,8), %rcx
	movq	%rcx, %rdx
	shrq	$24, %rdx
	movq	%rcx, %rax
	shrq	$8, %rax
	andl	$65280, %eax                    ## imm = 0xFF00
	orq	%rdx, %rax
	movl	%ecx, %edx
	shll	$8, %edx
	andl	$16711680, %edx                 ## imm = 0xFF0000
	shll	$24, %ecx
	orq	%rdx, %rcx
	orq	%rax, %rcx
	movq	%rcx, (%rdi,%r8,8)
	incq	%r8
	cmpq	%r8, %rsi
	jne	LBB0_6
LBB0_7:
	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	_gl_swap4                       ; -- Begin function gl_swap4
	.p2align	2
_gl_swap4:                              ; @gl_swap4
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
	cmp	x1, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_6
LBB0_3:
	and	x8, x1, #0xfffffffffffffff8
	add	x9, x0, #32
	movi.2d	v0, #0x0000000000ff00
	movi.2d	v1, #0x00000000ff0000
	movi.2d	v2, #0x000000ff000000
	mov	x10, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q3, q4, [x9, #-32]
	ushr.2d	v5, v3, #24
	ushr.2d	v6, v4, #24
	ldp	q7, q16, [x9]
	ushr.2d	v17, v7, #24
	ushr.2d	v18, v16, #24
	ushr.2d	v19, v3, #8
	ushr.2d	v20, v4, #8
	ushr.2d	v21, v7, #8
	ushr.2d	v22, v16, #8
	and.16b	v19, v19, v0
	and.16b	v20, v20, v0
	and.16b	v21, v21, v0
	and.16b	v22, v22, v0
	orr.16b	v5, v19, v5
	orr.16b	v6, v20, v6
	orr.16b	v17, v21, v17
	orr.16b	v18, v22, v18
	shl.2d	v19, v3, #8
	shl.2d	v20, v4, #8
	shl.2d	v21, v7, #8
	shl.2d	v22, v16, #8
	and.16b	v19, v19, v1
	and.16b	v20, v20, v1
	and.16b	v21, v21, v1
	and.16b	v22, v22, v1
	orr.16b	v5, v5, v19
	orr.16b	v6, v6, v20
	orr.16b	v17, v17, v21
	orr.16b	v18, v18, v22
	shl.2d	v3, v3, #24
	shl.2d	v4, v4, #24
	shl.2d	v7, v7, #24
	shl.2d	v16, v16, #24
	and.16b	v3, v3, v2
	and.16b	v4, v4, v2
	and.16b	v7, v7, v2
	and.16b	v16, v16, v2
	orr.16b	v3, v5, v3
	orr.16b	v4, v6, v4
	orr.16b	v5, v17, v7
	stp	q3, q4, [x9, #-32]
	orr.16b	v3, v18, v16
	stp	q5, q3, [x9], #64
	subs	x10, x10, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x1
	b.eq	LBB0_8
LBB0_6:
	sub	x9, x1, x8
	add	x8, x0, x8, lsl #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	lsr	x11, x10, #8
	and	x11, x11, #0xff00
	orr	x11, x11, x10, lsr #24
	lsl	w12, w10, #8
	and	x12, x12, #0xff0000
	orr	x11, x11, x12
	lsl	w10, w10, #24
	orr	x10, x11, x10
	str	x10, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
