	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_output_bsfs
_init_output_bsfs:                      ## @init_output_bsfs
	.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
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	%rdi, %r15
	jle	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %r12
	movl	20(%r12), %edi
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-8(%rax,%rbx,8), %rax
	movl	4(%rax), %esi
	callq	_avcodec_parameters_copy
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rax
	movq	-8(%rax,%rbx,8), %rax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax), %esi
	callq	_avcodec_parameters_copy
	testl	%eax, %eax
	js	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r12, %rdi
	callq	_av_bsf_init
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_10:
	movq	8(%r15), %rcx
	movq	16(%r15), %rdx
	cltq
	movq	-8(%rdx,%rax,8), %rbx
	movl	4(%rcx), %edi
	movl	4(%rbx), %esi
	callq	_avcodec_parameters_copy
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	movl	(%rbx), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_15:
	movl	%eax, %r14d
	jmp	LBB0_16
LBB0_13:
	movl	%eax, %r12d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movl	%r12d, %r14d
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error initializing bitstream filter: %s\n"

	.no_dead_strip	_init_output_bsfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_output_bsfs
_init_output_bsfs:                      ; @init_output_bsfs
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_12
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x22, lsl #3]
	ldr	w0, [x21, #20]
	cbz	x22, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x22, lsl #3
	ldur	x8, [x8, #-8]
	ldr	w1, [x8, #4]
	bl	_avcodec_parameters_copy
	tbnz	w0, #31, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x22, lsl #3
	ldur	x8, [x8, #-8]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	bl	_avcodec_parameters_copy
	tbnz	w0, #31, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	str	w8, [x21, #16]
	mov	x0, x21
	bl	_av_bsf_init
	tbnz	w0, #31, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_10:
	sub	w8, w8, #1
	ldp	x10, x9, [x19, #8]
	ldr	x21, [x9, w8, sxtw #3]
	ldr	w0, [x10, #4]
	ldr	w1, [x21, #4]
	bl	_avcodec_parameters_copy
	tbnz	w0, #31, LBB0_13
; %bb.11:
	mov	w20, #0
	ldr	w8, [x21]
	ldr	x9, [x19, #8]
	str	w8, [x9]
	b	LBB0_15
LBB0_12:
	mov	w20, #0
	b	LBB0_15
LBB0_13:
	mov	x20, x0
	b	LBB0_15
LBB0_14:
	mov	x20, x0
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x8, [x8, #8]
	ldr	w3, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_15:
	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
	.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 bitstream filter: %s\n"

	.no_dead_strip	_init_output_bsfs
.subsections_via_symbols
