	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fxt1_quantize_MIXED1
_fxt1_quantize_MIXED1:                  ## @fxt1_quantize_MIXED1
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(,%rax,4), %r12
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-1, -52(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r15d
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$-1, -64(%rbp)                  ## 4-byte Folded Spill
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.1:
	movl	$2000, %ebx                     ## imm = 0x7D0
	xorl	%r15d, %r15d
	movl	$-1, -64(%rbp)                  ## 4-byte Folded Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$-1, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%r12, %r13
	cmpq	%rcx, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_ISTBLACK
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %eax
	addl	(%r13), %eax
	addl	8(%r13), %eax
	cmpl	%eax, %ebx
	cmovgel	%eax, %ebx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmovgl	%r15d, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r14d
	cmovlel	%eax, %r14d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	cmovll	%r15d, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
LBB0_5:
	cmpl	%eax, %r15d
	jge	LBB0_10
## %bb.6:
	movl	%r15d, %eax
	imulq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	movl	$2000, %r14d                    ## imm = 0x7D0
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$-1, -52(%rbp)                  ## 4-byte Folded Spill
	movl	$-1, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	%r12, %rbx
	incl	%r15d
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jle	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ISTBLACK
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%rbx), %eax
	addl	(%rbx), %eax
	addl	8(%rbx), %eax
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	cmovgl	%r15d, %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r13d
	cmovlel	%eax, %r13d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmovll	%r15d, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
LBB0_10:
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	cmpl	$-1, %edi
	je	LBB0_11
## %bb.12:
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	$0, (%r9)
	movslq	-56(%rbp), %r8                  ## 4-byte Folded Reload
	movq	%r8, %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	imulq	%rbx, %rcx
	movslq	%edi, %rdx
	imulq	%rbx, %rdx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %esi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movl	%esi, (%r13)
	movl	(%rax,%rdx,4), %esi
	movl	%esi, (%r13,%rbx,4)
	movl	4(%rax,%rcx,4), %esi
	movl	%esi, 4(%r13)
	movl	4(%rax,%rdx,4), %esi
	movl	%esi, 4(%r13,%rbx,4)
	movl	8(%rax,%rcx,4), %ecx
	movl	%ecx, 8(%r13)
	movl	8(%rax,%rdx,4), %ecx
	movl	%ecx, 8(%r13,%rbx,4)
	cmpl	%edi, %r8d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_20
## %bb.13:
	leaq	(,%rbx,4), %r8
	addq	%r13, %r8
	movl	$2, %edi
	movl	$3, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_MAKEIVEC
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r15d, %r15d
	cmpl	$2, %ebx
	jl	LBB0_18
## %bb.14:
	shrq	%rbx
	incq	%rbx
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	leal	3(,%r15,4), %r15d
	decq	%rbx
	cmpq	$1, %rbx
	jbe	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	imulq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r14
	movq	%r14, %rdi
	callq	_ISTBLACK
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$3, %edi
	movl	$2, %esi
	movl	$3, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_CALCCDOT
	jmp	LBB0_17
LBB0_11:
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	$-1, (%r9)
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movl	$0, (%r13)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	$0, (%r13,%rbx,4)
	movl	$0, 4(%r13)
	movl	$0, 4(%r13,%rbx,4)
	movl	$0, 8(%r13)
	movl	$0, 8(%r13,%rbx,4)
	jmp	LBB0_19
LBB0_18:
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	%r15d, (%r9)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_19:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_20:
	cmpl	$-1, %eax
	je	LBB0_21
## %bb.22:
	movl	$0, 4(%r9)
	movslq	-60(%rbp), %r8                  ## 4-byte Folded Reload
	movq	%r8, %rcx
	imulq	%rbx, %rcx
	movslq	%eax, %rdx
	imulq	%rbx, %rdx
	leaq	(%rbx,%rbx,2), %r14
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi,%rcx,4), %esi
	movl	%esi, (%r13,%rbx,8)
	movl	(%rdi,%rdx,4), %esi
	movl	%esi, (%r13,%r14,4)
	movl	4(%rdi,%rcx,4), %esi
	movl	%esi, 4(%r13,%rbx,8)
	movl	4(%rdi,%rdx,4), %esi
	movl	%esi, 4(%r13,%r14,4)
	movl	8(%rdi,%rcx,4), %ecx
	movl	%ecx, 8(%r13,%rbx,8)
	movl	8(%rdi,%rdx,4), %ecx
	movl	%ecx, 8(%r13,%r14,4)
	cmpl	%eax, %r8d
	je	LBB0_29
## %bb.23:
	leaq	(,%rbx,8), %rcx
	addq	%r13, %rcx
	leaq	(%r13,%r14,4), %r8
	movl	$2, %edi
	movl	$3, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_MAKEIVEC
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	sarl	%eax
	xorl	%r13d, %r13d
	cmpl	%eax, %r15d
	jle	LBB0_28
## %bb.24:
	leaq	-1(%r15), %rax
	imulq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	negq	%r12
	xorl	%r13d, %r13d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	leal	3(,%r13,4), %r13d
	movq	_N_TEXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	addq	%r12, %rbx
	cmpq	%rax, %r15
	jle	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	decq	%r15
	movq	%rbx, %rdi
	callq	_ISTBLACK
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	$3, %edi
	movl	$2, %esi
	movl	$3, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_CALCCDOT
	jmp	LBB0_27
LBB0_21:
	movl	$-1, 4(%r9)
	leaq	(%rbx,%rbx,2), %r14
	movl	$0, (%r13,%rbx,8)
	movl	$0, (%r13,%r14,4)
	movl	$0, 4(%r13,%rbx,8)
	movl	$0, 4(%r13,%r14,4)
	movl	$0, 8(%r13,%rbx,8)
	movl	$0, 8(%r13,%r14,4)
	jmp	LBB0_29
LBB0_28:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 4(%rax)
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	movq	_GCOMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	andl	$4, %eax
	leaq	(,%rbx,4), %rdx
	addq	%r13, %rdx
	movl	(%rdx,%rcx,4), %ecx
	shrl	%ecx
	andl	$2, %ecx
	leal	(%rax,%rcx), %esi
	addl	$9, %esi
	callq	_Q_MOV32
	movl	$5, %esi
	callq	_Q_SHL
	movl	(%r13,%r14,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	4(%r13,%r14,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	8(%r13,%r14,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	(%r13,%rbx,8), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	4(%r13,%rbx,8), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	8(%r13,%rbx,8), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	(%r13,%rbx,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	4(%r13,%rbx,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	8(%r13,%rbx,4), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	(%r13), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	4(%r13), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movl	$5, %esi
	callq	_Q_SHL
	movl	8(%r13), %esi
	sarl	$3, %esi
	callq	_Q_OR32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_N_TEXELS,4,2                   ## @N_TEXELS
	.comm	_MAX_COMP,4,2                   ## @MAX_COMP
	.comm	_GCOMP,8,3                      ## @GCOMP
	.comm	_BCOMP,8,3                      ## @BCOMP
	.comm	_RCOMP,8,3                      ## @RCOMP
	.no_dead_strip	_fxt1_quantize_MIXED1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fxt1_quantize_MIXED1
_fxt1_quantize_MIXED1:                  ; @fxt1_quantize_MIXED1
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_COMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_COMP@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	lsl	x23, x25, #2
	lsl	x8, x25, #4
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x12, x9, x8
	mov	sp, x12
	mov	x9, x23
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x7fffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	mov	sp, x8
Lloh10:
	adrp	x26, _N_TEXELS@GOTPAGE
Lloh11:
	ldr	x26, [x26, _N_TEXELS@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #2
	stur	x1, [x29, #-104]                ; 8-byte Folded Spill
	stur	x12, [x29, #-120]               ; 8-byte Folded Spill
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
	mov	w20, #0
	mov	w27, #2000
	mov	w21, #-1
	mov	x24, x1
	mov	w19, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	w8, [x26]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	add	x24, x24, x23
	cmp	x22, w9, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_ISTBLACK
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w8, w9, [x24]
	ldr	w10, [x24, #8]
	add	w8, w9, w8
	add	w8, w10, w8
	cmp	w27, w8
	csel	w27, w27, w8, lt
	csel	w20, w22, w20, gt
	cmp	w19, w8
	csel	w19, w19, w8, gt
	csel	w21, w22, w21, lt
	b	LBB0_2
LBB0_5:
	mov	w22, #0
	mov	w20, #0
	mov	w21, #-1
LBB0_6:
	cmp	w22, w8
	stur	x25, [x29, #-128]               ; 8-byte Folded Spill
	mov	w27, #0
	b.ge	LBB0_11
; %bb.7:
	mov	w8, w22
	mul	x8, x8, x25
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x24, x9, x8, lsl #2
	mov	w19, #2000
	mov	w28, #-1
	mov	w25, #-1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x26]
	add	x24, x24, x23
	add	w22, w22, #1
	cmp	w8, w22
	b.le	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_ISTBLACK
	cbnz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldp	w8, w9, [x24]
	ldr	w10, [x24, #8]
	add	w8, w9, w8
	add	w8, w10, w8
	cmp	w19, w8
	csel	w19, w19, w8, lt
	csel	w27, w22, w27, gt
	cmp	w25, w8
	csel	w25, w25, w8, gt
	csel	w28, w22, w28, lt
	b	LBB0_8
LBB0_11:
	mov	w28, #-1
LBB0_12:
	cmn	w21, #1
	b.eq	LBB0_19
; %bb.13:
	ldp	x22, x12, [x29, #-112]          ; 16-byte Folded Reload
	str	wzr, [x22]
	sxtw	x8, w20
	ldp	x25, x24, [x29, #-128]          ; 16-byte Folded Reload
	mul	x8, x8, x25
	add	x8, x12, x8, lsl #2
	sxtw	x9, w21
	mul	x9, x9, x25
	ldp	w10, w11, [x8]
	add	x9, x12, x9, lsl #2
	add	x4, x24, x25, lsl #2
	str	w10, [x24]
	ldp	w10, w12, [x9]
	str	w10, [x4]
	str	w11, [x24, #4]
	str	w12, [x4, #4]
	ldr	w8, [x8, #8]
	str	w8, [x24, #8]
	ldr	w8, [x9, #8]
	str	w8, [x4, #8]
	cmp	w20, w21
	b.eq	LBB0_20
; %bb.14:
	mov	w0, #2
	mov	w1, #3
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x3, x24
	bl	_MAKEIVEC
	ldr	w8, [x26]
	cmp	w8, #2
	b.lt	LBB0_27
; %bb.15:
	mov	w20, #0
	lsr	x8, x8, #1
	add	x19, x8, #1
	ldur	x21, [x29, #-104]               ; 8-byte Folded Reload
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w8, #3
	bfi	w8, w20, #2, #30
	sub	x19, x19, #1
	mov	x20, x8
	cmp	x19, #1
	b.ls	LBB0_28
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w19, #2
	mul	x8, x8, x25
	add	x23, x21, x8, lsl #2
	mov	x0, x23
	bl	_ISTBLACK
	cbnz	w0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #3
	mov	w1, #2
	mov	w2, #3
	ldur	x3, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x4, x23
	bl	_CALCCDOT
	b	LBB0_16
LBB0_19:
	mov	w8, #-1
	ldp	x24, x22, [x29, #-120]          ; 16-byte Folded Reload
	str	w8, [x22]
	str	wzr, [x24]
	ldur	x25, [x29, #-128]               ; 8-byte Folded Reload
	add	x8, x24, x25, lsl #2
	str	wzr, [x8]
	str	wzr, [x24, #4]
	str	wzr, [x8, #4]
	str	wzr, [x24, #8]
	str	wzr, [x8, #8]
LBB0_20:
	cmn	w28, #1
	b.eq	LBB0_29
LBB0_21:
	str	wzr, [x22, #4]
	sxtw	x8, w27
	mul	x8, x8, x25
	ldur	x21, [x29, #-104]               ; 8-byte Folded Reload
	add	x8, x21, x8, lsl #2
	add	x3, x24, x25, lsl #3
	sxtw	x9, w28
	mul	x9, x9, x25
	ldp	w10, w11, [x8]
	add	x9, x21, x9, lsl #2
	add	x20, x25, x25, lsl #1
	add	x4, x24, x20, lsl #2
	str	w10, [x3]
	ldp	w10, w12, [x9]
	str	w10, [x4]
	str	w11, [x3, #4]
	str	w12, [x4, #4]
	ldr	w8, [x8, #8]
	str	w8, [x3, #8]
	ldr	w8, [x9, #8]
	str	w8, [x4, #8]
	cmp	w27, w28
	b.eq	LBB0_32
; %bb.22:
	mov	w0, #2
	mov	w1, #3
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_MAKEIVEC
	ldrsw	x19, [x26]
	cmp	w19, #0
	cinc	w8, w19, lt
	cmp	w19, w8, asr #1
	b.le	LBB0_30
; %bb.23:
	mov	w23, #0
	sub	x8, x19, #1
	mul	x8, x8, x25
	add	x22, x21, x8, lsl #2
	neg	x21, x25, lsl #2
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #3
	bfi	w8, w23, #2, #30
	ldr	w9, [x26]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	x22, x22, x21
	cmp	x19, w9, sxtw
	mov	x23, x8
	b.le	LBB0_31
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	sub	x19, x19, #1
	mov	x0, x22
	bl	_ISTBLACK
	cbnz	w0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #3
	mov	w1, #2
	mov	w2, #3
	ldur	x3, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x4, x22
	bl	_CALCCDOT
	b	LBB0_24
LBB0_27:
	mov	w8, #0
LBB0_28:
	str	w8, [x22]
	cmn	w28, #1
	b.ne	LBB0_21
LBB0_29:
	mov	w8, #-1
	str	w8, [x22, #4]
	add	x8, x24, x25, lsl #3
	add	x20, x25, x25, lsl #1
	str	wzr, [x8]
	add	x9, x24, x20, lsl #2
	str	wzr, [x9]
	str	wzr, [x8, #4]
	str	wzr, [x9, #4]
	str	wzr, [x8, #8]
	str	wzr, [x9, #8]
	b	LBB0_32
LBB0_30:
	mov	w8, #0
LBB0_31:
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	w8, [x9, #4]
LBB0_32:
	add	x19, x24, x20, lsl #2
Lloh12:
	adrp	x8, _GCOMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GCOMP@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x19, x8]
	add	x20, x24, x25, lsl #2
	ldr	w8, [x20, x8]
	and	w9, w9, #0x4
	lsr	w8, w8, #1
	and	w8, w8, #0x2
	orr	w8, w9, w8
	mov	w9, #9
	orr	w1, w8, w9
	bl	_Q_MOV32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19, #4]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19, #8]
	asr	w1, w8, #3
	bl	_Q_OR32
	add	x19, x24, x25, lsl #3
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19, #4]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x19, #8]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x20]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x20, #4]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x20, #8]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x24]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x24, #4]
	asr	w1, w8, #3
	bl	_Q_OR32
	mov	w1, #5
	bl	_Q_SHL
	ldr	w8, [x24, #8]
	asr	w1, w8, #3
	bl	_Q_OR32
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TEXELS,4,2                   ; @N_TEXELS
	.comm	_MAX_COMP,4,2                   ; @MAX_COMP
	.comm	_GCOMP,8,3                      ; @GCOMP
	.comm	_BCOMP,8,3                      ; @BCOMP
	.comm	_RCOMP,8,3                      ; @RCOMP
	.no_dead_strip	_fxt1_quantize_MIXED1
.subsections_via_symbols
