	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogCheckInvalidPages          ## -- Begin function XLogCheckInvalidPages
	.p2align	4, 0x90
_XLogCheckInvalidPages:                 ## @XLogCheckInvalidPages
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_invalid_page_tab@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_hash_seq_init
	movq	%rbx, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_WARNING@GOTPCREL(%rip), %r15
	leaq	-28(%rbp), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	12(%rax), %esi
	movl	8(%rax), %edx
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	callq	_report_invalid_page
	movq	%rbx, %rdi
	callq	_hash_seq_search
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_5:
	movq	(%r14), %rdi
	callq	_hash_destroy
	movq	$0, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_invalid_page_tab,8,3           ## @invalid_page_tab
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WAL contains references to invalid pages"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XLogCheckInvalidPages          ; -- Begin function XLogCheckInvalidPages
	.p2align	2
_XLogCheckInvalidPages:                 ; @XLogCheckInvalidPages
	.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
Lloh0:
	adrp	x19, _invalid_page_tab@GOTPAGE
Lloh1:
	ldr	x19, [x19, _invalid_page_tab@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_6
; %bb.1:
	add	x0, sp, #12
	bl	_hash_seq_init
	add	x0, sp, #12
	bl	_hash_seq_search
	cbz	x0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x20, _WARNING@GOTPAGE
Lloh3:
	ldr	x20, [x20, _WARNING@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldp	w2, w1, [x0, #8]
	ldp	w4, w3, [x0]
	mov	x0, x8
	bl	_report_invalid_page
	add	x0, sp, #12
	bl	_hash_seq_search
	cbnz	x0, LBB0_3
; %bb.4:
Lloh4:
	adrp	x8, _PANIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_5:
	ldr	x0, [x19]
	bl	_hash_destroy
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_invalid_page_tab,8,3           ; @invalid_page_tab
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WAL contains references to invalid pages"

.subsections_via_symbols
