	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function set_gauss
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_set_gauss:                             ## @set_gauss
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	(%rdi), %r13
	movl	(%r13), %r15d
	movl	4(%r13), %eax
	movsd	8(%r13), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, -96(%rbp)                ## 8-byte Spill
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	1(%rax), %r12
	movq	$-8, %rbx
	movq	$-1, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_av_mallocz_array
	movq	16(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	16(%r13), %rax
	cmpq	$0, 8(%rax,%rbx)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rbx
	leaq	(%r12,%r14), %rax
	decq	%rax
	decq	%r14
	cmpq	$-1, %rax
	jne	LBB0_2
LBB0_8:
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	xorpd	%xmm0, %xmm0
	movsd	-96(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_9
	jnp	LBB0_53
LBB0_9:
	testl	%r15d, %r15d
	jle	LBB0_22
## %bb.10:
	movapd	%xmm1, %xmm0
	addsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -120(%rbp)               ## 8-byte Spill
	xorpd	%xmm4, %xmm4
	xorl	%ebx, %ebx
	movq	_M_PI@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movapd	%xmm4, -64(%rbp)                ## 16-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GINDX
	movl	$2, %edi
	callq	_pow
	negl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	-120(%rbp), %xmm0               ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edi
	callq	_exp
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movl	(%r14), %edi
	addl	%edi, %edi
	callq	_sqrt
	movapd	-64(%rbp), %xmm4                ## 16-byte Reload
	mulsd	-96(%rbp), %xmm0                ## 8-byte Folded Reload
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movq	16(%r13), %rcx
	movq	(%rcx), %rcx
	cvttpd2dq	%xmm1, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movl	%eax, (%rcx,%rbx,4)
	addsd	%xmm0, %xmm4
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_11
## %bb.12:
	movq	16(%r13), %rax
	movq	(%rax), %rax
	cmpl	$4, %r15d
	jae	LBB0_14
## %bb.13:
	xorl	%ecx, %ecx
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %r14
	jmp	LBB0_21
LBB0_3:
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	callq	_av_freep
	cmpq	$-1, %r14
	je	LBB0_6
## %bb.4:
	negq	%r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	addq	%rbx, %rdi
	callq	_av_freep
	decq	%r14
	addq	$-8, %rbx
	cmpq	$1, %r14
	jg	LBB0_5
LBB0_6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_53:
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	jmp	LBB0_22
LBB0_14:
	movl	%r15d, %ecx
	andl	$-4, %ecx
	movddup	%xmm4, %xmm0                    ## xmm0 = xmm4[0,0]
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.16:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	movdqu	16(%rax,%rdx,4), %xmm3
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movupd	%xmm2, (%rax,%rdx,4)
	cvtdq2pd	%xmm3, %xmm1
	pshufd	$238, %xmm3, %xmm2              ## xmm2 = xmm3[2,3,2,3]
	cvtdq2pd	%xmm2, %xmm2
	divpd	%xmm0, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	cvttpd2dq	%xmm2, %xmm2
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	movupd	%xmm1, 16(%rax,%rdx,4)
	addq	$8, %rdx
	addq	$-2, %rdi
	jne	LBB0_17
## %bb.18:
	testb	$1, %sil
	je	LBB0_20
LBB0_19:
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	divpd	%xmm0, %xmm1
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm0
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0]
	movupd	%xmm0, (%rax,%rdx,4)
LBB0_20:
	cmpq	%r15, %rcx
	je	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax,%rcx,4), %xmm0
	divsd	%xmm4, %xmm0
	cvttsd2si	%xmm0, %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_21
LBB0_22:
	cmpl	$0, -104(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_52
## %bb.23:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	testl	%r15d, %r15d
	jle	LBB0_36
## %bb.24:
	xorpd	%xmm4, %xmm4
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movapd	%xmm4, -64(%rbp)                ## 16-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GINDX
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movsd	-96(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	$2, %edi
	callq	_pow
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	xorpd	LCPI0_0(%rip), %xmm1
	divsd	%xmm0, %xmm1
	movq	16(%r13), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rcx,%rbx,4), %xmm0
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, (%rax,%rbx,4)
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GINDX
	movapd	-64(%rbp), %xmm4                ## 16-byte Reload
	mulsd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	addsd	%xmm0, %xmm4
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_25
## %bb.26:
	movq	16(%r13), %rax
	movq	8(%rax), %rax
	cmpl	$4, %r15d
	jae	LBB0_28
## %bb.27:
	xorl	%ecx, %ecx
	jmp	LBB0_35
LBB0_28:
	movl	%r15d, %ecx
	andl	$-4, %ecx
	movddup	%xmm4, %xmm0                    ## xmm0 = xmm4[0,0]
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_29
## %bb.30:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	movdqu	16(%rax,%rdx,4), %xmm3
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movupd	%xmm2, (%rax,%rdx,4)
	cvtdq2pd	%xmm3, %xmm1
	pshufd	$238, %xmm3, %xmm2              ## xmm2 = xmm3[2,3,2,3]
	cvtdq2pd	%xmm2, %xmm2
	divpd	%xmm0, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	cvttpd2dq	%xmm2, %xmm2
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	movupd	%xmm1, 16(%rax,%rdx,4)
	addq	$8, %rdx
	addq	$-2, %rdi
	jne	LBB0_31
## %bb.32:
	testb	$1, %sil
	je	LBB0_34
LBB0_33:
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	divpd	%xmm0, %xmm1
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm0
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0]
	movupd	%xmm0, (%rax,%rdx,4)
LBB0_34:
	cmpq	%r15, %rcx
	je	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax,%rcx,4), %xmm0
	divsd	%xmm4, %xmm0
	cvttsd2si	%xmm0, %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_35
LBB0_36:
	cmpl	$2, -104(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_52
## %bb.37:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	testl	%r15d, %r15d
	jle	LBB0_52
## %bb.38:
	xorpd	%xmm0, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_GINDX
	movl	$2, %edi
	callq	_pow
	movl	%eax, %r14d
	movsd	-96(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	$4, %edi
	callq	_pow
	movl	%eax, %ecx
	movl	%r14d, %eax
	xorl	%r14d, %r14d
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movsd	-96(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	$2, %edi
	callq	_pow
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	cmpl	$3, %ecx
	cmovael	%r14d, %eax
	subl	%eax, %ebx
	movq	16(%r13), %rax
	movq	(%rax), %rcx
	movq	16(%rax), %rax
	imull	(%rcx,%r12,4), %ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movl	%ebx, (%rax,%r12,4)
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_39
## %bb.40:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	movq	16(%r13), %rax
	movq	16(%rax), %rax
	xorpd	%xmm4, %xmm4
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movapd	%xmm4, -96(%rbp)                ## 16-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax,%rbx,4), %xmm0
	subsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %ecx
	movl	%ecx, (%rax,%rbx,4)
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GINDX
	mulsd	LCPI0_1(%rip), %xmm0
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GINDX
	movapd	-96(%rbp), %xmm4                ## 16-byte Reload
	mulsd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	16(%r13), %rax
	movq	16(%rax), %rax
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%rax,%rbx,4), %xmm1
	mulsd	%xmm0, %xmm1
	addsd	%xmm1, %xmm4
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_41
## %bb.42:
	cmpl	$4, %r15d
	jae	LBB0_44
## %bb.43:
	xorl	%ecx, %ecx
	jmp	LBB0_51
LBB0_44:
	movl	%r15d, %ecx
	andl	$-4, %ecx
	movddup	%xmm4, %xmm0                    ## xmm0 = xmm4[0,0]
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_45
## %bb.46:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	movdqu	16(%rax,%rdx,4), %xmm3
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movupd	%xmm2, (%rax,%rdx,4)
	cvtdq2pd	%xmm3, %xmm1
	pshufd	$238, %xmm3, %xmm2              ## xmm2 = xmm3[2,3,2,3]
	cvtdq2pd	%xmm2, %xmm2
	divpd	%xmm0, %xmm2
	divpd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm1
	cvttpd2dq	%xmm2, %xmm2
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	movupd	%xmm1, 16(%rax,%rdx,4)
	addq	$8, %rdx
	addq	$-2, %rdi
	jne	LBB0_47
## %bb.48:
	testb	$1, %sil
	je	LBB0_50
LBB0_49:
	movdqu	(%rax,%rdx,4), %xmm1
	cvtdq2pd	%xmm1, %xmm2
	pshufd	$238, %xmm1, %xmm1              ## xmm1 = xmm1[2,3,2,3]
	cvtdq2pd	%xmm1, %xmm1
	divpd	%xmm0, %xmm1
	divpd	%xmm0, %xmm2
	cvttpd2dq	%xmm2, %xmm0
	cvttpd2dq	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0]
	movupd	%xmm0, (%rax,%rdx,4)
LBB0_50:
	cmpq	%r15, %rcx
	je	LBB0_52
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax,%rcx,4), %xmm0
	divsd	%xmm4, %xmm0
	cvttsd2si	%xmm0, %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_51
LBB0_52:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%edx, %edx
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %r14
	testb	$1, %sil
	jne	LBB0_19
	jmp	LBB0_20
LBB0_29:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_33
	jmp	LBB0_34
LBB0_45:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_49
	jmp	LBB0_50
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory while allocating gauss buffers.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_TRACE,4,2               ## @AV_LOG_TRACE
L_.str.1:                               ## @.str.1
	.asciz	"Setting 0-d gauss with filtersize = %d.\n"

	.comm	_M_PI,4,2                       ## @M_PI
L_.str.2:                               ## @.str.2
	.asciz	"Setting 1-d gauss with filtersize = %d.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Setting 2-d gauss with filtersize = %d.\n"

	.no_dead_strip	_set_gauss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_gauss
_set_gauss:                             ; @set_gauss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	mov	x20, x0
	ldr	x22, [x0]
	ldp	w19, w23, [x22]
	ldr	d8, [x22, #8]
	tbnz	w23, #31, LBB0_4
; %bb.1:
	mov	x24, #0
	mvn	x25, x23
	mov	x21, #-8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #4
	bl	_av_mallocz_array
	ldr	x8, [x22, #16]
	add	x8, x8, x21
	str	x0, [x8, #8]
	ldr	x8, [x22, #16]
	add	x8, x8, x21
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #8
	sub	x24, x24, #1
	cmp	x25, x24
	b.ne	LBB0_2
LBB0_4:
Lloh0:
	adrp	x24, _AV_LOG_TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_LOG_TRACE@GOTPAGEOFF]
	ldr	w1, [x24]
	str	x19, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_av_log
	fcmp	d8, #0.0
	b.eq	LBB0_14
; %bb.5:
	cmp	w19, #1
	b.lt	LBB0_20
; %bb.6:
	mov	x21, #0
	fadd	d0, d8, d8
	fmul	d10, d8, d0
	movi	d17, #0000000000000000
Lloh4:
	adrp	x25, _M_PI@GOTPAGE
Lloh5:
	ldr	x25, [x25, _M_PI@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	q17, [sp, #16]                  ; 16-byte Folded Spill
	mov	x0, x19
	mov	x1, x21
	bl	_GINDX
	mov	w0, #2
	bl	_pow
	neg	w8, w0
	scvtf	d0, w8
	fdiv	d0, d0, d10
	fcvtzs	w0, d0
	bl	_exp
	fmov	d9, d0
	ldr	w8, [x25]
	lsl	w0, w8, #1
	bl	_sqrt
	ldr	q17, [sp, #16]                  ; 16-byte Folded Reload
	fmul	d0, d8, d0
	fdiv	d0, d9, d0
	fcvtzs	w8, d0
	ldr	x9, [x22, #16]
	ldr	x9, [x9]
	str	w8, [x9, x21, lsl #2]
	scvtf	d0, w8
	fadd	d17, d17, d0
	add	x21, x21, #1
	cmp	x19, x21
	b.ne	LBB0_7
; %bb.8:
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	cmp	w19, #16
	b.hs	LBB0_15
; %bb.9:
	mov	x9, #0
	b	LBB0_18
LBB0_10:
	add	x0, x8, #8
	bl	_av_freep
	cbz	x24, LBB0_13
; %bb.11:
	mov	w8, #1
	sub	x19, x8, x24
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	add	x0, x8, x21
	bl	_av_freep
	sub	x19, x19, #1
	sub	x21, x21, #8
	cmp	x19, #1
	b.gt	LBB0_12
LBB0_13:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_AVERROR
LBB0_14:
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_20
LBB0_15:
	and	x9, x19, #0xfffffff0
	dup.2d	v0, v17[0]
	add	x10, x8, #32
	mov	x11, x9
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	sshll2.2d	v3, v1, #0
	scvtf.2d	v3, v3
	sshll.2d	v1, v1, #0
	ldp	q4, q5, [x10]
	scvtf.2d	v1, v1
	sshll2.2d	v6, v2, #0
	scvtf.2d	v6, v6
	sshll.2d	v2, v2, #0
	scvtf.2d	v2, v2
	sshll2.2d	v7, v4, #0
	scvtf.2d	v7, v7
	sshll.2d	v4, v4, #0
	scvtf.2d	v4, v4
	sshll2.2d	v16, v5, #0
	scvtf.2d	v16, v16
	sshll.2d	v5, v5, #0
	scvtf.2d	v5, v5
	fdiv.2d	v1, v1, v0
	fdiv.2d	v3, v3, v0
	fdiv.2d	v2, v2, v0
	fdiv.2d	v6, v6, v0
	fdiv.2d	v4, v4, v0
	fdiv.2d	v7, v7, v0
	fdiv.2d	v5, v5, v0
	fdiv.2d	v16, v16, v0
	fcvtzs.2d	v3, v3
	fcvtzs.2d	v1, v1
	uzp1.4s	v1, v1, v3
	fcvtzs.2d	v3, v6
	fcvtzs.2d	v2, v2
	uzp1.4s	v2, v2, v3
	fcvtzs.2d	v3, v7
	fcvtzs.2d	v4, v4
	uzp1.4s	v3, v4, v3
	fcvtzs.2d	v4, v16
	fcvtzs.2d	v5, v5
	stp	q1, q2, [x10, #-32]
	uzp1.4s	v1, v5, v4
	stp	q3, q1, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_16
; %bb.17:
	cmp	x9, x19
	b.eq	LBB0_20
LBB0_18:
	add	x8, x8, x9, lsl #2
	sub	x9, x19, x9
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d0, d0, d17
	fcvtzs	w10, d0
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_19
LBB0_20:
	cmp	w23, #1
	b.lt	LBB0_44
; %bb.21:
	ldr	w1, [x24]
	str	x19, [sp]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_av_log
	cmp	w19, #1
	b.lt	LBB0_31
; %bb.22:
	mov	x21, #0
	movi	d17, #0000000000000000
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	str	q17, [sp, #16]                  ; 16-byte Folded Spill
	mov	x0, x19
	mov	x1, x21
	bl	_GINDX
	fmov	d9, d0
	fmov	d0, d8
	mov	w0, #2
	bl	_pow
	scvtf	d0, w0
	fneg	d1, d9
	fdiv	d0, d1, d0
	ldr	x8, [x22, #16]
	lsl	x9, x21, #2
	ldp	x10, x8, [x8]
	ldr	s1, [x10, x9]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmul	d0, d0, d1
	fcvtzs	w10, d0
	str	w10, [x8, x9]
	scvtf	d9, w10
	mov	x0, x19
	mov	x1, x21
	bl	_GINDX
	ldr	q17, [sp, #16]                  ; 16-byte Folded Reload
	fmadd	d17, d9, d0, d17
	add	x21, x21, #1
	cmp	x19, x21
	b.ne	LBB0_23
; %bb.24:
	ldr	x8, [x22, #16]
	ldr	x8, [x8, #8]
	cmp	w19, #16
	b.hs	LBB0_26
; %bb.25:
	mov	x9, #0
	b	LBB0_29
LBB0_26:
	and	x9, x19, #0xfffffff0
	dup.2d	v0, v17[0]
	add	x10, x8, #32
	mov	x11, x9
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	sshll2.2d	v3, v1, #0
	scvtf.2d	v3, v3
	sshll.2d	v1, v1, #0
	ldp	q4, q5, [x10]
	scvtf.2d	v1, v1
	sshll2.2d	v6, v2, #0
	scvtf.2d	v6, v6
	sshll.2d	v2, v2, #0
	scvtf.2d	v2, v2
	sshll2.2d	v7, v4, #0
	scvtf.2d	v7, v7
	sshll.2d	v4, v4, #0
	scvtf.2d	v4, v4
	sshll2.2d	v16, v5, #0
	scvtf.2d	v16, v16
	sshll.2d	v5, v5, #0
	scvtf.2d	v5, v5
	fdiv.2d	v1, v1, v0
	fdiv.2d	v3, v3, v0
	fdiv.2d	v2, v2, v0
	fdiv.2d	v6, v6, v0
	fdiv.2d	v4, v4, v0
	fdiv.2d	v7, v7, v0
	fdiv.2d	v5, v5, v0
	fdiv.2d	v16, v16, v0
	fcvtzs.2d	v3, v3
	fcvtzs.2d	v1, v1
	uzp1.4s	v1, v1, v3
	fcvtzs.2d	v3, v6
	fcvtzs.2d	v2, v2
	uzp1.4s	v2, v2, v3
	fcvtzs.2d	v3, v7
	fcvtzs.2d	v4, v4
	uzp1.4s	v3, v4, v3
	fcvtzs.2d	v4, v16
	fcvtzs.2d	v5, v5
	stp	q1, q2, [x10, #-32]
	uzp1.4s	v1, v5, v4
	stp	q3, q1, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_27
; %bb.28:
	cmp	x9, x19
	b.eq	LBB0_31
LBB0_29:
	add	x8, x8, x9, lsl #2
	sub	x9, x19, x9
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d0, d0, d17
	fcvtzs	w10, d0
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_30
LBB0_31:
	cmp	w23, #1
	b.le	LBB0_44
; %bb.32:
	ldr	w1, [x24]
	str	x19, [sp]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_av_log
	cmp	w19, #1
	b.lt	LBB0_44
; %bb.33:
	mov	x20, #0
	movi	d9, #0000000000000000
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_GINDX
	mov	w0, #2
	bl	_pow
	mov	x21, x0
	fmov	d0, d8
	mov	w0, #4
	bl	_pow
	sdiv	w21, w21, w0
	fmov	d0, d8
	mov	w0, #2
	bl	_pow
	add	w8, w0, #1
	cmp	w8, #3
	csel	w8, w0, wzr, lo
	sub	w8, w21, w8
	ldr	x9, [x22, #16]
	ldr	x10, [x9]
	lsl	x11, x20, #2
	ldr	w10, [x10, x11]
	mul	w8, w8, w10
	ldr	x9, [x9, #16]
	str	w8, [x9, x11]
	scvtf	d0, w8
	fadd	d9, d9, d0
	add	x20, x20, #1
	cmp	x19, x20
	b.ne	LBB0_34
; %bb.35:
	mov	x20, #0
	scvtf	d0, w19
	fdiv	d8, d9, d0
	ldr	x8, [x22, #16]
	ldr	x8, [x8, #16]
	movi	d17, #0000000000000000
	fmov	d9, #0.50000000
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	str	q17, [sp, #16]                  ; 16-byte Folded Spill
	lsl	x21, x20, #2
	ldr	s0, [x8, x21]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fsub	d0, d0, d8
	fcvtzs	w9, d0
	str	w9, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_GINDX
	fmul	d10, d0, d9
	mov	x0, x19
	mov	x1, x20
	bl	_GINDX
	ldr	q17, [sp, #16]                  ; 16-byte Folded Reload
	ldr	x8, [x22, #16]
	ldr	x8, [x8, #16]
	ldr	s1, [x8, x21]
	fmul	d0, d10, d0
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmadd	d17, d0, d1, d17
	add	x20, x20, #1
	cmp	x19, x20
	b.ne	LBB0_36
; %bb.37:
	cmp	w19, #16
	b.hs	LBB0_39
; %bb.38:
	mov	x9, #0
	b	LBB0_42
LBB0_39:
	and	x9, x19, #0xfffffff0
	dup.2d	v0, v17[0]
	add	x10, x8, #32
	mov	x11, x9
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	sshll2.2d	v3, v1, #0
	scvtf.2d	v3, v3
	sshll.2d	v1, v1, #0
	ldp	q4, q5, [x10]
	scvtf.2d	v1, v1
	sshll2.2d	v6, v2, #0
	scvtf.2d	v6, v6
	sshll.2d	v2, v2, #0
	scvtf.2d	v2, v2
	sshll2.2d	v7, v4, #0
	scvtf.2d	v7, v7
	sshll.2d	v4, v4, #0
	scvtf.2d	v4, v4
	sshll2.2d	v16, v5, #0
	scvtf.2d	v16, v16
	sshll.2d	v5, v5, #0
	scvtf.2d	v5, v5
	fdiv.2d	v1, v1, v0
	fdiv.2d	v3, v3, v0
	fdiv.2d	v2, v2, v0
	fdiv.2d	v6, v6, v0
	fdiv.2d	v4, v4, v0
	fdiv.2d	v7, v7, v0
	fdiv.2d	v5, v5, v0
	fdiv.2d	v16, v16, v0
	fcvtzs.2d	v3, v3
	fcvtzs.2d	v1, v1
	uzp1.4s	v1, v1, v3
	fcvtzs.2d	v3, v6
	fcvtzs.2d	v2, v2
	uzp1.4s	v2, v2, v3
	fcvtzs.2d	v3, v7
	fcvtzs.2d	v4, v4
	uzp1.4s	v3, v4, v3
	fcvtzs.2d	v4, v16
	fcvtzs.2d	v5, v5
	stp	q1, q2, [x10, #-32]
	uzp1.4s	v1, v5, v4
	stp	q3, q1, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_40
; %bb.41:
	cmp	x9, x19
	b.eq	LBB0_44
LBB0_42:
	add	x8, x8, x9, lsl #2
	sub	x9, x19, x9
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d0, d0, d17
	fcvtzs	w10, d0
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_43
LBB0_44:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory while allocating gauss buffers.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_TRACE,4,2               ; @AV_LOG_TRACE
l_.str.1:                               ; @.str.1
	.asciz	"Setting 0-d gauss with filtersize = %d.\n"

	.comm	_M_PI,4,2                       ; @M_PI
l_.str.2:                               ; @.str.2
	.asciz	"Setting 1-d gauss with filtersize = %d.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Setting 2-d gauss with filtersize = %d.\n"

	.no_dead_strip	_set_gauss
.subsections_via_symbols
