	.file	"470800.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"OK"
	.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, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -212[rbp], 1
	mov	DWORD PTR -208[rbp], 2
	mov	eax, DWORD PTR -212[rbp]
	cmp	eax, 1
	je	.L2
	mov	eax, 1
	jmp	.L30
.L2:
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 2
	je	.L4
	mov	eax, 2
	jmp	.L30
.L4:
	mov	BYTE PTR -92[rbp], 1
	mov	DWORD PTR -88[rbp], 2
	mov	BYTE PTR -84[rbp], 3
	movzx	eax, BYTE PTR -92[rbp]
	cmp	al, 1
	je	.L5
	mov	eax, 3
	jmp	.L30
.L5:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, 2
	je	.L6
	mov	eax, 4
	jmp	.L30
.L6:
	movzx	eax, BYTE PTR -84[rbp]
	cmp	al, 3
	je	.L7
	mov	eax, 5
	jmp	.L30
.L7:
	lea	rax, -38[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	BYTE PTR [rax], 0
	movzx	eax, BYTE PTR -38[rbp]
	test	al, al
	je	.L8
	mov	eax, 6
	jmp	.L30
.L8:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 1
	movzx	eax, BYTE PTR -37[rbp]
	cmp	al, 1
	je	.L9
	mov	eax, 7
	jmp	.L30
.L9:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 2
	movzx	eax, BYTE PTR -36[rbp]
	cmp	al, 2
	je	.L10
	mov	eax, 8
	jmp	.L30
.L10:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], 3
	movzx	eax, BYTE PTR -35[rbp]
	cmp	al, 3
	je	.L11
	mov	eax, 9
	jmp	.L30
.L11:
	lea	rax, -32[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	BYTE PTR -32[rbp], 6
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 6
	je	.L12
	mov	eax, 10
	jmp	.L30
.L12:
	mov	BYTE PTR -29[rbp], 7
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 7
	je	.L13
	mov	eax, 11
	jmp	.L30
.L13:
	mov	BYTE PTR -326[rbp], 6
	movzx	eax, BYTE PTR -326[rbp]
	cmp	al, 6
	je	.L14
	mov	eax, 12
	jmp	.L30
.L14:
	mov	DWORD PTR -292[rbp], 1
	mov	DWORD PTR -320[rbp], 2
	mov	edx, DWORD PTR -320[rbp]
	mov	eax, DWORD PTR -292[rbp]
	add	eax, edx
	cmp	eax, 3
	je	.L15
	mov	eax, 25
	jmp	.L30
.L15:
	lea	rax, -325[rbp]
	mov	QWORD PTR -272[rbp], rax
	mov	BYTE PTR -325[rbp], 3
	mov	rax, QWORD PTR -272[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 3
	je	.L16
	mov	eax, 26
	jmp	.L30
.L16:
	mov	rax, QWORD PTR -272[rbp]
	mov	BYTE PTR [rax], 42
	movzx	eax, BYTE PTR -325[rbp]
	cmp	al, 42
	je	.L17
	mov	eax, 27
	jmp	.L30
.L17:
	mov	DWORD PTR -204[rbp], 3
	mov	rax, QWORD PTR -204[rbp]
	mov	QWORD PTR -196[rbp], rax
	mov	eax, DWORD PTR -196[rbp]
	cmp	eax, 3
	je	.L18
	mov	eax, DWORD PTR -196[rbp]
	jmp	.L30
.L18:
	mov	DWORD PTR -188[rbp], 7
	lea	rax, -180[rbp]
	mov	QWORD PTR -264[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	rdx, QWORD PTR -188[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, 7
	je	.L19
	mov	eax, 29
	jmp	.L30
.L19:
	mov	DWORD PTR -172[rbp], 7
	lea	rax, -172[rbp]
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -164[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -248[rbp]
	mov	rdx, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, 7
	je	.L20
	mov	eax, 30
	jmp	.L30
.L20:
	mov	DWORD PTR -156[rbp], 5
	mov	rax, QWORD PTR -156[rbp]
	mov	QWORD PTR -148[rbp], rax
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, 5
	je	.L21
	mov	eax, 31
	jmp	.L30
.L21:
	mov	DWORD PTR -140[rbp], 3
	mov	rax, QWORD PTR -140[rbp]
	mov	QWORD PTR -132[rbp], rax
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, 3
	je	.L22
	mov	eax, 32
	jmp	.L30
.L22:
	mov	DWORD PTR -124[rbp], 7
	lea	rax, -116[rbp]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -124[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, 7
	je	.L23
	mov	eax, 33
	jmp	.L30
.L23:
	mov	DWORD PTR -108[rbp], 7
	lea	rax, -108[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, -100[rbp]
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, 7
	je	.L24
	mov	eax, 34
	jmp	.L30
.L24:
	mov	BYTE PTR -324[rbp], 5
	movzx	eax, WORD PTR -324[rbp]
	mov	WORD PTR -322[rbp], ax
	movzx	eax, BYTE PTR -322[rbp]
	cmp	al, 5
	je	.L25
	mov	eax, 35
	jmp	.L30
.L25:
	mov	DWORD PTR -56[rbp], 1
	lea	rax, -64[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	je	.L26
	mov	eax, 40
	jmp	.L30
.L26:
	mov	DWORD PTR -316[rbp], 1
	mov	DWORD PTR -312[rbp], 2
	mov	eax, DWORD PTR -312[rbp]
	mov	DWORD PTR -316[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	cmp	eax, 2
	je	.L27
	mov	eax, 42
	jmp	.L30
.L27:
	mov	DWORD PTR -308[rbp], 1
	mov	DWORD PTR -304[rbp], 2
	mov	eax, DWORD PTR -308[rbp]
	cmp	eax, 1
	je	.L28
	mov	eax, 43
	jmp	.L30
.L28:
	mov	DWORD PTR -300[rbp], 1
	mov	DWORD PTR -296[rbp], 2
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, 2
	je	.L29
	mov	eax, 44
	jmp	.L30
.L29:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"470800.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-172]
	mov	r3, #2
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-172]
	cmp	r3, #1
	beq	.L2
	mov	r3, #1
	b	.L26
.L2:
	ldr	r3, [fp, #-168]
	cmp	r3, #2
	beq	.L4
	mov	r3, #2
	b	.L26
.L4:
	mov	r3, #1
	strb	r3, [fp, #-52]
	mov	r3, #2
	str	r3, [fp, #-48]
	mov	r3, #3
	strb	r3, [fp, #-44]
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L5
	mov	r3, #3
	b	.L26
.L5:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	beq	.L6
	mov	r3, #4
	b	.L26
.L6:
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
	cmp	r3, #3
	beq	.L7
	mov	r3, #5
	b	.L26
.L7:
	sub	r3, fp, #40
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-212]
	mov	r2, #0
	strb	r2, [r3]
	ldrb	r3, [fp, #-40]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	mov	r3, #6
	b	.L26
.L8:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	mov	r2, #1
	strb	r2, [r3]
	ldrb	r3, [fp, #-39]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L9
	mov	r3, #7
	b	.L26
.L9:
	ldr	r3, [fp, #-212]
	add	r3, r3, #2
	mov	r2, #2
	strb	r2, [r3]
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L10
	mov	r3, #8
	b	.L26
.L10:
	ldr	r3, [fp, #-212]
	add	r3, r3, #3
	mov	r2, #3
	strb	r2, [r3]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #3
	beq	.L11
	mov	r3, #9
	b	.L26
.L11:
	sub	r3, fp, #32
	str	r3, [fp, #-208]
	mov	r3, #6
	strb	r3, [fp, #-32]
	ldr	r3, [fp, #-208]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #6
	beq	.L12
	mov	r3, #10
	b	.L26
.L12:
	mov	r3, #7
	strb	r3, [fp, #-29]
	ldr	r3, [fp, #-208]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #7
	beq	.L13
	mov	r3, #11
	b	.L26
.L13:
	mov	r3, #6
	strb	r3, [fp, #-232]
	ldrb	r3, [fp, #-232]	@ zero_extendqisi2
	cmp	r3, #6
	beq	.L14
	mov	r3, #12
	b	.L26
.L14:
	mov	r3, #1
	str	r3, [fp, #-204]
	mov	r3, #2
	str	r3, [fp, #-216]
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-204]
	add	r3, r2, r3
	cmp	r3, #3
	beq	.L15
	mov	r3, #25
	b	.L26
.L15:
	sub	r3, fp, #228
	str	r3, [fp, #-200]
	mov	r3, #3
	strb	r3, [fp, #-228]
	ldr	r3, [fp, #-200]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #3
	beq	.L16
	mov	r3, #26
	b	.L26
.L16:
	ldr	r3, [fp, #-200]
	mov	r2, #42
	strb	r2, [r3]
	ldrb	r3, [fp, #-228]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L17
	mov	r3, #27
	b	.L26
.L17:
	mov	r3, #3
	str	r3, [fp, #-164]
	sub	r3, fp, #156
	sub	r2, fp, #164
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-156]
	cmp	r3, #3
	beq	.L18
	ldr	r3, [fp, #-156]
	b	.L26
.L18:
	mov	r3, #7
	str	r3, [fp, #-148]
	sub	r3, fp, #140
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-196]
	mov	r2, r3
	sub	r3, fp, #148
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-140]
	cmp	r3, #7
	beq	.L19
	mov	r3, #29
	b	.L26
.L19:
	mov	r3, #7
	str	r3, [fp, #-132]
	sub	r3, fp, #132
	str	r3, [fp, #-192]
	sub	r3, fp, #124
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-192]
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-124]
	cmp	r3, #7
	beq	.L20
	mov	r3, #30
	b	.L26
.L20:
	mov	r3, #5
	str	r3, [fp, #-116]
	sub	r3, fp, #108
	sub	r2, fp, #116
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-108]
	cmp	r3, #5
	beq	.L21
	mov	r3, #31
	b	.L26
.L21:
	mov	r3, #3
	str	r3, [fp, #-100]
	sub	r3, fp, #92
	sub	r2, fp, #100
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-92]
	cmp	r3, #3
	beq	.L22
	mov	r3, #32
	b	.L26
.L22:
	mov	r3, #7
	str	r3, [fp, #-84]
	sub	r3, fp, #76
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-184]
	mov	r2, r3
	sub	r3, fp, #84
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-76]
	cmp	r3, #7
	beq	.L23
	mov	r3, #33
	b	.L26
.L23:
	mov	r3, #7
	str	r3, [fp, #-68]
	sub	r3, fp, #68
	str	r3, [fp, #-180]
	sub	r3, fp, #60
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-180]
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-60]
	cmp	r3, #7
	beq	.L24
	mov	r3, #34
	b	.L26
.L24:
	mov	r3, #5
	strb	r3, [fp, #-224]
	ldrh	r3, [fp, #-224]	@ movhi
	strh	r3, [fp, #-220]	@ movhi
	ldrb	r3, [fp, #-220]	@ zero_extendqisi2
	cmp	r3, #5
	beq	.L25
	mov	r3, #35
	b	.L26
.L25:
	mov	r3, #36
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
