	.file	"extr_secondary.c_init_remote.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"datasize"
.LC1:
	.string	"extentsize"
.LC2:
	.string	"resuid"
.LC3:
	.string	"localcnt"
.LC4:
	.string	"remotecnt"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"Unable to allocate memory (%zu bytes) for activemap."
	.section	.rodata.str1.1
.LC6:
	.string	"virgin"
.LC7:
	.string	"syncsrc"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"Resource unique ID mismatch (primary=%ju, secondary=%ju)."
	.section	.rodata.str1.1
.LC9:
	.string	"%s"
.LC10:
	.string	"errmsg"
.LC11:
	.string	"Unable to send response to %s"
.LC12:
	.string	"Unable to read activemap"
	.section	.rodata.str1.8
	.align 8
.LC13:
	.string	"Split-brain detected, exiting."
	.section	.rodata.str1.1
.LC14:
	.string	"Split-brain condition!"
	.section	.rodata.str1.8
	.align 8
.LC15:
	.string	"This should never happen, asking for full synchronization (primary(local=%ju, remote=%ju), secondary(local=%ju, remote=%ju))."
	.section	.rodata.str1.1
.LC16:
	.string	"mapsize"
	.section	.rodata.str1.8
	.align 8
.LC17:
	.string	"Unable to send activemap to %s"
	.text
	.p2align 4
	.type	init_remote, @function
init_remote:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 280
	.cfi_def_cfa_offset 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 264[rsp], rax
	xor	eax, eax
	call	nv_alloc@PLT
	mov	esi, DWORD PTR 80[rbx]
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	nv_add_int64@PLT
	mov	esi, DWORD PTR 56[rbx]
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	call	nv_add_int32@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	nv_get_uint64@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	mov	r15, rax
	call	nv_get_uint64@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, r14
	mov	QWORD PTR 40[rbx], rax
	call	nv_get_uint64@PLT
	mov	rsi, QWORD PTR 24[rbx]
	lea	rdx, .LC3[rip]
	mov	rdi, rbp
	mov	QWORD PTR 32[rbx], rax
	call	nv_add_uint64@PLT
	mov	rsi, QWORD PTR 16[rbx]
	lea	rdx, .LC4[rip]
	mov	rdi, rbp
	call	nv_add_uint64@PLT
	mov	edx, DWORD PTR 48[rbx]
	mov	rsi, QWORD PTR 56[rbx]
	mov	rdi, QWORD PTR 64[rbx]
	sub	rdi, QWORD PTR METADATA_SIZE[rip]
	call	activemap_calc_ondisk_size@PLT
	mov	rdi, rax
	mov	r13, rax
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L32
.L2:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L33
	cmp	rax, r15
	jne	.L34
	mov	rax, QWORD PTR 24[rbx]
	mov	rdx, QWORD PTR 32[rbx]
	cmp	rax, rdx
	ja	.L10
	je	.L35
.L11:
	mov	edi, 1
	cmp	rax, rdx
	jnb	.L36
.L17:
	call	PJDLOG_ASSERT@PLT
	mov	edx, DWORD PTR 48[rbx]
	mov	rsi, QWORD PTR 56[rbx]
	mov	rdi, QWORD PTR 64[rbx]
	sub	rdi, QWORD PTR METADATA_SIZE[rip]
	call	activemap_calc_ondisk_size@PLT
	mov	esi, 255
	mov	rdi, r12
	mov	rdx, rax
	mov	r13, rax
	call	memset@PLT
	mov	rax, QWORD PTR 32[rbx]
	lea	rdx, .LC7[rip]
	cmp	QWORD PTR 24[rbx], rax
	jbe	.L18
	mov	esi, DWORD PTR HAST_SYNCSRC_SECONDARY[rip]
	mov	rdi, rbp
	call	nv_add_uint8@PLT
.L19:
	mov	ecx, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR 32[rbx]
	lea	rdi, .LC15[rip]
	mov	r14d, r13d
	mov	r8d, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 40[rbx]
	call	pjdlog_warning@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, r12
	mov	r14, rsp
	call	free@PLT
	mov	r8d, DWORD PTR [rbx]
	mov	ecx, r15d
	mov	esi, 256
	lea	rdx, .LC8[rip]
	mov	rdi, r14
	call	snprintf@PLT
	mov	rsi, r14
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	pjdlog_error@PLT
	lea	rdx, .LC10[rip]
	mov	rsi, r14
	mov	rdi, rbp
	call	nv_add_string@PLT
	mov	esi, DWORD PTR 8[rbx]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rdi, rbx
	call	hast_proto_send@PLT
	cmp	eax, -1
	je	.L37
.L9:
	mov	rdi, rbp
	mov	r14d, r13d
	call	nv_free@PLT
	mov	edi, DWORD PTR EX_CONFIG[rip]
	call	exit@PLT
.L7:
	lea	rdx, .LC16[rip]
	mov	esi, r14d
	mov	rdi, rbp
	call	nv_add_uint32@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	r8, r13
	mov	rcx, r12
	mov	rdx, rbp
	mov	rdi, rbx
	call	hast_proto_send@PLT
	cmp	eax, -1
	je	.L38
.L20:
	test	r12, r12
	je	.L21
	mov	rdi, r12
	call	free@PLT
.L21:
	mov	rdi, rbp
	call	nv_free@PLT
	mov	rax, QWORD PTR 264[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 280
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 24[rbx], 0
	sete	dil
	call	PJDLOG_ASSERT@PLT
	mov	QWORD PTR [rbx], r15
	mov	rdi, rbx
	call	metadata_write@PLT
	cmp	eax, -1
	je	.L40
.L4:
	lea	rsi, .LC6[rip]
	mov	rdi, r14
	call	nv_exists@PLT
	test	rax, rax
	jne	.L41
	mov	rdx, r13
	mov	esi, 255
	mov	rdi, r12
	mov	r14d, r13d
	call	memset@PLT
.L6:
	mov	rdi, rbp
	lea	rdx, .LC6[rip]
	mov	esi, 1
	call	nv_add_int8@PLT
	mov	esi, DWORD PTR HAST_SYNCSRC_PRIMARY[rip]
	lea	rdx, .LC7[rip]
	mov	rdi, rbp
	call	nv_add_uint8@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L38:
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR EX_TEMPFAIL[rip]
	lea	rsi, .LC17[rip]
	xor	eax, eax
	call	pjdlog_exit@PLT
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, QWORD PTR 40[rbx]
	cmp	QWORD PTR 16[rbx], rcx
	je	.L12
	jnb	.L11
	mov	rdi, r12
	call	free@PLT
	lea	rdi, .LC13[rip]
	xor	eax, eax
	call	pjdlog_error@PLT
	lea	rdx, .LC10[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rbp
	call	nv_add_string@PLT
	mov	esi, DWORD PTR 8[rbx]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, rbp
	mov	rdi, rbx
	call	hast_proto_send@PLT
	cmp	eax, -1
	je	.L42
.L16:
	mov	rdi, rbp
	mov	r14d, r13d
	call	nv_free@PLT
	mov	esi, DWORD PTR EVENT_SPLITBRAIN[rip]
	mov	rdi, rbx
	call	event_send@PLT
	mov	edi, DWORD PTR EX_CONFIG[rip]
	call	exit@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, r12
	xor	r14d, r14d
	xor	r13d, r13d
	xor	r12d, r12d
	call	free@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdx, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 40[rbx]
	cmp	rdx, rax
	je	.L12
	jnb	.L13
.L12:
	mov	edi, DWORD PTR 72[rbx]
	mov	rcx, QWORD PTR METADATA_SIZE[rip]
	mov	rdx, r13
	mov	rsi, r12
	call	pread@PLT
	cmp	rax, r13
	je	.L14
	mov	edi, DWORD PTR LOG_ERR[rip]
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	pjdlog_exit@PLT
.L14:
	mov	rax, QWORD PTR 32[rbx]
	mov	r14d, r13d
	lea	rdx, .LC7[rip]
	cmp	QWORD PTR 24[rbx], rax
	jbe	.L15
	mov	rax, QWORD PTR 40[rbx]
	cmp	QWORD PTR 16[rbx], rax
	je	.L43
.L15:
	mov	esi, DWORD PTR HAST_SYNCSRC_PRIMARY[rip]
	mov	rdi, rbp
	call	nv_add_uint8@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, DWORD PTR HAST_SYNCSRC_PRIMARY[rip]
	mov	rdi, rbp
	call	nv_add_uint8@PLT
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edi, DWORD PTR EX_NOINPUT[rip]
	call	exit@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L37:
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR EX_TEMPFAIL[rip]
	lea	rsi, .LC11[rip]
	xor	eax, eax
	call	pjdlog_exit@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdx, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 40[rbx]
.L13:
	xor	edi, edi
	cmp	rdx, rax
	seta	dil
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L43:
	mov	esi, DWORD PTR HAST_SYNCSRC_SECONDARY[rip]
	mov	rdi, rbp
	call	nv_add_uint8@PLT
	jmp	.L7
.L42:
	mov	edx, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR EX_TEMPFAIL[rip]
	lea	rsi, .LC11[rip]
	xor	eax, eax
	call	pjdlog_exit@PLT
	jmp	.L16
.L39:
	call	__stack_chk_fail@PLT
.L32:
	mov	edi, DWORD PTR EX_TEMPFAIL[rip]
	mov	rdx, r13
	lea	rsi, .LC5[rip]
	call	pjdlog_exitx@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	init_remote, .-init_remote
	.comm	METADATA_SIZE,8,8
	.comm	LOG_WARNING,4,4
	.comm	LOG_ERR,4,4
	.comm	HAST_SYNCSRC_SECONDARY,4,4
	.comm	HAST_SYNCSRC_PRIMARY,4,4
	.comm	EX_TEMPFAIL,4,4
	.comm	EX_NOINPUT,4,4
	.comm	EX_CONFIG,4,4
	.comm	EVENT_SPLITBRAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_secondary.c_init_remote.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"datasize\000"
	.align	2
.LC1:
	.ascii	"extentsize\000"
	.align	2
.LC2:
	.ascii	"resuid\000"
	.align	2
.LC3:
	.ascii	"localcnt\000"
	.align	2
.LC4:
	.ascii	"remotecnt\000"
	.align	2
.LC5:
	.ascii	"Unable to allocate memory (%zu bytes) for activemap"
	.ascii	".\000"
	.align	2
.LC6:
	.ascii	"virgin\000"
	.align	2
.LC7:
	.ascii	"syncsrc\000"
	.align	2
.LC8:
	.ascii	"Resource unique ID mismatch (primary=%ju, secondary"
	.ascii	"=%ju).\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"errmsg\000"
	.align	2
.LC11:
	.ascii	"Unable to send response to %s\000"
	.align	2
.LC12:
	.ascii	"Unable to read activemap\000"
	.align	2
.LC13:
	.ascii	"Split-brain detected, exiting.\000"
	.align	2
.LC14:
	.ascii	"Split-brain condition!\000"
	.align	2
.LC15:
	.ascii	"This should never happen, asking for full synchroni"
	.ascii	"zation (primary(local=%ju, remote=%ju), secondary(l"
	.ascii	"ocal=%ju, remote=%ju)).\000"
	.align	2
.LC16:
	.ascii	"mapsize\000"
	.align	2
.LC17:
	.ascii	"Unable to send activemap to %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_remote, %function
init_remote:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L47
	sub	sp, sp, #276
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #268]
	mov	r3,#0
	mov	r7, r1
	bl	nv_alloc
	mov	r5, r0
	ldr	r1, [r4, #44]
	ldr	r2, .L47+4
	bl	nv_add_int64
	ldr	r2, .L47+8
	ldr	r1, [r4, #32]
	mov	r0, r5
	bl	nv_add_int32
	ldr	r1, .L47+12
	mov	r0, r7
	bl	nv_get_uint64
	ldr	r1, .L47+16
	mov	r9, r0
	mov	r0, r7
	bl	nv_get_uint64
	ldr	r1, .L47+20
	str	r0, [r4, #24]
	mov	r0, r7
	bl	nv_get_uint64
	ldr	fp, .L47+24
	ldr	r1, [r4, #16]
	ldr	r2, .L47+16
	str	r0, [r4, #20]
	mov	r0, r5
	bl	nv_add_uint64
	ldr	r1, [r4, #12]
	ldr	r2, .L47+20
	mov	r0, r5
	bl	nv_add_uint64
	ldr	r3, [fp]
	ldr	r0, [r4, #36]
	ldr	r2, [r4, #28]
	ldr	r1, [r4, #32]
	sub	r0, r0, r3
	bl	activemap_calc_ondisk_size
	mov	r8, r0
	bl	malloc
	subs	r6, r0, #0
	beq	.L37
.L2:
	ldr	r10, [r4]
	cmp	r10, #0
	beq	.L38
	cmp	r10, r9
	bne	.L39
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #20]
	cmp	r3, r2
	bhi	.L10
	beq	.L40
.L11:
	cmp	r3, r2
	movcc	r0, #1
	bcs	.L41
.L17:
	bl	PJDLOG_ASSERT
	ldr	r3, [fp]
	ldr	r0, [r4, #36]
	ldr	r2, [r4, #28]
	sub	r0, r0, r3
	ldr	r1, [r4, #32]
	bl	activemap_calc_ondisk_size
	mov	r7, r0
	mov	r2, r0
	mov	r1, #255
	mov	r0, r6
	bl	memset
	ldr	r3, [r4, #20]
	ldr	r2, [r4, #16]
	mov	r0, r5
	cmp	r2, r3
	ldrhi	r3, .L47+28
	ldrls	r3, .L47+32
	ldr	r2, .L47+36
	ldr	r1, [r3]
	bl	nv_add_uint8
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #16]
	str	r2, [sp]
	ldr	r2, [r4, #20]
	ldr	r1, [r4, #24]
	ldr	r0, .L47+40
	bl	pjdlog_warning
	mov	r1, r7
	ldr	r2, .L47+44
	mov	r0, r5
	bl	nv_add_uint32
	str	r7, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r4, #4]
	bl	hast_proto_send
	cmn	r0, #1
	beq	.L20
.L21:
	mov	r0, r6
	bl	free
	b	.L23
.L39:
	mov	r0, r6
	bl	free
	ldr	r2, [r4]
	mov	r3, r9
	mov	r1, #256
	str	r2, [sp]
	add	r0, sp, #12
	ldr	r2, .L47+48
	bl	snprintf
	add	r1, sp, #12
	ldr	r0, .L47+52
	bl	pjdlog_error
	ldr	r2, .L47+56
	add	r1, sp, #12
	mov	r0, r5
	bl	nv_add_string
	mov	r3, #0
	str	r3, [sp]
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r4, #4]
	bl	hast_proto_send
	cmn	r0, #1
	beq	.L42
.L9:
	mov	r0, r5
	bl	nv_free
	ldr	r3, .L47+60
	mov	r10, r8
	ldr	r0, [r3]
	bl	exit
.L7:
	mov	r1, r10
	ldr	r2, .L47+44
	mov	r0, r5
	bl	nv_add_uint32
	str	r8, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r4, #4]
	bl	hast_proto_send
	cmn	r0, #1
	beq	.L20
.L22:
	cmp	r6, #0
	bne	.L21
.L23:
	mov	r0, r5
	bl	nv_free
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [sp, #268]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L43
	add	sp, sp, #276
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	ldr	r0, [r4, #16]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	PJDLOG_ASSERT
	mov	r0, r4
	str	r9, [r4]
	bl	metadata_write
	cmn	r0, #1
	beq	.L44
.L4:
	mov	r0, r7
	ldr	r1, .L47+64
	bl	nv_exists
	cmp	r0, #0
	bne	.L45
	mov	r2, r8
	mov	r1, #255
	mov	r0, r6
	bl	memset
	mov	r10, r8
.L6:
	mov	r1, #1
	mov	r0, r5
	ldr	r2, .L47+64
	bl	nv_add_int8
.L15:
	ldr	r3, .L47+32
	mov	r0, r5
	ldr	r2, .L47+36
	ldr	r1, [r3]
	bl	nv_add_uint8
	b	.L7
.L20:
	ldr	r3, .L47+68
	ldr	r2, [r4, #8]
	ldr	r0, [r3]
	ldr	r1, .L47+72
	bl	pjdlog_exit
	b	.L22
.L10:
	ldr	r0, [r4, #12]
	ldr	r1, [r4, #24]
	cmp	r0, r1
	beq	.L12
	bcs	.L11
	mov	r0, r6
	bl	free
	ldr	r0, .L47+76
	bl	pjdlog_error
	ldr	r2, .L47+56
	ldr	r1, .L47+80
	mov	r0, r5
	bl	nv_add_string
	mov	r3, #0
	str	r3, [sp]
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r4, #4]
	bl	hast_proto_send
	cmn	r0, #1
	beq	.L46
.L16:
	mov	r0, r5
	bl	nv_free
	ldr	r3, .L47+84
	mov	r0, r4
	ldr	r1, [r3]
	bl	event_send
	ldr	r3, .L47+60
	mov	r10, r8
	ldr	r0, [r3]
	bl	exit
	b	.L7
.L45:
	mov	r0, r6
	mov	r6, #0
	bl	free
	mov	r8, r6
	b	.L6
.L40:
	ldr	r3, [r4, #12]
	ldr	r0, [r4, #24]
	cmp	r3, r0
	beq	.L12
	bcs	.L13
.L12:
	mov	r2, r8
	mov	r1, r6
	ldr	r3, [fp]
	ldr	r0, [r4, #40]
	bl	pread
	cmp	r0, r8
	mov	r10, r8
	beq	.L14
	ldr	r3, .L47+88
	ldr	r1, .L47+92
	ldr	r0, [r3]
	bl	pjdlog_exit
.L14:
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #20]
	cmp	r2, r3
	bls	.L15
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #24]
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L47+28
	mov	r0, r5
	ldr	r2, .L47+36
	ldr	r1, [r3]
	bl	nv_add_uint8
	b	.L7
.L44:
	ldr	r3, .L47+96
	ldr	r0, [r3]
	bl	exit
	b	.L4
.L42:
	ldr	r3, .L47+68
	ldr	r2, [r4, #8]
	ldr	r0, [r3]
	ldr	r1, .L47+100
	bl	pjdlog_exit
	b	.L9
.L41:
	ldr	r3, [r4, #12]
	ldr	r0, [r4, #24]
.L13:
	cmp	r0, r3
	movcs	r0, #0
	movcc	r0, #1
	b	.L17
.L46:
	ldr	r3, .L47+68
	ldr	r2, [r4, #8]
	ldr	r0, [r3]
	ldr	r1, .L47+100
	bl	pjdlog_exit
	b	.L16
.L43:
	bl	__stack_chk_fail
.L37:
	ldr	r3, .L47+68
	mov	r2, r8
	ldr	r0, [r3]
	ldr	r1, .L47+104
	bl	pjdlog_exitx
	b	.L2
.L48:
	.align	2
.L47:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	METADATA_SIZE
	.word	HAST_SYNCSRC_SECONDARY
	.word	HAST_SYNCSRC_PRIMARY
	.word	.LC7
	.word	.LC15
	.word	.LC16
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	EX_CONFIG
	.word	.LC6
	.word	EX_TEMPFAIL
	.word	.LC17
	.word	.LC13
	.word	.LC14
	.word	EVENT_SPLITBRAIN
	.word	LOG_ERR
	.word	.LC12
	.word	EX_NOINPUT
	.word	.LC11
	.word	.LC5
	.size	init_remote, .-init_remote
	.comm	METADATA_SIZE,4,4
	.comm	LOG_WARNING,4,4
	.comm	LOG_ERR,4,4
	.comm	HAST_SYNCSRC_SECONDARY,4,4
	.comm	HAST_SYNCSRC_PRIMARY,4,4
	.comm	EX_TEMPFAIL,4,4
	.comm	EX_NOINPUT,4,4
	.comm	EX_CONFIG,4,4
	.comm	EVENT_SPLITBRAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
