	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lazy_check_needs_freeze
_lazy_check_needs_freeze:               ## @lazy_check_needs_freeze
	.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	%rsi, %r15
	movl	%edi, %r12d
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	$0, (%r15)
	movl	%eax, %edi
	callq	_PageIsNew
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movl	%ebx, %edi
	callq	_PageIsEmpty
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movl	%ebx, %edi
	callq	_PageGetMaxOffsetNumber
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	cmpq	%rax, %r14
	jg	LBB0_11
## %bb.3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %r14
	movq	%r15, %rax
	cmpq	%r15, %r14
	jg	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_PageGetItemId
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ItemIdIsUsed
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %edi
	callq	_ItemIdIsNormal
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_PageGetItem
	movq	_FreezeLimit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MultiXactCutoff@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	movl	%r12d, %ecx
	callq	_heap_tuple_needs_freeze
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_FreezeLimit,4,2                ## @FreezeLimit
	.comm	_MultiXactCutoff,4,2            ## @MultiXactCutoff
	.no_dead_strip	_lazy_check_needs_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lazy_check_needs_freeze
_lazy_check_needs_freeze:               ; @lazy_check_needs_freeze
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	bl	_BufferGetPage
	mov	x21, x0
	str	wzr, [x19]
	bl	_PageIsNew
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_PageIsEmpty
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_PageGetMaxOffsetNumber
Lloh0:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	cmp	x23, x0
	b.le	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x22, x0
Lloh3:
	adrp	x25, _FreezeLimit@GOTPAGE
Lloh4:
	ldr	x25, [x25, _FreezeLimit@GOTPAGEOFF]
Lloh5:
	adrp	x26, _MultiXactCutoff@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MultiXactCutoff@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_OffsetNumberNext
	mov	x23, x0
	cmp	x0, x22
	b.gt	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_PageGetItemId
	mov	x24, x0
	bl	_ItemIdIsUsed
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w27, [x19]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_ItemIdIsNormal
	cbz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_PageGetItem
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x3, x20
	bl	_heap_tuple_needs_freeze
	cbz	x0, LBB0_6
; %bb.11:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_FreezeLimit,4,2                ; @FreezeLimit
	.comm	_MultiXactCutoff,4,2            ; @MultiXactCutoff
	.no_dead_strip	_lazy_check_needs_freeze
.subsections_via_symbols
