	.file	"65456.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the first single digit: "
.LC1:
	.string	"%1d"
	.align 8
.LC2:
	.string	"Enter the first group of five digits: "
.LC3:
	.string	"%1d%1d%1d%1d%1d"
	.align 8
.LC4:
	.string	"Enter the second group of five digits: "
.LC5:
	.string	"Enter the check digit: "
.LC6:
	.string	"Seems like your UPC is ok"
.LC7:
	.string	"ur UPC is a hoax, mate."
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf_s@PLT
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf_s@PLT
	lea	rdi, -48[rbp]
	lea	rsi, -52[rbp]
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	lea	rax, -64[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf_s@PLT
	lea	rdi, -28[rbp]
	lea	rsi, -32[rbp]
	lea	rcx, -36[rbp]
	lea	rdx, -40[rbp]
	lea	rax, -44[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	scanf_s@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf_s@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	scanf_s@PLT
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, 9
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jne	.L2
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	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	"65456.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the first single digit: \000"
	.align	2
.LC1:
	.ascii	"%1d\000"
	.align	2
.LC2:
	.ascii	"Enter the first group of five digits: \000"
	.align	2
.LC3:
	.ascii	"%1d%1d%1d%1d%1d\000"
	.align	2
.LC4:
	.ascii	"Enter the second group of five digits: \000"
	.align	2
.LC5:
	.ascii	"Enter the check digit: \000"
	.align	2
.LC6:
	.ascii	"Seems like your UPC is ok\000"
	.align	2
.LC7:
	.ascii	"ur UPC is a hoax, mate.\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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L6+4
	bl	printf_s
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L6+8
	bl	scanf_s
	ldr	r0, .L6+12
	bl	printf_s
	sub	r0, fp, #56
	sub	r2, fp, #60
	sub	r1, fp, #64
	sub	r3, fp, #48
	str	r3, [sp, #4]
	sub	r3, fp, #52
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L6+16
	bl	scanf_s
	ldr	r0, .L6+20
	bl	printf_s
	sub	r0, fp, #36
	sub	r2, fp, #40
	sub	r1, fp, #44
	sub	r3, fp, #28
	str	r3, [sp, #4]
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L6+16
	bl	scanf_s
	ldr	r0, .L6+24
	bl	printf_s
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L6+8
	bl	scanf_s
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	sub	r1, r3, #1
	ldr	r3, .L6+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	rsb	r2, r2, #9
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L2
	ldr	r0, .L6+32
	bl	puts
	b	.L3
.L2:
	ldr	r0, .L6+36
	bl	puts
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1717986919
	.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
