	.file	"48574206.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%u %u"
.LC1:
	.string	"%d carry operations.\n"
.LC2:
	.string	"1 carry operation."
.LC3:
	.string	"No carry operation."
	.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
.L23:
	lea	rdx, -68[rbp]
	lea	rax, -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -72[rbp]
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	je	.L27
.L2:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -38[rbp+rax], 0
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], 0
	add	DWORD PTR -64[rbp], 1
.L4:
	cmp	DWORD PTR -64[rbp], 14
	jle	.L5
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -38[rbp+rax], 0
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], 0
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -64[rbp], -1
	jmp	.L6
.L7:
	add	DWORD PTR -64[rbp], 1
	mov	edx, DWORD PTR -60[rbp]
	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	edx, ecx
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -38[rbp+rax], dl
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
.L6:
	cmp	DWORD PTR -60[rbp], 0
	jg	.L7
	cmp	DWORD PTR -64[rbp], -1
	jne	.L8
	mov	DWORD PTR -52[rbp], 1
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -52[rbp], eax
.L9:
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -64[rbp], -1
	jmp	.L10
.L11:
	add	DWORD PTR -64[rbp], 1
	mov	edx, DWORD PTR -60[rbp]
	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	edx, ecx
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], dl
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
.L10:
	cmp	DWORD PTR -60[rbp], 0
	jg	.L11
	cmp	DWORD PTR -64[rbp], -1
	jne	.L12
	mov	DWORD PTR -48[rbp], 1
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -48[rbp], eax
.L13:
	mov	BYTE PTR -73[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -44[rbp], -1
	mov	DWORD PTR -64[rbp], 0
	jmp	.L14
.L19:
	mov	DWORD PTR -44[rbp], 0
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jge	.L15
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	movzx	eax, BYTE PTR -38[rbp+rax]
	movsx	eax, al
	add	DWORD PTR -44[rbp], eax
.L15:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jge	.L16
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	movzx	eax, BYTE PTR -23[rbp+rax]
	movsx	eax, al
	add	DWORD PTR -44[rbp], eax
.L16:
	movsx	eax, BYTE PTR -73[rbp]
	add	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 9
	cmp	eax, 18
	jbe	.L17
	add	DWORD PTR -56[rbp], 1
	mov	BYTE PTR -73[rbp], 1
	jmp	.L18
.L17:
	mov	BYTE PTR -73[rbp], 0
.L18:
	add	DWORD PTR -64[rbp], 1
.L14:
	cmp	DWORD PTR -64[rbp], 13
	jle	.L19
	cmp	DWORD PTR -56[rbp], 1
	jle	.L20
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L20:
	cmp	DWORD PTR -56[rbp], 1
	jne	.L22
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L23
.L22:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L23
.L27:
	nop
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	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	"48574206.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u %u\000"
	.align	2
.LC1:
	.ascii	"%d carry operations.\012\000"
	.align	2
.LC2:
	.ascii	"1 carry operation.\000"
	.align	2
.LC3:
	.ascii	"No carry operation.\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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L23:
	sub	r2, fp, #68
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L28+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L27
.L2:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L4
.L5:
	sub	r2, fp, #40
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #24
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L4:
	ldr	r3, [fp, #-64]
	cmp	r3, #14
	ble	.L5
	sub	r2, fp, #40
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #24
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-60]
	mvn	r3, #0
	str	r3, [fp, #-64]
	b	.L6
.L7:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r1, [fp, #-60]
	ldr	r3, .L28+8
	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
	and	r1, r2, #255
	sub	r2, fp, #40
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r2, .L28+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-60]
.L6:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bgt	.L7
	ldr	r3, [fp, #-64]
	cmn	r3, #1
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L9
.L8:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L9:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-60]
	mvn	r3, #0
	str	r3, [fp, #-64]
	b	.L10
.L11:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r1, [fp, #-60]
	ldr	r3, .L28+8
	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
	and	r1, r2, #255
	sub	r2, fp, #24
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r2, .L28+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-60]
.L10:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bgt	.L11
	ldr	r3, [fp, #-64]
	cmn	r3, #1
	bne	.L12
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L13
.L12:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	mov	r3, #0
	strb	r3, [fp, #-73]
	mov	r3, #0
	str	r3, [fp, #-56]
	mvn	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L14
.L19:
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bge	.L15
	sub	r2, fp, #40
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-44]
.L15:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L16
	sub	r2, fp, #24
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-44]
.L16:
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	add	r3, r3, #9
	cmp	r3, #18
	bls	.L17
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	mov	r3, #1
	strb	r3, [fp, #-73]
	b	.L18
.L17:
	mov	r3, #0
	strb	r3, [fp, #-73]
.L18:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L14:
	ldr	r3, [fp, #-64]
	cmp	r3, #13
	ble	.L19
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	ble	.L20
	ldr	r1, [fp, #-56]
	ldr	r0, .L28+12
	bl	printf
	b	.L23
.L20:
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bne	.L22
	ldr	r0, .L28+16
	bl	puts
	b	.L23
.L22:
	ldr	r0, .L28+20
	bl	puts
	b	.L23
.L27:
	nop
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC4
	.word	.LC0
	.word	1717986919
	.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
