	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_fetch_heap               ## -- Begin function index_fetch_heap
	.p2align	4, 0x90
_index_fetch_heap:                      ## @index_fetch_heap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movl	$0, -20(%rbp)
	movl	16(%rdi), %edx
	movl	24(%rdi), %edi
	leaq	20(%rbx), %rsi
	leaq	12(%rbx), %r8
	leaq	-20(%rbp), %r9
	callq	_table_index_fetch_tuple
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_pgstat_count_heap_fetch
LBB0_2:
	cmpl	$0, 4(%rbx)
	jne	LBB0_4
## %bb.3:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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	_index_fetch_heap               ; -- Begin function index_fetch_heap
	.p2align	2
_index_fetch_heap:                      ; @index_fetch_heap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x3, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	w0, [x0, #24]
	add	x1, x19, #20
	ldr	w2, [x19, #16]
	add	x4, x19, #12
	add	x5, sp, #12
	bl	_table_index_fetch_tuple
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_pgstat_count_heap_fetch
LBB0_2:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
