	.file	"extr_tc.func.c_auto_lock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Password:"
.LC1:
	.string	"\nIncorrect passwd for %s\n"
	.text
	.p2align 4
	.type	auto_lock, @function
auto_lock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edi, DWORD PTR euid[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	call	xgetpwuid@PLT
	test	rax, rax
	je	.L2
	mov	r12, QWORD PTR 8[rax]
	mov	rbp, rax
	test	r12, r12
	je	.L2
	xor	edi, edi
	mov	ebx, 5
	lea	r13, .LC0[rip]
	call	setalarm@PLT
	mov	edi, 10
	call	xputchar@PLT
.L7:
	mov	rdi, r13
	call	xgetpass@PLT
	mov	rsi, r12
	mov	r14, rax
	mov	rdi, rax
	xor	eax, eax
	call	crypt@PLT
	test	eax, eax
	je	.L4
	movsx	rdi, eax
	mov	rsi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L18
.L4:
	mov	r14, QWORD PTR 0[rbp]
	mov	esi, 2
	mov	edi, 22
	lea	rdx, .LC1[rip]
	call	CGETS@PLT
	mov	edi, eax
	mov	rsi, r14
	call	xprintf@PLT
	sub	ebx, 1
	jne	.L7
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	jmp	auto_logout@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, r14
	call	strlen@PLT
	xor	esi, esi
	mov	rdi, r14
	mov	edx, eax
	call	memset@PLT
	cmp	QWORD PTR GettingInput[rip], 0
	je	.L5
	cmp	QWORD PTR just_signaled[rip], 0
	jne	.L5
	xor	eax, eax
	call	Rawmode@PLT
	xor	eax, eax
	call	ClearLines@PLT
	xor	eax, eax
	call	ClearDisp@PLT
	xor	eax, eax
	call	Refresh@PLT
.L5:
	mov	QWORD PTR just_signaled[rip], 0
	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
	.cfi_endproc
.LFE0:
	.size	auto_lock, .-auto_lock
	.comm	just_signaled,8,8
	.comm	euid,4,4
	.comm	errno,8,8
	.comm	STRafsuser,4,4
	.comm	STRNULL,8,8
	.comm	KA_USERAUTH_VERSION,4,4
	.comm	GettingInput,8,8
	.comm	EINTR,8,8
	.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_tc.func.c_auto_lock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Password:\000"
	.align	2
.LC1:
	.ascii	"\012Incorrect passwd for %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	auto_lock, %function
auto_lock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r0, [r3]
	bl	xgetpwuid
	subs	r6, r0, #0
	beq	.L2
	ldr	r8, [r6, #4]
	cmp	r8, #0
	beq	.L2
	mov	r0, #0
	bl	setalarm
	mov	r0, #10
	bl	xputchar
	mov	r4, #5
	ldr	r9, .L22+4
	ldr	r10, .L22+8
.L7:
	mov	r0, r9
	bl	xgetpass
	mov	r1, r8
	mov	r5, r0
	bl	crypt
	cmp	r0, #0
	beq	.L4
	mov	r1, r8
	bl	strcmp
	subs	r7, r0, #0
	beq	.L21
.L4:
	mov	r2, r10
	mov	r1, #2
	mov	r0, #22
	bl	CGETS
	ldr	r1, [r6]
	bl	xprintf
	subs	r4, r4, #1
	bne	.L7
.L2:
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	auto_logout
.L21:
	mov	r0, r5
	bl	strlen
	mov	r1, r7
	mov	r2, r0
	mov	r0, r5
	bl	memset
	ldr	r3, .L22+12
	ldr	r4, .L22+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L5
	bl	Rawmode
	bl	ClearLines
	bl	ClearDisp
	bl	Refresh
.L5:
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	.align	2
.L22:
	.word	euid
	.word	.LC0
	.word	.LC1
	.word	GettingInput
	.word	just_signaled
	.size	auto_lock, .-auto_lock
	.comm	just_signaled,4,4
	.comm	euid,4,4
	.comm	errno,4,4
	.comm	STRafsuser,4,4
	.comm	STRNULL,4,4
	.comm	KA_USERAUTH_VERSION,4,4
	.comm	GettingInput,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
