	.file	"875299.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-r"
.LC1:
	.string	"mov r%d,r%d"
.LC2:
	.string	"add r%d,r%d,r%d"
.LC3:
	.string	"addi r%d,r%d,%d"
.LC4:
	.string	"sub r%d,r%d,r%d"
.LC5:
	.string	"subi r%d,r%d,%d"
.LC6:
	.string	"and r%d,r%d,r%d"
.LC7:
	.string	"andi r%d,r%d,%d"
.LC8:
	.string	"or r%d,r%d,r%d"
.LC9:
	.string	"ori r%d,r%d,%d"
.LC10:
	.string	"\n"
.LC11:
	.string	" "
.LC12:
	.string	""
.LC13:
	.string	"reg%1d=%02x %s %s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	QWORD PTR -1056[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1020[rbp], 0
	cmp	DWORD PTR -1044[rbp], 2
	jne	.L2
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	add	DWORD PTR -1020[rbp], 1
.L2:
	mov	DWORD PTR -1024[rbp], 0
	jmp	.L3
.L6:
	cmp	DWORD PTR -1020[rbp], 0
	jne	.L4
	call	rand@PLT
	mov	edx, eax
	jmp	.L5
.L4:
	mov	edx, 0
.L5:
	mov	eax, DWORD PTR -1024[rbp]
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
	add	DWORD PTR -1024[rbp], 1
.L3:
	mov	eax, DWORD PTR -1024[rbp]
	cmp	eax, 7
	jbe	.L6
	mov	BYTE PTR -1008[rbp], 0
.L22:
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	jne	.L7
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	esi, eax
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	ecx, eax
	movsx	rax, esi
	movzx	edx, BYTE PTR -1016[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -1016[rbp+rax], dl
.L7:
	lea	rsi, -1032[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L8
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	esi, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1032[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	ecx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	lea	edx, [rsi+rcx]
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L8:
	lea	rsi, -1028[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L9
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	ecx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1028[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	lea	edx, [rcx+rsi]
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L9:
	lea	rsi, -1032[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L10
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	edx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1032[rbp]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 29
	add	eax, ecx
	and	eax, 7
	sub	eax, ecx
	cdqe
	movzx	esi, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1040[rbp]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 29
	add	eax, ecx
	and	eax, 7
	sub	eax, ecx
	sub	edx, esi
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L10:
	lea	rsi, -1028[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L11
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	edx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1028[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -1040[rbp]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 29
	add	eax, ecx
	and	eax, 7
	sub	eax, ecx
	sub	edx, esi
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L11:
	lea	rsi, -1032[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L12
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	esi, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1032[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	ecx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	and	esi, ecx
	mov	edx, esi
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L12:
	lea	rsi, -1028[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L13
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	eax, BYTE PTR -1016[rbp+rax]
	mov	edx, eax
	mov	eax, DWORD PTR -1028[rbp]
	mov	ecx, edx
	and	ecx, eax
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L13:
	lea	rsi, -1032[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L14
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	esi, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1032[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	ecx, BYTE PTR -1016[rbp+rax]
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	or	esi, ecx
	mov	edx, esi
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L14:
	lea	rsi, -1028[rbp]
	lea	rcx, -1036[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 3
	jne	.L15
	mov	eax, DWORD PTR -1036[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	cdqe
	movzx	eax, BYTE PTR -1016[rbp+rax]
	mov	edx, eax
	mov	eax, DWORD PTR -1028[rbp]
	mov	ecx, edx
	or	ecx, eax
	mov	eax, DWORD PTR -1040[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -1016[rbp+rax], dl
.L15:
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -1008[rbp+rax], 0
	mov	DWORD PTR -1024[rbp], 0
	jmp	.L16
.L21:
	cmp	DWORD PTR -1024[rbp], 7
	jne	.L17
	lea	rdx, .LC10[rip]
	jmp	.L18
.L17:
	lea	rdx, .LC11[rip]
.L18:
	cmp	DWORD PTR -1024[rbp], 7
	jne	.L19
	lea	rax, -1008[rbp]
	jmp	.L20
.L19:
	lea	rax, .LC12[rip]
.L20:
	mov	ecx, DWORD PTR -1024[rbp]
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR -1016[rbp+rcx]
	movzx	edi, cl
	mov	esi, DWORD PTR -1024[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, edi
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1024[rbp], 1
.L16:
	cmp	DWORD PTR -1024[rbp], 7
	jle	.L21
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"875299.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-r\000"
	.align	2
.LC1:
	.ascii	"mov r%d,r%d\000"
	.align	2
.LC2:
	.ascii	"add r%d,r%d,r%d\000"
	.align	2
.LC3:
	.ascii	"addi r%d,r%d,%d\000"
	.align	2
.LC4:
	.ascii	"sub r%d,r%d,r%d\000"
	.align	2
.LC5:
	.ascii	"subi r%d,r%d,%d\000"
	.align	2
.LC6:
	.ascii	"and r%d,r%d,r%d\000"
	.align	2
.LC7:
	.ascii	"andi r%d,r%d,%d\000"
	.align	2
.LC8:
	.ascii	"or r%d,r%d,r%d\000"
	.align	2
.LC9:
	.ascii	"ori r%d,r%d,%d\000"
	.align	2
.LC10:
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"\012\000"
	.align	2
.LC12:
	.ascii	" \000"
	.align	2
.LC13:
	.ascii	"reg%1d=%02x %s %s\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1020]
	ldr	r3, [fp, #-1048]
	cmp	r3, #2
	bne	.L2
	ldr	r3, [fp, #-1052]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L25+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-1020]
	add	r3, r3, #1
	str	r3, [fp, #-1020]
.L2:
	mov	r3, #0
	str	r3, [fp, #-1024]
	b	.L3
.L6:
	ldr	r3, [fp, #-1020]
	cmp	r3, #0
	bne	.L4
	bl	rand
	mov	r3, r0
	and	r1, r3, #255
	b	.L5
.L4:
	mov	r1, #0
.L5:
	sub	r2, fp, #1016
	ldr	r3, [fp, #-1024]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1024]
	add	r3, r3, #1
	str	r3, [fp, #-1024]
.L3:
	ldr	r3, [fp, #-1024]
	cmp	r3, #7
	bls	.L6
	mov	r3, #0
	strb	r3, [fp, #-1008]
.L22:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	ldr	r1, .L25+8
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L7
	ldr	r3, [fp, #-1036]
	rsbs	r1, r3, #0
	and	r2, r3, #7
	and	r3, r1, #7
	rsbpl	r2, r3, #0
	ldr	r3, [fp, #-1040]
	rsbs	r1, r3, #0
	and	r3, r3, #7
	and	r1, r1, #7
	rsbpl	r3, r1, #0
	sub	r1, fp, #4
	add	r2, r1, r2
	ldrb	r2, [r2, #-1012]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L7:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+12
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L8
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1032]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	add	r2, r1, r2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L8:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r1, fp, #1024
	sub	r1, r1, #4
	str	r1, [sp]
	ldr	r1, .L25+16
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L9
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1028]
	and	r2, r3, #255
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	add	r2, r1, r2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L9:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+20
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L10
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1032]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	sub	r2, r1, r2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L10:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r1, fp, #1024
	sub	r1, r1, #4
	str	r1, [sp]
	ldr	r1, .L25+24
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L11
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1028]
	and	r2, r3, #255
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	sub	r2, r1, r2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L11:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+28
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L12
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1032]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	and	r2, r2, r1
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L12:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r1, fp, #1024
	sub	r1, r1, #4
	str	r1, [sp]
	ldr	r1, .L25+32
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L13
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1012]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-1028]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-1040]
	rsbs	r1, r3, #0
	and	r3, r3, #7
	and	r1, r1, #7
	rsbpl	r3, r1, #0
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L13:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L25+36
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L14
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1032]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-1012]	@ zero_extendqisi2
	ldr	r3, [fp, #-1040]
	rsbs	r0, r3, #0
	and	r3, r3, #7
	and	r0, r0, #7
	rsbpl	r3, r0, #0
	orr	r2, r1, r2
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L14:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r0, fp, #1008
	sub	r1, fp, #1024
	sub	r1, r1, #4
	str	r1, [sp]
	ldr	r1, .L25+40
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L15
	ldr	r3, [fp, #-1036]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1012]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-1028]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-1040]
	rsbs	r1, r3, #0
	and	r3, r3, #7
	and	r1, r1, #7
	rsbpl	r3, r1, #0
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1012]
.L15:
	sub	r3, fp, #1008
	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, #-1004]
	mov	r3, #0
	str	r3, [fp, #-1024]
	b	.L16
.L21:
	sub	r2, fp, #1016
	ldr	r3, [fp, #-1024]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-1024]
	cmp	r3, #7
	bne	.L17
	sub	r3, fp, #1008
	b	.L18
.L17:
	ldr	r3, .L25+44
.L18:
	ldr	r2, [fp, #-1024]
	cmp	r2, #7
	bne	.L19
	ldr	r2, .L25+48
	b	.L20
.L19:
	ldr	r2, .L25+52
.L20:
	str	r2, [sp]
	mov	r2, r1
	ldr	r1, [fp, #-1024]
	ldr	r0, .L25+56
	bl	printf
	ldr	r3, [fp, #-1024]
	add	r3, r3, #1
	str	r3, [fp, #-1024]
.L16:
	ldr	r3, [fp, #-1024]
	cmp	r3, #7
	ble	.L21
	ldr	r3, .L25+60
	ldr	r2, [r3]
	sub	r3, fp, #1008
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.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	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
