	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function framesync_inject_status
_framesync_inject_status:               ## @framesync_inject_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	%esi, %ecx
	imulq	$56, %rcx, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rax,%rbx)
	sete	%dil
	callq	_av_assert0
	movq	(%r15), %rax
	movq	8(%rax,%rbx), %rcx
	movq	_STATE_RUN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	16(%rax,%rbx), %rcx
	movq	_EXT_INFINITY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_2:
	movq	_INT64_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	jmp	LBB0_4
LBB0_3:
	movl	48(%rax,%rbx), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_framesync_pts_extrapolate
	movl	%eax, %r14d
	movq	(%r15), %rax
LBB0_4:
	movq	$0, 40(%rax,%rbx)
	movq	%r15, %rdi
	callq	_framesync_sync_level_update
	movq	(%r15), %rax
	movq	$0, 32(%rax,%rbx)
	movl	%r14d, 24(%rax,%rbx)
	movl	$1, (%rax,%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATE_RUN,8,3                  ## @STATE_RUN
	.comm	_EXT_INFINITY,8,3               ## @EXT_INFINITY
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.no_dead_strip	_framesync_inject_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function framesync_inject_status
_framesync_inject_status:               ; @framesync_inject_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	mov	w21, w1
	mov	w22, #56
	umull	x9, w1, w22
	ldr	w8, [x8, x9]
	cmp	w8, #0
	cset	w0, eq
	bl	_av_assert0
	ldr	x8, [x19]
	umaddl	x9, w20, w22, x8
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _STATE_RUN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STATE_RUN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w9, #56
	madd	x9, x21, x9, x8
	ldr	x9, [x9, #16]
Lloh3:
	adrp	x10, _EXT_INFINITY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EXT_INFINITY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x9, _INT64_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INT64_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x9]
	b	LBB0_4
LBB0_3:
	mov	w9, #56
	madd	x8, x21, x9, x8
	ldr	w2, [x8, #48]
	mov	x0, x19
	mov	x1, x20
	bl	_framesync_pts_extrapolate
	mov	x20, x0
	ldr	x8, [x19]
LBB0_4:
	mov	w9, #56
	mul	x21, x21, x9
	add	x8, x8, x21
	str	xzr, [x8, #40]
	mov	x0, x19
	bl	_framesync_sync_level_update
	ldr	x8, [x19]
	add	x8, x8, x21
	str	xzr, [x8, #32]
	str	w20, [x8, #24]
	mov	w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STATE_RUN,8,3                  ; @STATE_RUN
	.comm	_EXT_INFINITY,8,3               ; @EXT_INFINITY
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.no_dead_strip	_framesync_inject_status
.subsections_via_symbols
