	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_filters
_init_filters:                          ## @init_filters
	.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	_ifmt_ctx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	$24, %esi
	callq	_av_malloc_array
	movq	_filter_ctx@GOTPCREL(%rip), %rdi
	movq	%rax, (%rdi)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	(%r14), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_8
## %bb.2:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %r13
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, 16(%rax,%rbx)
	movq	(%rdi), %rax
	movq	$0, 8(%rax,%rbx)
	movq	(%rdi), %rax
	movq	$0, (%rax,%rbx)
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	movq	-8(%rcx,%r12,8), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%r8), %rdx
	cmpq	(%r13), %rcx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdx, %rcx
	jne	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdx, %rcx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %rcx
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	addq	%rbx, %rdi
	movq	_stream_ctx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-8(%rax,%r12,8), %edx
	movl	-4(%rax,%r12,8), %esi
	callq	_init_filter
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %r8
	movq	%r15, %rdi
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	cmpq	%rax, %r12
	jae	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi), %rax
	incq	%r12
	addq	$24, %rbx
	jmp	LBB0_3
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ifmt_ctx,8,3                   ## @ifmt_ctx
	.comm	_filter_ctx,8,3                 ## @filter_ctx
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"null"

L_.str.1:                               ## @.str.1
	.asciz	"anull"

	.comm	_stream_ctx,8,3                 ## @stream_ctx
	.no_dead_strip	_init_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_filters
_init_filters:                          ; @init_filters
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, _ifmt_ctx@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ifmt_ctx@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	w1, #24
	bl	_av_malloc_array
Lloh2:
	adrp	x20, _filter_ctx@GOTPAGE
Lloh3:
	ldr	x20, [x20, _filter_ctx@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #1
Lloh4:
	adrp	x24, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh5:
	ldr	x24, [x24, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh6:
	adrp	x25, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh7:
	ldr	x25, [x25, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str.1@PAGE
Lloh9:
	add	x26, x26, l_.str.1@PAGEOFF
Lloh10:
	adrp	x27, _stream_ctx@GOTPAGE
Lloh11:
	ldr	x27, [x27, _stream_ctx@GOTPAGEOFF]
Lloh12:
	adrp	x28, l_.str@PAGE
Lloh13:
	add	x28, x28, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x21
	str	xzr, [x8, #16]
	ldr	x8, [x20]
	add	x8, x8, x21
	str	xzr, [x8, #8]
	ldr	x8, [x20]
	str	xzr, [x8, x21]
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	x9, [x9, x22]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x11, [x24]
	ldr	x10, [x25]
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x10
	csel	x3, x28, x26, eq
	ldr	x8, [x20]
	add	x0, x8, x21
	ldr	x8, [x27]
	add	x8, x8, x22
	ldp	w2, w1, [x8]
	bl	_init_filter
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	cmp	x23, x8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	add	x22, x22, #8
	add	x21, x21, #24
	add	x23, x23, #1
	b	LBB0_3
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ifmt_ctx,8,3                   ; @ifmt_ctx
	.comm	_filter_ctx,8,3                 ; @filter_ctx
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"null"

l_.str.1:                               ; @.str.1
	.asciz	"anull"

	.comm	_stream_ctx,8,3                 ; @stream_ctx
	.no_dead_strip	_init_filters
.subsections_via_symbols
