	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_resources
_update_resources:                      ## @update_resources
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_get_ticks
	movq	_last_resources_update@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movq	_UPDATE_INTERVAL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_25
## %bb.1:
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_free_resources
	xorl	%eax, %eax
	callq	_nv_alloc
	movq	%rax, %rbx
	movq	_HASTCTL_CMD_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_nv_add_uint8
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_nv_add_string
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_hastctl
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_nv_free
	movl	$-1, %r14d
	testl	%r15d, %r15d
	jne	LBB0_25
## %bb.2:
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_24
## %bb.3:
	movq	%rax, %r12
	movl	$1, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, 8(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.15(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 136(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.16(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 128(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.17(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 120(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.18(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 112(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.19(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 104(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.20(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 96(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.21(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 88(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.22(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 80(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.23(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 72(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.24(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 64(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.25(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_int32
	movl	%eax, 56(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.26(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 48(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.27(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 40(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.28(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 32(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.29(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 24(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.30(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint64
	movq	%rax, 16(%r13)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_resources@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_TAILQ_INSERT_TAIL
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	callq	_nv_get_string
	movq	%rax, %r12
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_24
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	movl	$184, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	leal	-1(%rbx), %r15d
	movl	%ebx, (%rax)
	movl	180(%rax), %edi
	movq	%r12, %rsi
	movl	$3, %edx
	callq	_strncpy
	movq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_int16
	testl	%eax, %eax
	jne	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_str2role
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_HAST_ROLE_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, 176(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	172(%r13), %edi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_strncpy
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	168(%r13), %edi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_strncpy
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint32
	movq	%rax, 160(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_uint32
	movq	%rax, 152(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	148(%r13), %edi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_strncpy
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.12(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	144(%r13), %edi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_strncpy
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.13(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	movl	$-1, %r12d
	movl	$-1, %ecx
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_str2replication
	movl	%eax, %ecx
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, 4(%r13)
	movq	-48(%rbp), %rdi
	leaq	L_.str.14(%rip), %rsi
	movl	%r15d, %edx
	callq	_nv_get_string
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_str2status
	movl	%eax, %r12d
	jmp	LBB0_22
LBB0_24:
	movq	-48(%rbp), %rdi
	callq	_nv_free
	jmp	LBB0_25
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	movl	$184, %esi
	callq	_pjdlog_error
	movl	$-1, %r14d
LBB0_25:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_resources_update,8,3      ## @last_resources_update
	.comm	_UPDATE_INTERVAL,8,3            ## @UPDATE_INTERVAL
	.comm	_HASTCTL_CMD_STATUS,4,2         ## @HASTCTL_CMD_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd"

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

L_.str.2:                               ## @.str.2
	.asciz	"resource%d"

L_.str.3:                               ## @.str.3
	.asciz	"resource%u"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to allocate %zu bytes for resource"

L_.str.5:                               ## @.str.5
	.asciz	"error%u"

L_.str.6:                               ## @.str.6
	.asciz	"role%u"

	.comm	_HAST_ROLE_UNDEF,4,2            ## @HAST_ROLE_UNDEF
L_.str.7:                               ## @.str.7
	.asciz	"provname%u"

L_.str.8:                               ## @.str.8
	.asciz	"localpath%u"

L_.str.9:                               ## @.str.9
	.asciz	"extentsize%u"

L_.str.10:                              ## @.str.10
	.asciz	"keepdirty%u"

L_.str.11:                              ## @.str.11
	.asciz	"remoteaddr%u"

L_.str.12:                              ## @.str.12
	.asciz	"sourceaddr%u"

L_.str.13:                              ## @.str.13
	.asciz	"replication%u"

L_.str.14:                              ## @.str.14
	.asciz	"status%u"

L_.str.15:                              ## @.str.15
	.asciz	"dirty%u"

L_.str.16:                              ## @.str.16
	.asciz	"stat_read%u"

L_.str.17:                              ## @.str.17
	.asciz	"stat_write%u"

L_.str.18:                              ## @.str.18
	.asciz	"stat_delete%u"

L_.str.19:                              ## @.str.19
	.asciz	"stat_flush%u"

L_.str.20:                              ## @.str.20
	.asciz	"stat_activemap_update%u"

L_.str.21:                              ## @.str.21
	.asciz	"stat_read_error%u"

L_.str.22:                              ## @.str.22
	.asciz	"stat_write_error%u"

L_.str.23:                              ## @.str.23
	.asciz	"stat_delete_error%u"

L_.str.24:                              ## @.str.24
	.asciz	"stat_flush_error%u"

L_.str.25:                              ## @.str.25
	.asciz	"workerpid%u"

L_.str.26:                              ## @.str.26
	.asciz	"local_queue_size%u"

L_.str.27:                              ## @.str.27
	.asciz	"send_queue_size%u"

L_.str.28:                              ## @.str.28
	.asciz	"recv_queue_size%u"

L_.str.29:                              ## @.str.29
	.asciz	"done_queue_size%u"

L_.str.30:                              ## @.str.30
	.asciz	"idle_queue_size%u"

	.comm	_resources,4,2                  ## @resources
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_update_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_resources
_update_resources:                      ; @update_resources
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_get_ticks
Lloh0:
	adrp	x8, _last_resources_update@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_resources_update@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _UPDATE_INTERVAL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _UPDATE_INTERVAL@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	sub	x9, x0, x9
	cmp	x9, x10
	b.lt	LBB0_27
; %bb.1:
	str	x0, [x8]
	bl	_free_resources
	bl	_nv_alloc
	mov	x19, x0
Lloh5:
	adrp	x8, _HASTCTL_CMD_STATUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASTCTL_CMD_STATUS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_nv_add_uint8
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_nv_add_string
	add	x1, sp, #8
	mov	x0, x19
	bl	_hastctl
	mov	x20, x0
	mov	x0, x19
	bl	_nv_free
	cbz	w20, LBB0_3
; %bb.2:
	mov	w0, #-1
	b	LBB0_28
LBB0_3:
	ldr	x0, [sp, #8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #0
	bl	_nv_get_string
	cbz	x0, LBB0_26
; %bb.4:
	mov	x26, x0
	mov	w19, #1
Lloh16:
	adrp	x20, l_.str.5@PAGE
Lloh17:
	add	x20, x20, l_.str.5@PAGEOFF
Lloh18:
	adrp	x27, l_.str.28@PAGE
Lloh19:
	add	x27, x27, l_.str.28@PAGEOFF
Lloh20:
	adrp	x28, l_.str.29@PAGE
Lloh21:
	add	x28, x28, l_.str.29@PAGEOFF
Lloh22:
	adrp	x21, l_.str.30@PAGE
Lloh23:
	add	x21, x21, l_.str.30@PAGEOFF
Lloh24:
	adrp	x22, _resources@GOTPAGE
Lloh25:
	ldr	x22, [x22, _resources@GOTPAGEOFF]
Lloh26:
	adrp	x23, l_.str.3@PAGE
Lloh27:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_str2status
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	w0, [x24, #8]
	ldr	x0, [sp, #8]
Lloh28:
	adrp	x1, l_.str.15@PAGE
Lloh29:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #136]
	ldr	x0, [sp, #8]
Lloh30:
	adrp	x1, l_.str.16@PAGE
Lloh31:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #128]
	ldr	x0, [sp, #8]
Lloh32:
	adrp	x1, l_.str.17@PAGE
Lloh33:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #120]
	ldr	x0, [sp, #8]
Lloh34:
	adrp	x1, l_.str.18@PAGE
Lloh35:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #112]
	ldr	x0, [sp, #8]
Lloh36:
	adrp	x1, l_.str.19@PAGE
Lloh37:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #104]
	ldr	x0, [sp, #8]
Lloh38:
	adrp	x1, l_.str.20@PAGE
Lloh39:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #96]
	ldr	x0, [sp, #8]
Lloh40:
	adrp	x1, l_.str.21@PAGE
Lloh41:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #88]
	ldr	x0, [sp, #8]
Lloh42:
	adrp	x1, l_.str.22@PAGE
Lloh43:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #80]
	ldr	x0, [sp, #8]
Lloh44:
	adrp	x1, l_.str.23@PAGE
Lloh45:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #72]
	ldr	x0, [sp, #8]
Lloh46:
	adrp	x1, l_.str.24@PAGE
Lloh47:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #64]
	ldr	x0, [sp, #8]
Lloh48:
	adrp	x1, l_.str.25@PAGE
Lloh49:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x2, x25
	bl	_nv_get_int32
	str	w0, [x24, #56]
	ldr	x0, [sp, #8]
Lloh50:
	adrp	x1, l_.str.26@PAGE
Lloh51:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #48]
	ldr	x0, [sp, #8]
Lloh52:
	adrp	x1, l_.str.27@PAGE
Lloh53:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #40]
	ldr	x0, [sp, #8]
	mov	x1, x27
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #32]
	ldr	x0, [sp, #8]
	mov	x1, x28
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #24]
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	x2, x25
	bl	_nv_get_uint64
	str	x0, [x24, #16]
Lloh54:
	adrp	x8, _link@GOTPAGE
Lloh55:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_TAILQ_INSERT_TAIL
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x23
	mov	x2, x19
	bl	_nv_get_string
	mov	x26, x0
	add	w19, w19, #1
	cbz	x0, LBB0_26
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	mov	w1, #184
	bl	_calloc
	cbz	x0, LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
	sub	w25, w19, #1
	str	w19, [x0]
	ldr	w0, [x0, #180]
	mov	x1, x26
	mov	w2, #3
	bl	_strncpy
	ldr	x0, [sp, #8]
	mov	x1, x20
	mov	x2, x25
	bl	_nv_get_int16
	cbnz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
Lloh57:
	adrp	x1, l_.str.6@PAGE
Lloh58:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_str2role
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh59:
	adrp	x8, _HAST_ROLE_UNDEF@GOTPAGE
Lloh60:
	ldr	x8, [x8, _HAST_ROLE_UNDEF@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w0, [x24, #176]
	ldr	x0, [sp, #8]
Lloh62:
	adrp	x1, l_.str.7@PAGE
Lloh63:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	ldr	w0, [x24, #172]
	mov	w2, #3
	bl	_strncpy
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
Lloh64:
	adrp	x1, l_.str.8@PAGE
Lloh65:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	ldr	w0, [x24, #168]
	mov	w2, #3
	bl	_strncpy
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
Lloh66:
	adrp	x1, l_.str.9@PAGE
Lloh67:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint32
	str	x0, [x24, #160]
	ldr	x0, [sp, #8]
Lloh68:
	adrp	x1, l_.str.10@PAGE
Lloh69:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x25
	bl	_nv_get_uint32
	str	x0, [x24, #152]
	ldr	x0, [sp, #8]
Lloh70:
	adrp	x1, l_.str.11@PAGE
Lloh71:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	ldr	w0, [x24, #148]
	mov	w2, #3
	bl	_strncpy
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
Lloh72:
	adrp	x1, l_.str.12@PAGE
Lloh73:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	ldr	w0, [x24, #144]
	mov	w2, #3
	bl	_strncpy
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
Lloh74:
	adrp	x1, l_.str.13@PAGE
Lloh75:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_str2replication
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #-1
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w0, [x24, #4]
	ldr	x0, [sp, #8]
Lloh76:
	adrp	x1, l_.str.14@PAGE
Lloh77:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, x25
	bl	_nv_get_string
	cbnz	x0, LBB0_5
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #-1
	b	LBB0_6
LBB0_26:
	ldr	x0, [sp, #8]
	bl	_nv_free
LBB0_27:
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
Lloh78:
	adrp	x0, l_.str.4@PAGE
Lloh79:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #184
	bl	_pjdlog_error
	mov	w0, #-1
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_last_resources_update,8,3      ; @last_resources_update
	.comm	_UPDATE_INTERVAL,8,3            ; @UPDATE_INTERVAL
	.comm	_HASTCTL_CMD_STATUS,4,2         ; @HASTCTL_CMD_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd"

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

l_.str.2:                               ; @.str.2
	.asciz	"resource%d"

l_.str.3:                               ; @.str.3
	.asciz	"resource%u"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to allocate %zu bytes for resource"

l_.str.5:                               ; @.str.5
	.asciz	"error%u"

l_.str.6:                               ; @.str.6
	.asciz	"role%u"

	.comm	_HAST_ROLE_UNDEF,4,2            ; @HAST_ROLE_UNDEF
l_.str.7:                               ; @.str.7
	.asciz	"provname%u"

l_.str.8:                               ; @.str.8
	.asciz	"localpath%u"

l_.str.9:                               ; @.str.9
	.asciz	"extentsize%u"

l_.str.10:                              ; @.str.10
	.asciz	"keepdirty%u"

l_.str.11:                              ; @.str.11
	.asciz	"remoteaddr%u"

l_.str.12:                              ; @.str.12
	.asciz	"sourceaddr%u"

l_.str.13:                              ; @.str.13
	.asciz	"replication%u"

l_.str.14:                              ; @.str.14
	.asciz	"status%u"

l_.str.15:                              ; @.str.15
	.asciz	"dirty%u"

l_.str.16:                              ; @.str.16
	.asciz	"stat_read%u"

l_.str.17:                              ; @.str.17
	.asciz	"stat_write%u"

l_.str.18:                              ; @.str.18
	.asciz	"stat_delete%u"

l_.str.19:                              ; @.str.19
	.asciz	"stat_flush%u"

l_.str.20:                              ; @.str.20
	.asciz	"stat_activemap_update%u"

l_.str.21:                              ; @.str.21
	.asciz	"stat_read_error%u"

l_.str.22:                              ; @.str.22
	.asciz	"stat_write_error%u"

l_.str.23:                              ; @.str.23
	.asciz	"stat_delete_error%u"

l_.str.24:                              ; @.str.24
	.asciz	"stat_flush_error%u"

l_.str.25:                              ; @.str.25
	.asciz	"workerpid%u"

l_.str.26:                              ; @.str.26
	.asciz	"local_queue_size%u"

l_.str.27:                              ; @.str.27
	.asciz	"send_queue_size%u"

l_.str.28:                              ; @.str.28
	.asciz	"recv_queue_size%u"

l_.str.29:                              ; @.str.29
	.asciz	"done_queue_size%u"

l_.str.30:                              ; @.str.30
	.asciz	"idle_queue_size%u"

	.comm	_resources,4,2                  ; @resources
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_update_resources
.subsections_via_symbols
