	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vc_isvalid_ring_len
_ice_vc_isvalid_ring_len:               ## @ice_vc_isvalid_ring_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	_ICE_MIN_NUM_DESC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	jg	LBB0_5
## %bb.3:
	movq	_ICE_MAX_NUM_DESC@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jl	LBB0_5
## %bb.4:
	movq	_ICE_REQ_DESC_MULTIPLE@GOTPCREL(%rip), %rcx
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	xorl	%eax, %eax
	testl	%edx, %edx
	sete	%al
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_MIN_NUM_DESC,4,2           ## @ICE_MIN_NUM_DESC
	.comm	_ICE_MAX_NUM_DESC,4,2           ## @ICE_MAX_NUM_DESC
	.comm	_ICE_REQ_DESC_MULTIPLE,4,2      ## @ICE_REQ_DESC_MULTIPLE
	.no_dead_strip	_ice_vc_isvalid_ring_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vc_isvalid_ring_len
_ice_vc_isvalid_ring_len:               ; @ice_vc_isvalid_ring_len
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ICE_MIN_NUM_DESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_MIN_NUM_DESC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ICE_MAX_NUM_DESC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICE_MAX_NUM_DESC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #8, le
	b.ge	LBB0_4
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	mov	w0, #1
	ret
LBB0_4:
Lloh6:
	adrp	x8, _ICE_REQ_DESC_MULTIPLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_REQ_DESC_MULTIPLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	cmp	w8, #0
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_MIN_NUM_DESC,4,2           ; @ICE_MIN_NUM_DESC
	.comm	_ICE_MAX_NUM_DESC,4,2           ; @ICE_MAX_NUM_DESC
	.comm	_ICE_REQ_DESC_MULTIPLE,4,2      ; @ICE_REQ_DESC_MULTIPLE
	.no_dead_strip	_ice_vc_isvalid_ring_len
.subsections_via_symbols
