	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function copy_two_pixels
LCPI0_0:
	.long	248                             ## 0xf8
	.long	248                             ## 0xf8
	.space	4
	.space	4
LCPI0_1:
	.long	252                             ## 0xfc
	.long	252                             ## 0xfc
	.space	4
	.space	4
LCPI0_2:
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.space	4
	.space	4
LCPI0_3:
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.space	4
	.space	4
LCPI0_4:
	.long	8453                            ## 0x2105
	.long	4294962418                      ## 0xffffecf2
	.long	8453                            ## 0x2105
	.long	14456                           ## 0x3878
LCPI0_5:
	.long	16594                           ## 0x40d2
	.long	4294957718                      ## 0xffffda96
	.long	16594                           ## 0x40d2
	.long	4294955191                      ## 0xffffd0b7
LCPI0_6:
	.long	3223                            ## 0xc97
	.long	14456                           ## 0x3878
	.long	3223                            ## 0xc97
	.long	4294964945                      ## 0xfffff6d1
LCPI0_7:
	.long	524288                          ## 0x80000
	.long	4210688                         ## 0x404000
	.long	524288                          ## 0x80000
	.long	4210688                         ## 0x404000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_copy_two_pixels:                       ## @copy_two_pixels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	(%rsi), %r13
	movq	(%rdi), %rax
	movl	(%rax), %eax
	cmpl	$133, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$134, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$136, %eax
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movd	8(%rax), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, 8(%rcx), %xmm2
	movd	4(%rax), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, 4(%rcx), %xmm1
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	jmp	LBB0_8
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	jmp	LBB0_5
LBB0_6:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
LBB0_5:
	movd	%r12d, %xmm0
	pinsrd	$1, %eax, %xmm0
	movdqa	%xmm0, %xmm2
	psrld	$8, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = <248,248,u,u>
	movdqa	%xmm0, %xmm1
	psrld	$3, %xmm1
	pand	LCPI0_1(%rip), %xmm1
	pand	%xmm3, %xmm2
	pslld	$3, %xmm0
	pand	%xmm3, %xmm0
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = <7,7,u,u>
	por	%xmm3, %xmm2
	por	LCPI0_3(%rip), %xmm1
	por	%xmm3, %xmm0
	jmp	LBB0_8
LBB0_7:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movd	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm2
	movd	4(%rax), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, 4(%rcx), %xmm1
	movd	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, 8(%rcx), %xmm0
LBB0_8:
	movl	$-129, %eax
	addl	(%r13), %eax
	cmpl	$7, %eax
	ja	LBB0_16
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_24:
	movq	(%r15), %rax
	testb	$1, %r14b
	je	LBB0_21
LBB0_25:
	movd	%xmm1, (%rax)
	leaq	8(%rax), %rcx
	movq	%rcx, (%r15)
	pextrd	$1, %xmm0, 4(%rax)
	jmp	LBB0_26
LBB0_16:
	pshufd	$16, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,0]
	pshufd	$16, %xmm2, %xmm2               ## xmm2 = xmm2[0,0,1,0]
	pmulld	LCPI0_4(%rip), %xmm2
	pmulld	LCPI0_5(%rip), %xmm1
	pshufd	$16, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,0]
	pmulld	LCPI0_6(%rip), %xmm0
	paddd	%xmm2, %xmm0
	paddd	%xmm1, %xmm0
	movq	(%r15), %rax
	leaq	16(%rax), %rcx
	movq	%rcx, (%r15)
	paddd	LCPI0_7(%rip), %xmm0
	psrad	$15, %xmm0
	movdqu	%xmm0, (%rax)
	jmp	LBB0_26
LBB0_22:
	movq	(%r15), %rax
	testb	$1, %r14b
	je	LBB0_23
LBB0_18:
	movd	%xmm0, (%rax)
	jmp	LBB0_19
LBB0_20:
	movq	(%r15), %rax
	testb	$1, %r14b
	je	LBB0_25
LBB0_21:
	movd	%xmm2, (%rax)
LBB0_19:
	leaq	8(%rax), %rcx
	movq	%rcx, (%r15)
	pextrd	$1, %xmm1, 4(%rax)
	jmp	LBB0_26
LBB0_17:
	movq	(%r15), %rax
	testb	$1, %r14b
	je	LBB0_18
LBB0_23:
	movd	%xmm1, (%rax)
	leaq	8(%rax), %rcx
	movq	%rcx, (%r15)
	pextrd	$1, %xmm2, 4(%rax)
	jmp	LBB0_26
LBB0_13:
	movd	%xmm2, %eax
	shll	$8, %eax
	andl	$63488, %eax                    ## imm = 0xF800
	movd	%xmm1, %ecx
	andl	$252, %ecx
	leal	(%rax,%rcx,8), %eax
	movd	%xmm0, %ebx
	sarl	$3, %ebx
	orl	%eax, %ebx
	movq	(%r15), %r14
	movl	%ebx, %edi
	callq	_cpu_to_be16
	movl	%eax, (%r14)
	movq	(%r15), %r14
	leaq	8(%r14), %rax
	movq	%rax, (%r15)
	movl	%ebx, %edi
	callq	_cpu_to_be16
	jmp	LBB0_14
LBB0_15:
	movd	%xmm2, %eax
	shll	$8, %eax
	andl	$63488, %eax                    ## imm = 0xF800
	movd	%xmm1, %ecx
	andl	$252, %ecx
	leal	(%rax,%rcx,8), %eax
	movd	%xmm0, %ebx
	sarl	$3, %ebx
	orl	%eax, %ebx
	movq	(%r15), %r14
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movl	%eax, (%r14)
	movq	(%r15), %r14
	leaq	8(%r14), %rax
	movq	%rax, (%r15)
	movl	%ebx, %edi
	callq	_cpu_to_le16
LBB0_14:
	movl	%eax, 8(%r14)
	addq	$8, (%r15)
	jmp	LBB0_26
LBB0_12:
	movq	(%r15), %rax
	punpcklqdq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0]
	pshufd	$104, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,1]
	pshufd	$68, %xmm0, %xmm3               ## xmm3 = xmm0[0,1,0,1]
	pblendw	$207, %xmm2, %xmm3              ## xmm3 = xmm2[0,1,2,3],xmm3[4,5],xmm2[6,7]
	movdqu	%xmm3, (%rax)
	pextrd	$1, %xmm1, 16(%rax)
	pextrd	$1, %xmm0, 20(%rax)
	jmp	LBB0_11
LBB0_10:
	movq	(%r15), %rax
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	pshufd	$104, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,1]
	pshufd	$68, %xmm2, %xmm3               ## xmm3 = xmm2[0,1,0,1]
	pblendw	$207, %xmm0, %xmm3              ## xmm3 = xmm0[0,1,2,3],xmm3[4,5],xmm0[6,7]
	movdqu	%xmm3, (%rax)
	pextrd	$1, %xmm1, 16(%rax)
	pextrd	$1, %xmm2, 20(%rax)
LBB0_11:
	addq	$24, %rax
	movq	%rax, (%r15)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_copy_two_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function copy_two_pixels
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967293                      ; 0xfffffffd
lCPI0_1:
	.long	248                             ; 0xf8
	.long	252                             ; 0xfc
lCPI0_2:
	.long	7                               ; 0x7
	.long	3                               ; 0x3
lCPI0_3:
	.long	8453                            ; 0x2105
	.long	4294962418                      ; 0xffffecf2
lCPI0_4:
	.long	16594                           ; 0x40d2
	.long	4294957718                      ; 0xffffda96
lCPI0_5:
	.long	3223                            ; 0xc97
	.long	14456                           ; 0x3878
lCPI0_6:
	.long	524288                          ; 0x80000
	.long	4210688                         ; 0x404000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_copy_two_pixels:                       ; @copy_two_pixels
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	ldr	x23, [x1]
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #133
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #134
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #136
	b.ne	LBB0_7
; %bb.3:
	ldp	x8, x9, [x21]
	ldp	w26, w22, [x8]
	ldr	w25, [x8, #8]
	ldr	w24, [x9]
	ldur	d0, [x9, #4]
	rev64.2s	v0, v0
	b	LBB0_8
LBB0_4:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_be16_to_cpu
	lsr	w8, w0, #8
	and	w8, w8, #0xf8
	orr	w25, w8, #0x7
	lsr	w8, w0, #3
	and	w8, w8, #0xfc
	orr	w22, w8, #0x3
	mov	w24, #7
	mov	w26, #7
	bfi	w26, w0, #3, #5
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_be16_to_cpu
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	lsr	w8, w0, #8
	and	w8, w8, #0xf8
	orr	w25, w8, #0x7
	lsr	w8, w0, #3
	and	w8, w8, #0xfc
	orr	w22, w8, #0x3
	mov	w24, #7
	mov	w26, #7
	bfi	w26, w0, #3, #5
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_le16_to_cpu
LBB0_6:
	dup.2s	v0, w0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	and.8b	v0, v0, v1
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	d1, [x8, lCPI0_2@PAGEOFF]
	orr.8b	v0, v0, v1
	bfi	w24, w0, #3, #5
	b	LBB0_8
LBB0_7:
	ldp	x8, x9, [x21]
	ldp	w25, w22, [x8]
	ldr	w26, [x8, #8]
	ldr	d0, [x9]
	ldr	w24, [x9, #8]
LBB0_8:
	ldr	w8, [x23]
	sub	w8, w8, #129
	cmp	w8, #7
	b.hi	LBB0_12
; %bb.9:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	ldr	x8, [x19]
	tbz	w20, #0, LBB0_16
LBB0_11:
	add	x9, x8, #8
	str	x9, [x19]
	stp	w22, w24, [x8]
	b	LBB0_26
LBB0_12:
	dup.2s	v1, w25
Lloh8:
	adrp	x8, lCPI0_3@PAGE
Lloh9:
	ldr	d2, [x8, lCPI0_3@PAGEOFF]
	dup.2s	v3, w22
Lloh10:
	adrp	x8, lCPI0_4@PAGE
Lloh11:
	ldr	d4, [x8, lCPI0_4@PAGEOFF]
	mul.2s	v3, v3, v4
	dup.2s	v4, w26
Lloh12:
	adrp	x8, lCPI0_5@PAGE
Lloh13:
	ldr	d5, [x8, lCPI0_5@PAGEOFF]
	mov	w8, #14456
	mov	w9, #-12105
	mul	w9, w22, w9
	mov	w10, #-2351
	madd	w8, w25, w8, w9
	madd	w8, w26, w10, w8
	add	w8, w8, #1028, lsl #12          ; =4210688
	asr	w8, w8, #15
	fmov	w9, s0
	mov	w10, #8453
	mov.s	w11, v0[1]
	mov	w12, #16594
	mul	w11, w11, w12
	mov	w12, #3223
	madd	w9, w9, w10, w11
	madd	w9, w24, w12, w9
	add	w9, w9, #128, lsl #12           ; =524288
	ldr	x10, [x19]
	mla.2s	v3, v1, v2
Lloh14:
	adrp	x11, lCPI0_6@PAGE
Lloh15:
	ldr	d0, [x11, lCPI0_6@PAGEOFF]
	mla.2s	v3, v4, v5
	add.2s	v0, v3, v0
	sshr.2s	v0, v0, #15
	str	d0, [x10]
	add	x11, x10, #16
	str	x11, [x19]
	asr	w9, w9, #15
	stp	w9, w8, [x10, #8]
	b	LBB0_26
LBB0_13:
	ldr	x8, [x19]
	tbz	w20, #0, LBB0_19
LBB0_14:
	str	w26, [x8]
	b	LBB0_17
LBB0_15:
	ldr	x8, [x19]
	tbz	w20, #0, LBB0_11
LBB0_16:
	str	w25, [x8]
LBB0_17:
	add	x9, x8, #8
	str	x9, [x19]
	add	x8, x8, #4
	st1.s	{ v0 }[1], [x8]
	b	LBB0_26
LBB0_18:
	ldr	x8, [x19]
	tbz	w20, #0, LBB0_14
LBB0_19:
	str	w22, [x8]
	add	x9, x8, #8
	str	x9, [x19]
	str	s0, [x8, #4]
	b	LBB0_26
LBB0_20:
	lsl	w8, w25, #8
	and	w8, w8, #0xf800
	lsr	w9, w22, #2
	bfi	w8, w9, #5, #6
	orr	w20, w8, w26, asr #3
	ldr	x21, [x19]
	mov	x0, x20
	bl	_cpu_to_be16
	str	w0, [x21]
	ldr	x21, [x19]
	add	x8, x21, #8
	str	x8, [x19]
	mov	x0, x20
	bl	_cpu_to_be16
	b	LBB0_22
LBB0_21:
	lsl	w8, w25, #8
	and	w8, w8, #0xf800
	lsr	w9, w22, #2
	bfi	w8, w9, #5, #6
	orr	w20, w8, w26, asr #3
	ldr	x21, [x19]
	mov	x0, x20
	bl	_cpu_to_le16
	str	w0, [x21]
	ldr	x21, [x19]
	add	x8, x21, #8
	str	x8, [x19]
	mov	x0, x20
	bl	_cpu_to_le16
LBB0_22:
	str	w0, [x21, #8]
	ldr	x8, [x19]
	add	x8, x8, #8
	str	x8, [x19]
	b	LBB0_26
LBB0_23:
	ldr	x8, [x19]
	stp	w25, w22, [x8]
	str	w26, [x8, #8]
	stur	d0, [x8, #12]
	add	x9, x8, #24
	str	w24, [x8, #20]
	b	LBB0_25
LBB0_24:
	ldr	x8, [x19]
	stp	w26, w22, [x8]
	stp	w25, w24, [x8, #8]
	add	x9, x8, #24
	rev64.2s	v0, v0
	str	d0, [x8, #16]
LBB0_25:
	str	x9, [x19]
LBB0_26:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_18-LBB0_10)>>2
	.byte	(LBB0_20-LBB0_10)>>2
	.byte	(LBB0_21-LBB0_10)>>2
	.byte	(LBB0_23-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
                                        ; -- End function
	.no_dead_strip	_copy_two_pixels
.subsections_via_symbols
