	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_remote
_init_remote:                           ## @init_remote
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_nv_alloc
	movq	%rax, %rbx
	movl	80(%r14), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_nv_add_int64
	movl	56(%r14), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_nv_add_int32
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_nv_get_uint64
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	leaq	L_.str.3(%rip), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_nv_get_uint64
	movq	%rax, 40(%r14)
	leaq	L_.str.4(%rip), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nv_get_uint64
	movq	%rax, 32(%r14)
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_nv_add_uint64
	movq	16(%r14), %rsi
	movq	%rbx, -312(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_nv_add_uint64
	movq	64(%r14), %rdi
	movq	_METADATA_SIZE@GOTPCREL(%rip), %rbx
	subq	(%rbx), %rdi
	movq	56(%r14), %rsi
	movl	48(%r14), %edx
	callq	_activemap_calc_ondisk_size
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_malloc
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	callq	_pjdlog_exitx
LBB0_2:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.9:
	movq	%rbx, %r13
	movq	-328(%rbp), %rbx                ## 8-byte Reload
	cmpq	%rbx, %r15
	jne	LBB0_10
## %bb.14:
	movq	24(%r14), %rax
	movq	32(%r14), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_16
## %bb.15:
	movq	16(%r14), %rdx
	cmpq	40(%r14), %rdx
	je	LBB0_18
LBB0_16:
	cmpq	%rcx, %rax
	jne	LBB0_24
## %bb.17:
	movq	16(%r14), %rdx
	cmpq	40(%r14), %rdx
	jbe	LBB0_18
LBB0_24:
	cmpq	%rcx, %rax
	movq	-320(%rbp), %r15                ## 8-byte Reload
	jbe	LBB0_29
## %bb.25:
	movq	40(%r14), %rdx
	cmpq	16(%r14), %rdx
	ja	LBB0_26
LBB0_29:
	movl	$1, %edi
	cmpq	%rcx, %rax
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	jb	LBB0_31
## %bb.30:
	movq	40(%r14), %rax
	xorl	%edi, %edi
	cmpq	16(%r14), %rax
	setb	%dil
LBB0_31:
	callq	_PJDLOG_ASSERT
	movq	64(%r14), %rdi
	subq	(%r13), %rdi
	movq	56(%r14), %rsi
	movl	48(%r14), %edx
	callq	_activemap_calc_ondisk_size
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$255, %esi
	movq	%rax, %rdx
	callq	_memset
	movq	24(%r14), %rax
	cmpq	32(%r14), %rax
	jbe	LBB0_32
## %bb.33:
	movq	_HAST_SYNCSRC_SECONDARY@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_3:
	xorl	%edi, %edi
	cmpq	$0, 24(%r14)
	sete	%dil
	callq	_PJDLOG_ASSERT
	movq	-328(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_metadata_write
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.4:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_nv_exists
	testq	%rax, %rax
	movq	-320(%rbp), %r15                ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_free
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_18:
	movl	72(%r14), %edi
	movq	(%r13), %rcx
	movq	-320(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_pread
	cmpq	%r12, %rax
	je	LBB0_20
## %bb.19:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_20:
	movq	24(%r14), %rax
	cmpq	32(%r14), %rax
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	jbe	LBB0_8
## %bb.21:
	movq	16(%r14), %rax
	cmpq	40(%r14), %rax
	jne	LBB0_8
## %bb.22:
	movq	_HAST_SYNCSRC_SECONDARY@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_32:
	movq	_HAST_SYNCSRC_PRIMARY@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	callq	_nv_add_uint8
	movl	40(%r14), %esi
	movl	32(%r14), %edx
	movl	16(%r14), %r8d
	movl	24(%r14), %ecx
	leaq	L_.str.15(%rip), %rdi
	callq	_pjdlog_warning
	jmp	LBB0_35
LBB0_6:
	movq	%r15, %rdi
	movl	$255, %esi
	movq	%r12, %rdx
	callq	_memset
LBB0_7:
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_nv_add_int8
LBB0_8:
	movq	_HAST_SYNCSRC_PRIMARY@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	callq	_nv_add_uint8
LBB0_35:
	leaq	L_.str.16(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_nv_add_uint32
	movl	8(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_hast_proto_send
	cmpl	$-1, %eax
	jne	LBB0_37
## %bb.36:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %edx
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_37:
	testq	%r15, %r15
	je	LBB0_39
## %bb.38:
	movq	%r15, %rdi
	callq	_free
LBB0_39:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.40:
	movq	%rbx, %rdi
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_free                        ## TAILCALL
LBB0_42:
	callq	___stack_chk_fail
LBB0_10:
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	leaq	L_.str.8(%rip), %rdx
	leaq	-304(%rbp), %r12
	movq	%r12, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_snprintf
	leaq	L_.str.9(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pjdlog_error
	leaq	L_.str.10(%rip), %rdx
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_nv_add_string
	movl	8(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_hast_proto_send
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.11:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %edx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_12:
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	callq	_nv_free
	jmp	LBB0_13
LBB0_41:
	movq	_EX_NOINPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_26:
	movq	%r15, %rdi
	callq	_free
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_pjdlog_error
	leaq	L_.str.14(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nv_add_string
	movl	8(%r14), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_hast_proto_send
	cmpl	$-1, %eax
	jne	LBB0_28
## %bb.27:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %edx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_pjdlog_exit
LBB0_28:
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	callq	_nv_free
	movq	_EVENT_SPLITBRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_event_send
LBB0_13:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"datasize"

L_.str.1:                               ## @.str.1
	.asciz	"extentsize"

L_.str.2:                               ## @.str.2
	.asciz	"resuid"

L_.str.3:                               ## @.str.3
	.asciz	"localcnt"

L_.str.4:                               ## @.str.4
	.asciz	"remotecnt"

	.comm	_METADATA_SIZE,8,3              ## @METADATA_SIZE
	.comm	_EX_TEMPFAIL,4,2                ## @EX_TEMPFAIL
L_.str.5:                               ## @.str.5
	.asciz	"Unable to allocate memory (%zu bytes) for activemap."

	.comm	_EX_NOINPUT,4,2                 ## @EX_NOINPUT
L_.str.6:                               ## @.str.6
	.asciz	"virgin"

	.comm	_HAST_SYNCSRC_PRIMARY,4,2       ## @HAST_SYNCSRC_PRIMARY
L_.str.7:                               ## @.str.7
	.asciz	"syncsrc"

L_.str.8:                               ## @.str.8
	.asciz	"Resource unique ID mismatch (primary=%ju, secondary=%ju)."

L_.str.9:                               ## @.str.9
	.asciz	"%s"

L_.str.10:                              ## @.str.10
	.asciz	"errmsg"

L_.str.11:                              ## @.str.11
	.asciz	"Unable to send response to %s"

	.comm	_EX_CONFIG,4,2                  ## @EX_CONFIG
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.12:                              ## @.str.12
	.asciz	"Unable to read activemap"

	.comm	_HAST_SYNCSRC_SECONDARY,4,2     ## @HAST_SYNCSRC_SECONDARY
L_.str.13:                              ## @.str.13
	.asciz	"Split-brain detected, exiting."

L_.str.14:                              ## @.str.14
	.asciz	"Split-brain condition!"

	.comm	_EVENT_SPLITBRAIN,4,2           ## @EVENT_SPLITBRAIN
L_.str.15:                              ## @.str.15
	.asciz	"This should never happen, asking for full synchronization (primary(local=%ju, remote=%ju), secondary(local=%ju, remote=%ju))."

L_.str.16:                              ## @.str.16
	.asciz	"mapsize"

L_.str.17:                              ## @.str.17
	.asciz	"Unable to send activemap to %s"

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
	.no_dead_strip	_init_remote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_remote
_init_remote:                           ; @init_remote
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_nv_alloc
	mov	x19, x0
	ldr	w1, [x20, #80]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_nv_add_int64
	ldr	w1, [x20, #56]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nv_add_int32
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_nv_get_uint64
	mov	x24, x0
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x1, x21
	bl	_nv_get_uint64
	str	x0, [x20, #40]
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x1, x22
	bl	_nv_get_uint64
	str	x0, [x20, #32]
	ldr	x1, [x20, #24]
	mov	x0, x19
	mov	x2, x21
	bl	_nv_add_uint64
	ldr	x1, [x20, #16]
	mov	x0, x19
	mov	x2, x22
	bl	_nv_add_uint64
Lloh13:
	adrp	x25, _METADATA_SIZE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _METADATA_SIZE@GOTPAGEOFF]
	ldr	x8, [x25]
	ldp	x1, x9, [x20, #56]
	sub	x0, x9, x8
	ldr	w2, [x20, #48]
	bl	_activemap_calc_ondisk_size
	mov	x22, x0
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
LBB0_2:
	cmp	x8, x24
	b.ne	LBB0_33
; %bb.3:
	ldp	x8, x9, [x20, #24]
	cmp	x8, x9
	b.ls	LBB0_5
; %bb.4:
	ldr	x10, [x20, #16]
	ldr	x11, [x20, #40]
	cmp	x10, x11
	b.eq	LBB0_15
LBB0_5:
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x10, [x20, #16]
	ldr	x11, [x20, #40]
	cmp	x10, x11
	b.ls	LBB0_15
LBB0_7:
	cmp	x8, x9
	b.ls	LBB0_9
; %bb.8:
	ldr	x10, [x20, #40]
	ldr	x11, [x20, #16]
	cmp	x10, x11
	b.hi	LBB0_37
LBB0_9:
	cmp	x8, x9
	b.hs	LBB0_20
; %bb.10:
	mov	w0, #1
	b	LBB0_21
LBB0_11:
Lloh15:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x22
	bl	_pjdlog_exitx
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
LBB0_12:
	ldr	x8, [x20, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	str	x24, [x20]
	mov	x0, x20
	bl	_metadata_write
	cmn	w0, #1
	b.eq	LBB0_36
; %bb.13:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_nv_exists
	cbz	x0, LBB0_22
; %bb.14:
	mov	x0, x21
	bl	_free
	mov	x21, #0
	mov	x22, #0
	b	LBB0_23
LBB0_15:
	ldr	w0, [x20, #72]
	ldr	x3, [x25]
	mov	x1, x21
	mov	x2, x22
	bl	_pread
	cmp	x0, x22
	b.eq	LBB0_17
; %bb.16:
Lloh22:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.12@PAGE
Lloh26:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_pjdlog_exit
LBB0_17:
	ldp	x8, x9, [x20, #24]
	cmp	x8, x9
	b.ls	LBB0_24
; %bb.18:
	ldr	x8, [x20, #16]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.19:
Lloh27:
	adrp	x8, _HAST_SYNCSRC_SECONDARY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HAST_SYNCSRC_SECONDARY@GOTPAGEOFF]
	b	LBB0_25
LBB0_20:
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	cset	w0, lo
LBB0_21:
	bl	_PJDLOG_ASSERT
	ldr	x8, [x25]
	ldp	x1, x9, [x20, #56]
	sub	x0, x9, x8
	ldr	w2, [x20, #48]
	bl	_activemap_calc_ondisk_size
	mov	x22, x0
	mov	x0, x21
	mov	w1, #255
	mov	x2, x22
	bl	_memset
Lloh29:
	adrp	x8, _HAST_SYNCSRC_SECONDARY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HAST_SYNCSRC_SECONDARY@GOTPAGEOFF]
	ldp	x9, x10, [x20, #24]
Lloh31:
	adrp	x11, _HAST_SYNCSRC_PRIMARY@GOTPAGE
Lloh32:
	ldr	x11, [x11, _HAST_SYNCSRC_PRIMARY@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x8, x11, hi
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.7@PAGE
Lloh34:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_nv_add_uint8
	ldr	w1, [x20, #40]
	ldr	w2, [x20, #32]
	ldr	w3, [x20, #24]
	ldr	w4, [x20, #16]
Lloh35:
	adrp	x0, l_.str.15@PAGE
Lloh36:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_pjdlog_warning
	b	LBB0_26
LBB0_22:
	mov	x0, x21
	mov	w1, #255
	mov	x2, x22
	bl	_memset
LBB0_23:
Lloh37:
	adrp	x2, l_.str.6@PAGE
Lloh38:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_nv_add_int8
LBB0_24:
Lloh39:
	adrp	x8, _HAST_SYNCSRC_PRIMARY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HAST_SYNCSRC_PRIMARY@GOTPAGEOFF]
LBB0_25:
	ldr	w1, [x8]
Lloh41:
	adrp	x2, l_.str.7@PAGE
Lloh42:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_nv_add_uint8
LBB0_26:
Lloh43:
	adrp	x2, l_.str.16@PAGE
Lloh44:
	add	x2, x2, l_.str.16@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_nv_add_uint32
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	bl	_hast_proto_send
	cmn	w0, #1
	b.ne	LBB0_28
; %bb.27:
Lloh45:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh48:
	adrp	x1, l_.str.17@PAGE
Lloh49:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_pjdlog_exit
LBB0_28:
	cbz	x21, LBB0_30
; %bb.29:
	mov	x0, x21
	bl	_free
LBB0_30:
	ldur	x8, [x29, #-72]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	mov	x0, x19
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	b	_nv_free
LBB0_32:
	bl	___stack_chk_fail
LBB0_33:
	mov	x0, x21
	mov	x21, x8
	bl	_free
Lloh53:
	adrp	x2, l_.str.8@PAGE
Lloh54:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #256
	mov	x3, x24
	mov	x4, x21
	bl	_snprintf
	str	x22, [sp]
Lloh55:
	adrp	x0, l_.str.9@PAGE
Lloh56:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pjdlog_error
Lloh57:
	adrp	x2, l_.str.10@PAGE
Lloh58:
	add	x2, x2, l_.str.10@PAGEOFF
	add	x1, sp, #8
	mov	x0, x19
	bl	_nv_add_string
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
	bl	_hast_proto_send
	cmn	w0, #1
	b.ne	LBB0_35
; %bb.34:
Lloh59:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh62:
	adrp	x1, l_.str.11@PAGE
Lloh63:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_pjdlog_exit
LBB0_35:
	mov	x0, x19
	bl	_nv_free
	b	LBB0_40
LBB0_36:
Lloh64:
	adrp	x8, _EX_NOINPUT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EX_NOINPUT@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	bl	_exit
LBB0_37:
	mov	x0, x21
	bl	_free
Lloh67:
	adrp	x0, l_.str.13@PAGE
Lloh68:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pjdlog_error
Lloh69:
	adrp	x1, l_.str.14@PAGE
Lloh70:
	add	x1, x1, l_.str.14@PAGEOFF
Lloh71:
	adrp	x2, l_.str.10@PAGE
Lloh72:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_nv_add_string
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
	bl	_hast_proto_send
	cmn	w0, #1
	b.ne	LBB0_39
; %bb.38:
Lloh73:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh76:
	adrp	x1, l_.str.11@PAGE
Lloh77:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_pjdlog_exit
LBB0_39:
	mov	x0, x19
	bl	_nv_free
Lloh78:
	adrp	x8, _EVENT_SPLITBRAIN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _EVENT_SPLITBRAIN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_event_send
LBB0_40:
Lloh81:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh82:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"datasize"

l_.str.1:                               ; @.str.1
	.asciz	"extentsize"

l_.str.2:                               ; @.str.2
	.asciz	"resuid"

l_.str.3:                               ; @.str.3
	.asciz	"localcnt"

l_.str.4:                               ; @.str.4
	.asciz	"remotecnt"

	.comm	_METADATA_SIZE,8,3              ; @METADATA_SIZE
	.comm	_EX_TEMPFAIL,4,2                ; @EX_TEMPFAIL
l_.str.5:                               ; @.str.5
	.asciz	"Unable to allocate memory (%zu bytes) for activemap."

	.comm	_EX_NOINPUT,4,2                 ; @EX_NOINPUT
l_.str.6:                               ; @.str.6
	.asciz	"virgin"

	.comm	_HAST_SYNCSRC_PRIMARY,4,2       ; @HAST_SYNCSRC_PRIMARY
l_.str.7:                               ; @.str.7
	.asciz	"syncsrc"

l_.str.8:                               ; @.str.8
	.asciz	"Resource unique ID mismatch (primary=%ju, secondary=%ju)."

l_.str.9:                               ; @.str.9
	.asciz	"%s"

l_.str.10:                              ; @.str.10
	.asciz	"errmsg"

l_.str.11:                              ; @.str.11
	.asciz	"Unable to send response to %s"

	.comm	_EX_CONFIG,4,2                  ; @EX_CONFIG
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.12:                              ; @.str.12
	.asciz	"Unable to read activemap"

	.comm	_HAST_SYNCSRC_SECONDARY,4,2     ; @HAST_SYNCSRC_SECONDARY
l_.str.13:                              ; @.str.13
	.asciz	"Split-brain detected, exiting."

l_.str.14:                              ; @.str.14
	.asciz	"Split-brain condition!"

	.comm	_EVENT_SPLITBRAIN,4,2           ; @EVENT_SPLITBRAIN
l_.str.15:                              ; @.str.15
	.asciz	"This should never happen, asking for full synchronization (primary(local=%ju, remote=%ju), secondary(local=%ju, remote=%ju))."

l_.str.16:                              ; @.str.16
	.asciz	"mapsize"

l_.str.17:                              ; @.str.17
	.asciz	"Unable to send activemap to %s"

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
	.no_dead_strip	_init_remote
.subsections_via_symbols
