	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function open_filter_param
LCPI0_0:
	.quad	0x4014000000000000              ## double 5
LCPI0_1:
	.quad	0x40b0000000000000              ## double 4096
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x4090000000000000              ## double 1024
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_open_filter_param:                     ## @open_filter_param
	.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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	%esi, %edi
	movl	$8, %esi
	callq	_FFALIGN
	movq	%rax, %rbx
	movl	%ebx, %edi
	imull	%r15d, %edi
	callq	_av_malloc
	movl	%eax, 56(%r14)
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movl	%ebx, (%r14)
	movl	52(%r14), %edi
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	callq	_sws_getGaussianVec
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -64(%rbp)
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	leaq	-72(%rbp), %rax
	movq	%rax, 8(%rsp)
	movl	%r12d, (%rsp)
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%edx, %r9d
	callq	_sws_getContext
	movl	%eax, 48(%r14)
	movq	%rbx, %rdi
	callq	_sws_freeVec
	movl	44(%r14), %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_sws_getGaussianVec
	movq	_COLOR_DIFF_COEFF_SIZE@GOTPCREL(%rip), %r8
	movl	(%r8), %ebx
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.2:
	movq	8(%rax), %r10
	movq	16(%r14), %r9
	xorl	%edi, %edi
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rcx
	divsd	(%r10,%rcx,8), %xmm2
	mulsd	%xmm0, %xmm2
	addsd	%xmm1, %xmm2
	cvttsd2si	%xmm2, %ecx
	movl	%ecx, (%r9,%rdi,4)
	incq	%rdi
	movslq	(%r8), %rbx
	cmpq	%rbx, %rdi
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	shrl	$31, %edx
	addl	%ebx, %edx
	sarl	%edx
	movl	(%rax), %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	addl	%ecx, %ebx
	sarl	%ebx
	movl	%ebx, %esi
	subl	%edx, %esi
	addq	%rdi, %rsi
	xorpd	%xmm2, %xmm2
	testl	%esi, %esi
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ecx, %esi
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ecx
	movsd	(%r10,%rcx,8), %xmm2            ## xmm2 = mem[0],zero
	jmp	LBB0_6
LBB0_7:
	movq	%rax, %rdi
	callq	_sws_freeVec
	movl	40(%r14), %edi
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	callq	_sws_getGaussianVec
	movq	%rax, %r15
	movl	(%rax), %edi
	movl	%edi, 24(%r14)
	movl	$8, %esi
	callq	_FFALIGN
	movl	%eax, 28(%r14)
	movl	24(%r14), %edi
	leal	(,%rax,4), %esi
	callq	_av_malloc_array
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_14
## %bb.9:
	xorl	%r8d, %r8d
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%edx, %rcx
	incq	%r8
	cmpq	%rcx, %r8
	jge	LBB0_14
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	testl	%edx, %edx
	jle	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r15), %rsi
	movsd	(%rsi,%r8,8), %xmm2             ## xmm2 = mem[0],zero
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rsi,%rdi,8), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm2, %xmm3
	mulsd	%xmm0, %xmm3
	addsd	%xmm1, %xmm3
	cvttsd2si	%xmm3, %edx
	movslq	28(%r14), %rbx
	movslq	%r8d, %rcx
	imulq	%rbx, %rcx
	addq	%rdi, %rcx
	movl	%edx, (%rax,%rcx,4)
	incq	%rdi
	movslq	(%r15), %rdx
	cmpq	%rdx, %rdi
	jl	LBB0_12
	jmp	LBB0_13
LBB0_14:
	movq	%r15, %rdi
	callq	_sws_freeVec
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_17:
	movq	%r15, %rdi
	callq	_sws_freeVec
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_GRAY8,4,2           ## @AV_PIX_FMT_GRAY8
	.comm	_COLOR_DIFF_COEFF_SIZE,4,2      ## @COLOR_DIFF_COEFF_SIZE
	.no_dead_strip	_open_filter_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_filter_param
_open_filter_param:                     ; @open_filter_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #8
	bl	_FFALIGN
	mov	x23, x0
	mul	w0, w23, w21
	bl	_av_malloc
	str	w0, [x19, #56]
	cbz	w0, LBB0_15
; %bb.1:
	str	w23, [x19]
	ldr	w0, [x19, #52]
	ldr	d0, [x19, #8]
	bl	_sws_getGaussianVec
	mov	x23, x0
	stp	x0, x0, [sp, #32]
	str	xzr, [sp, #16]
	str	wzr, [sp, #24]
Lloh0:
	adrp	x8, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	stp	xzr, xzr, [sp]
	add	x7, sp, #16
	mov	x0, x22
	mov	x1, x21
	mov	x3, x22
	mov	x4, x21
	mov	x5, x2
	mov	x6, x20
	bl	_sws_getContext
	str	w0, [x19, #48]
	mov	x0, x23
	bl	_sws_freeVec
	ldr	w0, [x19, #44]
	fmov	d0, #5.00000000
	bl	_sws_getGaussianVec
Lloh3:
	adrp	x8, _COLOR_DIFF_COEFF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COLOR_DIFF_COEFF_SIZE@GOTPAGEOFF]
	ldr	w13, [x8]
	cmp	w13, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x9, #0
	ldr	x10, [x0, #8]
	ldr	x11, [x19, #16]
	mov	x12, #4661225614328463360
	fmov	d0, #0.50000000
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d2, [x10, w13, sxtw #3]
	fdiv	d1, d1, d2
	fmov	d2, x12
	fmadd	d1, d1, d2, d0
	fcvtzs	w13, d1
	str	w13, [x11, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w13, #0
	cinc	w14, w13, lt
	ldr	w15, [x0]
	cmp	w15, #0
	cinc	w13, w15, lt
	asr	w13, w13, #1
	sub	w14, w13, w14, asr #1
	add	x14, x9, x14
	movi	d1, #0000000000000000
	tbnz	w14, #31, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w14, w15
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d1, [x10, w14, uxtw #3]
	b	LBB0_3
LBB0_7:
	bl	_sws_freeVec
	ldr	w0, [x19, #40]
	ldr	d0, [x19, #8]
	bl	_sws_getGaussianVec
	mov	x20, x0
	ldr	w0, [x0]
	str	w0, [x19, #24]
	mov	w1, #8
	bl	_FFALIGN
	str	w0, [x19, #28]
	ldr	w8, [x19, #24]
	lsl	w1, w0, #2
	mov	x0, x8
	bl	_av_malloc_array
	str	x0, [x19, #32]
	cbz	x0, LBB0_16
; %bb.8:
	ldr	w10, [x20]
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x8, #0
	mov	x9, #4652218415073722368
	fmov	d0, #0.50000000
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_14
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w10, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x11, #0
	mov	x12, x8
	ldr	x13, [x20, #8]
	ldr	d1, [x13, x8, lsl #3]
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d2, [x13, x11, lsl #3]
	fmul	d2, d2, d1
	fmov	d3, x9
	fmadd	d2, d2, d3, d0
	fcvtzs	w10, d2
	ldrsw	x14, [x19, #28]
	sxtw	x15, w12
	madd	x14, x15, x14, x11
	str	w10, [x0, x14, lsl #2]
	add	x11, x11, #1
	ldrsw	x10, [x20]
	cmp	x11, x10
	b.lt	LBB0_13
	b	LBB0_10
LBB0_14:
	mov	x0, x20
	bl	_sws_freeVec
	mov	w0, #0
	b	LBB0_17
LBB0_15:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
LBB0_16:
	mov	x0, x20
	bl	_sws_freeVec
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_GRAY8,4,2           ; @AV_PIX_FMT_GRAY8
	.comm	_COLOR_DIFF_COEFF_SIZE,4,2      ; @COLOR_DIFF_COEFF_SIZE
	.no_dead_strip	_open_filter_param
.subsections_via_symbols
