	.file	"212642534.c"
	.intel_syntax noprefix
	.text
	.globl	isDigit
	.type	isDigit, @function
isDigit:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 47
	jle	.L2
	cmp	BYTE PTR -4[rbp], 57
	jg	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	isDigit, .-isDigit
	.globl	nextChar
	.type	nextChar, @function
nextChar:
.LFB7:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cdqe
	cmp	rbx, rax
	jge	.L6
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextChar, .-nextChar
	.globl	machine
	.type	machine, @function
machine:
.LFB8:
	.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 -24[rbp], 0
	mov	DWORD PTR -20[rbp], -1
.L46:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	je	.L49
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	nextChar
	mov	BYTE PTR -25[rbp], al
	add	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -24[rbp], 9
	ja	.L11
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L13[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L13[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L13:
	.long	.L22-.L13
	.long	.L21-.L13
	.long	.L20-.L13
	.long	.L19-.L13
	.long	.L18-.L13
	.long	.L17-.L13
	.long	.L16-.L13
	.long	.L15-.L13
	.long	.L14-.L13
	.long	.L12-.L13
	.text
.L22:
	movsx	eax, BYTE PTR -25[rbp]
	mov	edi, eax
	call	isDigit
	test	al, al
	je	.L23
	mov	eax, 1
	jmp	.L24
.L23:
	mov	eax, -1
.L24:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L21:
	movsx	eax, BYTE PTR -25[rbp]
	mov	edi, eax
	call	isDigit
	test	al, al
	je	.L26
	mov	eax, 2
	jmp	.L27
.L26:
	mov	eax, -1
.L27:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L20:
	cmp	BYTE PTR -25[rbp], 46
	jne	.L28
	mov	eax, 3
	jmp	.L29
.L28:
	mov	eax, -1
.L29:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L19:
	cmp	BYTE PTR -25[rbp], 66
	je	.L30
	cmp	BYTE PTR -25[rbp], 83
	je	.L30
	cmp	BYTE PTR -25[rbp], 77
	jne	.L31
.L30:
	mov	eax, 4
	jmp	.L32
.L31:
	mov	eax, -1
.L32:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L18:
	movsx	eax, BYTE PTR -25[rbp]
	mov	edi, eax
	call	isDigit
	test	al, al
	je	.L33
	mov	eax, 5
	jmp	.L34
.L33:
	mov	eax, -1
.L34:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L17:
	movsx	eax, BYTE PTR -25[rbp]
	mov	edi, eax
	call	isDigit
	test	al, al
	je	.L35
	mov	eax, 6
	jmp	.L36
.L35:
	mov	eax, -1
.L36:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L16:
	cmp	BYTE PTR -25[rbp], 45
	jne	.L37
	mov	eax, 7
	jmp	.L38
.L37:
	mov	eax, -1
.L38:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L15:
	cmp	BYTE PTR -25[rbp], 109
	jne	.L39
	mov	eax, 8
	jmp	.L40
.L39:
	mov	eax, -1
.L40:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L14:
	cmp	BYTE PTR -25[rbp], 109
	jne	.L41
	mov	eax, 9
	jmp	.L42
.L41:
	mov	eax, -1
.L42:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L12:
	cmp	BYTE PTR -25[rbp], 10
	je	.L43
	cmp	BYTE PTR -25[rbp], 0
	jne	.L44
.L43:
	mov	eax, 10
	jmp	.L45
.L44:
	mov	eax, -1
.L45:
	mov	DWORD PTR -24[rbp], eax
	jmp	.L25
.L11:
	mov	DWORD PTR -24[rbp], -1
	nop
.L25:
	jmp	.L46
.L49:
	nop
	cmp	DWORD PTR -24[rbp], 10
	sete	al
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	machine, .-machine
	.section	.rodata
.LC0:
	.string	"21.B10-mm"
	.text
	.globl	testCorrectCase
	.type	testCorrectCase, @function
testCorrectCase:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	machine
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	testCorrectCase, .-testCorrectCase
	.section	.rodata
.LC1:
	.string	"234g"
.LC2:
	.string	"23.M-mm"
.LC3:
	.string	"23.32df"
.LC4:
	.string	"...."
	.text
	.globl	testIncorrectCase
	.type	testIncorrectCase, @function
testIncorrectCase:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	call	machine
	test	al, al
	jne	.L53
	lea	rdi, .LC2[rip]
	call	machine
	test	al, al
	jne	.L53
	lea	rdi, .LC3[rip]
	call	machine
	test	al, al
	jne	.L53
	lea	rdi, .LC4[rip]
	call	machine
	test	al, al
	je	.L54
.L53:
	mov	eax, 1
	jmp	.L55
.L54:
	mov	eax, 0
.L55:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	testIncorrectCase, .-testIncorrectCase
	.section	.rodata
.LC5:
	.string	"Tests failed."
.LC6:
	.string	"%s"
.LC7:
	.string	"Yes, it is matmeh group."
.LC8:
	.string	"No, it is not matmeh group."
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	testCorrectCase
	xor	eax, 1
	test	al, al
	jne	.L58
	mov	eax, 0
	call	testIncorrectCase
	test	al, al
	je	.L59
.L58:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L63
.L59:
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	machine
	test	al, al
	je	.L61
	lea	rax, .LC7[rip]
	jmp	.L62
.L61:
	lea	rax, .LC8[rip]
.L62:
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L63:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"212642534.c"
	.text
	.align	2
	.global	isDigit
	.syntax unified
	.arm
	.fpu softvfp
	.type	isDigit, %function
isDigit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isDigit, .-isDigit
	.align	2
	.global	nextChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextChar, %function
nextChar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	cmp	r4, r2
	sbcs	r3, r5, r3
	bge	.L6
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L7
.L6:
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	nextChar, .-nextChar
	.align	2
	.global	machine
	.syntax unified
	.arm
	.fpu softvfp
	.type	machine, %function
machine:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
.L46:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	beq	.L49
	ldr	r3, [fp, #-8]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r0, [fp, #-24]
	bl	nextChar
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L11
.L13:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L12
.L22:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r3, #1
	b	.L24
.L23:
	mvn	r3, #0
.L24:
	str	r3, [fp, #-12]
	b	.L25
.L21:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	mov	r3, #2
	b	.L27
.L26:
	mvn	r3, #0
.L27:
	str	r3, [fp, #-12]
	b	.L25
.L20:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L28
	mov	r3, #3
	b	.L29
.L28:
	mvn	r3, #0
.L29:
	str	r3, [fp, #-12]
	b	.L25
.L19:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #66
	beq	.L30
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L30
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L31
.L30:
	mov	r3, #4
	b	.L32
.L31:
	mvn	r3, #0
.L32:
	str	r3, [fp, #-12]
	b	.L25
.L18:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	mov	r3, #5
	b	.L34
.L33:
	mvn	r3, #0
.L34:
	str	r3, [fp, #-12]
	b	.L25
.L17:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	mov	r3, #6
	b	.L36
.L35:
	mvn	r3, #0
.L36:
	str	r3, [fp, #-12]
	b	.L25
.L16:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L37
	mov	r3, #7
	b	.L38
.L37:
	mvn	r3, #0
.L38:
	str	r3, [fp, #-12]
	b	.L25
.L15:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L39
	mov	r3, #8
	b	.L40
.L39:
	mvn	r3, #0
.L40:
	str	r3, [fp, #-12]
	b	.L25
.L14:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L41
	mov	r3, #9
	b	.L42
.L41:
	mvn	r3, #0
.L42:
	str	r3, [fp, #-12]
	b	.L25
.L12:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L43
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
.L43:
	mov	r3, #10
	b	.L45
.L44:
	mvn	r3, #0
.L45:
	str	r3, [fp, #-12]
	b	.L25
.L11:
	mvn	r3, #0
	str	r3, [fp, #-12]
	nop
.L25:
	b	.L46
.L49:
	nop
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	machine, .-machine
	.section	.rodata
	.align	2
.LC0:
	.ascii	"21.B10-mm\000"
	.text
	.align	2
	.global	testCorrectCase
	.syntax unified
	.arm
	.fpu softvfp
	.type	testCorrectCase, %function
testCorrectCase:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L52
	bl	machine
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC0
	.size	testCorrectCase, .-testCorrectCase
	.section	.rodata
	.align	2
.LC1:
	.ascii	"234g\000"
	.align	2
.LC2:
	.ascii	"23.M-mm\000"
	.align	2
.LC3:
	.ascii	"23.32df\000"
	.align	2
.LC4:
	.ascii	"....\000"
	.text
	.align	2
	.global	testIncorrectCase
	.syntax unified
	.arm
	.fpu softvfp
	.type	testIncorrectCase, %function
testIncorrectCase:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L59
	bl	machine
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r0, .L59+4
	bl	machine
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r0, .L59+8
	bl	machine
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r0, .L59+12
	bl	machine
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
.L55:
	mov	r3, #1
	b	.L57
.L56:
	mov	r3, #0
.L57:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	testIncorrectCase, .-testIncorrectCase
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Tests failed.\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.ascii	"Yes, it is matmeh group.\000"
	.align	2
.LC8:
	.ascii	"No, it is not matmeh group.\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	testCorrectCase
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L62
	bl	testIncorrectCase
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
.L62:
	ldr	r0, .L69+4
	bl	printf
	mvn	r3, #0
	b	.L67
.L63:
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, r3
	ldr	r0, .L69+8
	bl	scanf_s
	sub	r3, fp, #40
	mov	r0, r3
	bl	machine
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L69+12
	b	.L66
.L65:
	ldr	r3, .L69+16
.L66:
	mov	r0, r3
	bl	printf
	mov	r3, #0
.L67:
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC9
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
