	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function launch_kernel
LCPI0_0:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_launch_kernel:                         ## @launch_kernel
	.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	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movss	%xmm0, -68(%rbp)
	movq	(%rdi), %r13
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movq	_cl_mem@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	(%r12), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_CL_SET_KERNEL_ARG
	movl	(%r15), %edx
	movq	(%r14), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_CL_SET_KERNEL_ARG
	movl	(%r15), %edx
	movq	(%r12), %rcx
	addq	$4, %rcx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_CL_SET_KERNEL_ARG
	movl	(%r15), %edx
	movq	(%r14), %rcx
	addq	$4, %rcx
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_CL_SET_KERNEL_ARG
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%r13, %rcx
	callq	_CL_SET_KERNEL_ARG
	movq	_cl_float@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rcx
	movl	%ebx, %edi
	movl	$5, %esi
	callq	_CL_SET_KERNEL_ARG
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [16,16]
	movaps	%xmm0, -96(%rbp)
	leaq	-64(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	$1, %ecx
	movl	$16, %r8d
	callq	_ff_opencl_filter_work_size_from_image
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	4(%r13), %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	movl	$0, (%rsp)
	leaq	-64(%rbp), %r8
	leaq	-96(%rbp), %r9
	movl	%ebx, %esi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_clEnqueueNDRangeKernel
	movl	%eax, %ebx
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	%ebx, %edx
	callq	_CL_FAIL_ON_ERROR
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_cl_mem,4,2                     ## @cl_mem
	.comm	_cl_float,4,2                   ## @cl_float
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enqueue kernel: %d.\n"

	.no_dead_strip	_launch_kernel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function launch_kernel
_launch_kernel:                         ; @launch_kernel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	s0, [sp, #36]
	ldr	x20, [x0]
Lloh3:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
Lloh6:
	adrp	x24, _cl_mem@GOTPAGE
Lloh7:
	ldr	x24, [x24, _cl_mem@GOTPAGEOFF]
	ldr	w2, [x24]
	ldr	x3, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_CL_SET_KERNEL_ARG
	ldr	w2, [x24]
	ldr	x3, [x23]
	mov	x0, x19
	mov	w1, #1
	bl	_CL_SET_KERNEL_ARG
	ldr	w2, [x24]
	ldr	x8, [x21]
	add	x3, x8, #4
	mov	x0, x19
	mov	w1, #2
	bl	_CL_SET_KERNEL_ARG
	ldr	w2, [x24]
	ldr	x8, [x23]
	add	x3, x8, #4
	mov	x0, x19
	mov	w1, #3
	bl	_CL_SET_KERNEL_ARG
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #4
	mov	x3, x20
	bl	_CL_SET_KERNEL_ARG
Lloh8:
	adrp	x8, _cl_float@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cl_float@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x3, sp, #36
	mov	x0, x19
	mov	w1, #5
	bl	_CL_SET_KERNEL_ARG
	mov	w8, #16
	dup.2d	v0, x8
	str	q0, [sp, #16]
	add	x1, sp, #40
	mov	x0, x22
	mov	x2, x21
	mov	w3, #1
	mov	w4, #16
	bl	_ff_opencl_filter_work_size_from_image
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]
	str	xzr, [sp]
	add	x4, sp, #40
	add	x5, sp, #16
	mov	x1, x19
	mov	w2, #2
	mov	x3, #0
	mov	w6, #0
	mov	x7, #0
	bl	_clEnqueueNDRangeKernel
	mov	x19, x0
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_AVERROR
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_CL_FAIL_ON_ERROR
	mov	w0, #0
LBB0_2:
	ldr	x8, [sp, #56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_cl_mem,4,2                     ; @cl_mem
	.comm	_cl_float,4,2                   ; @cl_float
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enqueue kernel: %d.\n"

	.no_dead_strip	_launch_kernel
.subsections_via_symbols
