	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heapam_scan_bitmap_next_tuple
_heapam_scan_bitmap_next_tuple:         ## @heapam_scan_bitmap_next_tuple
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	8(%rdi), %rcx
	jae	LBB0_2
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	56(%rdi), %rax
	movl	(%rax,%rcx,4), %r15d
	movl	16(%rdi), %edi
	callq	_BufferGetPage
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_PageGetItemId
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ItemIdIsNormal
	movl	%eax, %edi
	callq	_Assert
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_PageGetItem
	leaq	24(%rbx), %r12
	movq	%rax, 40(%rbx)
	movl	%r13d, %edi
	callq	_ItemIdGetLength
	movl	%eax, 32(%rbx)
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	48(%rbx), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_ItemPointerSet
	movq	(%rbx), %rdi
	callq	_pgstat_count_heap_fetch
	movl	16(%rbx), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ExecStoreBufferHeapTuple
	incq	(%rbx)
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_heapam_scan_bitmap_next_tuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapam_scan_bitmap_next_tuple
_heapam_scan_bitmap_next_tuple:         ; @heapam_scan_bitmap_next_tuple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x9, [x0, #56]
	ldr	w21, [x9, x8, lsl #2]
	ldr	w0, [x0, #16]
	bl	_BufferGetPage
	mov	x22, x0
	mov	x1, x21
	bl	_PageGetItemId
	mov	x23, x0
	bl	_ItemIdIsNormal
	bl	_Assert
	mov	x0, x22
	mov	x1, x23
	bl	_PageGetItem
	add	x22, x19, #24
	str	x0, [x19, #40]
	mov	x0, x23
	bl	_ItemIdGetLength
	ldr	x8, [x19]
	ldr	w8, [x8]
	stp	w8, w0, [x19, #28]
	ldr	w1, [x19, #48]
	mov	x0, x22
	mov	x2, x21
	bl	_ItemPointerSet
	ldr	x0, [x19]
	bl	_pgstat_count_heap_fetch
	ldr	w2, [x19, #16]
	mov	x0, x22
	mov	x1, x20
	bl	_ExecStoreBufferHeapTuple
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_heapam_scan_bitmap_next_tuple
.subsections_via_symbols
