	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reanalyze
_reanalyze:                             ## @reanalyze
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	(%rax), %rdi
	callq	_avio_tell
	testq	%rax, %rax
	js	LBB0_18
## %bb.1:
	subq	(%rbx), %rax
	movq	_TS_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_TS_DVHS_PACKET_SIZE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	addq	$8, %rax
	jmp	LBB0_7
LBB0_5:
	movq	_TS_FEC_PACKET_SIZE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.6:
	movq	8(%rbx), %rax
	addq	$16, %rax
LBB0_7:
	incq	(%rax)
LBB0_8:
	movq	16(%rbx), %rdx
	leaq	1(%rdx), %rax
	movq	%rax, 16(%rbx)
	movq	_SIZE_STAT_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	LBB0_9
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	8(%rbx), %rdi
	cmpq	%rax, (%rdi)
	jg	LBB0_14
## %bb.10:
	cmpq	%rax, 8(%rdi)
	jle	LBB0_12
## %bb.11:
	movq	_TS_DVHS_PACKET_SIZE@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_12:
	cmpq	%rax, 16(%rdi)
	jle	LBB0_17
## %bb.13:
	movq	_TS_FEC_PACKET_SIZE@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %r14d
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.15:
	cmpl	%r14d, 24(%rbx)
	je	LBB0_17
## %bb.16:
	movq	32(%rbx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	callq	_av_log
	movl	%r14d, 24(%rbx)
	movq	8(%rbx), %rdi
LBB0_17:
	movq	$0, 16(%rbx)
	xorl	%esi, %esi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_PACKET_SIZE,8,3             ## @TS_PACKET_SIZE
	.comm	_TS_DVHS_PACKET_SIZE,8,3        ## @TS_DVHS_PACKET_SIZE
	.comm	_TS_FEC_PACKET_SIZE,8,3         ## @TS_FEC_PACKET_SIZE
	.comm	_SIZE_STAT_THRESHOLD,8,3        ## @SIZE_STAT_THRESHOLD
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changing packet size to %d\n"

	.no_dead_strip	_reanalyze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reanalyze
_reanalyze:                             ; @reanalyze
	.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
	ldr	x8, [x0, #32]
	ldr	x0, [x8]
	bl	_avio_tell
	tbnz	x0, #63, LBB0_9
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TS_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TS_PACKET_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x8, x0, x8
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x9, _TS_DVHS_PACKET_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TS_DVHS_PACKET_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	add	x8, x8, #8
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x9, _TS_FEC_PACKET_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TS_FEC_PACKET_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	add	x8, x8, #16
LBB0_7:
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
LBB0_8:
	ldr	x9, [x19, #16]
	add	x8, x9, #1
	str	x8, [x19, #16]
Lloh9:
	adrp	x8, _SIZE_STAT_THRESHOLD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIZE_STAT_THRESHOLD@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x0, [x19, #8]
	ldr	x9, [x0]
	cmp	x9, x8
	b.le	LBB0_12
; %bb.11:
Lloh12:
	adrp	x8, _TS_PACKET_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TS_PACKET_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	cbnz	w20, LBB0_16
	b	LBB0_18
LBB0_12:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.le	LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _TS_DVHS_PACKET_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TS_DVHS_PACKET_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	cbnz	w20, LBB0_16
	b	LBB0_18
LBB0_14:
	ldr	x9, [x0, #16]
	cmp	x9, x8
	b.le	LBB0_18
; %bb.15:
Lloh18:
	adrp	x8, _TS_FEC_PACKET_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TS_FEC_PACKET_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	cbz	w20, LBB0_18
LBB0_16:
	ldr	w8, [x19, #24]
	cmp	w8, w20
	b.eq	LBB0_18
; %bb.17:
	ldr	x0, [x19, #32]
Lloh21:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_av_log
	str	w20, [x19, #24]
	ldr	x0, [x19, #8]
LBB0_18:
	str	xzr, [x19, #16]
	mov	w1, #0
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_PACKET_SIZE,8,3             ; @TS_PACKET_SIZE
	.comm	_TS_DVHS_PACKET_SIZE,8,3        ; @TS_DVHS_PACKET_SIZE
	.comm	_TS_FEC_PACKET_SIZE,8,3         ; @TS_FEC_PACKET_SIZE
	.comm	_SIZE_STAT_THRESHOLD,8,3        ; @SIZE_STAT_THRESHOLD
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changing packet size to %d\n"

	.no_dead_strip	_reanalyze
.subsections_via_symbols
