	.file	"50446.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n Enter the set of intermediate code (terminated by exit):"
.LC1:
	.string	"%s"
.LC2:
	.string	"exit"
.LC3:
	.string	"\n target code generation"
.LC4:
	.string	"\n************************"
.LC5:
	.string	"\n\tMov %c,R%d"
.LC6:
	.string	"\n\t%s%c,R%d"
.LC7:
	.string	"\n\tMov R%d,%c"
	.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, 368
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -356[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L2:
	lea	rcx, -352[rbp]
	mov	eax, DWORD PTR -356[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -356[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -356[rbp], edx
	lea	rcx, -352[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -356[rbp], 0
.L7:
	lea	rcx, -352[rbp]
	mov	eax, DWORD PTR -356[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	movzx	eax, BYTE PTR -29[rbp]
	movsx	eax, al
	cmp	eax, 47
	je	.L3
	cmp	eax, 47
	jg	.L4
	cmp	eax, 45
	je	.L5
	cmp	eax, 45
	jg	.L4
	cmp	eax, 42
	je	.L6
	cmp	eax, 43
	jne	.L4
	lea	rax, -42[rbp]
	mov	DWORD PTR [rax], 4473921
	jmp	.L4
.L5:
	lea	rax, -42[rbp]
	mov	DWORD PTR [rax], 4347219
	jmp	.L4
.L6:
	lea	rax, -42[rbp]
	mov	DWORD PTR [rax], 5002573
	jmp	.L4
.L3:
	lea	rax, -42[rbp]
	mov	DWORD PTR [rax], 5654852
	nop
.L4:
	movzx	eax, BYTE PTR -30[rbp]
	movsx	eax, al
	mov	edx, DWORD PTR -356[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -28[rbp]
	movsx	edx, al
	mov	ecx, DWORD PTR -356[rbp]
	lea	rax, -42[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -32[rbp]
	movsx	edx, al
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -356[rbp], 1
	lea	rcx, -352[rbp]
	mov	eax, DWORD PTR -356[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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	"50446.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 Enter the set of intermediate code (terminated"
	.ascii	" by exit):\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"exit\000"
	.align	2
.LC3:
	.ascii	"\012 target code generation\000"
	.align	2
.LC4:
	.ascii	"\012************************\000"
	.align	2
.LC5:
	.ascii	"\012\011Mov %c,R%d\000"
	.align	2
.LC6:
	.ascii	"\012\011%s%c,R%d\000"
	.align	2
.LC7:
	.ascii	"\012\011Mov R%d,%c\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #344
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-344]
	ldr	r0, .L11+4
	bl	puts
.L2:
	sub	r1, fp, #340
	ldr	r2, [fp, #-344]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-344]
	add	r3, r2, #1
	str	r3, [fp, #-344]
	sub	r1, fp, #340
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r1, .L11+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L11+16
	bl	printf
	ldr	r0, .L11+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-344]
.L9:
	sub	r1, fp, #340
	ldr	r2, [fp, #-344]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	sub	r3, r3, #42
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L4
.L7:
	sub	r3, fp, #40
	ldr	r2, .L11+24
	str	r2, [r3]
	b	.L3
.L6:
	sub	r3, fp, #40
	ldr	r2, .L11+28
	str	r2, [r3]
	b	.L3
.L8:
	sub	r3, fp, #40
	ldr	r2, .L11+32
	str	r2, [r3]
	b	.L3
.L4:
	sub	r3, fp, #40
	ldr	r2, .L11+36
	str	r2, [r3]
	nop
.L3:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	ldr	r2, [fp, #-344]
	mov	r1, r3
	ldr	r0, .L11+40
	bl	printf
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	mov	r2, r3
	sub	r1, fp, #40
	ldr	r3, [fp, #-344]
	ldr	r0, .L11+44
	bl	printf
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-344]
	ldr	r0, .L11+48
	bl	printf
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	str	r3, [fp, #-344]
	sub	r1, fp, #340
	ldr	r2, [fp, #-344]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r1, .L11+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	4473921
	.word	4347219
	.word	5002573
	.word	5654852
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
