	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guess_status_pts
_guess_status_pts:                      ## @guess_status_pts
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_INT64_MAX@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%esi, %r12d
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movl	%eax, %ecx
	cmpq	%rcx, %r13
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%r13,8), %rcx
	cmpl	%r12d, (%rcx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rcx), %esi
	movl	12(%rcx), %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_av_rescale_q
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%rax, %r14
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %r13
	cmpq	(%rbx), %r14
	jl	LBB0_11
LBB0_6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_av_log
	cmpl	$0, (%r15)
	je	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	movl	%r12d, %edx
	callq	_av_rescale_q
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%rax, %r14
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_8
LBB0_9:
	cmpq	(%r13), %r14
	jl	LBB0_11
## %bb.10:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EOF timestamp not reliable\n"

	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_guess_status_pts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guess_status_pts
_guess_status_pts:                      ; @guess_status_pts
	.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, x2
	mov	x21, x0
Lloh0:
	adrp	x23, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INT64_MAX@GOTPAGEOFF]
	ldr	x19, [x23]
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x22, x1
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	ldr	x9, [x9, x24, lsl #3]
	ldr	w10, [x9]
	cmp	w10, w22
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x9, #12]
	ldr	w1, [x9, #4]
	mov	x2, x20
	bl	_av_rescale_q
	mov	x1, x0
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
	ldr	w8, [x21]
	b	LBB0_2
LBB0_5:
	ldr	x8, [x23]
	cmp	x19, x8
	b.lt	LBB0_10
LBB0_6:
Lloh2:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldp	w1, w0, [x8, #4]
	mov	x2, x20
	bl	_av_rescale_q
	mov	x1, x0
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
	add	x22, x22, #1
	ldr	w8, [x21]
	cmp	x22, x8
	b.lo	LBB0_8
LBB0_9:
	ldr	x8, [x23]
Lloh7:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x19, x8
	csel	x19, x19, x9, lt
LBB0_10:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EOF timestamp not reliable\n"

	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_guess_status_pts
.subsections_via_symbols
