	.file	"extr_Admin.c_StDeleteIpTable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no_delete_iptable"
	.text
	.p2align 4
	.globl	StDeleteIpTable
	.type	StDeleteIpTable, @function
StDeleteIpTable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r15, QWORD PTR 8[rdi]
	mov	r14, QWORD PTR ERR_NO_ERROR[rip]
	mov	r13, QWORD PTR 16[r15]
	mov	rdi, r13
	call	LockHubList@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r13
	call	GetHub@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	UnlockHubList@PLT
	test	rbp, rbp
	je	.L16
	mov	ecx, DWORD PTR [r12]
	test	ecx, ecx
	jne	.L4
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	GetHubAdminOption@PLT
	test	rax, rax
	jne	.L17
.L4:
	mov	edi, DWORD PTR 0[rbp]
	call	LockList@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 0[rbp]
	call	IsInListKey@PLT
	test	rax, rax
	jne	.L18
	mov	r14, QWORD PTR ERR_OBJECT_NOT_FOUND[rip]
.L6:
	mov	edi, DWORD PTR 0[rbp]
	call	UnlockList@PLT
	cmp	QWORD PTR ERR_OBJECT_NOT_FOUND[rip], r14
	je	.L19
.L7:
	mov	rdi, rbp
	call	ReleaseHub@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 0[rbp]
	call	ListKeyToPointer@PLT
	mov	rdi, rax
	mov	r12, rax
	call	Free@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, r12
	call	Delete@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR SERVER_TYPE_FARM_CONTROLLER[rip]
	cmp	QWORD PTR [r15], rax
	jne	.L7
	mov	edi, DWORD PTR 8[r15]
	xor	r12d, r12d
	call	LockList@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	add	r12, 1
.L8:
	mov	edi, DWORD PTR 8[r15]
	call	LIST_NUM@PLT
	mov	edi, DWORD PTR 8[r15]
	cmp	rax, r12
	jle	.L20
	mov	rsi, r12
	call	LIST_DATA@PLT
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jne	.L9
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR [rbx]
	mov	rsi, rax
	mov	rdi, r15
	call	SiCallDeleteIpTable@PLT
	mov	r14, QWORD PTR ERR_NO_ERROR[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	ReleaseHub@PLT
	mov	r14, QWORD PTR ERR_NOT_ENOUGH_RIGHT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r14, QWORD PTR ERR_HUB_NOT_FOUND[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	call	UnlockList@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	StDeleteIpTable, .-StDeleteIpTable
	.comm	SERVER_TYPE_FARM_CONTROLLER,8,8
	.comm	ERR_OBJECT_NOT_FOUND,8,8
	.comm	ERR_NO_ERROR,8,8
	.comm	ERR_NOT_ENOUGH_RIGHT,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_StDeleteIpTable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no_delete_iptable\000"
	.text
	.align	2
	.global	StDeleteIpTable
	.syntax unified
	.arm
	.fpu softvfp
	.type	StDeleteIpTable, %function
StDeleteIpTable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	ldr	r9, [r0, #4]
	ldr	r10, .L21
	ldr	r6, [r9, #8]
	mov	r5, r0
	mov	r0, r6
	ldr	r8, [r10]
	bl	LockHubList
	ldr	r1, [r7, #4]
	mov	r0, r6
	bl	GetHub
	mov	r4, r0
	mov	r0, r6
	bl	UnlockHubList
	cmp	r4, #0
	beq	.L16
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L4
	mov	r0, r4
	ldr	r1, .L21+4
	bl	GetHubAdminOption
	cmp	r0, #0
	bne	.L17
.L4:
	ldr	r0, [r4]
	bl	LockList
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	IsInListKey
	cmp	r0, #0
	bne	.L18
	ldr	r5, .L21+8
	ldr	r8, [r5]
.L6:
	ldr	r0, [r4]
	bl	UnlockList
	ldr	r3, [r5]
	cmp	r3, r8
	beq	.L19
.L7:
	mov	r0, r4
	bl	ReleaseHub
.L1:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	ListKeyToPointer
	mov	r5, r0
	bl	Free
	mov	r1, r5
	ldr	r0, [r4]
	bl	Delete
	ldr	r5, .L21+8
	b	.L6
.L19:
	ldr	r3, .L21+12
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
	ldr	r0, [r9, #4]
	bl	LockList
	mov	r5, #0
.L8:
	ldr	r0, [r9, #4]
	bl	LIST_NUM
	cmp	r0, r5
	ble	.L20
	mov	r1, r5
	ldr	r0, [r9, #4]
	bl	LIST_DATA
	ldr	r3, [r0]
	add	r5, r5, #1
	cmp	r3, #0
	bne	.L8
	mov	r1, r0
	ldr	r3, [r7]
	mov	r0, r9
	ldr	r2, [r7, #4]
	bl	SiCallDeleteIpTable
	ldr	r8, [r10]
	b	.L8
.L17:
	mov	r0, r4
	bl	ReleaseHub
	ldr	r3, .L21+16
	ldr	r8, [r3]
	b	.L1
.L16:
	ldr	r3, .L21+20
	ldr	r8, [r3]
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	ldr	r0, [r9, #4]
	bl	UnlockList
	b	.L7
.L22:
	.align	2
.L21:
	.word	ERR_NO_ERROR
	.word	.LC0
	.word	ERR_OBJECT_NOT_FOUND
	.word	SERVER_TYPE_FARM_CONTROLLER
	.word	ERR_NOT_ENOUGH_RIGHT
	.word	ERR_HUB_NOT_FOUND
	.size	StDeleteIpTable, .-StDeleteIpTable
	.comm	SERVER_TYPE_FARM_CONTROLLER,4,4
	.comm	ERR_OBJECT_NOT_FOUND,4,4
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_NOT_ENOUGH_RIGHT,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
