	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SetupFormat
LCPI0_0:
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	25                              ## 0x19
LCPI0_1:
	.long	33                              ## 0x21
	.long	41                              ## 0x29
	.long	49                              ## 0x31
	.long	58                              ## 0x3a
LCPI0_2:
	.long	66                              ## 0x42
	.long	74                              ## 0x4a
	.long	82                              ## 0x52
	.long	90                              ## 0x5a
LCPI0_3:
	.long	99                              ## 0x63
	.long	107                             ## 0x6b
	.long	115                             ## 0x73
	.long	123                             ## 0x7b
LCPI0_4:
	.long	132                             ## 0x84
	.long	140                             ## 0x8c
	.long	148                             ## 0x94
	.long	156                             ## 0x9c
LCPI0_5:
	.long	165                             ## 0xa5
	.long	173                             ## 0xad
	.long	181                             ## 0xb5
	.long	189                             ## 0xbd
LCPI0_6:
	.long	197                             ## 0xc5
	.long	206                             ## 0xce
	.long	214                             ## 0xd6
	.long	222                             ## 0xde
LCPI0_7:
	.long	230                             ## 0xe6
	.long	239                             ## 0xef
	.long	247                             ## 0xf7
	.long	255                             ## 0xff
LCPI0_8:
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	12                              ## 0xc
LCPI0_9:
	.long	16                              ## 0x10
	.long	20                              ## 0x14
	.long	24                              ## 0x18
	.long	28                              ## 0x1c
LCPI0_10:
	.long	32                              ## 0x20
	.long	36                              ## 0x24
	.long	40                              ## 0x28
	.long	45                              ## 0x2d
LCPI0_11:
	.long	49                              ## 0x31
	.long	53                              ## 0x35
	.long	57                              ## 0x39
	.long	61                              ## 0x3d
LCPI0_12:
	.long	65                              ## 0x41
	.long	69                              ## 0x45
	.long	73                              ## 0x49
	.long	77                              ## 0x4d
LCPI0_13:
	.long	81                              ## 0x51
	.long	85                              ## 0x55
	.long	89                              ## 0x59
	.long	93                              ## 0x5d
LCPI0_14:
	.long	97                              ## 0x61
	.long	101                             ## 0x65
	.long	105                             ## 0x69
	.long	109                             ## 0x6d
LCPI0_15:
	.long	113                             ## 0x71
	.long	117                             ## 0x75
	.long	121                             ## 0x79
	.long	125                             ## 0x7d
LCPI0_16:
	.long	130                             ## 0x82
	.long	134                             ## 0x86
	.long	138                             ## 0x8a
	.long	142                             ## 0x8e
LCPI0_17:
	.long	146                             ## 0x92
	.long	150                             ## 0x96
	.long	154                             ## 0x9a
	.long	158                             ## 0x9e
LCPI0_18:
	.long	162                             ## 0xa2
	.long	166                             ## 0xa6
	.long	170                             ## 0xaa
	.long	174                             ## 0xae
LCPI0_19:
	.long	178                             ## 0xb2
	.long	182                             ## 0xb6
	.long	186                             ## 0xba
	.long	190                             ## 0xbe
LCPI0_20:
	.long	194                             ## 0xc2
	.long	198                             ## 0xc6
	.long	202                             ## 0xca
	.long	206                             ## 0xce
LCPI0_21:
	.long	210                             ## 0xd2
	.long	215                             ## 0xd7
	.long	219                             ## 0xdb
	.long	223                             ## 0xdf
LCPI0_22:
	.long	227                             ## 0xe3
	.long	231                             ## 0xe7
	.long	235                             ## 0xeb
	.long	239                             ## 0xef
LCPI0_23:
	.long	243                             ## 0xf3
	.long	247                             ## 0xf7
	.long	251                             ## 0xfb
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_SetupFormat:                           ## @SetupFormat
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,8,16,25]
	movups	%xmm0, (%r15)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [33,41,49,58]
	movups	%xmm0, 16(%r15)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [66,74,82,90]
	movups	%xmm0, 32(%r15)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [99,107,115,123]
	movups	%xmm0, 48(%r15)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [132,140,148,156]
	movups	%xmm0, 64(%r15)
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [165,173,181,189]
	movups	%xmm0, 80(%r15)
	movaps	LCPI0_6(%rip), %xmm0            ## xmm0 = [197,206,214,222]
	movups	%xmm0, 96(%r15)
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [230,239,247,255]
	movups	%xmm0, 112(%r15)
	movq	8(%rdi), %r14
	movaps	LCPI0_8(%rip), %xmm0            ## xmm0 = [0,4,8,12]
	movups	%xmm0, (%r14)
	movaps	LCPI0_9(%rip), %xmm0            ## xmm0 = [16,20,24,28]
	movups	%xmm0, 16(%r14)
	movaps	LCPI0_10(%rip), %xmm0           ## xmm0 = [32,36,40,45]
	movups	%xmm0, 32(%r14)
	movaps	LCPI0_11(%rip), %xmm0           ## xmm0 = [49,53,57,61]
	movups	%xmm0, 48(%r14)
	movaps	LCPI0_12(%rip), %xmm0           ## xmm0 = [65,69,73,77]
	movups	%xmm0, 64(%r14)
	movaps	LCPI0_13(%rip), %xmm0           ## xmm0 = [81,85,89,93]
	movups	%xmm0, 80(%r14)
	movaps	LCPI0_14(%rip), %xmm0           ## xmm0 = [97,101,105,109]
	movups	%xmm0, 96(%r14)
	movaps	LCPI0_15(%rip), %xmm0           ## xmm0 = [113,117,121,125]
	movups	%xmm0, 112(%r14)
	movaps	LCPI0_16(%rip), %xmm0           ## xmm0 = [130,134,138,142]
	movups	%xmm0, 128(%r14)
	movaps	LCPI0_17(%rip), %xmm0           ## xmm0 = [146,150,154,158]
	movups	%xmm0, 144(%r14)
	movaps	LCPI0_18(%rip), %xmm0           ## xmm0 = [162,166,170,174]
	movups	%xmm0, 160(%r14)
	movaps	LCPI0_19(%rip), %xmm0           ## xmm0 = [178,182,186,190]
	movups	%xmm0, 176(%r14)
	movaps	LCPI0_20(%rip), %xmm0           ## xmm0 = [194,198,202,206]
	movups	%xmm0, 192(%r14)
	movaps	LCPI0_21(%rip), %xmm0           ## xmm0 = [210,215,219,223]
	movups	%xmm0, 208(%r14)
	movaps	LCPI0_22(%rip), %xmm0           ## xmm0 = [227,231,235,239]
	movups	%xmm0, 224(%r14)
	movaps	LCPI0_23(%rip), %xmm0           ## xmm0 = [243,247,251,255]
	movups	%xmm0, 240(%r14)
	movq	16(%rdi), %r11
	xorl	%esi, %esi
	movq	_RED_MASK565@GOTPCREL(%rip), %r8
	movq	_GREEN_MASK565@GOTPCREL(%rip), %r9
	movq	_BLUE_MASK565@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %edi
	andl	%esi, %edi
	shrl	$9, %edi
	andl	$-4, %edi
	movl	(%r15,%rdi), %edi
	movl	(%r9), %edx
	andl	%esi, %edx
	shrl	$3, %edx
	andl	$-4, %edx
	movl	(%r14,%rdx), %edx
	movl	(%r10), %ebx
	andl	%esi, %ebx
	movl	(%r15,%rbx,4), %ebx
	leal	(,%rbx,4), %ecx
	leal	(%rdi,%rdi,4), %eax
                                        ## kill: def $edi killed $edi killed $rdi def $rdi
	subl	%edx, %edi
	subl	%edx, %ecx
	shll	$5, %edx
	sarl	%ebx
	leal	(%rax,%rax,2), %eax
	addl	%edx, %eax
	leal	(%rax,%rdi,2), %eax
	subl	%ebx, %eax
	leal	(%rax,%rcx,2), %eax
	movl	%eax, (%r11,%rsi,4)
	incq	%rsi
	cmpq	$65536, %rsi                    ## imm = 0x10000
	jne	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RED_MASK565,4,2                ## @RED_MASK565
	.comm	_GREEN_MASK565,4,2              ## @GREEN_MASK565
	.comm	_BLUE_MASK565,4,2               ## @BLUE_MASK565
	.no_dead_strip	_SetupFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function SetupFormat
lCPI0_0:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	25                              ; 0x19
lCPI0_1:
	.long	33                              ; 0x21
	.long	41                              ; 0x29
	.long	49                              ; 0x31
	.long	58                              ; 0x3a
lCPI0_2:
	.long	66                              ; 0x42
	.long	74                              ; 0x4a
	.long	82                              ; 0x52
	.long	90                              ; 0x5a
lCPI0_3:
	.long	99                              ; 0x63
	.long	107                             ; 0x6b
	.long	115                             ; 0x73
	.long	123                             ; 0x7b
lCPI0_4:
	.long	132                             ; 0x84
	.long	140                             ; 0x8c
	.long	148                             ; 0x94
	.long	156                             ; 0x9c
lCPI0_5:
	.long	165                             ; 0xa5
	.long	173                             ; 0xad
	.long	181                             ; 0xb5
	.long	189                             ; 0xbd
lCPI0_6:
	.long	197                             ; 0xc5
	.long	206                             ; 0xce
	.long	214                             ; 0xd6
	.long	222                             ; 0xde
lCPI0_7:
	.long	230                             ; 0xe6
	.long	239                             ; 0xef
	.long	247                             ; 0xf7
	.long	255                             ; 0xff
lCPI0_8:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	12                              ; 0xc
lCPI0_9:
	.long	16                              ; 0x10
	.long	20                              ; 0x14
	.long	24                              ; 0x18
	.long	28                              ; 0x1c
lCPI0_10:
	.long	32                              ; 0x20
	.long	36                              ; 0x24
	.long	40                              ; 0x28
	.long	45                              ; 0x2d
lCPI0_11:
	.long	49                              ; 0x31
	.long	53                              ; 0x35
	.long	57                              ; 0x39
	.long	61                              ; 0x3d
lCPI0_12:
	.long	65                              ; 0x41
	.long	69                              ; 0x45
	.long	73                              ; 0x49
	.long	77                              ; 0x4d
lCPI0_13:
	.long	81                              ; 0x51
	.long	85                              ; 0x55
	.long	89                              ; 0x59
	.long	93                              ; 0x5d
lCPI0_14:
	.long	97                              ; 0x61
	.long	101                             ; 0x65
	.long	105                             ; 0x69
	.long	109                             ; 0x6d
lCPI0_15:
	.long	113                             ; 0x71
	.long	117                             ; 0x75
	.long	121                             ; 0x79
	.long	125                             ; 0x7d
lCPI0_16:
	.long	130                             ; 0x82
	.long	134                             ; 0x86
	.long	138                             ; 0x8a
	.long	142                             ; 0x8e
lCPI0_17:
	.long	146                             ; 0x92
	.long	150                             ; 0x96
	.long	154                             ; 0x9a
	.long	158                             ; 0x9e
lCPI0_18:
	.long	162                             ; 0xa2
	.long	166                             ; 0xa6
	.long	170                             ; 0xaa
	.long	174                             ; 0xae
lCPI0_19:
	.long	178                             ; 0xb2
	.long	182                             ; 0xb6
	.long	186                             ; 0xba
	.long	190                             ; 0xbe
lCPI0_20:
	.long	194                             ; 0xc2
	.long	198                             ; 0xc6
	.long	202                             ; 0xca
	.long	206                             ; 0xce
lCPI0_21:
	.long	210                             ; 0xd2
	.long	215                             ; 0xd7
	.long	219                             ; 0xdb
	.long	223                             ; 0xdf
lCPI0_22:
	.long	227                             ; 0xe3
	.long	231                             ; 0xe7
	.long	235                             ; 0xeb
	.long	239                             ; 0xef
lCPI0_23:
	.long	243                             ; 0xf3
	.long	247                             ; 0xf7
	.long	251                             ; 0xfb
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_SetupFormat:                           ; @SetupFormat
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x9, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
	ldp	x9, x10, [x0]
	stp	q0, q1, [x9]
Lloh4:
	adrp	x11, lCPI0_2@PAGE
Lloh5:
	ldr	q0, [x11, lCPI0_2@PAGEOFF]
Lloh6:
	adrp	x11, lCPI0_3@PAGE
Lloh7:
	ldr	q1, [x11, lCPI0_3@PAGEOFF]
	stp	q0, q1, [x9, #32]
Lloh8:
	adrp	x11, lCPI0_4@PAGE
Lloh9:
	ldr	q0, [x11, lCPI0_4@PAGEOFF]
Lloh10:
	adrp	x11, lCPI0_5@PAGE
Lloh11:
	ldr	q1, [x11, lCPI0_5@PAGEOFF]
	stp	q0, q1, [x9, #64]
Lloh12:
	adrp	x11, lCPI0_6@PAGE
Lloh13:
	ldr	q0, [x11, lCPI0_6@PAGEOFF]
Lloh14:
	adrp	x11, lCPI0_7@PAGE
Lloh15:
	ldr	q1, [x11, lCPI0_7@PAGEOFF]
	stp	q0, q1, [x9, #96]
Lloh16:
	adrp	x11, lCPI0_8@PAGE
Lloh17:
	ldr	q0, [x11, lCPI0_8@PAGEOFF]
Lloh18:
	adrp	x11, lCPI0_9@PAGE
Lloh19:
	ldr	q1, [x11, lCPI0_9@PAGEOFF]
	stp	q0, q1, [x10]
Lloh20:
	adrp	x11, lCPI0_10@PAGE
Lloh21:
	ldr	q0, [x11, lCPI0_10@PAGEOFF]
Lloh22:
	adrp	x11, lCPI0_11@PAGE
Lloh23:
	ldr	q1, [x11, lCPI0_11@PAGEOFF]
	stp	q0, q1, [x10, #32]
Lloh24:
	adrp	x11, lCPI0_12@PAGE
Lloh25:
	ldr	q0, [x11, lCPI0_12@PAGEOFF]
Lloh26:
	adrp	x11, lCPI0_13@PAGE
Lloh27:
	ldr	q1, [x11, lCPI0_13@PAGEOFF]
	stp	q0, q1, [x10, #64]
Lloh28:
	adrp	x11, lCPI0_14@PAGE
Lloh29:
	ldr	q0, [x11, lCPI0_14@PAGEOFF]
Lloh30:
	adrp	x11, lCPI0_15@PAGE
Lloh31:
	ldr	q1, [x11, lCPI0_15@PAGEOFF]
	stp	q0, q1, [x10, #96]
Lloh32:
	adrp	x11, lCPI0_16@PAGE
Lloh33:
	ldr	q0, [x11, lCPI0_16@PAGEOFF]
Lloh34:
	adrp	x11, lCPI0_17@PAGE
Lloh35:
	ldr	q1, [x11, lCPI0_17@PAGEOFF]
	stp	q0, q1, [x10, #128]
Lloh36:
	adrp	x11, lCPI0_18@PAGE
Lloh37:
	ldr	q0, [x11, lCPI0_18@PAGEOFF]
Lloh38:
	adrp	x11, lCPI0_19@PAGE
Lloh39:
	ldr	q1, [x11, lCPI0_19@PAGEOFF]
	stp	q0, q1, [x10, #160]
Lloh40:
	adrp	x11, lCPI0_20@PAGE
Lloh41:
	ldr	q0, [x11, lCPI0_20@PAGEOFF]
Lloh42:
	adrp	x11, lCPI0_21@PAGE
Lloh43:
	ldr	q1, [x11, lCPI0_21@PAGEOFF]
	stp	q0, q1, [x10, #192]
Lloh44:
	adrp	x11, lCPI0_22@PAGE
Lloh45:
	ldr	q0, [x11, lCPI0_22@PAGEOFF]
Lloh46:
	adrp	x11, lCPI0_23@PAGE
Lloh47:
	ldr	q1, [x11, lCPI0_23@PAGEOFF]
	stp	q0, q1, [x10, #224]
	ldr	x11, [x0, #16]
Lloh48:
	adrp	x12, _RED_MASK565@GOTPAGE
Lloh49:
	ldr	x12, [x12, _RED_MASK565@GOTPAGEOFF]
Lloh50:
	adrp	x13, _BLUE_MASK565@GOTPAGE
Lloh51:
	ldr	x13, [x13, _BLUE_MASK565@GOTPAGEOFF]
Lloh52:
	adrp	x14, _GREEN_MASK565@GOTPAGE
Lloh53:
	ldr	x14, [x14, _GREEN_MASK565@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x12]
	ldr	w16, [x13]
	and	x16, x8, x16
	and	w15, w15, w8
	lsr	w15, w15, #9
	and	x15, x15, #0x7ffffc
	ldr	w15, [x9, x15]
	ldr	w17, [x14]
	and	w17, w17, w8
	lsr	w17, w17, #3
	and	x17, x17, #0x1ffffffc
	ldr	w17, [x10, x17]
	ldr	w16, [x9, x16, lsl #2]
	lsl	w0, w16, #2
	sub	w1, w15, w17
	sub	w0, w0, w17
	lsl	w2, w15, #4
	sub	w15, w2, w15
	add	w15, w15, w17, lsl #5
	add	w15, w15, w1, lsl #1
	sub	w15, w15, w16, asr #1
	add	w15, w15, w0, lsl #1
	str	w15, [x11, x8, lsl #2]
	add	x8, x8, #1
	cmp	x8, #16, lsl #12                ; =65536
	b.ne	LBB0_1
; %bb.2:
	ret
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdr	Lloh46, Lloh47
	.loh AdrpAdrp	Lloh44, Lloh46
	.loh AdrpLdr	Lloh44, Lloh45
	.loh AdrpAdrp	Lloh42, Lloh44
	.loh AdrpLdr	Lloh42, Lloh43
	.loh AdrpAdrp	Lloh40, Lloh42
	.loh AdrpLdr	Lloh40, Lloh41
	.loh AdrpAdrp	Lloh38, Lloh40
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpAdrp	Lloh36, Lloh38
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpAdrp	Lloh34, Lloh36
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpAdrp	Lloh32, Lloh34
	.loh AdrpLdr	Lloh32, Lloh33
	.loh AdrpAdrp	Lloh30, Lloh32
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpAdrp	Lloh28, Lloh30
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpAdrp	Lloh26, Lloh28
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpAdrp	Lloh24, Lloh26
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpAdrp	Lloh18, Lloh20
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RED_MASK565,4,2                ; @RED_MASK565
	.comm	_GREEN_MASK565,4,2              ; @GREEN_MASK565
	.comm	_BLUE_MASK565,4,2               ; @BLUE_MASK565
	.no_dead_strip	_SetupFormat
.subsections_via_symbols
