	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_is_valid_disk
_cache_is_valid_disk:                   ## @cache_is_valid_disk
	.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
	jle	LBB0_5
## %bb.1:
	movq	_MAX_NODE_ID@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jl	LBB0_5
## %bb.2:
	testl	%esi, %esi
	jle	LBB0_7
## %bb.3:
	movq	_MAX_SERVER_ID@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_7
## %bb.4:
	movq	_MAX_DISK_ID@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	movq	_CACHE_ERR_INVALID_DISK_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovll	%ecx, %eax
	testl	%edx, %edx
	cmovsl	%ecx, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_CACHE_ERR_INVALID_NODE_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_CACHE_ERR_INVALID_SERVER_ID@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NODE_ID,4,2                ## @MAX_NODE_ID
	.comm	_CACHE_ERR_INVALID_NODE_ID,4,2  ## @CACHE_ERR_INVALID_NODE_ID
	.comm	_MAX_SERVER_ID,4,2              ## @MAX_SERVER_ID
	.comm	_CACHE_ERR_INVALID_SERVER_ID,4,2 ## @CACHE_ERR_INVALID_SERVER_ID
	.comm	_MAX_DISK_ID,4,2                ## @MAX_DISK_ID
	.comm	_CACHE_ERR_INVALID_DISK_ID,4,2  ## @CACHE_ERR_INVALID_DISK_ID
	.no_dead_strip	_cache_is_valid_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_is_valid_disk
_cache_is_valid_disk:                   ; @cache_is_valid_disk
	.cfi_startproc
; %bb.0:
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MAX_NODE_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_NODE_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.lt	LBB0_5
; %bb.2:
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _MAX_SERVER_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SERVER_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _MAX_DISK_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_DISK_ID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w2
	ccmp	w2, #0, #8, ge
Lloh9:
	adrp	x8, _CACHE_ERR_INVALID_DISK_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CACHE_ERR_INVALID_DISK_ID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	csel	w0, w8, wzr, lt
	ret
LBB0_5:
Lloh12:
	adrp	x8, _CACHE_ERR_INVALID_NODE_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CACHE_ERR_INVALID_NODE_ID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh15:
	adrp	x8, _CACHE_ERR_INVALID_SERVER_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CACHE_ERR_INVALID_SERVER_ID@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NODE_ID,4,2                ; @MAX_NODE_ID
	.comm	_CACHE_ERR_INVALID_NODE_ID,4,2  ; @CACHE_ERR_INVALID_NODE_ID
	.comm	_MAX_SERVER_ID,4,2              ; @MAX_SERVER_ID
	.comm	_CACHE_ERR_INVALID_SERVER_ID,4,2 ; @CACHE_ERR_INVALID_SERVER_ID
	.comm	_MAX_DISK_ID,4,2                ; @MAX_DISK_ID
	.comm	_CACHE_ERR_INVALID_DISK_ID,4,2  ; @CACHE_ERR_INVALID_DISK_ID
	.no_dead_strip	_cache_is_valid_disk
.subsections_via_symbols
