	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function neighbor_opencl_make_filter_params
LCPI0_0:
	.quad	0x406fe00000000000              ## double 255
	.quad	0x406fe00000000000              ## double 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_neighbor_opencl_make_filter_params:    ## @neighbor_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	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdi), %rbx
	movq	(%rbx), %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)
	movl	$0, -48(%rbp)
	movl	8(%rbx), %eax
	testb	$1, %al
	jne	LBB0_1
## %bb.2:
	testb	$2, %al
	jne	LBB0_3
LBB0_4:
	testb	$4, %al
	jne	LBB0_5
LBB0_6:
	testb	$8, %al
	jne	LBB0_7
LBB0_8:
	testb	$16, %al
	jne	LBB0_9
LBB0_10:
	testb	$32, %al
	jne	LBB0_11
LBB0_12:
	testb	$64, %al
	jne	LBB0_13
LBB0_14:
	testb	$-128, %al
	je	LBB0_16
LBB0_15:
	movl	$1, -32(%rbp)
LBB0_16:
	movq	24(%rbx), %rax
	movq	_CL_MEM_READ_ONLY@GOTPCREL(%rip), %rcx
	movq	_CL_MEM_COPY_HOST_PTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_CL_MEM_HOST_NO_ACCESS@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	leaq	-68(%rbp), %r8
	movl	$36, %edx
	callq	_clCreateBuffer
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_1:
	movl	$1, -64(%rbp)
	testb	$2, %al
	je	LBB0_4
LBB0_3:
	movl	$1, -60(%rbp)
	testb	$4, %al
	je	LBB0_6
LBB0_5:
	movl	$1, -56(%rbp)
	movl	8(%rbx), %eax
	testb	$8, %al
	je	LBB0_8
LBB0_7:
	movl	$1, -52(%rbp)
	movl	8(%rbx), %eax
	testb	$16, %al
	je	LBB0_10
LBB0_9:
	movl	$1, -44(%rbp)
	movl	8(%rbx), %eax
	testb	$32, %al
	je	LBB0_12
LBB0_11:
	movl	$1, -40(%rbp)
	movl	8(%rbx), %eax
	testb	$64, %al
	je	LBB0_14
LBB0_13:
	movl	$1, -36(%rbp)
	movl	8(%rbx), %eax
	testb	$-128, %al
	jne	LBB0_15
	jmp	LBB0_16
LBB0_17:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-68(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create matrix buffer: %d.\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_neighbor_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 neighbor_opencl_make_filter_params
_neighbor_opencl_make_filter_params:    ; @neighbor_opencl_make_filter_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x20, [x0]
	ldr	x8, [x20]
	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]
	str	wzr, [sp, #20]
	ldr	w8, [x20, #8]
	tbnz	w8, #0, LBB0_11
; %bb.1:
	tbnz	w8, #1, LBB0_12
LBB0_2:
	tbnz	w8, #2, LBB0_13
LBB0_3:
	tbnz	w8, #3, LBB0_14
LBB0_4:
	tbnz	w8, #4, LBB0_15
LBB0_5:
	tbnz	w8, #5, LBB0_16
LBB0_6:
	tbnz	w8, #6, LBB0_17
LBB0_7:
	tbz	w8, #7, LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [sp, #36]
LBB0_9:
	ldr	x8, [x20, #24]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CL_MEM_READ_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CL_MEM_READ_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CL_MEM_COPY_HOST_PTR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CL_MEM_COPY_HOST_PTR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _CL_MEM_HOST_NO_ACCESS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CL_MEM_HOST_NO_ACCESS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w8, w9
	add	x3, sp, #4
	mov	x4, sp
	mov	w2, #36
	bl	_clCreateBuffer
	cbz	x0, LBB0_18
; %bb.10:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x20, #16]
	b	LBB0_19
LBB0_11:
	mov	w9, #1
	str	w9, [sp, #4]
	tbz	w8, #1, LBB0_2
LBB0_12:
	mov	w9, #1
	str	w9, [sp, #8]
	tbz	w8, #2, LBB0_3
LBB0_13:
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	w8, [x20, #8]
	tbz	w8, #3, LBB0_4
LBB0_14:
	mov	w8, #1
	str	w8, [sp, #16]
	ldr	w8, [x20, #8]
	tbz	w8, #4, LBB0_5
LBB0_15:
	mov	w8, #1
	str	w8, [sp, #24]
	ldr	w8, [x20, #8]
	tbz	w8, #5, LBB0_6
LBB0_16:
	mov	w8, #1
	str	w8, [sp, #28]
	ldr	w8, [x20, #8]
	tbz	w8, #6, LBB0_7
LBB0_17:
	mov	w8, #1
	str	w8, [sp, #32]
	ldr	w8, [x20, #8]
	tbnz	w8, #7, LBB0_8
	b	LBB0_9
LBB0_18:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w3, [sp]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_19:
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.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
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create matrix buffer: %d.\n"

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