	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetHubAdminOptions           ## -- Begin function StGetHubAdminOptions
	.p2align	4, 0x90
_StGetHubAdminOptions:                  ## @StGetHubAdminOptions
	.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
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_ERR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	%rsi, %r15
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_LockHubList
	movl	16(%r15), %esi
	movq	%rbx, %rdi
	callq	_GetHub
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_UnlockHubList
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_FreeRpcAdminOption
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_Zero
	movl	16(%r15), %edi
	movl	4(%r14), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	(%r14), %edi
	callq	_LockList
	movl	(%r14), %edi
	callq	_LIST_NUM
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	shll	$2, %eax
	leal	(%rax,%rax,2), %edi
	callq	_ZeroMalloc
	movq	%rax, 8(%r15)
	cmpl	$0, (%r15)
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_LIST_DATA
	movq	%rax, %r12
	movq	8(%r15), %r14
	movl	(%r14,%rbx), %edi
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	8(%r12), %eax
	movl	%eax, 8(%r14,%rbx)
	movl	(%r14,%rbx), %edi
	movl	4(%r14,%rbx), %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_GetHubAdminOptionHelpString
	movl	%r12d, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	_UniStrCpy
	incq	%r13
	movslq	(%r15), %rax
	addq	$12, %rbx
	cmpq	%rax, %r13
	jb	LBB0_6
LBB0_7:
	movl	(%r14), %edi
	callq	_UnlockList
	movq	%r14, %rdi
	callq	_ReleaseHub
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,8,3          ## @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,8,3          ## @ERR_HUB_NOT_FOUND
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetHubAdminOptions           ; -- Begin function StGetHubAdminOptions
	.p2align	2
_StGetHubAdminOptions:                  ; @StGetHubAdminOptions
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERR_NOT_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NOT_SUPPORTED@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	mov	x19, x1
	ldr	x21, [x8, #8]
	mov	x0, x21
	bl	_LockHubList
	ldr	w1, [x19, #16]
	mov	x0, x21
	bl	_GetHub
	mov	x20, x0
	mov	x0, x21
	bl	_UnlockHubList
	cbz	x20, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_FreeRpcAdminOption
	mov	x0, x19
	mov	w1, #24
	bl	_Zero
	ldr	w0, [x19, #16]
	ldr	w2, [x20, #4]
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x20]
	bl	_LockList
	ldr	w0, [x20]
	bl	_LIST_NUM
	str	w0, [x19]
	add	w8, w0, w0, lsl #1
	lsl	w0, w8, #2
	bl	_ZeroMalloc
	str	x0, [x19, #8]
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x23, #0
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x22, x0
	ldr	x8, [x19, #8]
	add	x24, x8, x23
	ldr	w0, [x24]
	ldr	w2, [x22]
	mov	w1, #4
	bl	_StrCpy
	ldr	w8, [x22, #8]
	str	w8, [x24, #8]
	ldp	w0, w22, [x24]
	bl	_GetHubAdminOptionHelpString
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_UniStrCpy
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x23, x23, #12
	cmp	x21, x8
	b.lo	LBB0_5
LBB0_6:
	ldr	w0, [x20]
	bl	_UnlockList
	mov	x0, x20
	bl	_ReleaseHub
Lloh5:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,8,3          ; @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,8,3          ; @ERR_HUB_NOT_FOUND
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
.subsections_via_symbols
