	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transcode_from_filter
_transcode_from_filter:                 ## @transcode_from_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	%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	%rsi, %r15
	movq	%rdi, %r12
	movq	$0, (%rsi)
	movl	24(%rdi), %edi
	callq	_avfilter_graph_request_oldest
	testl	%eax, %eax
	js	LBB0_1
## %bb.23:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reap_filters                   ## TAILCALL
LBB0_1:
	movl	%eax, %r14d
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_5
## %bb.2:
	movl	$1, %edi
	callq	_reap_filters
	movl	%eax, %r14d
	cmpl	$0, (%r12)
	jle	LBB0_22
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	callq	_close_output_stream
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_22
LBB0_5:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r14d
	jne	LBB0_22
## %bb.6:
	cmpl	$0, 4(%r12)
	jle	LBB0_13
## %bb.7:
	xorl	%ebx, %ebx
	movq	_input_files@GOTPCREL(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	4(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %r13
	movq	(%r14), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	cmpq	$0, 8(%rcx)
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%rcx)
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rax), %edi
	callq	_av_buffersrc_get_nb_failed_requests
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, (%r15)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_13:
	xorl	%r14d, %r14d
	cmpq	$0, (%r15)
	je	LBB0_14
LBB0_22:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_22
## %bb.15:
	movq	8(%r12), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	xorl	%r14d, %r14d
	cmpq	$3, %rsi
	jae	LBB0_17
## %bb.16:
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_17:
	andl	$-4, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	movq	(%rdi), %rdi
	movl	$1, (%rdi)
	movq	8(%rcx,%rsi,8), %rdi
	movq	(%rdi), %rdi
	movl	$1, (%rdi)
	movq	16(%rcx,%rsi,8), %rdi
	movq	(%rdi), %rdi
	movl	$1, (%rdi)
	movq	24(%rcx,%rsi,8), %rdi
	movq	(%rdi), %rdi
	movl	$1, (%rdi)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_18
LBB0_19:
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movq	(%rsi), %rsi
	movl	$1, (%rsi)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_input_files,8,3                ## @input_files
	.no_dead_strip	_transcode_from_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transcode_from_filter
_transcode_from_filter:                 ; @transcode_from_filter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
	str	xzr, [x1]
	ldr	w0, [x0, #24]
	bl	_avfilter_graph_request_oldest
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_reap_filters
LBB0_2:
	mov	x21, x0
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #1
	bl	_reap_filters
	mov	x21, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x0, [x8]
	bl	_close_output_stream
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_5
	b	LBB0_24
LBB0_6:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w21, w0
	b.ne	LBB0_24
; %bb.7:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.8:
	mov	x21, #0
	mov	w22, #0
Lloh6:
	adrp	x23, _input_files@GOTPAGE
Lloh7:
	ldr	x23, [x23, _input_files@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	cmp	x21, x8
	b.ge	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x24, [x8, #8]
	ldr	x9, [x23]
	ldr	x10, [x24]
	ldr	x9, [x9, x10, lsl #3]
	ldr	x10, [x9, #8]
	cbnz	x10, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x9]
	cbnz	x9, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x8]
	bl	_av_buffersrc_get_nb_failed_requests
	cmp	w0, w22
	b.le	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x24, [x20]
	mov	x22, x0
	b	LBB0_9
LBB0_14:
	ldr	x8, [x20]
	cbnz	x8, LBB0_23
; %bb.15:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.16:
	ldr	x9, [x19, #8]
	cmp	w8, #4
	b.hs	LBB0_18
; %bb.17:
	mov	x10, #0
	b	LBB0_21
LBB0_18:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #16
	mov	w12, #1
	mov	x13, x10
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	x14, x15, [x11, #-16]
	ldp	x16, x17, [x11], #32
	ldr	x14, [x14]
	ldr	x15, [x15]
	ldr	x16, [x16]
	ldr	x17, [x17]
	str	w12, [x14]
	str	w12, [x15]
	str	w12, [x16]
	str	w12, [x17]
	subs	x13, x13, #4
	b.ne	LBB0_19
; %bb.20:
	cmp	x10, x8
	b.eq	LBB0_23
LBB0_21:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
	mov	w10, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	ldr	x11, [x11]
	str	w10, [x11]
	subs	x8, x8, #1
	b.ne	LBB0_22
LBB0_23:
	mov	w21, #0
LBB0_24:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_input_files,8,3                ; @input_files
	.no_dead_strip	_transcode_from_filter
.subsections_via_symbols
