	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetLinkOffline               ## -- Begin function StSetLinkOffline
	.p2align	4, 0x90
_StSetLinkOffline:                      ## @StSetLinkOffline
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_MAX_HUBNAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_MAX_ACCOUNT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incl	%r12d
	leaq	(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r13, %rbx
	movl	(%r13), %edi
	callq	_UniIsEmptyStr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_2:
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SERVER_TYPE_STANDALONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	%rdx, %rbx
	movq	%rdx, %rdi
	callq	_LockHubList
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %esi
	movq	%rbx, %rdi
	callq	_GetHub
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_UnlockHubList
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_7
LBB0_9:
	movl	4(%r13), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_StrCpy
	shll	$2, %r12d
	movl	(%r13), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rdi, %r12
	callq	_UniStrCpy
	movl	(%r15), %edi
	callq	_LockList
	movl	(%r15), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_13
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_Lock
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_UniStrCmpi
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r14), %edi
	callq	_Unlock
	incq	%rbx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_13:
	movl	(%r15), %edi
	callq	_UnlockList
	movq	%r15, %rdi
	callq	_ReleaseHub
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_3:
	movq	_ERR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_5:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_14:
	movl	4(%r14), %edi
	callq	_AddRef
	movl	(%r14), %edi
	callq	_Unlock
	movl	(%r15), %edi
	callq	_UnlockList
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_ALog
	movq	%r14, %rdi
	callq	_SetLinkOffline
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_IncrementServerConfigRevision
	movq	%r14, %rdi
	callq	_ReleaseLink
	movq	%r15, %rdi
	callq	_ReleaseHub
	movq	-88(%rbp), %rax                 ## 8-byte Reload
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_MAX_HUBNAME_LEN,4,2            ## @MAX_HUBNAME_LEN
	.comm	_MAX_ACCOUNT_NAME_LEN,4,2       ## @MAX_ACCOUNT_NAME_LEN
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_SERVER_TYPE_STANDALONE,8,3     ## @SERVER_TYPE_STANDALONE
	.comm	_ERR_NOT_SUPPORTED,8,3          ## @ERR_NOT_SUPPORTED
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,8,3          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_cascade"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ## @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"LA_SET_LINK_OFFLINE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetLinkOffline               ; -- Begin function StSetLinkOffline
	.p2align	2
_StSetLinkOffline:                      ; @StSetLinkOffline
	.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
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x20, [x0, #8]
Lloh3:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x27, [x20, #8]
Lloh5:
	ldr	x19, [x8]
Lloh6:
	adrp	x8, _MAX_HUBNAME_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_HUBNAME_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w25, w8, #1
	mov	x9, x25
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
Lloh11:
	adrp	x8, _MAX_ACCOUNT_NAME_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAX_ACCOUNT_NAME_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w28, w8, #1
	lsl	x8, x28, #2
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	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	w0, [x1]
	bl	_UniIsEmptyStr
	cbz	x0, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh18:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_2:
	ldr	x8, [x20]
Lloh19:
	adrp	x9, _SERVER_TYPE_STANDALONE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SERVER_TYPE_STANDALONE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x27
	bl	_LockHubList
	ldr	w1, [x22, #4]
	mov	x0, x27
	bl	_GetHub
	mov	x23, x0
	mov	x0, x27
	bl	_UnlockHubList
	cbz	x23, LBB0_11
; %bb.4:
	ldr	w8, [x21]
	cbz	w8, LBB0_12
LBB0_5:
	ldr	w2, [x22, #4]
	mov	x0, x26
	mov	x1, x25
	bl	_StrCpy
	lsl	w1, w28, #2
	ldr	w2, [x22]
	mov	x0, x24
	bl	_UniStrCpy
	ldr	w0, [x23]
	bl	_LockList
	ldr	w0, [x23]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x26, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x26
	bl	_LIST_DATA
	mov	x25, x0
	ldr	w0, [x0]
	bl	_Lock
	ldr	x8, [x25, #8]
	ldr	w0, [x8]
	mov	x1, x24
	bl	_UniStrCmpi
	cbz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25]
	bl	_Unlock
	add	x26, x26, #1
	ldr	w0, [x23]
	bl	_LIST_NUM
	cmp	x26, x0
	b.lt	LBB0_7
LBB0_9:
	ldr	w0, [x23]
	bl	_UnlockList
	mov	x0, x23
	bl	_ReleaseHub
Lloh22:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh24:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_10:
Lloh25:
	adrp	x8, _ERR_NOT_SUPPORTED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_NOT_SUPPORTED@GOTPAGEOFF]
Lloh27:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_11:
Lloh28:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
Lloh30:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_12:
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_GetHubAdminOption
	cbz	x0, LBB0_5
; %bb.13:
	mov	x0, x23
	bl	_ReleaseHub
Lloh33:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
Lloh35:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_14:
	ldr	w0, [x25, #4]
	bl	_AddRef
	ldr	w0, [x25]
	bl	_Unlock
	ldr	w0, [x23]
	bl	_UnlockList
	ldr	w3, [x22]
Lloh36:
	adrp	x2, l_.str.1@PAGE
Lloh37:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	bl	_ALog
	mov	x0, x25
	bl	_SetLinkOffline
	mov	x0, x20
	bl	_IncrementServerConfigRevision
	mov	x0, x25
	bl	_ReleaseLink
	mov	x0, x23
	bl	_ReleaseHub
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_MAX_HUBNAME_LEN,4,2            ; @MAX_HUBNAME_LEN
	.comm	_MAX_ACCOUNT_NAME_LEN,4,2       ; @MAX_ACCOUNT_NAME_LEN
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_SERVER_TYPE_STANDALONE,8,3     ; @SERVER_TYPE_STANDALONE
	.comm	_ERR_NOT_SUPPORTED,8,3          ; @ERR_NOT_SUPPORTED
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,8,3          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_cascade"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ; @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"LA_SET_LINK_OFFLINE"

.subsections_via_symbols
