	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pva_read_timestamp
_pva_read_timestamp:                    ## @pva_read_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	8(%rdi), %r12
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdx), %rsi
	movq	_PVA_MAX_PAYLOAD_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,8), %rdi
	addq	%rcx, %rsi
	callq	_FFMIN
	movq	(%rbx), %rsi
	cmpq	%rax, %rsi
	jge	LBB0_5
## %bb.1:
	movq	%rax, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	incq	%rsi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, (%rbx)
	cmpq	%r13, %rsi
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_avio_seek
	movq	$0, (%r14)
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_read_part_of_packet
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %eax
	decl	%eax
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_avio_tell
	movslq	-60(%rbp), %rsi
	addq	%rax, %rsi
	jmp	LBB0_4
LBB0_5:
	movq	$0, (%r14)
	movq	-48(%rbp), %rax
	addq	$24, %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	_PVA_MAX_PAYLOAD_LENGTH,4,2     ## @PVA_MAX_PAYLOAD_LENGTH
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_pva_read_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pva_read_timestamp
_pva_read_timestamp:                    ; @pva_read_timestamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldp	x24, x22, [x0]
Lloh0:
	adrp	x25, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [sp]
	ldr	x8, [x2]
Lloh2:
	adrp	x9, _PVA_MAX_PAYLOAD_LENGTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PVA_MAX_PAYLOAD_LENGTH@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x0, x8, x9, lsl #3
	add	x1, x8, x3
	bl	_FFMIN
	ldr	x1, [x19]
	cmp	x1, x0
	b.ge	LBB0_8
; %bb.1:
	mov	x23, x0
Lloh5:
	adrp	x26, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x26, [x26, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x1, x8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x1, [x19]
	cmp	x1, x23
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	str	x8, [sp]
	ldr	w2, [x26]
	mov	x0, x22
	bl	_avio_seek
	str	xzr, [x24]
	mov	x1, sp
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	mov	w4, #0
	bl	_read_part_of_packet
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	sub	w8, w8, #1
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_avio_tell
	ldrsw	x8, [sp, #12]
	add	x1, x0, x8
	b	LBB0_3
LBB0_8:
	str	xzr, [x24]
	ldr	x0, [sp]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_PVA_MAX_PAYLOAD_LENGTH,4,2     ; @PVA_MAX_PAYLOAD_LENGTH
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_pva_read_timestamp
.subsections_via_symbols
