	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function process_cqt
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0x38d1b717                      ## float 9.99999974E-5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_process_cqt:                           ## @process_cqt
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, 88(%rdi)
	jne	LBB0_27
## %bb.1:
	movl	(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.2:
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movq	72(%r14), %rsi
	cmpl	$8, %r8d
	jae	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_4:
	leaq	(%rcx,%r8,4), %rdi
	leaq	(%rdx,%r8,4), %rax
	cmpq	%rax, %rcx
	setb	%r10b
	cmpq	%rdi, %rdx
	setb	%bl
	leaq	(%rsi,%r8,8), %rax
	cmpq	%rax, %rcx
	setb	%al
	cmpq	%rdi, %rsi
	setb	%r9b
	xorl	%edi, %edi
	testb	%bl, %r10b
	jne	LBB0_9
## %bb.5:
	andb	%r9b, %al
	jne	LBB0_9
## %bb.6:
	movl	%r8d, %edi
	andl	$-8, %edi
	leaq	(,%r8,4), %rbx
	andq	$-32, %rbx
	xorl	%eax, %eax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [5.0E-1,5.0E-1,5.0E-1,5.0E-1]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rax), %xmm1
	movups	16(%rdx,%rax), %xmm2
	mulps	%xmm0, %xmm1
	movups	(%rsi,%rax,2), %xmm3
	movups	16(%rsi,%rax,2), %xmm4
	haddps	%xmm4, %xmm3
	mulps	%xmm0, %xmm2
	mulps	%xmm1, %xmm3
	movups	32(%rsi,%rax,2), %xmm1
	movups	48(%rsi,%rax,2), %xmm4
	haddps	%xmm4, %xmm1
	mulps	%xmm2, %xmm1
	movups	%xmm3, (%rcx,%rax)
	movups	%xmm1, 16(%rcx,%rax)
	addq	$32, %rax
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.8:
	cmpq	%r8, %rdi
	je	LBB0_14
LBB0_9:
	movq	%rdi, %rax
	notq	%rax
	testb	$1, %r8b
	je	LBB0_11
## %bb.10:
	movss	(%rdx,%rdi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	movss	(%rsi,%rdi,8), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	4(%rsi,%rdi,8), %xmm1
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rcx,%rdi,4)
	orq	$1, %rdi
LBB0_11:
	addq	%r8, %rax
	je	LBB0_14
## %bb.12:
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rdx,%rdi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	(%rsi,%rdi,8), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	addss	4(%rsi,%rdi,8), %xmm2
	mulss	%xmm0, %xmm1
	mulss	%xmm1, %xmm2
	movss	%xmm2, (%rcx,%rdi,4)
	movss	4(%rdx,%rdi,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	8(%rsi,%rdi,8), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	addss	12(%rsi,%rdi,8), %xmm2
	mulss	%xmm1, %xmm2
	movss	%xmm2, 4(%rcx,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_13
LBB0_14:
	movl	24(%r14), %r11d
	cmpl	$1, %r11d
	jle	LBB0_23
## %bb.15:
	movl	28(%r14), %r9d
	testl	%r9d, %r9d
	jle	LBB0_27
## %bb.16:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r11d, %xmm1
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movq	8(%r14), %r10
	leaq	-1(%r11), %r8
	movl	%r11d, %edi
	andl	$3, %edi
	movl	%r11d, %ecx
	andl	$-4, %ecx
	leaq	12(%r10), %rsi
	shlq	$2, %r11
	xorl	%eax, %eax
	movq	%r10, %r15
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%r10,%rax,4)
	incq	%rax
	addq	%r11, %rsi
	addq	%r11, %r15
	cmpq	%r9, %rax
	je	LBB0_24
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	xorps	%xmm1, %xmm1
	xorl	%ebx, %ebx
	cmpq	$3, %r8
	jb	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addss	-12(%rsi,%rbx,4), %xmm1
	addss	-8(%rsi,%rbx,4), %xmm1
	addss	-4(%rsi,%rbx,4), %xmm1
	addss	(%rsi,%rbx,4), %xmm1
	addq	$4, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	(%r15,%rbx,4), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addss	(%rbx,%rdx,4), %xmm1
	incq	%rdx
	cmpq	%rdx, %rdi
	jne	LBB0_22
	jmp	LBB0_17
LBB0_23:
	movl	28(%r14), %r9d
LBB0_24:
	testl	%r9d, %r9d
	jle	LBB0_27
## %bb.25:
	movq	8(%r14), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rax,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	84(%r14), %edi
	callq	_calculate_gamma
	movq	8(%r14), %rax
	movss	%xmm0, (%rax,%rbx,4)
	addss	LCPI0_3(%rip), %xmm0
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movq	32(%r14), %rcx
	movss	%xmm1, (%rcx,%rbx,4)
	incq	%rbx
	movslq	28(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_26
LBB0_27:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_43
## %bb.28:
	movq	40(%r14), %rcx
	movq	72(%r14), %rdx
	cmpl	$1, %eax
	je	LBB0_29
## %bb.30:
	leaq	(%rcx,%rax,4), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_33
## %bb.31:
	leaq	(%rdx,%rax,8), %rsi
	cmpq	%rsi, %rcx
	jae	LBB0_33
LBB0_29:
	xorl	%esi, %esi
LBB0_39:
	movq	%rsi, %rdi
	notq	%rdi
	testb	$1, %al
	je	LBB0_41
## %bb.40:
	movss	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rdx,%rsi,8), %xmm0
	movss	%xmm0, (%rdx,%rsi,8)
	movss	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%rdx,%rsi,8), %xmm0
	movss	%xmm0, 4(%rdx,%rsi,8)
	orq	$1, %rsi
LBB0_41:
	addq	%rax, %rdi
	je	LBB0_43
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rdx,%rsi,8), %xmm0
	movss	%xmm0, (%rdx,%rsi,8)
	movss	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%rdx,%rsi,8), %xmm0
	movss	%xmm0, 4(%rdx,%rsi,8)
	movss	4(%rcx,%rsi,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	mulss	8(%rdx,%rsi,8), %xmm0
	movss	%xmm0, 8(%rdx,%rsi,8)
	movss	4(%rcx,%rsi,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	mulss	12(%rdx,%rsi,8), %xmm0
	movss	%xmm0, 12(%rdx,%rsi,8)
	addq	$2, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_42
	jmp	LBB0_43
LBB0_33:
	movl	%eax, %esi
	andl	$-2, %esi
	leaq	-2(%rsi), %rdi
	movq	%rdi, %r8
	shrq	%r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.34:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rcx,%rbx,4), %xmm0            ## xmm0 = mem[0],zero
	unpcklps	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0,1,1]
	movups	(%rdx,%rbx,8), %xmm1
	mulps	%xmm0, %xmm1
	movups	16(%rdx,%rbx,8), %xmm0
	movups	%xmm1, (%rdx,%rbx,8)
	movsd	8(%rcx,%rbx,4), %xmm1           ## xmm1 = mem[0],zero
	unpcklps	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0,1,1]
	mulps	%xmm0, %xmm1
	movups	%xmm1, 16(%rdx,%rbx,8)
	addq	$4, %rbx
	addq	$-2, %rdi
	jne	LBB0_35
## %bb.36:
	testb	$1, %r8b
	je	LBB0_38
LBB0_37:
	movsd	(%rcx,%rbx,4), %xmm0            ## xmm0 = mem[0],zero
	movups	(%rdx,%rbx,8), %xmm1
	unpcklps	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0,1,1]
	mulps	%xmm1, %xmm0
	movups	%xmm0, (%rdx,%rbx,8)
LBB0_38:
	cmpq	%rax, %rsi
	jne	LBB0_39
LBB0_43:
	movl	24(%r14), %r10d
	cmpl	$2, %r10d
	jl	LBB0_52
## %bb.44:
	movl	28(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_52
## %bb.45:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r10d, %xmm1
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movq	72(%r14), %r11
	leaq	-1(%r10), %r9
	movl	%r10d, %edi
	andl	$3, %edi
	movl	%r10d, %eax
	andl	$-4, %eax
	leaq	24(%r11), %rcx
	shlq	$3, %r10
	xorl	%esi, %esi
	movq	%r11, %r15
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=1
	movaps	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	movss	%xmm2, (%r11,%rsi,8)
	movshdup	%xmm1, %xmm1                    ## xmm1 = xmm1[1,1,3,3]
	mulss	%xmm0, %xmm1
	movss	%xmm1, 4(%r11,%rsi,8)
	incq	%rsi
	addq	%r10, %rcx
	addq	%r10, %r15
	cmpq	%r8, %rsi
	je	LBB0_52
LBB0_47:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_48 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
	xorps	%xmm1, %xmm1
	xorl	%ebx, %ebx
	cmpq	$3, %r9
	jb	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	-24(%rcx,%rbx,8), %xmm2         ## xmm2 = mem[0],zero
	addps	%xmm1, %xmm2
	movsd	-16(%rcx,%rbx,8), %xmm1         ## xmm1 = mem[0],zero
	addps	%xmm2, %xmm1
	movsd	-8(%rcx,%rbx,8), %xmm2          ## xmm2 = mem[0],zero
	addps	%xmm1, %xmm2
	movsd	(%rcx,%rbx,8), %xmm1            ## xmm1 = mem[0],zero
	addps	%xmm2, %xmm1
	addq	$4, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_48
LBB0_49:                                ##   in Loop: Header=BB0_47 Depth=1
	testq	%rdi, %rdi
	je	LBB0_46
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=1
	leaq	(%r15,%rbx,8), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rbx,%rdx,8), %xmm2            ## xmm2 = mem[0],zero
	addps	%xmm2, %xmm1
	incq	%rdx
	cmpq	%rdx, %rdi
	jne	LBB0_51
	jmp	LBB0_46
LBB0_52:
	movq	48(%r14), %rax
	movq	_AV_PIX_FMT_RGB24@GOTPCREL(%rip), %rbx
	movl	80(%r14), %edi
	movq	72(%r14), %rsi
	movl	64(%r14), %edx
	movl	28(%r14), %ecx
	cmpq	(%rbx), %rax
	jne	LBB0_54
## %bb.53:
	movl	56(%r14), %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rgb_from_cqt                   ## TAILCALL
LBB0_54:
	movl	56(%r14), %r9d
	movl	60(%r14), %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_yuv_from_cqt                   ## TAILCALL
LBB0_55:
	xorl	%ebx, %ebx
	testb	$1, %r8b
	jne	LBB0_37
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_RGB24,8,3           ## @AV_PIX_FMT_RGB24
	.no_dead_strip	_process_cqt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_cqt
_process_cqt:                           ; @process_cqt
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	w8, [x0, #88]
	cbnz	w8, LBB0_26
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	ldr	x9, [x19, #72]
	ldp	x11, x10, [x19, #8]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.3:
	mov	x12, #0
	b	LBB0_9
LBB0_4:
	mov	x12, #0
	lsl	x13, x8, #2
	add	x14, x10, x13
	add	x15, x9, x8, lsl #3
	cmp	x11, x15
	add	x15, x11, x13
	ccmp	x9, x15, #2, lo
	cset	w13, lo
	cmp	x10, x15
	ccmp	x11, x14, #2, lo
	b.lo	LBB0_9
; %bb.5:
	tbnz	w13, #0, LBB0_9
; %bb.6:
	and	x12, x8, #0xfffffff0
	add	x13, x11, #32
	add	x14, x9, #64
	add	x15, x10, #32
	movi.4s	v0, #63, lsl #24
	mov	x16, x12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x15, #-32]
	sub	x17, x14, #64
	ld2.4s	{ v3, v4 }, [x17]
	ldp	q5, q6, [x15], #64
	sub	x17, x14, #32
	ld2.4s	{ v16, v17 }, [x17]
	mov	x17, x14
	ld2.4s	{ v18, v19 }, [x17], #32
	fmul.4s	v1, v1, v0
	fmul.4s	v2, v2, v0
	ld2.4s	{ v20, v21 }, [x17]
	fmul.4s	v5, v5, v0
	fmul.4s	v6, v6, v0
	fadd.4s	v3, v3, v4
	fadd.4s	v4, v16, v17
	fadd.4s	v7, v18, v19
	fadd.4s	v16, v20, v21
	fmul.4s	v1, v1, v3
	fmul.4s	v2, v2, v4
	fmul.4s	v3, v5, v7
	fmul.4s	v4, v6, v16
	stp	q1, q2, [x13, #-32]
	stp	q3, q4, [x13], #64
	add	x14, x14, #128
	subs	x16, x16, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x12, x8
	b.eq	LBB0_11
LBB0_9:
	lsl	x13, x12, #2
	add	x11, x11, x13
	add	x10, x10, x13
	add	x9, x9, x12, lsl #3
	add	x9, x9, #4
	sub	x8, x8, x12
	fmov	s0, #0.50000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x10], #4
	fmul	s1, s1, s0
	ldp	s2, s3, [x9, #-4]
	fadd	s2, s2, s3
	fmul	s1, s1, s2
	str	s1, [x11], #4
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	w9, [x19, #24]
	cmp	w9, #1
	b.le	LBB0_22
; %bb.12:
	ldr	w8, [x19, #28]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.13:
	mov	x10, #0
	mov	x11, #0
	scvtf	s0, w9
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	ldr	x12, [x19, #8]
	and	x13, x9, #0xfffffff0
	add	x14, x12, #32
	lsl	x15, x9, #2
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	fmul	s1, s0, s1
	str	s1, [x12, x11, lsl #2]
	add	x11, x11, #1
	add	x14, x14, x15
	add	x10, x10, x9
	cmp	x11, x8
	b.eq	LBB0_23
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	cmp	w9, #16
	b.hs	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x17, #0
	movi	d1, #0000000000000000
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	movi	d1, #0000000000000000
	mov	x16, x13
	mov	x17, x14
LBB0_18:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x17, #-32]
	mov	s4, v2[3]
	mov	s5, v2[2]
	mov	s6, v2[1]
	mov	s7, v3[3]
	mov	s16, v3[2]
	mov	s17, v3[1]
	ldp	q18, q19, [x17], #64
	mov	s20, v18[3]
	mov	s21, v18[2]
	mov	s22, v18[1]
	mov	s23, v19[3]
	mov	s24, v19[2]
	mov	s25, v19[1]
	fadd	s1, s1, s2
	fadd	s1, s1, s6
	fadd	s1, s1, s5
	fadd	s1, s1, s4
	fadd	s1, s1, s3
	fadd	s1, s1, s17
	fadd	s1, s1, s16
	fadd	s1, s1, s7
	fadd	s1, s1, s18
	fadd	s1, s1, s22
	fadd	s1, s1, s21
	fadd	s1, s1, s20
	fadd	s1, s1, s19
	fadd	s1, s1, s25
	fadd	s1, s1, s24
	fadd	s1, s1, s23
	subs	x16, x16, #16
	b.ne	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x17, x13
	cmp	x13, x9
	b.eq	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x16, x17, x10
	add	x16, x12, x16, lsl #2
	sub	x17, x9, x17
LBB0_21:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s2, [x16], #4
	fadd	s1, s1, s2
	subs	x17, x17, #1
	b.ne	LBB0_21
	b	LBB0_14
LBB0_22:
	ldr	w8, [x19, #28]
LBB0_23:
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.24:
	mov	x20, #0
	ldr	x8, [x19, #8]
	mov	w21, #46871
	movk	w21, #14545, lsl #16
	fmov	s8, #1.00000000
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	lsl	x22, x20, #2
	ldr	s0, [x8, x22]
	ldr	w0, [x19, #84]
	bl	_calculate_gamma
	ldr	x8, [x19, #8]
	str	s0, [x8, x22]
	fmov	s1, w21
	fadd	s0, s0, s1
	fdiv	s0, s8, s0
	ldr	x9, [x19, #32]
	str	s0, [x9, x22]
	add	x20, x20, #1
	ldrsw	x9, [x19, #28]
	cmp	x20, x9
	b.lt	LBB0_25
LBB0_26:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.27:
	ldr	x10, [x19, #40]
	ldr	x9, [x19, #72]
	cmp	w8, #8
	b.lo	LBB0_32
; %bb.28:
	add	x11, x10, x8, lsl #2
	add	x12, x9, x8, lsl #3
	cmp	x9, x11
	ccmp	x10, x12, #2, lo
	b.lo	LBB0_32
; %bb.29:
	and	x11, x8, #0xfffffff8
	add	x12, x9, #32
	add	x13, x10, #16
	mov	x14, x11
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	sub	x15, x12, #32
	ld2.4s	{ v0, v1 }, [x15]
	ldp	q2, q3, [x13, #-16]
	ld2.4s	{ v4, v5 }, [x12]
	fmul.4s	v6, v2, v0
	fmul.4s	v7, v2, v1
	st2.4s	{ v6, v7 }, [x15]
	fmul.4s	v0, v3, v4
	fmul.4s	v1, v3, v5
	st2.4s	{ v0, v1 }, [x12]
	add	x12, x12, #64
	add	x13, x13, #32
	subs	x14, x14, #8
	b.ne	LBB0_30
; %bb.31:
	cmp	x11, x8
	b.ne	LBB0_33
	b	LBB0_35
LBB0_32:
	mov	x11, #0
LBB0_33:
	add	x10, x10, x11, lsl #2
	add	x9, x9, x11, lsl #3
	add	x9, x9, #4
	sub	x8, x8, x11
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x10]
	ldur	s1, [x9, #-4]
	fmul	s0, s0, s1
	stur	s0, [x9, #-4]
	ldr	s0, [x10], #4
	ldr	s1, [x9]
	fmul	s0, s0, s1
	str	s0, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_34
LBB0_35:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.le	LBB0_41
; %bb.36:
	ldr	w9, [x19, #28]
	cmp	w9, #1
	b.lt	LBB0_41
; %bb.37:
	mov	x10, #0
	scvtf	s0, w8
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	ldr	x11, [x19, #72]
	lsl	x12, x8, #3
	mov	x13, x11
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	movi	d1, #0000000000000000
	mov	x14, x8
	mov	x15, x13
LBB0_39:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d2, [x15], #8
	fadd.2s	v1, v1, v2
	subs	x14, x14, #1
	b.ne	LBB0_39
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=1
	fmul.2s	v1, v1, v0[0]
	str	d1, [x11, x10, lsl #3]
	add	x10, x10, #1
	add	x13, x13, x12
	cmp	x10, x9
	b.ne	LBB0_38
LBB0_41:
	ldr	x8, [x19, #48]
Lloh0:
	adrp	x9, _AV_PIX_FMT_RGB24@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_RGB24@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x19, #80]
	ldr	x1, [x19, #72]
	ldr	w2, [x19, #64]
	ldr	w3, [x19, #28]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.42:
	ldr	w4, [x19, #56]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_rgb_from_cqt
LBB0_43:
	ldp	w5, w4, [x19, #56]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_yuv_from_cqt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_RGB24,8,3           ; @AV_PIX_FMT_RGB24
	.no_dead_strip	_process_cqt
.subsections_via_symbols
