	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function convolution_opencl_make_filter_params
LCPI0_0:
	.quad	0x406fe00000000000              ## double 255
	.quad	0x406fe00000000000              ## double 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convolution_opencl_make_filter_params: ## @convolution_opencl_make_filter_params
	.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	$824, %rsp                      ## imm = 0x338
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	48(%rdi), %r15
	movq	$0, -840(%rbp)
	movq	$0, -848(%rbp)
	movq	(%r15), %rax
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [2.55E+2,2.55E+2]
	movupd	(%rax), %xmm1
	movupd	16(%rax), %xmm2
	divpd	%xmm0, %xmm1
	movupd	%xmm1, (%rax)
	divpd	%xmm0, %xmm2
	movupd	%xmm2, 16(%rax)
	movq	16(%r15), %rdx
	movl	(%rdx), %ecx
	cmpl	$48, %ecx
	jg	LBB0_6
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rbx
	leaq	-848(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_av_strtok
	movq	16(%r15), %rdx
	movl	(%rdx), %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rcx
	leaq	-832(,%rcx,4), %rdx
	addq	%rbp, %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdx
	movl	(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	movl	$0, %edi
	cmpl	$48, %eax
	jl	LBB0_2
LBB0_6:
	cmpl	$9, %ecx
	je	LBB0_7
## %bb.8:
	cmpl	$49, %ecx
	je	LBB0_11
## %bb.9:
	cmpl	$25, %ecx
	jne	LBB0_69
## %bb.10:
	movl	$5, %eax
	jmp	LBB0_12
LBB0_7:
	movl	$3, %eax
	jmp	LBB0_12
LBB0_11:
	movl	$7, %eax
LBB0_12:
	movq	24(%r15), %rcx
	movl	%eax, (%rcx)
	movl	4(%rdx), %ecx
	cmpl	$48, %ecx
	jg	LBB0_17
## %bb.13:
	movq	8(%r15), %rax
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rbx
	leaq	-848(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_av_strtok
	movq	16(%r15), %rdx
	movl	4(%rdx), %ecx
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%ecx, %rcx
	leaq	-636(,%rcx,4), %rdx
	addq	%rbp, %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%r15), %rdx
	movl	4(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 4(%rdx)
	movl	$0, %edi
	cmpl	$48, %eax
	jl	LBB0_14
LBB0_17:
	cmpl	$9, %ecx
	je	LBB0_18
## %bb.19:
	cmpl	$25, %ecx
	je	LBB0_22
## %bb.20:
	cmpl	$49, %ecx
	jne	LBB0_69
## %bb.21:
	movl	$7, %eax
	jmp	LBB0_23
LBB0_18:
	movl	$3, %eax
	jmp	LBB0_23
LBB0_22:
	movl	$5, %eax
LBB0_23:
	movq	24(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rdx), %ecx
	cmpl	$48, %ecx
	jg	LBB0_28
## %bb.24:
	movq	8(%r15), %rax
	movq	16(%rax), %rdi
	leaq	L_.str(%rip), %rbx
	leaq	-848(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_av_strtok
	movq	16(%r15), %rdx
	movl	8(%rdx), %ecx
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%ecx, %rcx
	leaq	-440(,%rcx,4), %rdx
	addq	%rbp, %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	16(%r15), %rdx
	movl	8(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rdx)
	movl	$0, %edi
	cmpl	$48, %eax
	jl	LBB0_25
LBB0_28:
	cmpl	$9, %ecx
	je	LBB0_29
## %bb.30:
	cmpl	$25, %ecx
	je	LBB0_33
## %bb.31:
	cmpl	$49, %ecx
	jne	LBB0_69
## %bb.32:
	movl	$7, %eax
	jmp	LBB0_34
LBB0_29:
	movl	$3, %eax
	jmp	LBB0_34
LBB0_33:
	movl	$5, %eax
LBB0_34:
	movq	24(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	12(%rdx), %ecx
	cmpl	$48, %ecx
	jg	LBB0_39
## %bb.35:
	movq	8(%r15), %rax
	movq	24(%rax), %rdi
	leaq	L_.str(%rip), %rbx
	leaq	-848(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_av_strtok
	movq	16(%r15), %rdx
	movl	12(%rdx), %ecx
	testq	%rax, %rax
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movslq	%ecx, %rcx
	leaq	-244(,%rcx,4), %rdx
	addq	%rbp, %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	16(%r15), %rdx
	movl	12(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 12(%rdx)
	movl	$0, %edi
	cmpl	$48, %eax
	jl	LBB0_36
LBB0_39:
	cmpl	$9, %ecx
	je	LBB0_40
## %bb.41:
	cmpl	$25, %ecx
	je	LBB0_44
## %bb.42:
	cmpl	$49, %ecx
	jne	LBB0_69
## %bb.43:
	movq	%r14, -856(%rbp)                ## 8-byte Spill
	movl	$7, %eax
	jmp	LBB0_45
LBB0_69:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_70
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_70:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_71:
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_72:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_74
## %bb.73:
	addq	$824, %rsp                      ## imm = 0x338
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movq	%r14, -856(%rbp)                ## 8-byte Spill
	movl	$3, %eax
	jmp	LBB0_45
LBB0_44:
	movq	%r14, -856(%rbp)                ## 8-byte Spill
	movl	$5, %eax
LBB0_45:
	movq	24(%r15), %rcx
	movl	%eax, 12(%rcx)
	movslq	(%rdx), %r13
	shlq	$2, %r13
	movq	%r13, %rdi
	callq	_av_malloc
	movq	%rax, -840(%rbp)
	testq	%rax, %rax
	je	LBB0_68
## %bb.46:
	leaq	-720(%rbp), %r12
	leaq	-832(%rbp), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_47:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_54 Depth 2
                                        ##     Child Loop BB0_57 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
                                        ##     Child Loop BB0_62 Depth 2
	movq	16(%r15), %rcx
	movl	(%rcx,%rbx,4), %r8d
	testl	%r8d, %r8d
	jle	LBB0_63
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	cmpl	$8, %r8d
	jb	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=1
	imulq	$196, %rbx, %rcx
	leaq	-832(%rbp), %rdx
	addq	%rdx, %rcx
	movq	%rax, %rsi
	subq	%rcx, %rsi
	movl	$0, %edx
	cmpq	$32, %rsi
	jb	LBB0_59
## %bb.51:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	%rbx, %r9
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rcx
	jae	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_47 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_55
LBB0_49:                                ##   in Loop: Header=BB0_47 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_59
LBB0_53:                                ##   in Loop: Header=BB0_47 Depth=1
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_54:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-112(%r12,%rbx,4), %xmm0
	movups	-96(%r12,%rbx,4), %xmm1
	movups	%xmm0, (%rax,%rbx,4)
	movups	%xmm1, 16(%rax,%rbx,4)
	movups	-80(%r12,%rbx,4), %xmm0
	movups	-64(%r12,%rbx,4), %xmm1
	movups	%xmm0, 32(%rax,%rbx,4)
	movups	%xmm1, 48(%rax,%rbx,4)
	movups	-48(%r12,%rbx,4), %xmm0
	movups	-32(%r12,%rbx,4), %xmm1
	movups	%xmm0, 64(%rax,%rbx,4)
	movups	%xmm1, 80(%rax,%rbx,4)
	movupd	-16(%r12,%rbx,4), %xmm0
	movupd	(%r12,%rbx,4), %xmm1
	movupd	%xmm0, 96(%rax,%rbx,4)
	movupd	%xmm1, 112(%rax,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_54
LBB0_55:                                ##   in Loop: Header=BB0_47 Depth=1
	testq	%rsi, %rsi
	je	LBB0_58
## %bb.56:                              ##   in Loop: Header=BB0_47 Depth=1
	leaq	(%rax,%rbx,4), %rdi
	addq	$16, %rdi
	leaq	(%r14,%rbx,4), %rbx
	shlq	$5, %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movupd	(%rbx,%rcx), %xmm0
	movupd	16(%rbx,%rcx), %xmm1
	movupd	%xmm0, -16(%rdi,%rcx)
	movupd	%xmm1, (%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_57
LBB0_58:                                ##   in Loop: Header=BB0_47 Depth=1
	cmpq	%r8, %rdx
	movq	%r9, %rbx
	je	LBB0_63
LBB0_59:                                ##   in Loop: Header=BB0_47 Depth=1
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r8, %rsi
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_61
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%r14,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_60
LBB0_61:                                ##   in Loop: Header=BB0_47 Depth=1
	cmpq	$3, %rsi
	jb	LBB0_63
	.p2align	4, 0x90
LBB0_62:                                ##   Parent Loop BB0_47 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%r14,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax,%rdx,4)
	movss	4(%r14,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rax,%rdx,4)
	movss	8(%r14,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%rax,%rdx,4)
	movss	12(%r14,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_62
LBB0_63:                                ##   in Loop: Header=BB0_47 Depth=1
	movq	40(%r15), %rcx
	movl	(%rcx), %edi
	movq	_CL_MEM_COPY_HOST_PTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CL_MEM_READ_ONLY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_CL_MEM_HOST_NO_ACCESS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	%r13, %rdx
	movq	%rax, %rcx
	leaq	-860(%rbp), %r8
	callq	_clCreateBuffer
	testq	%rax, %rax
	je	LBB0_64
## %bb.65:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	32(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	leaq	-840(%rbp), %rdi
	callq	_av_freep
	incq	%rbx
	cmpq	$4, %rbx
	je	LBB0_66
## %bb.67:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	16(%r15), %rax
	movslq	(%rax,%rbx,4), %r13
	shlq	$2, %r13
	movq	%r13, %rdi
	callq	_av_malloc
	movq	%rax, -840(%rbp)
	addq	$196, %r12
	addq	$196, %r14
	testq	%rax, %rax
	jne	LBB0_47
LBB0_68:
	leaq	-840(%rbp), %rdi
	callq	_av_freep
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_71
LBB0_64:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-860(%rbp), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	-856(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	leaq	-840(%rbp), %rdi
	callq	_av_freep
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_71
LBB0_66:
	xorl	%eax, %eax
	jmp	LBB0_72
LBB0_74:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"%f"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Matrix is sequence of 9, 25 or 49 signed numbers\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"Invalid matrix size:%d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CL_MEM_READ_ONLY,4,2           ## @CL_MEM_READ_ONLY
	.comm	_CL_MEM_COPY_HOST_PTR,4,2       ## @CL_MEM_COPY_HOST_PTR
	.comm	_CL_MEM_HOST_NO_ACCESS,4,2      ## @CL_MEM_HOST_NO_ACCESS
L_.str.4:                               ## @.str.4
	.asciz	"Failed to create matrix buffer: %d.\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_convolution_opencl_make_filter_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convolution_opencl_make_filter_params
_convolution_opencl_make_filter_params: ; @convolution_opencl_make_filter_params
	.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, #832
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x19, [x0, #48]
	str	xzr, [sp, #24]
	str	xzr, [sp, #8]
	ldr	x8, [x19]
	mov	x9, #246290604621824
	movk	x9, #16495, lsl #48
	dup.2d	v0, x9
	ldp	q1, q2, [x8]
	fdiv.2d	v1, v1, v0
	fdiv.2d	v0, v2, v0
	stp	q1, q0, [x8]
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cmp	w9, #48
	b.gt	LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	add	x23, sp, #32
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x1, x21
	bl	_av_strtok
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cbz	x0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x8, w9
	add	x2, x23, x8, lsl #2
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_41
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	ldr	x8, [x19, #16]
	ldr	w10, [x8]
	add	w9, w10, #1
	str	w9, [x8]
	cmp	w10, #48
	b.lt	LBB0_2
LBB0_5:
	cmp	w9, #9
	b.eq	LBB0_11
LBB0_6:
	cmp	w9, #49
	b.eq	LBB0_9
; %bb.7:
	cmp	w9, #25
	b.ne	LBB0_47
; %bb.8:
	mov	w9, #5
	b	LBB0_12
LBB0_9:
	mov	w9, #7
	b	LBB0_12
LBB0_10:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	cmp	w9, #9
	b.ne	LBB0_6
LBB0_11:
	mov	w9, #3
LBB0_12:
	ldr	x10, [x19, #24]
	str	w9, [x10]
	ldr	w9, [x8, #4]
	cmp	w9, #48
	b.gt	LBB0_17
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
Lloh7:
	adrp	x21, l_.str@PAGE
Lloh8:
	add	x21, x21, l_.str@PAGEOFF
	add	x23, sp, #32
Lloh9:
	adrp	x22, l_.str.1@PAGE
Lloh10:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x1, x21
	bl	_av_strtok
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #4]
	cbz	x0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	sxtw	x8, w9
	add	x8, x23, x8, lsl #2
	add	x2, x8, #196
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_41
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, #0
	ldr	x8, [x19, #16]
	ldr	w10, [x8, #4]
	add	w9, w10, #1
	str	w9, [x8, #4]
	cmp	w10, #48
	b.lt	LBB0_14
LBB0_17:
	cmp	w9, #9
	b.eq	LBB0_23
LBB0_18:
	cmp	w9, #25
	b.eq	LBB0_21
; %bb.19:
	cmp	w9, #49
	b.ne	LBB0_47
; %bb.20:
	mov	w9, #7
	b	LBB0_24
LBB0_21:
	mov	w9, #5
	b	LBB0_24
LBB0_22:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	cmp	w9, #9
	b.ne	LBB0_18
LBB0_23:
	mov	w9, #3
LBB0_24:
	ldr	x10, [x19, #24]
	str	w9, [x10, #4]
	ldr	w9, [x8, #8]
	cmp	w9, #48
	b.gt	LBB0_29
; %bb.25:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #16]
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
	add	x23, sp, #32
Lloh13:
	adrp	x22, l_.str.1@PAGE
Lloh14:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x1, x21
	bl	_av_strtok
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #8]
	cbz	x0, LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	sxtw	x8, w9
	add	x8, x23, x8, lsl #2
	add	x2, x8, #392
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_41
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, #0
	ldr	x8, [x19, #16]
	ldr	w10, [x8, #8]
	add	w9, w10, #1
	str	w9, [x8, #8]
	cmp	w10, #48
	b.lt	LBB0_26
LBB0_29:
	cmp	w9, #9
	b.eq	LBB0_35
LBB0_30:
	cmp	w9, #25
	b.eq	LBB0_33
; %bb.31:
	cmp	w9, #49
	b.ne	LBB0_47
; %bb.32:
	mov	w9, #7
	b	LBB0_36
LBB0_33:
	mov	w9, #5
	b	LBB0_36
LBB0_34:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	cmp	w9, #9
	b.ne	LBB0_30
LBB0_35:
	mov	w9, #3
LBB0_36:
	ldr	x10, [x19, #24]
	str	w9, [x10, #8]
	ldr	w9, [x8, #12]
	cmp	w9, #48
	b.gt	LBB0_43
; %bb.37:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #24]
Lloh15:
	adrp	x21, l_.str@PAGE
Lloh16:
	add	x21, x21, l_.str@PAGEOFF
	add	x23, sp, #32
Lloh17:
	adrp	x22, l_.str.1@PAGE
Lloh18:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x1, x21
	bl	_av_strtok
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #12]
	cbz	x0, LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	sxtw	x8, w9
	add	x8, x23, x8, lsl #2
	add	x2, x8, #588
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=1
	mov	x0, #0
	ldr	x8, [x19, #16]
	ldr	w10, [x8, #12]
	add	w9, w10, #1
	str	w9, [x8, #12]
	cmp	w10, #48
	b.lt	LBB0_38
	b	LBB0_43
LBB0_41:
Lloh19:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_48
LBB0_42:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_43:
	cmp	w9, #9
	b.eq	LBB0_52
; %bb.44:
	cmp	w9, #25
	b.eq	LBB0_53
; %bb.45:
	cmp	w9, #49
	b.ne	LBB0_47
; %bb.46:
	mov	w9, #7
	b	LBB0_54
LBB0_47:
Lloh24:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	str	x9, [sp]
Lloh27:
	adrp	x2, l_.str.3@PAGE
Lloh28:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_48:
	mov	x0, x19
	bl	_av_log
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_49:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_50:
	ldur	x8, [x29, #-96]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.51:
	add	sp, sp, #832
	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_52:
	mov	w9, #3
	b	LBB0_54
LBB0_53:
	mov	w9, #5
LBB0_54:
	ldr	x10, [x19, #24]
	str	w9, [x10, #12]
	ldrsw	x8, [x8]
	lsl	x21, x8, #2
	mov	x0, x21
	bl	_av_malloc
	str	x0, [sp, #24]
	cbz	x0, LBB0_67
; %bb.55:
	mov	x3, x0
	mov	x22, #0
	add	x23, sp, #32
	add	x24, x23, #32
Lloh34:
	adrp	x25, _CL_MEM_READ_ONLY@GOTPAGE
Lloh35:
	ldr	x25, [x25, _CL_MEM_READ_ONLY@GOTPAGEOFF]
Lloh36:
	adrp	x27, _CL_MEM_COPY_HOST_PTR@GOTPAGE
Lloh37:
	ldr	x27, [x27, _CL_MEM_COPY_HOST_PTR@GOTPAGEOFF]
Lloh38:
	adrp	x28, _CL_MEM_HOST_NO_ACCESS@GOTPAGE
Lloh39:
	ldr	x28, [x28, _CL_MEM_HOST_NO_ACCESS@GOTPAGEOFF]
	add	x26, sp, #32
LBB0_56:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_60 Depth 2
                                        ;     Child Loop BB0_63 Depth 2
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_64
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=1
	mov	x9, #0
	cmp	w8, #16
	b.lo	LBB0_62
; %bb.58:                               ;   in Loop: Header=BB0_56 Depth=1
	mov	w10, #196
	madd	x10, x22, x10, x23
	sub	x10, x3, x10
	cmp	x10, #64
	b.lo	LBB0_62
; %bb.59:                               ;   in Loop: Header=BB0_56 Depth=1
	and	x9, x8, #0xfffffff0
	add	x10, x3, #32
	mov	x11, x24
	mov	x12, x9
LBB0_60:                                ;   Parent Loop BB0_56 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_60
; %bb.61:                               ;   in Loop: Header=BB0_56 Depth=1
	cmp	x9, x8
	b.eq	LBB0_64
LBB0_62:                                ;   in Loop: Header=BB0_56 Depth=1
	lsl	x11, x9, #2
	add	x10, x3, x11
	add	x11, x26, x11
	sub	x8, x8, x9
LBB0_63:                                ;   Parent Loop BB0_56 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x11], #4
	str	s0, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_63
LBB0_64:                                ;   in Loop: Header=BB0_56 Depth=1
	ldr	x8, [x19, #40]
	ldr	w0, [x8]
	ldr	w8, [x25]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w1, w8, w9
	add	x4, sp, #20
	mov	x2, x21
	bl	_clCreateBuffer
	cbz	x0, LBB0_68
; %bb.65:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	x8, [x19, #32]
	str	x0, [x8, x22, lsl #3]
	add	x0, sp, #24
	bl	_av_freep
	add	x22, x22, #1
	cmp	x22, #4
	b.eq	LBB0_69
; %bb.66:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, x22, lsl #2]
	lsl	x21, x8, #2
	mov	x0, x21
	bl	_av_malloc
	mov	x3, x0
	str	x0, [sp, #24]
	add	x24, x24, #196
	add	x26, x26, #196
	cbnz	x0, LBB0_56
LBB0_67:
	add	x0, sp, #24
	bl	_av_freep
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_49
LBB0_68:
Lloh42:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh45:
	adrp	x2, l_.str.4@PAGE
Lloh46:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_av_log
	add	x0, sp, #24
	bl	_av_freep
Lloh47:
	adrp	x8, _EIO@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_49
LBB0_69:
	mov	w0, #0
	b	LBB0_50
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"%f"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Matrix is sequence of 9, 25 or 49 signed numbers\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"Invalid matrix size:%d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CL_MEM_READ_ONLY,4,2           ; @CL_MEM_READ_ONLY
	.comm	_CL_MEM_COPY_HOST_PTR,4,2       ; @CL_MEM_COPY_HOST_PTR
	.comm	_CL_MEM_HOST_NO_ACCESS,4,2      ; @CL_MEM_HOST_NO_ACCESS
l_.str.4:                               ; @.str.4
	.asciz	"Failed to create matrix buffer: %d.\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_convolution_opencl_make_filter_params
.subsections_via_symbols
