	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetHub                       ## -- Begin function StSetHub
	.p2align	4, 0x90
_StSetHub:                              ## @StSetHub
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_2
LBB0_1:
	movq	_ERR_NOT_FARM_CONTROLLER@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r12
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	48(%rsi), %edi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r15d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.6:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	48(%r13), %edi
	callq	_IsSafeStr
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_1
## %bb.9:
	movq	_SERVER_TYPE_STANDALONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %rcx
	movq	_HUB_TYPE_STANDALONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_11:
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	(%r13), %rax
	movq	_HUB_TYPE_STANDALONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_13:
	movq	%r12, %rdi
	callq	_LockHubList
	movl	48(%r13), %esi
	movq	%r12, %rdi
	callq	_GetHub
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_UnlockHubList
	testq	%r14, %r14
	je	LBB0_26
## %bb.14:
	movq	(%r14), %rax
	cmpq	(%r13), %rax
	jne	LBB0_27
## %bb.15:
	movq	8(%r13), %rdi
	callq	_StrLen
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	8(%r13), %r12
	movq	32(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_StrLen
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_Sha0
	movq	8(%r13), %rdx
	movq	24(%r13), %rdi
	movq	_ADMINISTRATOR_USERNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HashPassword
LBB0_17:
	movq	32(%r13), %rdi
	movl	$8, %esi
	callq	_IsZero
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movq	24(%r13), %rdi
	movl	$8, %esi
	callq	_IsZero
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_44
LBB0_20:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rcx, %r12
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r12), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_ADMINISTRATOR_USERNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rdx, %r14
	callq	_HashPassword
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_Sha0
	movq	32(%r13), %rdi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_Cmp
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	24(%r13), %rdi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_Cmp
	testq	%rax, %rax
	jne	LBB0_24
LBB0_22:
	cmpl	$0, (%r14)
	jne	LBB0_24
## %bb.23:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	$127, (%rax)
	jne	LBB0_43
LBB0_24:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	12(%r12), %edi
	callq	_Lock
	cmpl	$0, (%r14)
	je	LBB0_28
## %bb.25:
	movq	(%r13), %rax
	jmp	LBB0_29
LBB0_26:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_27:
	movq	%r14, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_28:
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	jne	LBB0_32
LBB0_29:
	movq	%rax, (%r12)
	movl	44(%r13), %eax
	movq	24(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	40(%r13), %eax
	movl	%eax, (%rcx)
	movq	32(%r13), %rdi
	movl	$8, %esi
	callq	_IsZero
	testl	%eax, %eax
	jne	LBB0_33
## %bb.30:
	movq	24(%r13), %rdi
	movl	$8, %esi
	callq	_IsZero
	testl	%eax, %eax
	jne	LBB0_33
## %bb.31:
	movl	20(%r12), %edi
	movq	32(%r13), %rsi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_Copy
	movl	16(%r12), %edi
	movq	24(%r13), %rsi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_Copy
	jmp	LBB0_33
LBB0_32:
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_33:
	movl	12(%r12), %edi
	callq	_Unlock
	cmpq	$0, 16(%r13)
	movl	(%r14), %eax
	je	LBB0_36
## %bb.34:
	testl	%eax, %eax
	je	LBB0_38
LBB0_35:
	movq	%r12, %rdi
	callq	_SetHubOnline
	jmp	LBB0_40
LBB0_36:
	testl	%eax, %eax
	je	LBB0_39
LBB0_37:
	movq	%r12, %rdi
	callq	_SetHubOffline
	jmp	LBB0_40
LBB0_38:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	jne	LBB0_40
	jmp	LBB0_35
LBB0_39:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_37
LBB0_40:
	movq	(%r12), %rax
	movq	_HUB_TYPE_FARM_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
## %bb.41:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_EnableSecureNAT
LBB0_42:
	incl	8(%r12)
	movq	%r12, %rdi
	callq	_SiHubUpdateProc
	movq	%rbx, %rdi
	callq	_IncrementServerConfigRevision
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ALog
	movq	%r12, %rdi
	callq	_ReleaseHub
	jmp	LBB0_5
LBB0_43:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ReleaseHub
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_44:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_20
## %bb.45:
	movq	%r14, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,4,2    ## @ERR_NOT_FARM_CONTROLLER
	.comm	_ERR_INVALID_PARAMETER,4,2      ## @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_STANDALONE,8,3     ## @SERVER_TYPE_STANDALONE
	.comm	_HUB_TYPE_STANDALONE,8,3        ## @HUB_TYPE_STANDALONE
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.comm	_ERR_NOT_SUPPORTED,4,2          ## @ERR_NOT_SUPPORTED
	.comm	_ADMINISTRATOR_USERNAME,4,2     ## @ADMINISTRATOR_USERNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_admin_password"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ## @ERR_NOT_ENOUGH_RIGHT
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
L_.str.1:                               ## @.str.1
	.space	1

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

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

	.comm	_HUB_TYPE_FARM_STATIC,8,3       ## @HUB_TYPE_FARM_STATIC
L_.str.4:                               ## @.str.4
	.asciz	"LA_SET_HUB"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetHub                       ; -- Begin function StSetHub
	.p2align	2
_StSetHub:                              ; @StSetHub
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x21, [x0, #16]
	ldr	x8, [x21]
Lloh3:
	adrp	x22, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x23, x1
	mov	x20, x0
	ldr	x24, [x21, #8]
Lloh7:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	ldr	w0, [x1, #48]
	bl	_IsEmptyStr
	cbz	x0, LBB0_7
LBB0_3:
Lloh10:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
LBB0_4:
	ldr	w19, [x8]
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_46
; %bb.6:
	mov	x0, x19
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w0, [x23, #48]
	bl	_IsSafeStr
	cbz	w0, LBB0_3
; %bb.8:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.9:
Lloh15:
	adrp	x9, _SERVER_TYPE_STANDALONE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SERVER_TYPE_STANDALONE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	x9, [x23]
Lloh18:
	adrp	x10, _HUB_TYPE_STANDALONE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _HUB_TYPE_STANDALONE@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
LBB0_11:
Lloh21:
	adrp	x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x23]
Lloh24:
	adrp	x9, _HUB_TYPE_STANDALONE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HUB_TYPE_STANDALONE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_13:
	mov	x0, x24
	bl	_LockHubList
	ldr	w1, [x23, #48]
	mov	x0, x24
	bl	_GetHub
	mov	x22, x0
	mov	x0, x24
	bl	_UnlockHubList
	cbz	x22, LBB0_26
; %bb.14:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.15:
	ldr	x0, [x23, #8]
	bl	_StrLen
Lloh27:
	adrp	x26, _ADMINISTRATOR_USERNAME@GOTPAGE
Lloh28:
	ldr	x26, [x26, _ADMINISTRATOR_USERNAME@GOTPAGEOFF]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x24, [x23, #32]
	ldr	x25, [x23, #8]
	mov	x0, x25
	bl	_StrLen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	bl	_Sha0
	ldr	x0, [x23, #24]
	ldr	w1, [x26]
	ldr	x2, [x23, #8]
	bl	_HashPassword
LBB0_17:
	ldr	x0, [x23, #32]
	mov	w1, #8
	bl	_IsZero
	cbnz	w0, LBB0_20
; %bb.18:
	ldr	x0, [x23, #24]
	mov	w1, #8
	bl	_IsZero
	cbnz	w0, LBB0_20
; %bb.19:
	ldr	w8, [x20]
	cbz	w8, LBB0_44
LBB0_20:
	mov	x28, sp
Lloh29:
	adrp	x27, _SHA1_SIZE@GOTPAGE
Lloh30:
	ldr	x27, [x27, _SHA1_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh31:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh32:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh33:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh34:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w1, [x26]
Lloh35:
	adrp	x26, l_.str.1@PAGE
Lloh36:
	add	x26, x26, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x2, x26
	bl	_HashPassword
	mov	x0, x25
	mov	x1, x26
	mov	x2, #0
	bl	_Sha0
	ldr	x0, [x23, #32]
	ldr	w2, [x27]
	mov	x1, x25
	bl	_Cmp
	cbz	x0, LBB0_22
; %bb.21:
	ldr	x0, [x23, #24]
	ldr	w2, [x27]
	mov	x1, x24
	bl	_Cmp
	cbnz	x0, LBB0_24
LBB0_22:
	ldr	w8, [x20]
	cbnz	w8, LBB0_24
; %bb.23:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #127
	b.ne	LBB0_43
LBB0_24:
	mov	sp, x28
	ldr	w0, [x22, #12]
	bl	_Lock
	ldr	w8, [x20]
	cbz	w8, LBB0_28
; %bb.25:
	ldr	x8, [x23]
	b	LBB0_29
LBB0_26:
Lloh37:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_4
LBB0_27:
	mov	x0, x22
	bl	_ReleaseHub
Lloh39:
	adrp	x8, _ERR_NOT_SUPPORTED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ERR_NOT_SUPPORTED@GOTPAGEOFF]
	b	LBB0_4
LBB0_28:
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_32
LBB0_29:
	str	x8, [x22]
	ldr	x8, [x22, #24]
	ldr	d0, [x23, #40]
	str	d0, [x8]
	ldr	x0, [x23, #32]
	mov	w1, #8
	bl	_IsZero
	cbnz	w0, LBB0_33
; %bb.30:
	ldr	x0, [x23, #24]
	mov	w1, #8
	bl	_IsZero
	cbnz	w0, LBB0_33
; %bb.31:
	ldr	w0, [x22, #20]
	ldr	x1, [x23, #32]
	ldr	w2, [x27]
	bl	_Copy
	ldr	w0, [x22, #16]
	ldr	x1, [x23, #24]
	ldr	w2, [x27]
	bl	_Copy
	b	LBB0_33
LBB0_32:
Lloh41:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
Lloh43:
	ldr	w19, [x8]
LBB0_33:
	ldr	w0, [x22, #12]
	bl	_Unlock
	ldr	x9, [x23, #16]
	ldr	w8, [x20]
	cbz	x9, LBB0_36
; %bb.34:
	cbz	w8, LBB0_38
LBB0_35:
	mov	x0, x22
	bl	_SetHubOnline
	b	LBB0_40
LBB0_36:
	cbz	w8, LBB0_39
LBB0_37:
	mov	x0, x22
	bl	_SetHubOffline
	b	LBB0_40
LBB0_38:
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_GetHubAdminOption
	cbnz	x0, LBB0_40
	b	LBB0_35
LBB0_39:
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_GetHubAdminOption
	cbz	x0, LBB0_37
LBB0_40:
	ldr	x8, [x22]
Lloh48:
	adrp	x9, _HUB_TYPE_FARM_STATIC@GOTPAGE
Lloh49:
	ldr	x9, [x9, _HUB_TYPE_FARM_STATIC@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_42
; %bb.41:
	mov	x0, x22
	mov	w1, #0
	bl	_EnableSecureNAT
LBB0_42:
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	mov	x0, x22
	bl	_SiHubUpdateProc
	mov	x0, x21
	bl	_IncrementServerConfigRevision
Lloh51:
	adrp	x2, l_.str.4@PAGE
Lloh52:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_ALog
	mov	x0, x22
	bl	_ReleaseHub
	b	LBB0_5
LBB0_43:
	mov	x0, x22
	bl	_ReleaseHub
Lloh53:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh55:
	ldr	w19, [x8]
	mov	sp, x28
	b	LBB0_5
LBB0_44:
Lloh56:
	adrp	x1, l_.str@PAGE
Lloh57:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_GetHubAdminOption
	cbz	x0, LBB0_20
; %bb.45:
	mov	x0, x22
	bl	_ReleaseHub
Lloh58:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
	b	LBB0_4
LBB0_46:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,4,2    ; @ERR_NOT_FARM_CONTROLLER
	.comm	_ERR_INVALID_PARAMETER,4,2      ; @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_STANDALONE,8,3     ; @SERVER_TYPE_STANDALONE
	.comm	_HUB_TYPE_STANDALONE,8,3        ; @HUB_TYPE_STANDALONE
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.comm	_ERR_NOT_SUPPORTED,4,2          ; @ERR_NOT_SUPPORTED
	.comm	_ADMINISTRATOR_USERNAME,4,2     ; @ADMINISTRATOR_USERNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_change_admin_password"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ; @ERR_NOT_ENOUGH_RIGHT
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
l_.str.1:                               ; @.str.1
	.space	1

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

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

	.comm	_HUB_TYPE_FARM_STATIC,8,3       ; @HUB_TYPE_FARM_STATIC
l_.str.4:                               ; @.str.4
	.asciz	"LA_SET_HUB"

.subsections_via_symbols
