	.file	"extr_Admin.c_StGetHubAdminOptions.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	StGetHubAdminOptions
	.type	StGetHubAdminOptions, @function
StGetHubAdminOptions:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rcx, QWORD PTR SERVER_TYPE_FARM_MEMBER[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L12
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR 8[rax]
	mov	rdi, rbp
	call	LockHubList@PLT
	mov	esi, DWORD PTR 16[r13]
	mov	rdi, rbp
	call	GetHub@PLT
	mov	rdi, rbp
	mov	r14, rax
	call	UnlockHubList@PLT
	mov	rax, QWORD PTR ERR_HUB_NOT_FOUND[rip]
	test	r14, r14
	je	.L1
	mov	rdi, r13
	call	FreeRpcAdminOption@PLT
	mov	esi, 24
	mov	rdi, r13
	call	Zero@PLT
	mov	edx, DWORD PTR 4[r14]
	mov	edi, DWORD PTR 16[r13]
	mov	esi, 4
	call	StrCpy@PLT
	mov	edi, DWORD PTR [r14]
	call	LockList@PLT
	mov	edi, DWORD PTR [r14]
	call	LIST_NUM@PLT
	mov	DWORD PTR 0[r13], eax
	lea	edi, [rax+rax*2]
	sal	edi, 2
	call	ZeroMalloc@PLT
	mov	QWORD PTR 8[r13], rax
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	je	.L5
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [r14]
	mov	rsi, rbx
	call	LIST_DATA@PLT
	lea	rdx, [rbx+rbx*2]
	mov	esi, 4
	add	rbx, 1
	mov	r12, rax
	mov	rax, QWORD PTR 8[r13]
	lea	rbp, [rax+rdx*4]
	mov	edx, DWORD PTR [r12]
	mov	edi, DWORD PTR 0[rbp]
	call	StrCpy@PLT
	mov	eax, DWORD PTR 8[r12]
	mov	edi, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbp], eax
	call	GetHubAdminOptionHelpString@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, 4
	mov	edx, eax
	call	UniStrCpy@PLT
	movsx	rax, DWORD PTR 0[r13]
	cmp	rax, rbx
	ja	.L6
.L5:
	mov	edi, DWORD PTR [r14]
	call	UnlockList@PLT
	mov	rdi, r14
	call	ReleaseHub@PLT
	mov	rax, QWORD PTR ERR_NO_ERROR[rip]
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	mov	rax, QWORD PTR ERR_NOT_SUPPORTED[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	StGetHubAdminOptions, .-StGetHubAdminOptions
	.comm	SERVER_TYPE_FARM_MEMBER,8,8
	.comm	NO_SUPPORT_FOR_BRIDGE,4,4
	.comm	ERR_NO_ERROR,8,8
	.comm	ERR_NOT_SUPPORTED,8,8
	.comm	ERR_HUB_NOT_FOUND,8,8
	.comm	CHECK_RIGHT,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_Admin.c_StGetHubAdminOptions.c"
	.text
	.align	2
	.global	StGetHubAdminOptions
	.syntax unified
	.arm
	.fpu softvfp
	.type	StGetHubAdminOptions, %function
StGetHubAdminOptions:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	r2, .L17
	ldr	r0, [r3]
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L15
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r1
	ldr	r4, [r3, #4]
	mov	r0, r4
	bl	LockHubList
	ldr	r1, [r8, #8]
	mov	r0, r4
	bl	GetHub
	mov	r9, r0
	mov	r0, r4
	bl	UnlockHubList
	cmp	r9, #0
	beq	.L16
	mov	r0, r8
	bl	FreeRpcAdminOption
	mov	r1, #12
	mov	r0, r8
	bl	Zero
	mov	r1, #4
	ldr	r2, [r9, #4]
	ldr	r0, [r8, #8]
	bl	StrCpy
	ldr	r0, [r9]
	bl	LockList
	ldr	r0, [r9]
	bl	LIST_NUM
	add	r3, r0, r0, lsl #1
	str	r0, [r8]
	lsl	r0, r3, #2
	bl	ZeroMalloc
	ldr	r3, [r8]
	str	r0, [r8, #4]
	cmp	r3, #0
	beq	.L5
	mov	r4, #0
	mov	r6, r4
.L6:
	mov	r1, r6
	ldr	r0, [r9]
	bl	LIST_DATA
	mov	r5, r0
	ldr	r7, [r8, #4]
	mov	r1, #4
	ldr	r2, [r0]
	ldr	r0, [r7, r4]
	bl	StrCpy
	ldr	r2, [r5, #8]
	add	r3, r7, r4
	str	r2, [r3, #8]
	ldr	r0, [r7, r4]
	ldr	r5, [r3, #4]
	bl	GetHubAdminOptionHelpString
	mov	r1, #4
	mov	r2, r0
	mov	r0, r5
	bl	UniStrCpy
	ldr	r3, [r8]
	add	r6, r6, #1
	cmp	r3, r6
	add	r4, r4, #12
	bhi	.L6
.L5:
	ldr	r0, [r9]
	bl	UnlockList
	mov	r0, r9
	bl	ReleaseHub
	ldr	r3, .L17+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r3, .L17+12
	ldr	r0, [r3]
	bx	lr
.L18:
	.align	2
.L17:
	.word	SERVER_TYPE_FARM_MEMBER
	.word	ERR_NO_ERROR
	.word	ERR_HUB_NOT_FOUND
	.word	ERR_NOT_SUPPORTED
	.size	StGetHubAdminOptions, .-StGetHubAdminOptions
	.comm	SERVER_TYPE_FARM_MEMBER,4,4
	.comm	NO_SUPPORT_FOR_BRIDGE,4,4
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_NOT_SUPPORTED,4,4
	.comm	ERR_HUB_NOT_FOUND,4,4
	.comm	CHECK_RIGHT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
