	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opencl_filter_config_input  ## -- Begin function ff_opencl_filter_config_input
	.p2align	4, 0x90
_ff_opencl_filter_config_input:         ## @ff_opencl_filter_config_input
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	24(%rdi), %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rdi), %rcx
	xorl	%r14d, %r14d
	cmpq	%rbx, (%rcx)
	je	LBB0_4
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	jmp	LBB0_2
LBB0_4:
	movq	(%rax), %r12
	movq	(%r12), %rax
	movq	_AV_PIX_FMT_OPENCL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.5:
	movq	8(%rdi), %r15
	movl	16(%r12), %esi
	callq	_opencl_filter_set_device
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	(%r15), %rax
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.9:
	cmpq	$0, 16(%r15)
	je	LBB0_10
LBB0_11:
	cmpq	$0, 8(%r15)
	jne	LBB0_13
	jmp	LBB0_12
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_6:
	movl	%eax, %r14d
	jmp	LBB0_13
LBB0_8:
	movq	8(%r12), %rax
	movq	%rax, (%r15)
	cmpq	$0, 16(%r15)
	jne	LBB0_11
LBB0_10:
	movq	8(%rbx), %rax
	movq	%rax, 16(%r15)
	cmpq	$0, 8(%r15)
	jne	LBB0_13
LBB0_12:
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	jmp	LBB0_13
	.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 a hardware frames context on the input.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_PIX_FMT_OPENCL,8,3          ## @AV_PIX_FMT_OPENCL
	.comm	_AV_PIX_FMT_NONE,8,3            ## @AV_PIX_FMT_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_opencl_filter_config_input  ; -- Begin function ff_opencl_filter_config_input
	.p2align	2
_ff_opencl_filter_config_input:         ; @ff_opencl_filter_config_input
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #24]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	ldr	x9, [x9]
	cmp	x9, x19
	b.eq	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_10
LBB0_5:
	ldr	x21, [x8]
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _AV_PIX_FMT_OPENCL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_PIX_FMT_OPENCL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
	ldr	x20, [x0, #8]
	ldr	w1, [x21, #16]
	bl	_opencl_filter_set_device
	tbnz	w0, #31, LBB0_3
; %bb.7:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _AV_PIX_FMT_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x21, #8]
	str	x8, [x20]
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_12
LBB0_9:
	ldr	x8, [x19, #8]
	str	x8, [x20, #16]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_2
	b	LBB0_13
LBB0_10:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_11:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
LBB0_12:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_2
LBB0_13:
	mov	w0, #0
	ldr	x8, [x19]
	str	x8, [x20, #8]
	b	LBB0_3
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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 a hardware frames context on the input.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_PIX_FMT_OPENCL,8,3          ; @AV_PIX_FMT_OPENCL
	.comm	_AV_PIX_FMT_NONE,8,3            ; @AV_PIX_FMT_NONE
.subsections_via_symbols
