	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fetch_timestamp             ## -- Begin function ff_fetch_timestamp
	.p2align	4, 0x90
_ff_fetch_timestamp:                    ## @ff_fetch_timestamp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	movq	%rax, (%rdi)
	movl	$-1, 16(%rdi)
	movq	$0, 24(%rdi)
LBB0_2:
	movq	_AV_PARSER_PTS_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_17
## %bb.3:
	testl	%ecx, %ecx
	setne	%r8b
	movslq	%esi, %r9
	movq	32(%rdi), %r11
	movq	40(%rdi), %r12
	xorl	%esi, %esi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %r10
	movq	_INT64_MAX@GOTPCREL(%rip), %r14
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	leaq	(%r11,%r9), %rax
	movl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	64(%rdi), %rbx
	cmpq	$0, (%rbx,%rsi,8)
	jne	LBB0_10
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%rsi
	cmpl	%r15d, %esi
	jge	LBB0_17
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rsi,8), %rbx
	cmpq	%rbx, %rax
	jl	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	48(%rdi), %rcx
	cmpq	%rbx, %rcx
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	$0, 56(%rdi)
	jne	LBB0_16
	jmp	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	72(%rdi), %rax
	movq	(%rax,%rsi,8), %rax
	cmpq	(%r10), %rax
	sete	%cl
	testb	%cl, %r8b
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, (%rdi)
	movq	56(%rdi), %rax
	movq	80(%rdi), %rcx
	movq	(%rcx,%rsi,8), %rcx
	movq	%rcx, 8(%rdi)
	movq	88(%rdi), %rcx
	movl	(%rcx,%rsi,4), %ecx
	movl	%ecx, 16(%rdi)
	subq	(%r12,%rsi,8), %rax
	movq	%rax, 24(%rdi)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%edx, %edx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movq	%rax, (%r12,%rsi,8)
	movq	32(%rdi), %r11
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r11,%r9), %rax
	cmpq	(%rbx,%rsi,8), %rax
	jl	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	%esi
	cmpl	%r15d, %esi
	jl	LBB0_4
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_PARSER_PTS_NB,4,2           ## @AV_PARSER_PTS_NB
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fetch_timestamp             ; -- Begin function ff_fetch_timestamp
	.p2align	2
_ff_fetch_timestamp:                    ; @ff_fetch_timestamp
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
	cbnz	w3, LBB0_2
; %bb.1:
	ldr	x9, [x8]
	stp	x9, x9, [x0]
	mov	w9, #-1
	str	w9, [x0, #16]
	str	xzr, [x0, #24]
LBB0_2:
Lloh2:
	adrp	x9, _AV_PARSER_PTS_NB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_PARSER_PTS_NB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.3:
	mov	w15, #0
	cmp	w3, #0
	cset	w10, ne
	sxtw	x11, w1
	ldp	x13, x12, [x0, #32]
Lloh5:
	adrp	x14, _INT64_MAX@GOTPAGE
Lloh6:
	ldr	x14, [x14, _INT64_MAX@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x17, x13, x11
	mov	w15, w15
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x16, [x0, #64]
	ldr	x1, [x16, x15, lsl #3]
	cbnz	x1, LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x15, #1
	cmp	w15, w9
	b.ge	LBB0_16
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x12, x15, lsl #3]
	cmp	x17, x1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x16, [x0, #48]
	cmp	x16, x1
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cbnz	x16, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x16, [x0, #56]
	cbnz	x16, LBB0_6
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x0, #72]
	ldr	x17, [x17, x15, lsl #3]
	ldr	x1, [x8]
	cmp	x17, x1
	cset	w1, eq
	and	w1, w10, w1
	tbnz	w1, #0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x17, [x0]
	lsl	x17, x15, #3
	ldp	x1, x3, [x0, #80]
	ldr	x1, [x1, x17]
	str	x1, [x0, #8]
	ldr	w1, [x3, x15, lsl #2]
	str	w1, [x0, #16]
	ldr	x1, [x0, #56]
	ldr	x17, [x12, x17]
	sub	x17, x1, x17
	str	x17, [x0, #24]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w2, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x14]
	str	x13, [x12, x15, lsl #3]
	ldr	x13, [x0, #32]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x16, [x16, x15, lsl #3]
	add	w15, w15, #1
	add	x17, x13, x11
	cmp	x17, x16
	ccmp	w15, w9, #0, ge
	b.lt	LBB0_4
LBB0_16:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_PARSER_PTS_NB,4,2           ; @AV_PARSER_PTS_NB
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
.subsections_via_symbols
