	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function recheck_discard_flags
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_recheck_discard_flags:                 ## @recheck_discard_flags
	.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
	testl	%edx, %edx
	jle	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, %r12d
	xorl	%r13d, %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	callq	_av_log
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	%r12, %r13
	je	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r15,%r13,8), %rbx
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movq	_AVDISCARD_ALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movl	24(%rbx), %eax
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%r14,8), %rcx
	movl	24(%rcx), %esi
	movl	%eax, %edi
	callq	_FFMAX
	movl	%eax, 24(%rbx)
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_reopen_demux_for_component
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_close_demux_for_component
	movl	8(%rbx), %edi
	leaq	4(%rbx), %rsi
	callq	_ff_format_io_close
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_10
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVDISCARD_ALL,8,3              ## @AVDISCARD_ALL
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Now receiving stream_index %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"No longer receiving stream_index %d\n"

	.no_dead_strip	_recheck_discard_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recheck_discard_flags
_recheck_discard_flags:                 ; @recheck_discard_flags
	.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
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x27, x1
	mov	x20, x0
	mov	x22, #0
	mov	w23, w2
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _AV_LOG_INFO@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AV_LOG_INFO@GOTPAGEOFF]
Lloh4:
	adrp	x26, _AVDISCARD_ALL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _AVDISCARD_ALL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x25]
	ldr	w3, [x21]
	mov	x0, x20
	bl	_av_log
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, x23
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x21, [x27, x22, lsl #3]
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ge	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	xzr, xzr, [x21, #32]
	mov	x28, x23
	mov	x19, x27
	ldr	w0, [x21, #24]
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19], #8
	ldr	w1, [x8, #24]
	bl	_FFMAX
	str	w0, [x21, #24]
	subs	x28, x28, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_reopen_demux_for_component
	mov	x2, x24
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_close_demux_for_component
	ldr	w0, [x21, #8]
	add	x1, x21, #4
	bl	_ff_format_io_close
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVDISCARD_ALL,8,3              ; @AVDISCARD_ALL
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Now receiving stream_index %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"No longer receiving stream_index %d\n"

	.no_dead_strip	_recheck_discard_flags
.subsections_via_symbols
