	.file	"728348.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter password: "
.LC1:
	.string	"Could not set attributes\n"
.LC2:
	.string	"\nYou entered %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	tcgetattr@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	and	eax, -9
	mov	DWORD PTR -68[rbp], eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	ecx, eax
	lea	rax, -80[rbp]
	mov	rdx, rax
	mov	esi, 2
	mov	edi, ecx
	call	tcsetattr@PLT
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -17[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	ecx, eax
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, ecx
	call	tcsetattr@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -17[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L3:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"728348.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter password: \000"
	.align	2
.LC1:
	.ascii	"Could not set attributes\012\000"
	.align	2
.LC2:
	.ascii	"\012You entered %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #140
	mov	r1, r3
	mov	r0, r2
	bl	tcgetattr
	sub	ip, fp, #80
	sub	lr, fp, #140
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-68]
	bic	r3, r3, #8
	str	r3, [fp, #-68]
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	sub	r3, fp, #80
	mov	r2, r3
	mov	r1, #2
	bl	tcsetattr
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L5+12
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L5+16
	bl	fwrite
	b	.L3
.L2:
	ldr	r3, .L5+4
	ldr	r2, [r3]
	sub	r3, fp, #20
	mov	r1, #8
	mov	r0, r3
	bl	fgets
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	sub	r3, fp, #140
	mov	r2, r3
	mov	r1, #0
	bl	tcsetattr
	ldr	r3, .L5+20
	ldr	r3, [r3]
	sub	r2, fp, #20
	ldr	r1, .L5+24
	mov	r0, r3
	bl	fprintf
.L3:
	mov	r0, #0
	bl	exit
.L6:
	.align	2
.L5:
	.word	.LC3
	.word	stdin
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	stdout
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
