	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_graph_alloc_filter    ## -- Begin function avfilter_graph_alloc_filter
	.p2align	4, 0x90
_avfilter_graph_alloc_filter:           ## @avfilter_graph_alloc_filter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 32(%rdi)
	je	LBB0_5
## %bb.1:
	movq	24(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	%rcx, (%rax)
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_ff_graph_thread_init
	testl	%eax, %eax
	js	LBB0_12
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	movq	8(%r14), %rdi
	movl	(%r14), %eax
	leal	8(,%rax,8), %esi
	callq	_av_realloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, 8(%r14)
	movslq	(%r14), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r14)
	movq	%rbx, (%rax,%rcx,8)
	movq	%r14, (%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	callq	_avfilter_free
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_av_err2str
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_av_log
	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	"Error initializing threading: %s.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_graph_alloc_filter    ; -- Begin function avfilter_graph_alloc_filter
	.p2align	2
_avfilter_graph_alloc_filter:           ; @avfilter_graph_alloc_filter
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	cbnz	x9, LBB0_5
; %bb.2:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_4
; %bb.3:
	str	x9, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_ff_graph_thread_init
	tbnz	w0, #31, LBB0_11
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	bl	_ff_filter_alloc
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.6:
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	lsl	w8, w8, #3
	add	w1, w8, #8
	bl	_av_realloc
	cbz	x0, LBB0_8
; %bb.7:
	str	x0, [x19, #8]
	ldrsw	x8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	str	x20, [x0, x8, lsl #3]
	str	x19, [x20]
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_avfilter_free
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	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_11:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_av_err2str
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_log
	b	LBB0_9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error initializing threading: %s.\n"

.subsections_via_symbols
