	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_calc_digest_pos        ## -- Begin function ff_rtmp_calc_digest_pos
	.p2align	4, 0x90
_ff_rtmp_calc_digest_pos:               ## @ff_rtmp_calc_digest_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rsi
	movl	(%rdi,%rsi,8), %eax
	addl	8(%rdi,%rsi,8), %eax
	addl	16(%rdi,%rsi,8), %eax
	addl	24(%rdi,%rsi,8), %eax
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %esi
	cltd
	idivl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	leal	(%rdx,%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_calc_digest_pos        ; -- Begin function ff_rtmp_calc_digest_pos
	.p2align	2
_ff_rtmp_calc_digest_pos:               ; @ff_rtmp_calc_digest_pos
	.cfi_startproc
; %bb.0:
	add	x8, x0, w1, sxtw #3
	ldp	q1, q0, [x8]
	uzp1.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w8, s0
	sdiv	w9, w8, w2
	msub	w8, w9, w2, w8
	add	w0, w8, w3
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
