	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recheck_discard_flags
_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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %r13
	movq	%r13, %rdi
	callq	_playlist_needed
	cmpq	$0, 72(%r13)
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r13)
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r13)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_select_cur_seq_no
	movl	%eax, 52(%r13)
	movq	$0, 64(%r13)
	movq	8(%rbx), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, 8(%r13)
	movq	_AVSEEK_FLAG_ANY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%r13)
	movl	$-1, 16(%r13)
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r13)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %edi
	leaq	48(%r13), %rsi
	callq	_ff_format_io_close
	movq	$0, 40(%r13)
	movl	36(%r13), %edi
	leaq	32(%r13), %rsi
	callq	_ff_format_io_close
	movq	$0, 24(%r13)
	movl	$0, (%r13)
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_12
LBB0_1:
	xorl	%r14d, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AVSEEK_FLAG_ANY,4,2            ## @AVSEEK_FLAG_ANY
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Now receiving playlist %d, segment %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"No longer receiving playlist %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:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x21, [x0]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
	mov	w25, #0
Lloh0:
	adrp	x27, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x27, [x27, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	adrp	x28, _AV_NOPTS_VALUE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _AV_NOPTS_VALUE@GOTPAGEOFF]
	mov	w23, #1
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x27]
	str	x0, [sp]
	mov	x0, x20
	mov	x2, x24
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x3, x22
	bl	_av_log
	mov	w25, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x26, [x8, x22, lsl #3]
	mov	x0, x26
	bl	_playlist_needed
	ldr	x8, [x26, #72]
	cbnz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cbnz	w8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w23, [x26]
	mov	x0, x21
	mov	x1, x26
	bl	_select_cur_seq_no
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x26, #52]
	str	xzr, [x26, #64]
	ldr	x8, [x21, #8]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [x26, #8]
Lloh6:
	adrp	x8, _AVSEEK_FLAG_ANY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVSEEK_FLAG_ANY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x26, #56]
	mov	w8, #-1
	str	w8, [x26, #16]
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w19, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cbz	w8, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26, #36]
	add	x1, x26, #48
	bl	_ff_format_io_close
	str	xzr, [x26, #40]
	ldr	w0, [x26, #36]
	add	x1, x26, #32
	bl	_ff_format_io_close
	str	xzr, [x26, #24]
	str	wzr, [x26]
	ldr	w1, [x27]
	mov	x0, x20
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_13:
	mov	w25, #0
LBB0_14:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AVSEEK_FLAG_ANY,4,2            ; @AVSEEK_FLAG_ANY
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Now receiving playlist %d, segment %d\n"

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

	.no_dead_strip	_recheck_discard_flags
.subsections_via_symbols
