	.file	"313029.c"
	.intel_syntax noprefix
	.text
	.globl	bintodec
	.type	bintodec, @function
bintodec:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	ebx, DWORD PTR [rax]
	mov	eax, 8
	sub	eax, DWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvttsd2si	eax, xmm0
	imul	eax, ebx
	add	DWORD PTR -20[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L2:
	cmp	DWORD PTR -24[rbp], 8
	jle	.L3
	mov	eax, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	bintodec, .-bintodec
	.globl	initinfo
	.type	initinfo, @function
initinfo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 8
	jle	.L7
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initinfo, .-initinfo
	.section	.rodata
.LC1:
	.string	"\nChoose your economical class"
	.align 8
.LC2:
	.string	"1. Upper Class\n2. Middle Class"
.LC3:
	.string	"3. Lower Class"
.LC4:
	.string	"%d"
.LC5:
	.string	"\nChoose your language"
	.align 8
.LC6:
	.string	"1. English\n2. Hindi\n3. Regional"
	.align 8
.LC7:
	.string	"\nChoose your newspaper category"
	.align 8
.LC8:
	.string	"\n1. Daily\n2. Supplement\n3. Tabloid"
.LC9:
	.string	"cls"
	.text
	.globl	addinfo
	.type	addinfo, @function
addinfo:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	initinfo
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 3
	je	.L9
	cmp	eax, 3
	jg	.L25
	cmp	eax, 1
	je	.L11
	cmp	eax, 2
	je	.L12
	jmp	.L25
.L11:
	mov	DWORD PTR -48[rbp], 1
	jmp	.L13
.L12:
	mov	DWORD PTR -44[rbp], 1
	jmp	.L13
.L9:
	mov	DWORD PTR -40[rbp], 1
.L25:
	nop
.L13:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 3
	je	.L14
	cmp	eax, 3
	jg	.L26
	cmp	eax, 1
	je	.L16
	cmp	eax, 2
	je	.L17
	jmp	.L26
.L16:
	mov	DWORD PTR -36[rbp], 1
	jmp	.L18
.L17:
	mov	DWORD PTR -32[rbp], 1
	jmp	.L18
.L14:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L18
.L26:
	nop
.L18:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 3
	je	.L19
	cmp	eax, 3
	jg	.L27
	cmp	eax, 1
	je	.L21
	cmp	eax, 2
	je	.L22
	jmp	.L27
.L21:
	mov	DWORD PTR -24[rbp], 1
	jmp	.L23
.L22:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L23
.L19:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L23
.L27:
	nop
.L23:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	bintodec
	mov	rdx, QWORD PTR -72[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rdi, .LC9[rip]
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	addinfo, .-addinfo
	.section	.rodata
.LC10:
	.string	"\nStatical Data :-"
	.align 8
.LC11:
	.string	"\nPersons read English newspaper : %d"
	.align 8
.LC12:
	.string	"\nPersons belongs to Upper class and read Tabloid are : %d"
	.align 8
.LC13:
	.string	"\nPersons read newspaper in regional language are : %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -64[rbp], 0
	jmp	.L29
.L33:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	addinfo
	mov	BYTE PTR -66[rbp], 36
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, eax
	movzx	eax, BYTE PTR -66[rbp]
	and	eax, edx
	mov	BYTE PTR -65[rbp], al
	movzx	eax, BYTE PTR -65[rbp]
	cmp	al, BYTE PTR -66[rbp]
	jne	.L30
	add	DWORD PTR -60[rbp], 1
.L30:
	mov	BYTE PTR -66[rbp], 1
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, eax
	movzx	eax, BYTE PTR -66[rbp]
	and	eax, edx
	mov	BYTE PTR -65[rbp], al
	movzx	eax, BYTE PTR -65[rbp]
	cmp	al, BYTE PTR -66[rbp]
	jne	.L31
	add	DWORD PTR -56[rbp], 1
.L31:
	mov	BYTE PTR -66[rbp], 8
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, eax
	movzx	eax, BYTE PTR -66[rbp]
	and	eax, edx
	mov	BYTE PTR -65[rbp], al
	movzx	eax, BYTE PTR -65[rbp]
	cmp	al, BYTE PTR -66[rbp]
	jne	.L32
	add	DWORD PTR -52[rbp], 1
.L32:
	add	DWORD PTR -64[rbp], 1
.L29:
	cmp	DWORD PTR -64[rbp], 9
	jle	.L33
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	_getch@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.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	"313029.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.align	2
	.global	bintodec
	.syntax unified
	.arm
	.fpu softvfp
	.type	bintodec, %function
bintodec:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #8
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mul	r3, r4, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	ble	.L3
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	bintodec, .-bintodec
	.align	2
	.global	initinfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	initinfo, %function
initinfo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	ble	.L7
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	initinfo, .-initinfo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Choose your economical class\000"
	.align	2
.LC1:
	.ascii	"1. Upper Class\0122. Middle Class\000"
	.align	2
.LC2:
	.ascii	"3. Lower Class\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"\012Choose your language\000"
	.align	2
.LC5:
	.ascii	"1. English\0122. Hindi\0123. Regional\000"
	.align	2
.LC6:
	.ascii	"\012Choose your newspaper category\000"
	.align	2
.LC7:
	.ascii	"\0121. Daily\0122. Supplement\0123. Tabloid\000"
	.align	2
.LC8:
	.ascii	"cls\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	addinfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	addinfo, %function
addinfo:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L28+4
	bl	puts
	ldr	r0, .L28+8
	bl	puts
	ldr	r0, .L28+12
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	sub	r3, fp, #44
	mov	r0, r3
	bl	initinfo
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L9
	cmp	r3, #3
	bgt	.L25
	cmp	r3, #1
	beq	.L11
	cmp	r3, #2
	beq	.L12
	b	.L25
.L11:
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L13
.L12:
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L13
.L9:
	mov	r3, #1
	str	r3, [fp, #-36]
.L25:
	nop
.L13:
	ldr	r0, .L28+20
	bl	puts
	ldr	r0, .L28+24
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L14
	cmp	r3, #3
	bgt	.L26
	cmp	r3, #1
	beq	.L16
	cmp	r3, #2
	beq	.L17
	b	.L26
.L16:
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L18
.L17:
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L18
.L14:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L18
.L26:
	nop
.L18:
	ldr	r0, .L28+28
	bl	puts
	ldr	r0, .L28+32
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L19
	cmp	r3, #3
	bgt	.L27
	cmp	r3, #1
	beq	.L21
	cmp	r3, #2
	beq	.L22
	b	.L27
.L21:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L23
.L22:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L23
.L19:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L23
.L27:
	nop
.L23:
	sub	r3, fp, #44
	mov	r0, r3
	bl	bintodec
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3]
	ldr	r0, .L28+36
	bl	system
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	addinfo, .-addinfo
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012Statical Data :-\000"
	.align	2
.LC11:
	.ascii	"\012Persons read English newspaper : %d\000"
	.align	2
.LC12:
	.ascii	"\012Persons belongs to Upper class and read Tabloid"
	.ascii	" are : %d\000"
	.align	2
.LC13:
	.ascii	"\012Persons read newspaper in regional language are"
	.ascii	" : %d\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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L31
.L35:
	sub	r3, fp, #48
	mov	r0, r3
	bl	addinfo
	mov	r3, #36
	strb	r3, [fp, #-66]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-66]
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-65]
	ldrb	r2, [fp, #-65]	@ zero_extendqisi2
	ldrb	r3, [fp, #-66]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L32:
	mov	r3, #1
	strb	r3, [fp, #-66]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-66]
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-65]
	ldrb	r2, [fp, #-65]	@ zero_extendqisi2
	ldrb	r3, [fp, #-66]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L33
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L33:
	mov	r3, #8
	strb	r3, [fp, #-66]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-66]
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-65]
	ldrb	r2, [fp, #-65]	@ zero_extendqisi2
	ldrb	r3, [fp, #-66]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L34
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L34:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L31:
	ldr	r3, [fp, #-64]
	cmp	r3, #9
	ble	.L35
	ldr	r0, .L38+4
	bl	puts
	ldr	r1, [fp, #-60]
	ldr	r0, .L38+8
	bl	printf
	ldr	r1, [fp, #-56]
	ldr	r0, .L38+12
	bl	printf
	ldr	r1, [fp, #-52]
	ldr	r0, .L38+16
	bl	printf
	bl	_getch
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC14
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
