	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_compare_mod                 ## -- Begin function av_compare_mod
	.p2align	4, 0x90
_av_compare_mod:                        ## @av_compare_mod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	subl	%esi, %edi
	leal	-1(%rdx), %eax
	andl	%edi, %eax
	movl	%edx, %ecx
	sarl	%ecx
	xorl	%esi, %esi
	cmpl	%ecx, %eax
	cmovgl	%edx, %esi
	subl	%esi, %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	_av_compare_mod                 ; -- Begin function av_compare_mod
	.p2align	2
_av_compare_mod:                        ; @av_compare_mod
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #1
	sub	w9, w0, w1
	and	w8, w8, w9
	cmp	w8, w2, asr #1
	csel	w9, w2, wzr, gt
	sub	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
