	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function yuv_from_cqt
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_yuv_from_cqt:                          ## @yuv_from_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	12(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%r15,%r13,8), %xmm0
	movss	(%r14), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	(%r15,%r13,8), %xmm1
	addss	%xmm0, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_FFMIN
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_calculate_gamma
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	16(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%r15,%r13,8), %xmm0
	movss	4(%r14), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	(%r15,%r13,8), %xmm1
	addss	%xmm0, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_FFMIN
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_calculate_gamma
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movss	20(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%r15,%r13,8), %xmm0
	movss	8(%r14), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	(%r15,%r13,8), %xmm1
	addss	%xmm0, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_FFMIN
	movl	%eax, %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_calculate_gamma
	movss	4(%r12), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm1
	movss	(%r12), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movss	-52(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	addss	%xmm1, %xmm2
	movss	8(%r12), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	movss	%xmm1, -8(%rbx)
	movss	16(%r12), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm1
	movss	12(%r12), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	addss	%xmm1, %xmm2
	movss	20(%r12), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	movss	%xmm1, -4(%rbx)
	movaps	%xmm4, %xmm2
	mulss	28(%r12), %xmm2
	movaps	%xmm3, %xmm1
	mulss	24(%r12), %xmm1
	addss	%xmm2, %xmm1
	mulss	32(%r12), %xmm0
	addss	%xmm1, %xmm0
	movss	%xmm0, (%rbx)
	incq	%r13
	addq	$12, %rbx
	cmpq	%r13, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_yuv_from_cqt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv_from_cqt
_yuv_from_cqt:                          ; @yuv_from_cqt
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	fmov	s8, s0
	mov	w21, w2
	add	x22, x1, #4
	add	x23, x0, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19]
	ldp	s1, s3, [x22, #-4]
	ldr	s2, [x19, #12]
	fmul	s2, s2, s3
	fmadd	s1, s0, s1, s2
	fmov	s0, #1.00000000
	bl	_FFMIN
	fmov	s0, s8
	bl	_calculate_gamma
	fmov	s9, s0
	ldr	s0, [x19, #4]
	ldp	s1, s3, [x22, #-4]
	ldr	s2, [x19, #16]
	fmul	s2, s2, s3
	fmadd	s1, s0, s1, s2
	fmov	s0, #1.00000000
	bl	_FFMIN
	fmov	s0, s8
	bl	_calculate_gamma
	fmov	s10, s0
	ldr	s0, [x19, #8]
	ldp	s1, s3, [x22, #-4]
	ldr	s2, [x19, #20]
	fmul	s2, s2, s3
	fmadd	s1, s0, s1, s2
	fmov	s0, #1.00000000
	bl	_FFMIN
	fmov	s0, s8
	bl	_calculate_gamma
	ldp	s1, s2, [x20]
	fmul	s2, s10, s2
	fmadd	s1, s1, s9, s2
	ldr	s2, [x20, #8]
	fmadd	s1, s2, s0, s1
	stur	s1, [x23, #-4]
	ldp	s1, s2, [x20, #12]
	fmul	s2, s10, s2
	fmadd	s1, s1, s9, s2
	ldr	s2, [x20, #20]
	fmadd	s1, s2, s0, s1
	str	s1, [x23]
	ldp	s1, s2, [x20, #24]
	fmul	s2, s10, s2
	fmadd	s1, s1, s9, s2
	ldr	s2, [x20, #32]
	fmadd	s0, s2, s0, s1
	str	s0, [x23, #4]
	add	x22, x22, #8
	add	x23, x23, #12
	subs	x21, x21, #1
	b.ne	LBB0_2
LBB0_3:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_yuv_from_cqt
.subsections_via_symbols
