	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_check_sar             ## -- Begin function av_image_check_sar
	.p2align	4, 0x90
_av_image_check_sar:                    ## @av_image_check_sar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	jle	LBB0_9
## %bb.1:
	testq	%rcx, %rcx
	js	LBB0_9
## %bb.2:
	je	LBB0_8
## %bb.3:
	cmpq	%rdx, %rcx
	je	LBB0_8
## %bb.4:
	movq	_AV_ROUND_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jae	LBB0_6
## %bb.5:
	movq	%rcx, %rsi
	jmp	LBB0_7
LBB0_6:
	movl	%esi, %edi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
LBB0_7:
	movl	%eax, %ecx
	callq	_av_rescale_rnd
	testq	%rax, %rax
	jle	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_ROUND_ZERO,4,2              ## @AV_ROUND_ZERO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_image_check_sar             ; -- Begin function av_image_check_sar
	.p2align	2
_av_image_check_sar:                    ; @av_image_check_sar
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	x2, #1
	b.lt	LBB0_9
; %bb.1:
	tbnz	x3, #63, LBB0_9
; %bb.2:
	cbz	x3, LBB0_8
; %bb.3:
	cmp	x3, x2
	b.eq	LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _AV_ROUND_ZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_ROUND_ZERO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x3, x2
	b.hs	LBB0_6
; %bb.5:
	mov	x1, x3
	b	LBB0_7
LBB0_6:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
LBB0_7:
	mov	x3, x8
	bl	_av_rescale_rnd
	cmp	x0, #0
	b.le	LBB0_9
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_ROUND_ZERO,4,2              ; @AV_ROUND_ZERO
.subsections_via_symbols
