	.file	"223024.c"
	.intel_syntax noprefix
	.text
	.globl	dir
	.data
	.align 32
	.type	dir, @object
	.size	dir, 144
dir:
	.long	0
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	1
	.long	0
	.long	3
	.long	2
	.long	5
	.long	4
	.long	2
	.long	0
	.long	1
	.long	4
	.long	5
	.long	3
	.long	3
	.long	0
	.long	4
	.long	1
	.long	5
	.long	2
	.long	4
	.long	0
	.long	2
	.long	3
	.long	5
	.long	1
	.long	5
	.long	1
	.long	3
	.long	2
	.long	4
	.long	0
	.globl	s1
	.bss
	.align 8
	.type	s1, @object
	.size	s1, 10
s1:
	.zero	10
	.globl	s2
	.align 8
	.type	s2, @object
	.size	s2, 10
s2:
	.zero	10
	.globl	s
	.align 16
	.type	s, @object
	.size	s, 20
s:
	.zero	20
	.text
	.globl	test
	.type	test, @function
test:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L9:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dir[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, s1[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	BYTE PTR -18[rbp+rax], dl
	add	DWORD PTR -24[rbp], 1
.L3:
	cmp	DWORD PTR -24[rbp], 5
	jle	.L4
	mov	DWORD PTR -24[rbp], 0
	jmp	.L5
.L8:
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR -29[rbp], al
	movzx	eax, BYTE PTR -16[rbp]
	mov	BYTE PTR -17[rbp], al
	movzx	eax, BYTE PTR -14[rbp]
	mov	BYTE PTR -16[rbp], al
	movzx	eax, BYTE PTR -15[rbp]
	mov	BYTE PTR -14[rbp], al
	movzx	eax, BYTE PTR -29[rbp]
	mov	BYTE PTR -15[rbp], al
	lea	rax, -18[rbp]
	lea	rsi, s2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	eax, 1
	jmp	.L7
.L6:
	add	DWORD PTR -24[rbp], 1
.L5:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L8
	add	DWORD PTR -28[rbp], 1
.L2:
	cmp	DWORD PTR -28[rbp], 5
	jle	.L9
	mov	eax, 0
.L7:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.section	.rodata
.LC0:
	.string	"TRUE"
.LC1:
	.string	"FALSE"
.LC2:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L12
.L14:
	mov	edx, 6
	lea	rsi, s[rip]
	lea	rdi, s1[rip]
	call	strncpy@PLT
	lea	rax, s[rip+6]
	mov	edx, 6
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strncpy@PLT
	mov	BYTE PTR s2[rip+6], 0
	mov	BYTE PTR s1[rip+6], 0
	mov	eax, 0
	call	test
	test	eax, eax
	je	.L13
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L12
.L13:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L12:
	lea	rsi, s[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	je	.L14
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"223024.c"
	.text
	.global	dir
	.data
	.align	2
	.type	dir, %object
	.size	dir, 144
dir:
	.word	0
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.word	1
	.word	0
	.word	3
	.word	2
	.word	5
	.word	4
	.word	2
	.word	0
	.word	1
	.word	4
	.word	5
	.word	3
	.word	3
	.word	0
	.word	4
	.word	1
	.word	5
	.word	2
	.word	4
	.word	0
	.word	2
	.word	3
	.word	5
	.word	1
	.word	5
	.word	1
	.word	3
	.word	2
	.word	4
	.word	0
	.comm	s1,10,4
	.comm	s2,10,4
	.comm	s,20,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L9:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L3
.L4:
	ldr	r1, .L11+4
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L11+8
	ldrb	r1, [r2, r3]	@ zero_extendqisi2
	sub	r2, fp, #20
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	ble	.L4
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L5
.L8:
	ldrb	r3, [fp, #-19]
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	strb	r3, [fp, #-19]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	strb	r3, [fp, #-18]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	strb	r3, [fp, #-16]
	ldrb	r3, [fp, #-29]
	strb	r3, [fp, #-17]
	sub	r3, fp, #20
	ldr	r1, .L11+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r3, #1
	b	.L7
.L6:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L8
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	ble	.L9
	mov	r3, #0
.L7:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	dir
	.word	s1
	.word	s2
	.size	test, .-test
	.section	.rodata
	.align	2
.LC1:
	.ascii	"TRUE\000"
	.align	2
.LC2:
	.ascii	"FALSE\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L14
.L16:
	mov	r2, #6
	ldr	r1, .L18
	ldr	r0, .L18+4
	bl	strncpy
	ldr	r3, .L18+8
	mov	r2, #6
	mov	r1, r3
	ldr	r0, .L18+12
	bl	strncpy
	ldr	r3, .L18+12
	mov	r2, #0
	strb	r2, [r3, #6]
	ldr	r3, .L18+4
	mov	r2, #0
	strb	r2, [r3, #6]
	bl	test
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L18+16
	bl	puts
	b	.L14
.L15:
	ldr	r0, .L18+20
	bl	puts
.L14:
	ldr	r1, .L18
	ldr	r0, .L18+24
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L16
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	s
	.word	s1
	.word	s+6
	.word	s2
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
