	.file	"690079.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"\nWelcome"
.LC2:
	.string	"\nGood Bye"
.LC3:
	.string	"\n%d %d %d"
.LC4:
	.string	"%d "
.LC5:
	.string	"Hi There"
.LC6:
	.string	"CS282"
.LC7:
	.string	"Bye"
.LC8:
	.string	"Hi There "
.LC9:
	.string	"CS282 "
	.text
	.globl	quiz2
	.type	quiz2, @function
quiz2:
.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, 96
	mov	DWORD PTR -80[rbp], 4
	mov	DWORD PTR -76[rbp], -1
	mov	DWORD PTR -72[rbp], 0
	cmp	DWORD PTR -80[rbp], 0
	jne	.L2
	cmp	DWORD PTR -76[rbp], 0
	jne	.L2
	cmp	DWORD PTR -72[rbp], 0
	je	.L3
.L2:
	mov	eax, 1
	jmp	.L4
.L3:
	mov	eax, 0
.L4:
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -80[rbp], 0
	je	.L5
	cmp	DWORD PTR -76[rbp], 0
	je	.L5
	cmp	DWORD PTR -72[rbp], 0
	je	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -80[rbp], 0
	jne	.L7
	cmp	DWORD PTR -76[rbp], 0
	je	.L8
	cmp	DWORD PTR -72[rbp], 0
	je	.L8
.L7:
	mov	eax, 1
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -80[rbp], 0
	je	.L10
	cmp	DWORD PTR -76[rbp], 0
	jne	.L11
.L10:
	cmp	DWORD PTR -72[rbp], 0
	je	.L12
.L11:
	mov	eax, 1
	jmp	.L13
.L12:
	mov	eax, 0
.L13:
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -52[rbp], 30
	cmp	DWORD PTR -52[rbp], 5
	jle	.L14
	cmp	DWORD PTR -52[rbp], 10
	jg	.L15
	mov	eax, 100
	jmp	.L17
.L15:
	mov	eax, 200
	jmp	.L17
.L14:
	mov	eax, 500
.L17:
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -44[rbp], 4
	cmp	DWORD PTR -44[rbp], 0
	je	.L18
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -40[rbp], 4
	sub	DWORD PTR -40[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -40[rbp], edx
	mov	DWORD PTR -32[rbp], eax
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -28[rbp], 4
	mov	DWORD PTR -24[rbp], 3
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -28[rbp], edx
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L20
.L21:
	mov	DWORD PTR -4[rbp], 1
	mov	edi, 116
	call	putchar@PLT
.L20:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L21
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L22:
	cmp	DWORD PTR -84[rbp], 8
	jle	.L23
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], 3
	cmp	DWORD PTR -12[rbp], 1
	je	.L24
	cmp	DWORD PTR -12[rbp], 3
	je	.L25
	jmp	.L31
.L24:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L25:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L31:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -8[rbp], 1
	je	.L28
	cmp	DWORD PTR -8[rbp], 2
	je	.L29
	jmp	.L30
.L28:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quiz2, .-quiz2
	.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	"690079.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"\012Welcome\000"
	.align	2
.LC2:
	.ascii	"\012Good Bye\000"
	.align	2
.LC3:
	.ascii	"\012%d %d %d\000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.ascii	"Hi There\000"
	.align	2
.LC6:
	.ascii	"CS282\000"
	.align	2
.LC7:
	.ascii	"Bye\000"
	.align	2
.LC8:
	.ascii	"Hi There \000"
	.align	2
.LC9:
	.ascii	"CS282 \000"
	.text
	.align	2
	.global	quiz2
	.syntax unified
	.arm
	.fpu softvfp
	.type	quiz2, %function
quiz2:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	mov	r3, #4
	str	r3, [fp, #-84]
	mvn	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L3
.L2:
	mov	r3, #1
	b	.L4
.L3:
	mov	r3, #0
.L4:
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L5
	mov	r3, #1
	b	.L6
.L5:
	mov	r3, #0
.L6:
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L8
.L7:
	mov	r3, #1
	b	.L9
.L8:
	mov	r3, #0
.L9:
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L11
.L10:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L12
.L11:
	mov	r3, #1
	b	.L13
.L12:
	mov	r3, #0
.L13:
	str	r3, [fp, #-60]
	ldr	r1, [fp, #-72]
	ldr	r0, .L32
	bl	printf
	ldr	r1, [fp, #-68]
	ldr	r0, .L32
	bl	printf
	ldr	r1, [fp, #-64]
	ldr	r0, .L32
	bl	printf
	ldr	r1, [fp, #-60]
	ldr	r0, .L32
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #30
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #5
	ble	.L14
	ldr	r3, [fp, #-56]
	cmp	r3, #10
	bgt	.L15
	mov	r3, #100
	b	.L17
.L15:
	mov	r3, #200
	b	.L17
.L14:
	mov	r3, #500
.L17:
	str	r3, [fp, #-52]
	ldr	r1, [fp, #-52]
	ldr	r0, .L32
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #4
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L32+4
	bl	printf
	b	.L19
.L18:
	ldr	r0, .L32+8
	bl	printf
.L19:
	mov	r0, #10
	bl	putchar
	mov	r3, #4
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	sub	r2, r3, #1
	str	r2, [fp, #-44]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-44]
	ldr	r0, .L32+12
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #4
	str	r3, [fp, #-32]
	mov	r3, #3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-28]
	sub	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	ldr	r0, .L32+12
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L20
.L21:
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r0, #116
	bl	putchar
.L20:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L21
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L22
.L23:
	ldr	r1, [fp, #-88]
	ldr	r0, .L32+16
	bl	printf
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L22:
	ldr	r3, [fp, #-88]
	cmp	r3, #8
	ble	.L23
	mov	r0, #10
	bl	putchar
	mov	r3, #3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L24
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L25
	b	.L31
.L24:
	ldr	r0, .L32+20
	bl	printf
	b	.L27
.L25:
	ldr	r0, .L32+24
	bl	printf
	b	.L27
.L31:
	ldr	r0, .L32+28
	bl	printf
.L27:
	mov	r0, #10
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L28
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L29
	b	.L30
.L28:
	ldr	r0, .L32+32
	bl	printf
.L29:
	ldr	r0, .L32+36
	bl	printf
.L30:
	ldr	r0, .L32+28
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	quiz2, .-quiz2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
