	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_invalid_page
_log_invalid_page:                      ## @log_invalid_page
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_reachedConsistency@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_report_invalid_page
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movq	_log_min_messages@GOTPCREL(%rip), %rax
	movq	_DEBUG1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, (%rax)
	jle	LBB0_4
## %bb.3:
	movq	_client_min_messages@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jg	LBB0_5
LBB0_4:
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_report_invalid_page
LBB0_5:
	movq	_invalid_page_tab@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.6:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movabsq	$17179869196, %rax              ## imm = 0x40000000C
	movq	%rax, -56(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	$100, %esi
	leaq	-56(%rbp), %rdx
	callq	_hash_create
	movq	%rax, %rdi
	movq	%rax, (%r13)
LBB0_7:
	movl	%ebx, -48(%rbp)
	movl	%r12d, -52(%rbp)
	movl	%r15d, -56(%rbp)
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rsi
	leaq	-60(%rbp), %rcx
	callq	_hash_search
	cmpl	$0, -60(%rbp)
	jne	LBB0_9
## %bb.8:
	movl	%r14d, (%rax)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_reachedConsistency,8,3         ## @reachedConsistency
	.comm	_WARNING,8,3                    ## @WARNING
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WAL contains references to invalid pages"

	.comm	_log_min_messages,8,3           ## @log_min_messages
	.comm	_DEBUG1,8,3                     ## @DEBUG1
	.comm	_client_min_messages,8,3        ## @client_min_messages
	.comm	_invalid_page_tab,8,3           ## @invalid_page_tab
L_.str.1:                               ## @.str.1
	.asciz	"XLOG invalid-page table"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.no_dead_strip	_log_invalid_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function log_invalid_page
lCPI0_0:
	.long	12                              ; 0xc
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_log_invalid_page:                      ; @log_invalid_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _reachedConsistency@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reachedConsistency@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_report_invalid_page
Lloh6:
	adrp	x8, _PANIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
Lloh11:
	adrp	x8, _log_min_messages@GOTPAGE
Lloh12:
	ldr	x8, [x8, _log_min_messages@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _DEBUG1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DEBUG1@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x9]
Lloh17:
	adrp	x9, _client_min_messages@GOTPAGE
Lloh18:
	ldr	x9, [x9, _client_min_messages@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #4, gt
	b.gt	LBB0_4
; %bb.3:
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_report_invalid_page
LBB0_4:
Lloh20:
	adrp	x23, _invalid_page_tab@GOTPAGE
Lloh21:
	ldr	x23, [x23, _invalid_page_tab@GOTPAGEOFF]
	ldr	x0, [x23]
	cbnz	x0, LBB0_6
; %bb.5:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh22:
	adrp	x8, lCPI0_0@PAGE
Lloh23:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh24:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
	str	d0, [sp, #16]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x2, sp, #16
	mov	w1, #100
	bl	_hash_create
	str	x0, [x23]
LBB0_6:
	stp	w21, w22, [sp, #20]
	str	w20, [sp, #16]
Lloh32:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	add	x1, sp, #16
	add	x3, sp, #12
	bl	_hash_search
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_8
; %bb.7:
	str	w19, [x0]
LBB0_8:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_reachedConsistency,8,3         ; @reachedConsistency
	.comm	_WARNING,8,3                    ; @WARNING
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WAL contains references to invalid pages"

	.comm	_log_min_messages,8,3           ; @log_min_messages
	.comm	_DEBUG1,8,3                     ; @DEBUG1
	.comm	_client_min_messages,8,3        ; @client_min_messages
	.comm	_invalid_page_tab,8,3           ; @invalid_page_tab
l_.str.1:                               ; @.str.1
	.asciz	"XLOG invalid-page table"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.no_dead_strip	_log_invalid_page
.subsections_via_symbols
