	.file	"extr_Admin.c_StEnumUser.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	StEnumUser
	.type	StEnumUser, @function
StEnumUser:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rsi
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR -88[rbp], rax
	mov	r15, QWORD PTR 8[rax]
	mov	eax, DWORD PTR MAX_HUBNAME_LEN[rip]
	lea	r14d, 1[rax]
	movsx	rax, r14d
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR SERVER_TYPE_FARM_MEMBER[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L23
.L5:
	mov	rdi, r15
	call	LockHubList@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, r15
	mov	rsi, QWORD PTR [rax]
	call	GetHub@PLT
	mov	rdi, r15
	mov	r13, rax
	call	UnlockHubList@PLT
	mov	eax, DWORD PTR ERR_HUB_NOT_FOUND[rip]
	test	r13, r13
	je	.L1
	mov	rbx, QWORD PTR -72[rbp]
	mov	rdi, rbx
	call	FreeRpcEnumUser@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	esi, r14d
	mov	rdi, rsp
	call	StrCpy@PLT
	mov	esi, 24
	mov	rdi, rbx
	call	Zero@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, rsp
	mov	esi, 8
	call	StrCpy@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rax]
	call	LockList@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rax]
	call	LIST_NUM@PLT
	mov	DWORD PTR 8[rbx], eax
	imul	edi, eax, 56
	mov	r15d, eax
	mov	DWORD PTR -76[rbp], eax
	call	ZeroMalloc@PLT
	mov	QWORD PTR 16[rbx], rax
	test	r15d, r15d
	jle	.L8
	xor	ebx, ebx
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 0[r13]
	mov	esi, r15d
	mov	edi, DWORD PTR [rax]
	call	LIST_DATA@PLT
	mov	edi, DWORD PTR 16[rax]
	mov	r14, rax
	call	Lock@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [r14]
	mov	esi, 8
	mov	r12, QWORD PTR 16[rax]
	add	r12, rbx
	mov	rdi, QWORD PTR [r12]
	call	StrCpy@PLT
	mov	rdx, QWORD PTR 8[r14]
	mov	rdi, QWORD PTR 8[r12]
	mov	esi, 8
	call	StrCpy@PLT
	mov	edx, DWORD PTR 56[r14]
	mov	edi, DWORD PTR 52[r12]
	mov	esi, 4
	call	UniStrCpy@PLT
	mov	edx, DWORD PTR 52[r14]
	mov	edi, DWORD PTR 48[r12]
	mov	esi, 4
	call	UniStrCpy@PLT
	mov	eax, DWORD PTR 48[r14]
	mov	DWORD PTR 44[r12], eax
	mov	eax, DWORD PTR 44[r14]
	mov	DWORD PTR 40[r12], eax
	mov	eax, DWORD PTR 40[r14]
	mov	DWORD PTR 36[r12], eax
	mov	rax, QWORD PTR 32[r14]
	test	rax, rax
	je	.L9
	cmp	QWORD PTR [rax], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR 16[r12], eax
.L9:
	mov	esi, DWORD PTR 24[r14]
	lea	rdi, 32[r12]
	add	r15d, 1
	add	rbx, 56
	mov	edx, 4
	call	Copy@PLT
	mov	eax, DWORD PTR 20[r14]
	mov	DWORD PTR 28[r12], eax
	movabs	rax, 4294967297
	mov	QWORD PTR 20[r12], rax
	mov	edi, DWORD PTR 16[r14]
	call	Unlock@PLT
	cmp	DWORD PTR -76[rbp], r15d
	jne	.L10
.L8:
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rax]
	call	UnlockList@PLT
	mov	rdi, r13
	call	ReleaseHub@PLT
	mov	rdi, QWORD PTR -88[rbp]
	call	IncrementServerConfigRevision@PLT
	mov	eax, DWORD PTR ERR_NO_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	eax, DWORD PTR ERR_NOT_SUPPORTED[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	or	QWORD PTR -8[rsp+rdx], 0
	mov	rcx, QWORD PTR SERVER_TYPE_FARM_MEMBER[rip]
	mov	rax, QWORD PTR -88[rbp]
	cmp	QWORD PTR [rax], rcx
	jne	.L5
	jmp	.L23
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	StEnumUser, .-StEnumUser
	.comm	SERVER_TYPE_FARM_MEMBER,8,8
	.comm	NO_SUPPORT_FOR_BRIDGE,4,4
	.comm	MAX_HUBNAME_LEN,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
	.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_StEnumUser.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	StEnumUser
	.syntax unified
	.arm
	.fpu softvfp
	.type	StEnumUser, %function
StEnumUser:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r3, .L18
	ldr	lr, [r0]
	ldr	r2, .L18+4
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	ip, [lr]
	mov	r6, r1
	add	r2, r3, #8
	ldr	r1, .L18+8
	str	lr, [fp, #-48]
	bic	r2, r2, #7
	cmp	ip, r0
	ldr	r1, [r1]
	str	r1, [fp, #-40]
	mov	r1,#0
	ldr	r5, [lr, #4]
	sub	sp, sp, r2
	beq	.L15
	mov	r0, r5
	add	r4, r3, #1
	bl	LockHubList
	ldr	r1, [r6]
	mov	r0, r5
	bl	GetHub
	mov	r7, r0
	mov	r0, r5
	bl	UnlockHubList
	cmp	r7, #0
	beq	.L16
	mov	r0, r6
	bl	FreeRpcEnumUser
	ldr	r2, [r6]
	mov	r1, r4
	mov	r0, sp
	bl	StrCpy
	mov	r1, #12
	mov	r0, r6
	bl	Zero
	mov	r2, sp
	mov	r1, #4
	ldr	r0, [r6]
	bl	StrCpy
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	LockList
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	LIST_NUM
	mov	r9, r0
	add	r0, r0, r0, lsl #1
	str	r9, [r6, #4]
	lsl	r0, r0, #4
	bl	ZeroMalloc
	cmp	r9, #0
	str	r0, [r6, #8]
	ble	.L5
	mov	r5, #0
	mov	r8, #1
.L7:
	ldr	r3, [r7]
	mov	r1, r5
	ldr	r0, [r3]
	bl	LIST_DATA
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	Lock
	ldr	r0, [r6, #8]
	add	r1, r5, r5, lsl #1
	add	r10, r0, r1, lsl #4
	ldr	r2, [r4]
	ldr	r0, [r0, r1, lsl #4]
	mov	r1, #4
	bl	StrCpy
	mov	r1, #4
	ldr	r2, [r4, #4]
	ldr	r0, [r10, #4]
	bl	StrCpy
	mov	r1, #4
	ldr	r2, [r4, #40]
	ldr	r0, [r10, #44]
	bl	UniStrCpy
	mov	r1, #4
	ldr	r2, [r4, #36]
	ldr	r0, [r10, #40]
	bl	UniStrCpy
	ldr	r2, [r4, #20]
	ldr	ip, [r4, #32]
	cmp	r2, #0
	ldrne	r2, [r2]
	ldr	r0, [r4, #28]
	clzne	r2, r2
	ldr	r1, [r4, #24]
	lsrne	r2, r2, #5
	strne	r2, [r10, #8]
	str	ip, [r10, #36]
	mov	r2, #4
	str	r0, [r10, #32]
	str	r1, [r10, #28]
	add	r0, r10, #24
	ldr	r1, [r4, #16]
	bl	Copy
	ldr	r2, [r4, #12]
	ldr	r0, [r4, #8]
	add	r5, r5, #1
	str	r8, [r10, #12]
	str	r2, [r10, #20]
	str	r8, [r10, #16]
	bl	Unlock
	cmp	r9, r5
	bne	.L7
.L5:
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	UnlockList
	mov	r0, r7
	bl	ReleaseHub
	ldr	r0, [fp, #-48]
	bl	IncrementServerConfigRevision
	ldr	r3, .L18+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r3, .L18+16
	ldr	r0, [r3]
	b	.L1
.L15:
	ldr	r3, .L18+20
	ldr	r0, [r3]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	MAX_HUBNAME_LEN
	.word	SERVER_TYPE_FARM_MEMBER
	.word	.LC0
	.word	ERR_NO_ERROR
	.word	ERR_HUB_NOT_FOUND
	.word	ERR_NOT_SUPPORTED
	.size	StEnumUser, .-StEnumUser
	.comm	SERVER_TYPE_FARM_MEMBER,4,4
	.comm	NO_SUPPORT_FOR_BRIDGE,4,4
	.comm	MAX_HUBNAME_LEN,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
