	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp7_calculate_mb_offset
_vp7_calculate_mb_offset:               ## @vp7_calculate_mb_offset
	.cfi_startproc
## %bb.0:
	movl	%edx, %r10d
	leal	1(%r10), %r11d
	addl	%r8d, %esi
	imull	%r11d, %esi
	addl	%ecx, %edi
	addl	%esi, %edi
	xorl	%esi, %esi
	cmpl	%r9d, %edi
	jl	LBB0_3
## %bb.1:
	movl	%edi, %eax
	cltd
	idivl	%r11d
	cmpl	%r10d, %edx
	je	LBB0_3
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rbp), %rcx
	movq	16(%rbp), %rsi
	movl	%eax, (%rcx)
	movl	%edx, (%rsi)
	movl	$1, %esi
	popq	%rbp
LBB0_3:
	movl	%esi, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vp7_calculate_mb_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp7_calculate_mb_offset
_vp7_calculate_mb_offset:               ; @vp7_calculate_mb_offset
	.cfi_startproc
; %bb.0:
	add	w8, w2, #1
	add	w9, w4, w1
	add	w10, w3, w0
	madd	w9, w9, w8, w10
	cmp	w9, w5
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	str	w10, [x7]
	str	w8, [x6]
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vp7_calculate_mb_offset
.subsections_via_symbols
