	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheInternalFindBlock         ## -- Begin function CacheInternalFindBlock
	.p2align	4, 0x90
_CacheInternalFindBlock:                ## @CacheInternalFindBlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_IsListEmpty
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	movq	_CACHE_BLOCK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ListEntry@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_CONTAINING_RECORD
	leaq	8(%rax), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rax)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rax), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	callq	_CONTAINING_RECORD
	movq	%rax, %rcx
	addq	$8, %rcx
	cmpq	%rbx, %rcx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	incl	12(%rax)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CacheInternalFindBlock() BlockNumber = %d\n"

	.comm	_CACHE_BLOCK,4,2                ## @CACHE_BLOCK
	.comm	_ListEntry,4,2                  ## @ListEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheInternalFindBlock         ; -- Begin function CacheInternalFindBlock
	.p2align	2
_CacheInternalFindBlock:                ; @CacheInternalFindBlock
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	bl	_IsListEmpty
	cbz	w0, LBB0_3
LBB0_1:
	mov	x0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _CACHE_BLOCK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CACHE_BLOCK@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x22, _ListEntry@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ListEntry@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	bl	_CONTAINING_RECORD
	add	x8, x0, #8
	cmp	x8, x20
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x0, #8]
	ldr	w1, [x21]
	b	LBB0_4
LBB0_7:
	ldr	w8, [x0, #12]
	add	w8, w8, #1
	str	w8, [x0, #12]
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CacheInternalFindBlock() BlockNumber = %d\n"

	.comm	_CACHE_BLOCK,4,2                ; @CACHE_BLOCK
	.comm	_ListEntry,4,2                  ; @ListEntry
.subsections_via_symbols
