	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function GX_SetCopyFilter
LCPI0_0:
	.long	23488102                        ## 0x1666666
	.long	40265318                        ## 0x2666666
	.long	57042534                        ## 0x3666666
	.long	73819750                        ## 0x4666666
LCPI0_1:
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.long	15                              ## 0xf
LCPI0_2:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
LCPI0_3:
	.long	4095                            ## 0xfff
	.long	4095                            ## 0xfff
	.long	4095                            ## 0xfff
	.long	4095                            ## 0xfff
LCPI0_4:
	.long	1048575                         ## 0xfffff
	.long	1048575                         ## 0xfffff
	.long	1048575                         ## 0xfffff
	.long	1048575                         ## 0xfffff
LCPI0_5:
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GX_SetCopyFilter
	.p2align	4, 0x90
_GX_SetCopyFilter:                      ## @GX_SetCopyFilter
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r13d
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movl	4(%rsi), %edi
	movss	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$4, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	8(%rbx), %edi
	movl	$8, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movl	12(%rbx), %edi
	movl	$12, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	16(%rbx), %edi
	movl	$16, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -160(%rbp)                ## 4-byte Spill
	movl	20(%rbx), %edi
	movl	$20, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	$1, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	28(%rbx), %edi
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$1, 24(%rbx), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$4, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	movl	$8, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	36(%rbx), %edi
	movl	$12, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	40(%rbx), %edi
	movl	$16, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	44(%rbx), %edi
	movl	$20, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	$2, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	52(%rbx), %edi
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$2, 48(%rbx), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$4, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, %r14d
	movl	56(%rbx), %edi
	movl	$8, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, %r12d
	movl	60(%rbx), %edi
	movl	$12, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	64(%rbx), %edi
	movl	$16, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	68(%rbx), %edi
	movl	$20, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	$3, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	pinsrd	$3, 72(%rbx), %xmm0
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	pand	LCPI0_1(%rip), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	76(%rbx), %edi
	movl	$4, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movd	-104(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -80(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, %r14d, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_2(%rip), %xmm0
	por	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	80(%rbx), %edi
	movl	$8, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movd	-144(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -88(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, %r12d, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_3(%rip), %xmm0
	movdqa	%xmm0, -144(%rbp)               ## 16-byte Spill
	movl	84(%rbx), %edi
	movl	$12, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movd	-112(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -92(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, -68(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %eax, %xmm0
	pxor	%xmm1, %xmm1
	pblendw	$85, %xmm0, %xmm1               ## xmm1 = xmm0[0],xmm1[1],xmm0[2],xmm1[3],xmm0[4],xmm1[5],xmm0[6],xmm1[7]
	por	-144(%rbp), %xmm1               ## 16-byte Folded Reload
	por	-64(%rbp), %xmm1                ## 16-byte Folded Reload
	movdqa	%xmm1, -64(%rbp)                ## 16-byte Spill
	movl	88(%rbx), %edi
	movl	$16, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movd	-160(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -96(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, -72(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_4(%rip), %xmm0
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	92(%rbx), %edi
	movl	$20, %esi
	movl	$4, %edx
	callq	__SHIFTL
	movd	-116(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -100(%rbp), %xmm0           ## 4-byte Folded Reload
	pinsrd	$2, -76(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %eax, %xmm0
	por	-160(%rbp), %xmm0               ## 16-byte Folded Reload
	por	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	pand	LCPI0_5(%rip), %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$4, %edi
	movl	$24, %esi
	movl	$8, %edx
	callq	__SHIFTL
	movd	-120(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -108(%rbp), %xmm0           ## 4-byte Folded Reload
	pinsrd	$2, -84(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %eax, %xmm0
	por	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	jmp	LBB0_3
LBB0_1:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [23488102,40265318,57042534,73819750]
LBB0_3:
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	movd	%xmm0, %edi
	callq	_GX_LOAD_BP_REG
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	extractps	$1, %xmm0, %edi
	callq	_GX_LOAD_BP_REG
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	extractps	$2, %xmm0, %edi
	callq	_GX_LOAD_BP_REG
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	extractps	$3, %xmm0, %edi
	callq	_GX_LOAD_BP_REG
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.5:
	movl	(%r15), %r14d
	movl	4(%r15), %edi
	andl	$63, %r14d
	movl	$6, %esi
	movl	$6, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	andl	$-1409282049, %ebx              ## imm = 0xAC000FFF
	orl	%r14d, %ebx
	movl	8(%r15), %edi
	movl	$12, %esi
	movl	$6, %edx
	callq	__SHIFTL
	movl	%eax, %r12d
	andl	$-1409024001, %r12d             ## imm = 0xAC03FFFF
	movl	12(%r15), %edi
	movl	$18, %esi
	movl	$6, %edx
	callq	__SHIFTL
	movl	%eax, %r14d
	orl	%r12d, %r14d
	orl	%ebx, %r14d
	orl	$1392508928, %r14d              ## imm = 0x53000000
	movl	16(%r15), %r13d
	movl	20(%r15), %edi
	andl	$63, %r13d
	movl	$6, %esi
	movl	$6, %edx
	callq	__SHIFTL
	movl	%eax, %r12d
	andl	$-1409544193, %r12d             ## imm = 0xABFC0FFF
	movl	24(%r15), %edi
	movl	$12, %esi
	movl	$6, %edx
	callq	__SHIFTL
	movl	%eax, %ebx
	orl	%r13d, %ebx
	orl	%r12d, %ebx
	orl	$1409286144, %ebx               ## imm = 0x54000000
	jmp	LBB0_6
LBB0_4:
	movl	$1409286165, %ebx               ## imm = 0x54000015
	movl	$1398362112, %r14d              ## imm = 0x53595000
LBB0_6:
	movl	%r14d, %edi
	callq	_GX_LOAD_BP_REG
	movl	%ebx, %edi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GX_LOAD_BP_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetCopyFilter               ; -- Begin function GX_SetCopyFilter
	.p2align	2
_GX_SetCopyFilter:                      ; @GX_SetCopyFilter
	.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	x19, x3
	mov	x20, x2
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x1
	ldp	w8, w0, [x1]
	and	w22, w8, #0xf
	mov	w1, #4
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xff0000ff
	orr	w22, w8, w22
	ldr	w0, [x21, #8]
	mov	w1, #8
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfff
	orr	w22, w22, w8
	ldr	w0, [x21, #12]
	mov	w1, #12
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xffff
	orr	w22, w22, w8
	ldr	w0, [x21, #16]
	mov	w1, #16
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfffff
	orr	w22, w22, w8
	ldr	w0, [x21, #20]
	mov	w1, #20
	mov	w2, #4
	bl	__SHIFTL
	orr	w8, w22, w0
	and	w22, w8, #0xffffff
	mov	w0, #1
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	orr	w22, w22, w0
	ldp	w8, w0, [x21, #24]
	and	w23, w8, #0xf
	mov	w1, #4
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xff0000ff
	orr	w23, w8, w23
	ldr	w0, [x21, #32]
	mov	w1, #8
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfff
	orr	w23, w23, w8
	ldr	w0, [x21, #36]
	mov	w1, #12
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xffff
	orr	w23, w23, w8
	ldr	w0, [x21, #40]
	mov	w1, #16
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfffff
	orr	w23, w23, w8
	ldr	w0, [x21, #44]
	mov	w1, #20
	mov	w2, #4
	bl	__SHIFTL
	orr	w8, w23, w0
	and	w23, w8, #0xffffff
	mov	w0, #2
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	orr	w23, w23, w0
	ldp	w8, w0, [x21, #48]
	and	w24, w8, #0xf
	mov	w1, #4
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xff0000ff
	orr	w24, w8, w24
	ldr	w0, [x21, #56]
	mov	w1, #8
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfff
	orr	w24, w24, w8
	ldr	w0, [x21, #60]
	mov	w1, #12
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xffff
	orr	w24, w24, w8
	ldr	w0, [x21, #64]
	mov	w1, #16
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfffff
	orr	w24, w24, w8
	ldr	w0, [x21, #68]
	mov	w1, #20
	mov	w2, #4
	bl	__SHIFTL
	orr	w8, w24, w0
	and	w24, w8, #0xffffff
	mov	w0, #3
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	orr	w24, w24, w0
	ldp	w8, w0, [x21, #72]
	and	w25, w8, #0xf
	mov	w1, #4
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xff0000ff
	orr	w25, w8, w25
	ldr	w0, [x21, #80]
	mov	w1, #8
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfff
	orr	w25, w25, w8
	ldr	w0, [x21, #84]
	mov	w1, #12
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xffff
	orr	w25, w25, w8
	ldr	w0, [x21, #88]
	mov	w1, #16
	mov	w2, #4
	bl	__SHIFTL
	and	w8, w0, #0xfffff
	orr	w25, w25, w8
	ldr	w0, [x21, #92]
	mov	w1, #20
	mov	w2, #4
	bl	__SHIFTL
	orr	w8, w25, w0
	and	w21, w8, #0xffffff
	mov	w0, #4
	mov	w1, #24
	mov	w2, #8
	bl	__SHIFTL
	orr	w21, w21, w0
	b	LBB0_3
LBB0_2:
	mov	w21, #26214
	movk	w21, #1126, lsl #16
	mov	w24, #26214
	movk	w24, #870, lsl #16
	mov	w23, #26214
	movk	w23, #614, lsl #16
	mov	w22, #26214
	movk	w22, #358, lsl #16
LBB0_3:
	mov	x0, x22
	bl	_GX_LOAD_BP_REG
	mov	x0, x23
	bl	_GX_LOAD_BP_REG
	mov	x0, x24
	bl	_GX_LOAD_BP_REG
	mov	x0, x21
	bl	_GX_LOAD_BP_REG
	cbz	w20, LBB0_5
; %bb.4:
	ldp	w8, w0, [x19]
	and	w20, w8, #0x3f
	mov	w1, #6
	mov	w2, #6
	bl	__SHIFTL
	mov	w8, #4095
	movk	w8, #44028, lsl #16
	add	w8, w8, #64, lsl #12            ; =262144
	and	w21, w0, w8
	ldr	w0, [x19, #8]
	mov	w1, #12
	mov	w2, #6
	bl	__SHIFTL
	and	w22, w0, #0xfc03ffff
	ldr	w0, [x19, #12]
	mov	w1, #18
	mov	w2, #6
	bl	__SHIFTL
	orr	w8, w20, w21
	orr	w8, w8, w22
	orr	w8, w8, w0
	mov	w9, #1392508928
	orr	w20, w8, w9
	ldp	w8, w0, [x19, #16]
	and	w21, w8, #0x3f
	mov	w1, #6
	mov	w2, #6
	bl	__SHIFTL
	and	w22, w0, #0xfffc0fff
	ldr	w0, [x19, #24]
	mov	w1, #12
	mov	w2, #6
	bl	__SHIFTL
	orr	w8, w21, w22
	orr	w8, w8, w0
	mov	w9, #1409286144
	orr	w19, w8, w9
	b	LBB0_6
LBB0_5:
	mov	w19, #21
	movk	w19, #21504, lsl #16
	mov	w20, #20480
	movk	w20, #21337, lsl #16
LBB0_6:
	mov	x0, x20
	bl	_GX_LOAD_BP_REG
	mov	x0, x19
	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
	b	_GX_LOAD_BP_REG
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
