	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanityChecks
_sanityChecks:                          ## @sanityChecks
	.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	_ControlFile_target@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_ControlFile_source@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pg_fatal
LBB0_2:
	movq	_PG_CONTROL_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_6
## %bb.3:
	cmpq	%rax, 8(%r14)
	jne	LBB0_6
## %bb.4:
	movq	_CATALOG_VERSION_NO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 16(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	%rax, 16(%r14)
	je	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_pg_fatal
LBB0_7:
	movq	24(%rbx), %rax
	movq	_PG_DATA_CHECKSUM_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	cmpl	$0, 40(%rbx)
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	callq	_pg_fatal
LBB0_10:
	movq	32(%rbx), %rax
	movq	_DB_SHUTDOWNED@GOTPCREL(%rip), %rbx
	movq	_DB_SHUTDOWNED_IN_RECOVERY@GOTPCREL(%rip), %r15
	cmpq	(%rbx), %rax
	je	LBB0_13
## %bb.11:
	cmpq	(%r15), %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	callq	_pg_fatal
LBB0_13:
	movq	_datadir_source@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	movq	24(%r14), %rax
	cmpq	(%rbx), %rax
	je	LBB0_16
## %bb.15:
	cmpq	(%r15), %rax
	je	LBB0_16
## %bb.17:
	leaq	L_.str.4(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pg_fatal                       ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ControlFile_target,48,3        ## @ControlFile_target
	.comm	_ControlFile_source,32,3        ## @ControlFile_source
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"source and target clusters are from different systems"

	.comm	_PG_CONTROL_VERSION,8,3         ## @PG_CONTROL_VERSION
	.comm	_CATALOG_VERSION_NO,8,3         ## @CATALOG_VERSION_NO
L_.str.1:                               ## @.str.1
	.asciz	"clusters are not compatible with this version of pg_rewind"

	.comm	_PG_DATA_CHECKSUM_VERSION,8,3   ## @PG_DATA_CHECKSUM_VERSION
L_.str.2:                               ## @.str.2
	.asciz	"target server needs to use either data checksums or \"wal_log_hints = on\""

	.comm	_DB_SHUTDOWNED,8,3              ## @DB_SHUTDOWNED
	.comm	_DB_SHUTDOWNED_IN_RECOVERY,8,3  ## @DB_SHUTDOWNED_IN_RECOVERY
L_.str.3:                               ## @.str.3
	.asciz	"target server must be shut down cleanly"

	.comm	_datadir_source,8,3             ## @datadir_source
L_.str.4:                               ## @.str.4
	.asciz	"source data directory must be shut down cleanly"

	.no_dead_strip	_sanityChecks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanityChecks
_sanityChecks:                          ; @sanityChecks
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _ControlFile_target@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ControlFile_target@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x19, _ControlFile_source@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ControlFile_source@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_fatal
LBB0_2:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _PG_CONTROL_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PG_CONTROL_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x10, [x19, #8]
	cmp	x8, x9
	ccmp	x10, x9, #0, eq
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _CATALOG_VERSION_NO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CATALOG_VERSION_NO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x19, #16]
	cmp	x8, x9
	ccmp	x10, x9, #0, eq
	b.eq	LBB0_5
LBB0_4:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_fatal
LBB0_5:
	ldr	x8, [x20, #24]
Lloh14:
	adrp	x9, _PG_DATA_CHECKSUM_VERSION@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PG_DATA_CHECKSUM_VERSION@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w10, [x20, #40]
	cmp	x8, x9
	ccmp	w10, #0, #0, ne
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pg_fatal
LBB0_7:
	ldr	x8, [x20, #32]
Lloh19:
	adrp	x21, _DB_SHUTDOWNED@GOTPAGE
Lloh20:
	ldr	x21, [x21, _DB_SHUTDOWNED@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh21:
	adrp	x20, _DB_SHUTDOWNED_IN_RECOVERY@GOTPAGE
Lloh22:
	ldr	x20, [x20, _DB_SHUTDOWNED_IN_RECOVERY@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.8:
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pg_fatal
LBB0_10:
Lloh25:
	adrp	x8, _datadir_source@GOTPAGE
Lloh26:
	ldr	x8, [x8, _datadir_source@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	x8, [x19, #24]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.12:
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pg_fatal
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ControlFile_target,48,3        ; @ControlFile_target
	.comm	_ControlFile_source,32,3        ; @ControlFile_source
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"source and target clusters are from different systems"

	.comm	_PG_CONTROL_VERSION,8,3         ; @PG_CONTROL_VERSION
	.comm	_CATALOG_VERSION_NO,8,3         ; @CATALOG_VERSION_NO
l_.str.1:                               ; @.str.1
	.asciz	"clusters are not compatible with this version of pg_rewind"

	.comm	_PG_DATA_CHECKSUM_VERSION,8,3   ; @PG_DATA_CHECKSUM_VERSION
l_.str.2:                               ; @.str.2
	.asciz	"target server needs to use either data checksums or \"wal_log_hints = on\""

	.comm	_DB_SHUTDOWNED,8,3              ; @DB_SHUTDOWNED
	.comm	_DB_SHUTDOWNED_IN_RECOVERY,8,3  ; @DB_SHUTDOWNED_IN_RECOVERY
l_.str.3:                               ; @.str.3
	.asciz	"target server must be shut down cleanly"

	.comm	_datadir_source,8,3             ; @datadir_source
l_.str.4:                               ; @.str.4
	.asciz	"source data directory must be shut down cleanly"

	.no_dead_strip	_sanityChecks
.subsections_via_symbols
