	.file	"extr_Admin.c_AdminReconnect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.globl	AdminReconnect
	.type	AdminReconnect, @function
AdminReconnect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	test	rdi, rdi
	je	.L2
	mov	esi, DWORD PTR [rdi]
	mov	rbx, rdi
	test	esi, esi
	jne	.L3
.L2:
	mov	eax, DWORD PTR ERR_INTERNAL_ERROR[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rbp, QWORD PTR 16[rdi]
	mov	r12, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [r12]
	call	AddRef@PLT
	mov	r13, QWORD PTR 8[rbx]
	mov	rdi, r13
	call	Disconnect@PLT
	mov	rdi, r13
	call	ReleaseSock@PLT
	mov	rdi, rbp
	call	ReleaseSession@PLT
	lea	rax, 4[rsp]
	mov	ecx, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR 32[rbx]
	mov	QWORD PTR 16[rbx], 0
	mov	r9d, DWORD PTR 28[rbx]
	lea	rsi, 36[rbx]
	mov	rdi, r12
	mov	QWORD PTR 8[rbx], 0
	push	rax
	.cfi_def_cfa_offset 72
	push	0
	.cfi_def_cfa_offset 80
	lea	r8, 16[rsp]
	call	AdminConnectMain@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	ReleaseCedar@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rsp]
	test	rbp, rbp
	je	.L1
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L14
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 16[rbx], rbp
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rbx], rax
	mov	edi, DWORD PTR [rax]
	call	AddRef@PLT
	mov	eax, DWORD PTR ERR_NO_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 24[rbx]
	lea	rsi, .LC0[rip]
	call	HashAdminPassword@PLT
	jmp	.L6
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AdminReconnect, .-AdminReconnect
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_INTERNAL_ERROR,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_AdminReconnect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AdminReconnect
	.syntax unified
	.arm
	.fpu softvfp
	.type	AdminReconnect, %function
AdminReconnect:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, #0
	ldr	r3, .L18
	sub	sp, sp, #32
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	str	r5, [sp, #24]
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, r5
	bne	.L3
.L2:
	ldr	r3, .L18+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r7, [r4, #8]
	ldr	r6, [r7, #4]
	ldr	r0, [r6]
	bl	AddRef
	ldr	r8, [r4, #4]
	mov	r0, r8
	bl	Disconnect
	mov	r0, r8
	bl	ReleaseSock
	mov	r0, r7
	bl	ReleaseSession
	ldr	r1, [r4, #16]
	add	r2, sp, #24
	add	r3, sp, #20
	str	r5, [r4, #8]
	str	r5, [r4, #4]
	str	r5, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp, #12]
	str	r3, [sp]
	ldr	r3, [r4, #12]
	ldr	r2, [r4, #20]
	add	r1, r4, #24
	mov	r0, r6
	bl	AdminConnectMain
	mov	r5, r0
	mov	r0, r6
	bl	ReleaseCedar
	cmp	r5, #0
	ldreq	r0, [sp, #20]
	beq	.L1
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L17
.L6:
	ldr	r3, [r5]
	str	r5, [r4, #8]
	ldr	r3, [r3]
	ldr	r0, [r3]
	str	r3, [r4, #4]
	bl	AddRef
	ldr	r3, .L18+8
	ldr	r0, [r3]
	b	.L1
.L17:
	ldr	r1, .L18+12
	ldr	r0, [r4, #12]
	bl	HashAdminPassword
	b	.L6
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	ERR_INTERNAL_ERROR
	.word	ERR_NO_ERROR
	.word	.LC0
	.size	AdminReconnect, .-AdminReconnect
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_INTERNAL_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
