	.file	"297972.c"
	.intel_syntax noprefix
	.text
	.globl	flag1
	.bss
	.align 4
	.type	flag1, @object
	.size	flag1, 4
flag1:
	.zero	4
	.globl	flag2
	.align 4
	.type	flag2, @object
	.size	flag2, 4
flag2:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	neckl
	.align 32
	.type	neckl, @object
	.size	neckl, 350
neckl:
	.zero	350
	.text
	.globl	checker
	.type	checker, @function
checker:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -36[rbp], r8d
	cmp	DWORD PTR -32[rbp], 0
	jne	.L2
	mov	DWORD PTR flag1[rip], 0
	cmp	DWORD PTR -36[rbp], 0
	je	.L4
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
	jmp	.L4
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rcx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	cmp	dl, al
	je	.L5
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	jne	.L6
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L7
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
.L7:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L8
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
.L8:
	add	DWORD PTR -24[rbp], 1
	add	DWORD PTR -20[rbp], 1
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -1[rbp], al
	jne	.L9
	add	DWORD PTR -24[rbp], 1
	add	DWORD PTR -20[rbp], 1
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR flag1[rip], eax
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jg	.L10
	mov	eax, DWORD PTR flag1[rip]
	test	eax, eax
	je	.L11
	jmp	.L10
.L2:
	mov	DWORD PTR flag2[rip], 0
	cmp	DWORD PTR -36[rbp], 0
	je	.L13
	movzx	eax, BYTE PTR neckl[rip]
	mov	BYTE PTR -1[rbp], al
	jmp	.L13
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rcx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	cmp	dl, al
	je	.L14
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	jne	.L15
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L16
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
.L16:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L17
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
.L17:
	add	DWORD PTR -24[rbp], 1
	sub	DWORD PTR -20[rbp], 1
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	BYTE PTR -1[rbp], al
	jne	.L18
	add	DWORD PTR -24[rbp], 1
	sub	DWORD PTR -20[rbp], 1
	jmp	.L13
.L18:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR flag2[rip], eax
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L10
	mov	eax, DWORD PTR flag2[rip]
	test	eax, eax
	je	.L19
.L10:
	mov	eax, DWORD PTR -24[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	checker, .-checker
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"beads.in"
.LC2:
	.string	"w"
.LC3:
	.string	"beads.out"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.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
	sub	rsp, 1456
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -1440[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -1432[rbp], rax
	mov	rax, QWORD PTR -1440[rbp]
	lea	rdx, n[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -1444[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -1440[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	lea	rdx, neckl[rip]
	mov	BYTE PTR [rax+rdx], cl
	add	DWORD PTR -1444[rbp], 1
.L22:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -1444[rbp], eax
	jl	.L23
	mov	DWORD PTR -1444[rbp], 27
	jmp	.L24
.L29:
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	DWORD PTR -1424[rbp+rax*4], 2
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	mov	ecx, DWORD PTR -1444[rbp]
	lea	edi, 2[rcx]
	mov	r8d, 0
	mov	ecx, 0
	mov	esi, eax
	call	checker
	mov	edx, DWORD PTR -1444[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -1424[rbp+rdx*4], eax
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	esi, DWORD PTR -1424[rbp+rax*4]
	mov	eax, DWORD PTR -1444[rbp]
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 0
	mov	edi, eax
	call	checker
	mov	edx, DWORD PTR -1444[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -1424[rbp+rdx*4], eax
	mov	eax, DWORD PTR n[rip]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR flag1[rip]
	cmp	edx, eax
	jne	.L25
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movzx	eax, BYTE PTR neckl[rip]
	cmp	dl, al
	je	.L26
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L26
	movzx	eax, BYTE PTR neckl[rip]
	cmp	al, 119
	jne	.L25
.L26:
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	DWORD PTR -1424[rbp+rax*4], edx
	mov	edx, DWORD PTR flag1[rip]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	mov	ecx, DWORD PTR n[rip]
	lea	edi, -1[rcx]
	mov	r8d, 1
	mov	ecx, 1
	mov	esi, eax
	call	checker
	mov	edx, DWORD PTR -1444[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -1424[rbp+rdx*4], eax
	jmp	.L27
.L25:
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	sub	edx, eax
	mov	eax, DWORD PTR flag2[rip]
	cmp	edx, eax
	jne	.L27
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movzx	eax, BYTE PTR neckl[rip]
	cmp	dl, al
	je	.L28
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	cdqe
	lea	rdx, neckl[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 119
	je	.L28
	movzx	eax, BYTE PTR neckl[rip]
	cmp	al, 119
	jne	.L27
.L28:
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	DWORD PTR -1424[rbp+rax*4], edx
	mov	eax, DWORD PTR flag2[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	mov	r8d, 1
	mov	ecx, 0
	mov	esi, eax
	mov	edi, 1
	call	checker
	mov	edx, DWORD PTR -1444[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -1424[rbp+rdx*4], eax
.L27:
	add	DWORD PTR -1444[rbp], 1
.L24:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -1444[rbp], eax
	jl	.L29
	mov	eax, DWORD PTR -1424[rbp]
	mov	DWORD PTR -1448[rbp], eax
	mov	DWORD PTR -1444[rbp], 1
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	cmp	DWORD PTR -1448[rbp], eax
	jge	.L31
	mov	eax, DWORD PTR -1444[rbp]
	cdqe
	mov	eax, DWORD PTR -1424[rbp+rax*4]
	mov	DWORD PTR -1448[rbp], eax
.L31:
	add	DWORD PTR -1444[rbp], 1
.L30:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -1444[rbp], eax
	jl	.L32
	mov	eax, DWORD PTR -1448[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -1448[rbp]
	mov	rax, QWORD PTR -1432[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1440[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1432[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.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	"297972.c"
	.text
	.comm	flag1,4,4
	.comm	flag2,4,4
	.comm	n,4,4
	.comm	neckl,350,4
	.align	2
	.global	checker
	.syntax unified
	.arm
	.fpu softvfp
	.type	checker, %function
checker:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L21
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L21+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-5]
	b	.L4
.L11:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, .L21+8
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L6
.L5:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L7
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
.L7:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-5]
.L8:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L4
.L6:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L4
.L9:
	ldr	r2, .L21
	ldr	r3, [fp, #-16]
	str	r3, [r2]
.L4:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L10
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	b	.L10
.L2:
	ldr	r3, .L21+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L21+8
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	b	.L13
.L19:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, .L21+8
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L14
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L15
.L14:
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L16
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
.L16:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L17
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-5]
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L13
.L15:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L21+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L13
.L18:
	ldr	r2, .L21+12
	ldr	r3, [fp, #-16]
	str	r3, [r2]
.L13:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L10
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
.L10:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L22:
	.align	2
.L21:
	.word	flag1
	.word	n
	.word	neckl
	.word	flag2
	.size	checker, .-checker
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"beads.in\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"beads.out\000"
	.align	2
.LC4:
	.ascii	"%d\012\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1424
	sub	sp, sp, #8
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L37+4
	ldr	r0, .L37+8
	bl	fopen
	str	r0, [fp, #-1420]
	ldr	r1, .L37+12
	ldr	r0, .L37+16
	bl	fopen
	str	r0, [fp, #-1416]
	ldr	r2, .L37+20
	ldr	r1, .L37+24
	ldr	r0, [fp, #-1420]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-1424]
	b	.L24
.L25:
	ldr	r0, [fp, #-1420]
	bl	fgetc
	mov	r3, r0
	and	r1, r3, #255
	ldr	r2, .L37+28
	ldr	r3, [fp, #-1424]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1424]
	add	r3, r3, #1
	str	r3, [fp, #-1424]
.L24:
	ldr	r3, .L37+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-1424]
	cmp	r2, r3
	blt	.L25
	mov	r3, #27
	str	r3, [fp, #-1424]
	b	.L26
.L31:
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r3, #-1408]
	ldr	r3, [fp, #-1424]
	add	r0, r3, #2
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1408]
	ldr	r3, .L37+20
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	bl	checker
	mov	r2, r0
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1408]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #0
	ldr	r0, [fp, #-1424]
	bl	checker
	mov	r2, r0
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
	ldr	r3, .L37+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L37+32
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L27
	ldr	r3, .L37+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L37+28
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, .L37+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L28
	ldr	r3, .L37+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L37+28
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L28
	ldr	r3, .L37+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L27
.L28:
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1408]
	add	r2, r3, #1
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
	ldr	r3, .L37+20
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1408]
	ldr	r3, .L37+32
	ldr	r2, [r3]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #1
	bl	checker
	mov	r2, r0
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
	b	.L29
.L27:
	ldr	r3, .L37+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1408]
	sub	r2, r2, r3
	ldr	r3, .L37+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L29
	ldr	r3, .L37+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L37+28
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, .L37+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L30
	ldr	r3, .L37+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L37+28
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L30
	ldr	r3, .L37+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L29
.L30:
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1408]
	add	r2, r3, #1
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1408]
	ldr	r3, .L37+36
	ldr	r3, [r3]
	sub	r2, r3, #1
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #0
	mov	r0, #1
	bl	checker
	mov	r2, r0
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1408]
.L29:
	ldr	r3, [fp, #-1424]
	add	r3, r3, #1
	str	r3, [fp, #-1424]
.L26:
	ldr	r3, .L37+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-1424]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-1412]
	str	r3, [fp, #-1428]
	mov	r3, #1
	str	r3, [fp, #-1424]
	b	.L32
.L34:
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1408]
	mov	r1, r3
	ldr	r0, .L37+24
	bl	printf
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1408]
	ldr	r2, [fp, #-1428]
	cmp	r2, r3
	bge	.L33
	ldr	r3, [fp, #-1424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1408]
	str	r3, [fp, #-1428]
.L33:
	ldr	r3, [fp, #-1424]
	add	r3, r3, #1
	str	r3, [fp, #-1424]
.L32:
	ldr	r3, .L37+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-1424]
	cmp	r2, r3
	blt	.L34
	ldr	r1, [fp, #-1428]
	ldr	r0, .L37+40
	bl	printf
	ldr	r2, [fp, #-1428]
	ldr	r1, .L37+24
	ldr	r0, [fp, #-1416]
	bl	fprintf
	ldr	r0, [fp, #-1420]
	bl	fclose
	ldr	r0, [fp, #-1416]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	n
	.word	.LC4
	.word	neckl
	.word	flag1
	.word	flag2
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
