	.file	"804497.c"
	.intel_syntax noprefix
	.text
	.globl	decStr
	.type	decStr, @function
decStr:
.LFB6:
	.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	xor	edx, -75
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	decStr, .-decStr
	.globl	testPassword
	.type	testPassword, @function
testPassword:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 8
	je	.L5
	mov	eax, 0
	jmp	.L10
.L5:
	movabs	rax, -3330452869323762491
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	decStr
	mov	DWORD PTR -20[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movzx	eax, BYTE PTR -16[rbp+rax]
	cmp	dl, al
	je	.L8
	mov	eax, 0
	jmp	.L10
.L8:
	add	DWORD PTR -20[rbp], 1
.L7:
	cmp	DWORD PTR -20[rbp], 7
	jle	.L9
	mov	eax, 1
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	testPassword, .-testPassword
	.section	.rodata
.LC0:
	.string	"Enter password: "
.LC1:
	.string	"You win!"
.LC2:
	.string	"You fail"
	.text
	.globl	start
	.type	start, @function
start:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -208[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -208[rbp+rax], 0
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	testPassword
	test	al, al
	je	.L13
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L14:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	start, .-start
	.section	.init_array,"aw"
	.align 8
	.quad	start
	.section	.rodata
.LC3:
	.string	"1234"
	.text
	.globl	main
	.type	main, @function
main:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -208[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -208[rbp+rax], 0
	lea	rax, -208[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L18
.L17:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L18:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"804497.c"
	.text
	.align	2
	.global	decStr
	.syntax unified
	.arm
	.fpu softvfp
	.type	decStr, %function
decStr:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	add	r2, r1, r2
	eor	r3, r3, #74
	mvn	r3, r3
	and	r3, r3, #255
	strb	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	decStr, .-decStr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\305\324\306\306\302\332\307\321"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	testPassword
	.syntax unified
	.arm
	.fpu softvfp
	.type	testPassword, %function
testPassword:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	cmp	r3, #8
	beq	.L5
	mov	r3, #0
	b	.L10
.L5:
	ldr	r2, .L12+4
	sub	r3, fp, #16
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r0, [fp, #-24]
	bl	decStr
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L7
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r1, fp, #16
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L8
	mov	r3, #0
	b	.L10
.L8:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L7:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L9
	mov	r3, #1
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	testPassword, .-testPassword
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter password: \000"
	.align	2
.LC3:
	.ascii	"You win!\000"
	.align	2
.LC4:
	.ascii	"You fail\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	start
	.syntax unified
	.arm
	.fpu softvfp
	.type	start, %function
start:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, .L18+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L18+12
	ldr	r2, [r3]
	sub	r3, fp, #208
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-204]
	sub	r3, fp, #208
	mov	r0, r3
	bl	testPassword
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L18+16
	bl	puts
	b	.L16
.L15:
	ldr	r0, .L18+20
	bl	puts
.L16:
	mov	r0, #0
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC5
	.word	.LC2
	.word	stdout
	.word	stdin
	.word	.LC3
	.word	.LC4
	.size	start, .-start
	.section	.init_array,"aw",%init_array
	.align	2
	.word	start(target1)
	.section	.rodata
	.align	2
.LC6:
	.ascii	"1234\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L25+12
	ldr	r2, [r3]
	sub	r3, fp, #208
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-204]
	sub	r3, fp, #208
	ldr	r1, .L25+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L25+20
	bl	puts
	b	.L22
.L21:
	ldr	r0, .L25+24
	bl	puts
.L22:
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.word	.LC2
	.word	stdout
	.word	stdin
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
