	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ifilter_send_eof
_ifilter_send_eof:                      ## @ifilter_send_eof
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	movq	32(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	_AV_BUFFERSRC_FLAG_PUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_buffersrc_close
	testl	%eax, %eax
	jns	LBB0_2
	jmp	LBB0_8
LBB0_3:
	cmpq	$0, 8(%rbx)
	jns	LBB0_2
## %bb.4:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_ifilter_parameters_from_codecpar
	cmpq	$0, 8(%rbx)
	jns	LBB0_2
## %bb.5:
	movq	16(%rbx), %rax
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%rbx), %rax
	movl	8(%rax), %ecx
	movq	(%rax), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_BUFFERSRC_FLAG_PUSH,4,2     ## @AV_BUFFERSRC_FLAG_PUSH
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot determine format of input stream %d:%d after EOF\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_ifilter_send_eof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ifilter_send_eof
_ifilter_send_eof:                      ; @ifilter_send_eof
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_BUFFERSRC_FLAG_PUSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_BUFFERSRC_FLAG_PUSH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_av_buffersrc_close
	tbz	w0, #31, LBB0_6
	b	LBB0_7
LBB0_2:
	ldr	x8, [x19, #8]
	tbz	x8, #63, LBB0_6
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_ifilter_parameters_from_codecpar
	ldr	x8, [x19, #8]
	tbz	x8, #63, LBB0_6
; %bb.4:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #8]
	ldr	x8, [x8]
	ldr	w4, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
Lloh14:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_BUFFERSRC_FLAG_PUSH,4,2     ; @AV_BUFFERSRC_FLAG_PUSH
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot determine format of input stream %d:%d after EOF\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_ifilter_send_eof
.subsections_via_symbols
