	.file	"198581675.c"
	.intel_syntax noprefix
	.text
	.globl	ch
	.bss
	.align 4
	.type	ch, @object
	.size	ch, 4
ch:
	.zero	4
	.globl	x
	.data
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.long	1
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.long	1
	.section	.rodata
.LC0:
	.string	"welcome to god system\n"
	.align 8
.LC1:
	.string	"+---------------------------------+"
	.align 8
.LC2:
	.string	"|   press 'r' or 'R' to register  |\n"
	.align 8
.LC3:
	.string	"|   press 'l' or 'L' to login     |\n"
	.align 8
.LC4:
	.string	"|   press 'ESC' to exit           |\n"
.LC5:
	.string	"register\n"
.LC6:
	.string	"login\n"
	.text
	.globl	display_curse
	.type	display_curse, @function
display_curse:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	initscr@PLT
	call	has_colors@PLT
	test	al, al
	je	.L2
	call	start_color@PLT
	mov	edx, 0
	mov	esi, 3
	mov	edi, 1
	call	init_pair@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 256
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2359296
	mov	rdi, rax
	call	wattr_on@PLT
.L2:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	rax, QWORD PTR stdscr[rip]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 45
	mov	ecx, 45
	mov	edx, 124
	mov	esi, 124
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_on@PLT
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -10[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L4
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L4:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -15[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L6
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L6:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -15[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 7
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L8
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L8:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -15[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L10
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L10:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -15[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L12
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L12:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -15[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L14
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L14:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2359296
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 15
	mov	esi, 15
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L16
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L16:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, 20[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 15
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L18
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L18:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2359296
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	display_curse, .-display_curse
	.section	.rodata
.LC7:
	.string	"a+"
	.align 8
.LC8:
	.string	"/mnt/hgfs/workspace/io_operation/login_system/login.log"
.LC9:
	.string	"open fail"
.LC10:
	.string	"please input user_name:"
.LC11:
	.string	"%s"
.LC12:
	.string	"please input password:"
	.align 8
.LC13:
	.string	"\nplease input legal user_name:"
.LC14:
	.string	"\nplease input legal password:"
.LC15:
	.string	"%s %s \n"
	.align 8
.LC16:
	.string	"------------------register successful-----------------\n"
.LC17:
	.string	"press the word to continue\n"
.LC18:
	.string	"press:"
	.text
	.globl	register_re
	.type	register_re, @function
register_re:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	WORD PTR -80[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	mov	DWORD PTR -168[rbp], 0
	mov	DWORD PTR -164[rbp], 0
	lea	rax, -128[rbp]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, -64[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	DWORD PTR -160[rbp], 0
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L20
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L50
.L20:
	lea	rdx, .LC10[rip]
	mov	esi, 12
	mov	edi, 16
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	lea	rdx, .LC12[rip]
	mov	esi, 12
	mov	edi, 17
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	jmp	.L22
.L30:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 10
	jbe	.L23
	mov	DWORD PTR -164[rbp], 1
	jmp	.L24
.L23:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 5
	ja	.L25
	mov	DWORD PTR -164[rbp], 1
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L26
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jle	.L27
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jle	.L26
.L27:
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jle	.L28
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L26
.L28:
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jle	.L29
.L26:
	mov	DWORD PTR -164[rbp], 1
	jmp	.L24
.L29:
	mov	DWORD PTR -164[rbp], 0
	add	QWORD PTR -152[rbp], 1
.L22:
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L30
.L24:
	jmp	.L31
.L37:
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L32
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jle	.L33
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jle	.L32
.L33:
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jle	.L34
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L32
.L34:
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jle	.L35
.L32:
	mov	DWORD PTR -168[rbp], 1
	jmp	.L36
.L35:
	mov	DWORD PTR -168[rbp], 0
	add	QWORD PTR -144[rbp], 1
.L31:
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L37
.L36:
	cmp	DWORD PTR -168[rbp], 0
	jne	.L38
	cmp	DWORD PTR -164[rbp], 0
	je	.L52
.L38:
	cmp	DWORD PTR -168[rbp], 1
	je	.L40
	cmp	DWORD PTR -164[rbp], 1
	jne	.L22
.L40:
	add	DWORD PTR -160[rbp], 1
	cmp	DWORD PTR -160[rbp], 3
	jg	.L53
	nop
.L43:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L43
	lea	rax, -64[rbp]
	mov	edx, 50
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, .LC13[rip]
	mov	esi, 12
	mov	edi, 18
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	lea	rax, -128[rbp]
	mov	edx, 50
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, .LC14[rip]
	mov	esi, 12
	mov	edi, 19
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	jmp	.L22
.L52:
	nop
	jmp	.L39
.L53:
	nop
.L39:
	lea	rcx, -128[rbp]
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -156[rbp], eax
	cmp	DWORD PTR -156[rbp], -1
	jne	.L45
	mov	eax, -1
	jmp	.L50
.L45:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	rdx, .LC16[rip]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L47
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L47:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L49
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L49:
	call	echo@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR ch[rip], eax
	mov	eax, 0
.L50:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	register_re, .-register_re
	.globl	product_auth
	.type	product_auth, @function
product_auth:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L55
.L59:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	cmp	DWORD PTR -4[rbp], 5
	jg	.L56
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 97
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L57
.L56:
	cmp	DWORD PTR -4[rbp], 8
	jle	.L58
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 65
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L57
.L58:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, ecx
	add	eax, 48
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
.L57:
	add	QWORD PTR -24[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L55:
	cmp	DWORD PTR -8[rbp], 5
	jle	.L59
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	product_auth, .-product_auth
	.section	.rodata
.LC19:
	.string	"r"
	.align 8
.LC20:
	.string	"--------------------login successful----------------\n"
.LC21:
	.string	"%s%s"
	.align 8
.LC22:
	.string	"you just have %d times to login!\n"
	.align 8
.LC23:
	.string	"please input the auth number:%s\n"
.LC24:
	.string	"input:"
	.align 8
.LC25:
	.string	"--------------login successful-------------\n"
	.align 8
.LC26:
	.string	"sorry!you cannot login anymore\n"
	.align 8
.LC27:
	.string	"the user not exist ,please check your username and password!\n"
	.text
	.globl	login
	.type	login, @function
login:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -270[rbp], 0
	mov	WORD PTR -266[rbp], 0
	mov	BYTE PTR -264[rbp], 0
	mov	DWORD PTR -308[rbp], 0
	mov	DWORD PTR -304[rbp], 0
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -296[rbp], 3
	lea	rsi, .LC19[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L62
	mov	eax, -1
	jmp	.L85
.L62:
	cmp	DWORD PTR -304[rbp], 2
	jg	.L64
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 3
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L66
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L66:
	call	echo@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	lea	rdx, .LC12[rip]
	mov	esi, 3
	mov	edi, 6
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	nop
.L67:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L67
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L68
.L71:
	lea	rdx, -64[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -292[rbp], eax
	lea	rdx, -192[rbp]
	lea	rax, -256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -288[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	jne	.L68
	cmp	DWORD PTR -288[rbp], 0
	jne	.L68
	mov	ecx, DWORD PTR LINES[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L70
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L70:
	mov	DWORD PTR -308[rbp], 1
.L68:
	lea	rcx, -192[rbp]
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -280[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L71
.L64:
	add	DWORD PTR -304[rbp], 1
	cmp	DWORD PTR -304[rbp], 3
	jle	.L72
	jmp	.L73
.L75:
	mov	eax, DWORD PTR -296[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -296[rbp], edx
	mov	ecx, eax
	lea	rdx, .LC22[rip]
	mov	esi, 3
	mov	edi, 7
	mov	eax, 0
	call	mvprintw@PLT
	lea	rdx, .LC10[rip]
	mov	esi, 3
	mov	edi, 8
	mov	eax, 0
	call	mvprintw@PLT
	call	echo@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	lea	rdx, .LC12[rip]
	mov	esi, 3
	mov	edi, 9
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	call	echo@PLT
	lea	rax, -270[rbp]
	mov	rdi, rax
	call	product_auth
	lea	rax, -270[rbp]
	mov	rcx, rax
	lea	rdx, .LC23[rip]
	mov	esi, 3
	mov	edi, 10
	mov	eax, 0
	call	mvprintw@PLT
	lea	rdx, .LC24[rip]
	mov	esi, 3
	mov	edi, 11
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -263[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	scanw@PLT
	lea	rdx, -270[rbp]
	lea	rax, -263[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L74
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	lea	rdx, .LC25[rip]
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR -308[rbp], 1
	jmp	.L72
.L74:
	add	DWORD PTR -300[rbp], 1
	cmp	DWORD PTR -300[rbp], 3
	jle	.L73
	lea	rdx, .LC26[rip]
	mov	esi, 1
	mov	edi, 1
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR -308[rbp], 1
	jmp	.L72
.L73:
	cmp	DWORD PTR -300[rbp], 2
	jle	.L75
.L72:
	cmp	DWORD PTR -308[rbp], 1
	je	.L88
	cmp	DWORD PTR -308[rbp], 0
	jne	.L62
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L62
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	jmp	.L62
.L88:
	nop
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], -1
	jne	.L80
	mov	eax, -1
	jmp	.L85
.L80:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L82
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L82:
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L84
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L84:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR ch[rip], eax
	mov	eax, 0
.L85:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	login, .-login
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -4[rbp], 0
	mov	eax, 0
	call	display_curse
	mov	edx, DWORD PTR x[rip]
	mov	ecx, DWORD PTR y[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
.L94:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR ch[rip], eax
	mov	eax, DWORD PTR ch[rip]
	cmp	eax, 114
	je	.L90
	cmp	eax, 114
	jg	.L91
	cmp	eax, 108
	je	.L92
	cmp	eax, 108
	jg	.L91
	cmp	eax, 82
	je	.L90
	cmp	eax, 82
	jg	.L91
	cmp	eax, 27
	je	.L93
	cmp	eax, 76
	je	.L92
	jmp	.L91
.L90:
	mov	eax, 0
	call	register_re
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	jmp	.L91
.L92:
	mov	eax, 0
	call	login
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	jmp	.L91
.L93:
	call	endwin@PLT
	mov	edi, 1
	call	exit@PLT
.L91:
	mov	edx, DWORD PTR x[rip]
	mov	ecx, DWORD PTR y[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	jmp	.L94
	.cfi_endproc
.LFE10:
	.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	"198581675.c"
	.text
	.comm	ch,4,4
	.global	x
	.data
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.word	1
	.global	y
	.align	2
	.type	y, %object
	.size	y, 4
y:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"welcome to god system\012\000"
	.align	2
.LC1:
	.ascii	"+---------------------------------+\000"
	.align	2
.LC2:
	.ascii	"|   press 'r' or 'R' to register  |\012\000"
	.align	2
.LC3:
	.ascii	"|   press 'l' or 'L' to login     |\012\000"
	.align	2
.LC4:
	.ascii	"|   press 'ESC' to exit           |\012\000"
	.align	2
.LC5:
	.ascii	"register\012\000"
	.align	2
.LC6:
	.ascii	"login\012\000"
	.text
	.align	2
	.global	display_curse
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_curse, %function
display_curse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	bl	initscr
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	bl	start_color
	mov	r2, #0
	mov	r1, #3
	mov	r0, #1
	bl	init_pair
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #256
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2359296
	mov	r0, r3
	bl	wattr_on
.L2:
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	ldr	r3, .L19
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #45
	str	r3, [sp]
	mov	r3, #45
	mov	r2, #124
	mov	r1, #124
	bl	wborder
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #262144
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #10
	mov	r2, r3
	mov	r1, #2
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L4
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+8
	mov	r0, r3
	bl	waddnstr
.L4:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #15
	mov	r2, r3
	mov	r1, #4
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L6
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+12
	mov	r0, r3
	bl	waddnstr
.L6:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #15
	mov	r2, r3
	mov	r1, #7
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L8
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+16
	mov	r0, r3
	bl	waddnstr
.L8:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #15
	mov	r2, r3
	mov	r1, #8
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L10
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+20
	mov	r0, r3
	bl	waddnstr
.L10:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #15
	mov	r2, r3
	mov	r1, #9
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L12
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+24
	mov	r0, r3
	bl	waddnstr
.L12:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #15
	mov	r2, r3
	mov	r1, #10
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L14
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+12
	mov	r0, r3
	bl	waddnstr
.L14:
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #262144
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2359296
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #15
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L16
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+28
	mov	r0, r3
	bl	waddnstr
.L16:
	ldr	r3, .L19
	ldr	r0, [r3]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #20
	mov	r2, r3
	mov	r1, #15
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L18
	ldr	r3, .L19
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L19+32
	mov	r0, r3
	bl	waddnstr
.L18:
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2359296
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stdscr
	.word	COLS
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	display_curse, .-display_curse
	.section	.rodata
	.align	2
.LC7:
	.ascii	"a+\000"
	.align	2
.LC8:
	.ascii	"/mnt/hgfs/workspace/io_operation/login_system/login"
	.ascii	".log\000"
	.align	2
.LC9:
	.ascii	"open fail\000"
	.align	2
.LC10:
	.ascii	"please input user_name:\000"
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.ascii	"please input password:\000"
	.align	2
.LC13:
	.ascii	"\012please input legal user_name:\000"
	.align	2
.LC14:
	.ascii	"\012please input legal password:\000"
	.align	2
.LC15:
	.ascii	"%s %s \012\000"
	.align	2
.LC16:
	.ascii	"------------------register successful--------------"
	.ascii	"---\012\000"
	.align	2
.LC17:
	.ascii	"press the word to continue\012\000"
	.align	2
.LC18:
	.ascii	"press:\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	register_re
	.syntax unified
	.arm
	.fpu softvfp
	.type	register_re, %function
register_re:
	@ 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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	sub	r3, fp, #108
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #56
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	sub	r3, fp, #112
	str	r3, [fp, #-132]
	sub	r3, fp, #60
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r1, .L56+4
	ldr	r0, .L56+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L56+12
	bl	perror
	mvn	r3, #0
	b	.L52
.L22:
	ldr	r2, .L56+16
	mov	r1, #12
	mov	r0, #16
	bl	mvprintw
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L56+20
	bl	scanw
	ldr	r2, .L56+24
	mov	r1, #12
	mov	r0, #17
	bl	mvprintw
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L56+20
	bl	scanw
	b	.L24
.L32:
	sub	r3, fp, #112
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #10
	bls	.L25
	mov	r3, #1
	str	r3, [fp, #-136]
	b	.L26
.L25:
	sub	r3, fp, #112
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #5
	bhi	.L27
	mov	r3, #1
	str	r3, [fp, #-136]
	b	.L26
.L27:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L28
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bls	.L29
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bls	.L28
.L29:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bls	.L30
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L28
.L30:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L31
.L28:
	mov	r3, #1
	str	r3, [fp, #-136]
	b	.L26
.L31:
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L24:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
.L26:
	b	.L33
.L39:
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L34
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bls	.L35
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bls	.L34
.L35:
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bls	.L36
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L34
.L36:
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L37
.L34:
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L38
.L37:
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L33:
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L39
.L38:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L54
.L40:
	ldr	r3, [fp, #-140]
	cmp	r3, #1
	beq	.L42
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	bne	.L24
.L42:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #3
	bgt	.L55
	nop
.L45:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L45
	sub	r3, fp, #60
	mov	r2, #50
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, .L56+28
	mov	r1, #12
	mov	r0, #18
	bl	mvprintw
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L56+20
	bl	scanw
	sub	r3, fp, #112
	mov	r2, #50
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, .L56+32
	mov	r1, #12
	mov	r0, #19
	bl	mvprintw
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L56+20
	bl	scanw
	b	.L24
.L54:
	nop
	b	.L41
.L55:
	nop
.L41:
	sub	r3, fp, #112
	sub	r2, fp, #60
	ldr	r1, .L56+36
	ldr	r0, [fp, #-120]
	bl	fprintf
	ldr	r0, [fp, #-120]
	bl	fclose
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmn	r3, #1
	bne	.L47
	mvn	r3, #0
	b	.L52
.L47:
	ldr	r3, .L56+40
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, .L56+44
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	ldr	r2, .L56+48
	mov	r1, r3
	bl	mvprintw
	ldr	r3, .L56+52
	ldr	r0, [r3]
	ldr	r3, .L56+40
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r1, r3, #1
	ldr	r3, .L56+44
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L49
	ldr	r3, .L56+52
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L56+56
	mov	r0, r3
	bl	waddnstr
.L49:
	ldr	r3, .L56+52
	ldr	r0, [r3]
	ldr	r3, .L56+40
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L56+44
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L51
	ldr	r3, .L56+52
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L56+60
	mov	r0, r3
	bl	waddnstr
.L51:
	bl	echo
	ldr	r3, .L56+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	ldr	r2, .L56+64
	str	r3, [r2]
	mov	r3, #0
.L52:
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC19
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	LINES
	.word	COLS
	.word	.LC16
	.word	stdscr
	.word	.LC17
	.word	.LC18
	.word	ch
	.size	register_re, .-register_re
	.align	2
	.global	product_auth
	.syntax unified
	.arm
	.fpu softvfp
	.type	product_auth, %function
product_auth:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L59
.L63:
	bl	rand
	mov	r2, r0
	ldr	r3, .L65
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bgt	.L60
	bl	rand
	mov	r1, r0
	ldr	r3, .L65+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #97
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	b	.L61
.L60:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	ble	.L62
	bl	rand
	mov	r1, r0
	ldr	r3, .L65+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #65
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	b	.L61
.L62:
	bl	rand
	mov	r1, r0
	ldr	r3, .L65
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #48
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
.L61:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L59:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L63
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	1717986919
	.word	1321528399
	.size	product_auth, .-product_auth
	.section	.rodata
	.align	2
.LC20:
	.ascii	"r\000"
	.align	2
.LC21:
	.ascii	"--------------------login successful---------------"
	.ascii	"-\012\000"
	.align	2
.LC22:
	.ascii	"%s%s\000"
	.align	2
.LC23:
	.ascii	"you just have %d times to login!\012\000"
	.align	2
.LC24:
	.ascii	"please input the auth number:%s\012\000"
	.align	2
.LC25:
	.ascii	"input:\000"
	.align	2
.LC26:
	.ascii	"--------------login successful-------------\012\000"
	.align	2
.LC27:
	.ascii	"sorry!you cannot login anymore\012\000"
	.align	2
.LC28:
	.ascii	"the user not exist ,please check your username and "
	.ascii	"password!\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	login
	.syntax unified
	.arm
	.fpu softvfp
	.type	login, %function
login:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-232]
	sub	r3, fp, #228
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	strb	r2, [r3, #2]
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #0
	str	r3, [fp, #-260]
	mov	r3, #0
	str	r3, [fp, #-256]
	mov	r3, #3
	str	r3, [fp, #-252]
	ldr	r1, .L95+4
	ldr	r0, .L95+8
	bl	fopen
	str	r0, [fp, #-248]
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bne	.L68
	mvn	r3, #0
	b	.L91
.L68:
	ldr	r3, [fp, #-260]
	cmp	r3, #2
	bgt	.L70
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #4
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L72
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L95+16
	mov	r0, r3
	bl	waddnstr
.L72:
	bl	echo
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L95+20
	bl	scanw
	ldr	r2, .L95+24
	mov	r1, #3
	mov	r0, #6
	bl	mvprintw
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L95+20
	bl	scanw
	nop
.L73:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L73
	ldr	r0, [fp, #-248]
	bl	rewind
	b	.L74
.L77:
	sub	r2, fp, #60
	sub	r3, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-244]
	sub	r2, fp, #164
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L74
	ldr	r3, .L95+12
	ldr	r3, [r3]
	ldr	r2, .L95+28
	ldr	r1, [r2]
	mov	r2, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L76
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L95+32
	mov	r0, r3
	bl	waddnstr
.L76:
	mov	r3, #1
	str	r3, [fp, #-264]
.L74:
	sub	r3, fp, #164
	sub	r2, fp, #60
	ldr	r1, .L95+36
	ldr	r0, [fp, #-248]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L77
.L70:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
	ldr	r3, [fp, #-260]
	cmp	r3, #3
	ble	.L78
	b	.L79
.L81:
	ldr	r3, [fp, #-252]
	sub	r2, r3, #1
	str	r2, [fp, #-252]
	ldr	r2, .L95+40
	mov	r1, #3
	mov	r0, #7
	bl	mvprintw
	ldr	r2, .L95+16
	mov	r1, #3
	mov	r0, #8
	bl	mvprintw
	bl	echo
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L95+20
	bl	scanw
	ldr	r2, .L95+24
	mov	r1, #3
	mov	r0, #9
	bl	mvprintw
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L95+20
	bl	scanw
	bl	echo
	sub	r3, fp, #232
	mov	r0, r3
	bl	product_auth
	sub	r3, fp, #232
	ldr	r2, .L95+44
	mov	r1, #3
	mov	r0, #10
	bl	mvprintw
	ldr	r2, .L95+48
	mov	r1, #3
	mov	r0, #11
	bl	mvprintw
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L95+20
	bl	scanw
	sub	r2, fp, #232
	sub	r3, fp, #224
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L80
	ldr	r3, .L95+28
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L95+52
	mov	r1, #3
	mov	r0, r3
	bl	mvprintw
	mov	r3, #1
	str	r3, [fp, #-264]
	b	.L78
.L80:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
	ldr	r3, [fp, #-256]
	cmp	r3, #3
	ble	.L79
	ldr	r2, .L95+56
	mov	r1, #1
	mov	r0, #1
	bl	mvprintw
	mov	r3, #1
	str	r3, [fp, #-264]
	b	.L78
.L79:
	ldr	r3, [fp, #-256]
	cmp	r3, #2
	ble	.L81
.L78:
	ldr	r3, [fp, #-264]
	cmp	r3, #1
	beq	.L94
	ldr	r3, [fp, #-264]
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L95+12
	ldr	r0, [r3]
	ldr	r3, .L95+28
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L95+60
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L68
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L95+64
	mov	r0, r3
	bl	waddnstr
	b	.L68
.L94:
	nop
	ldr	r0, [fp, #-248]
	bl	fclose
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmn	r3, #1
	bne	.L86
	mvn	r3, #0
	b	.L91
.L86:
	ldr	r3, .L95+12
	ldr	r0, [r3]
	ldr	r3, .L95+28
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r1, r3, #1
	ldr	r3, .L95+60
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L88
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L95+68
	mov	r0, r3
	bl	waddnstr
.L88:
	ldr	r3, .L95+12
	ldr	r0, [r3]
	ldr	r3, .L95+28
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L95+60
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L90
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L95+72
	mov	r0, r3
	bl	waddnstr
.L90:
	ldr	r3, .L95+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	ldr	r2, .L95+76
	str	r3, [r2]
	mov	r3, #0
.L91:
	ldr	r2, .L95
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L92
	bl	__stack_chk_fail
.L92:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC29
	.word	.LC20
	.word	.LC8
	.word	stdscr
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	LINES
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	COLS
	.word	.LC28
	.word	.LC17
	.word	.LC18
	.word	ch
	.size	login, .-login
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	display_curse
	ldr	r3, .L103
	ldr	r3, [r3]
	ldr	r2, .L103+4
	ldr	r1, [r2]
	ldr	r2, .L103+8
	ldr	r2, [r2]
	mov	r0, r3
	bl	wmove
.L102:
	ldr	r3, .L103
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	ldr	r2, .L103+12
	str	r3, [r2]
	ldr	r3, .L103+12
	ldr	r3, [r3]
	cmp	r3, #114
	beq	.L98
	cmp	r3, #114
	bgt	.L99
	cmp	r3, #108
	beq	.L100
	cmp	r3, #108
	bgt	.L99
	cmp	r3, #82
	beq	.L98
	cmp	r3, #82
	bgt	.L99
	cmp	r3, #27
	beq	.L101
	cmp	r3, #76
	beq	.L100
	b	.L99
.L98:
	bl	register_re
	ldr	r3, .L103
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	b	.L99
.L100:
	bl	login
	ldr	r3, .L103
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	b	.L99
.L101:
	bl	endwin
	mov	r0, #1
	bl	exit
.L99:
	ldr	r3, .L103
	ldr	r3, [r3]
	ldr	r2, .L103+4
	ldr	r1, [r2]
	ldr	r2, .L103+8
	ldr	r2, [r2]
	mov	r0, r3
	bl	wmove
	b	.L102
.L104:
	.align	2
.L103:
	.word	stdscr
	.word	y
	.word	x
	.word	ch
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
