	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opencl_filter_config_output ## -- Begin function ff_opencl_filter_config_output
	.p2align	4, 0x90
_ff_opencl_filter_config_output:        ## @ff_opencl_filter_config_output
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	8(%r14), %r13
	addq	$8, %rdi
	callq	_av_buffer_unref
	movl	12(%r13), %edi
	testl	%edi, %edi
	je	LBB0_1
LBB0_5:
	callq	_av_hwframe_ctx_alloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_AV_PIX_FMT_OPENCL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	8(%r13), %ecx
	movl	%ecx, 8(%rax)
	movl	4(%r13), %ecx
	movl	%ecx, 4(%rax)
	movl	(%r13), %ecx
	movl	%ecx, (%rax)
	movq	%rbx, %rdi
	callq	_av_hwframe_ctx_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.12:
	movq	%rbx, 8(%r15)
	movl	4(%r13), %eax
	movl	%eax, 4(%r15)
	movl	(%r13), %eax
	movl	%eax, (%r15)
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_1:
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.2:
	movq	%r14, %rdi
	callq	_opencl_filter_set_device
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	12(%r13), %edi
	jmp	LBB0_5
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r12d
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %r12d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_9:
	leaq	-48(%rbp), %rdi
	callq	_av_buffer_unref
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_3:
	movl	%eax, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenCL filtering requires an OpenCL device.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_OPENCL,4,2          ## @AV_PIX_FMT_OPENCL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialise output frames: %d.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opencl_filter_config_output ; -- Begin function ff_opencl_filter_config_output
	.p2align	2
_ff_opencl_filter_config_output:        ; @ff_opencl_filter_config_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x23, [x19, #8]
	add	x0, x0, #8
	bl	_av_buffer_unref
	ldr	w0, [x23, #12]
	cbz	w0, LBB0_4
LBB0_1:
	bl	_av_hwframe_ctx_alloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AV_PIX_FMT_OPENCL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_OPENCL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x23, #8]
	stp	w10, w9, [x8, #8]
	ldr	d0, [x23]
	str	d0, [x8]
	bl	_av_hwframe_ctx_init
	tbnz	w0, #31, LBB0_8
; %bb.3:
	mov	w21, #0
	str	x22, [x20, #8]
	ldr	d0, [x23]
	str	d0, [x20]
	b	LBB0_10
LBB0_4:
	ldr	w1, [x19]
	cbz	w1, LBB0_11
; %bb.5:
	mov	x0, x19
	bl	_opencl_filter_set_device
	tbnz	w0, #31, LBB0_12
; %bb.6:
	ldr	w0, [x23, #12]
	b	LBB0_1
LBB0_7:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x21, x0
	b	LBB0_9
LBB0_8:
	mov	x21, x0
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_9:
	add	x0, sp, #8
	bl	_av_buffer_unref
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
LBB0_12:
	mov	x21, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenCL filtering requires an OpenCL device.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_OPENCL,4,2          ; @AV_PIX_FMT_OPENCL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialise output frames: %d.\n"

.subsections_via_symbols
