	.file	"47086.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter the card_name: "
.LC1:
	.string	"%2s"
	.align 8
.LC2:
	.string	"Card must be a number between 1 and 10.\n"
.LC3:
	.string	"Current count: %i\n"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L11:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -11[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -16[rbp], 0
	movzx	eax, BYTE PTR -11[rbp]
	movsx	eax, al
	cmp	eax, 88
	je	.L2
	cmp	eax, 88
	jg	.L4
	cmp	eax, 81
	je	.L5
	cmp	eax, 81
	jg	.L4
	cmp	eax, 65
	je	.L6
	cmp	eax, 65
	jl	.L4
	sub	eax, 74
	cmp	eax, 1
	ja	.L4
.L5:
	mov	DWORD PTR -16[rbp], 10
	jmp	.L7
.L6:
	mov	DWORD PTR -16[rbp], 11
	jmp	.L7
.L4:
	lea	rax, -11[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L8
	cmp	DWORD PTR -16[rbp], 10
	jle	.L7
.L8:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L2
.L7:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L9
	cmp	DWORD PTR -16[rbp], 6
	jg	.L9
	add	DWORD PTR -20[rbp], 1
	jmp	.L10
.L9:
	cmp	DWORD PTR -16[rbp], 10
	jne	.L10
	sub	DWORD PTR -20[rbp], 1
.L10:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 88
	jne	.L11
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"47086.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the card_name: \000"
	.align	2
.LC1:
	.ascii	"%2s\000"
	.align	2
.LC2:
	.ascii	"Card must be a number between 1 and 10.\012\000"
	.align	2
.LC3:
	.ascii	"Current count: %i\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L12:
	ldr	r0, .L15+4
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-16]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #23
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L2
.L6:
	mov	r3, #10
	str	r3, [fp, #-16]
	b	.L8
.L7:
	mov	r3, #11
	str	r3, [fp, #-16]
	b	.L8
.L3:
	sub	r3, fp, #12
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L9
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	ble	.L8
.L9:
	ldr	r0, .L15+12
	bl	puts
	b	.L2
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L10
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	bgt	.L10
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L11
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L11
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r1, [fp, #-20]
	ldr	r0, .L15+16
	bl	printf
.L2:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
