	.file	"59513040.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
	.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -224[rbp]
	lea	rax, -284[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	CreateDigitList
	mov	QWORD PTR -240[rbp], rax
	lea	rdx, -112[rbp]
	lea	rax, -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	CreateDigitList
	mov	QWORD PTR -232[rbp], rax
	mov	eax, DWORD PTR -284[rbp]
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR -280[rbp]
	test	eax, eax
	jne	.L2
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Add
	mov	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -276[rbp], 0
	lea	rdx, -272[rbp]
	mov	rcx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Sub
	mov	QWORD PTR -256[rbp], rax
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Multi
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -268[rbp], 0
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, 1
	jne	.L4
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, 1
	jne	.L4
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Add
	mov	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -276[rbp], 1
	lea	rdx, -272[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Sub
	mov	QWORD PTR -256[rbp], rax
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Multi
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -268[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -284[rbp]
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, 1
	jne	.L5
	lea	rdx, -276[rbp]
	mov	rcx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Sub
	mov	QWORD PTR -264[rbp], rax
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Add
	mov	QWORD PTR -256[rbp], rax
	mov	DWORD PTR -272[rbp], 0
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Multi
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -268[rbp], 1
	jmp	.L3
.L5:
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Add
	mov	QWORD PTR -256[rbp], rax
	lea	rdx, -276[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Sub
	mov	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -272[rbp], 1
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Multi
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -268[rbp], 1
.L3:
	mov	edx, DWORD PTR -276[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	PrintList
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -272[rbp]
	mov	rax, QWORD PTR -256[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	PrintList
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -268[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	PrintList
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	FreeList
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	FreeList
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	FreeList
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	FreeList
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	FreeList
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	CreateDigitNode
	.type	CreateDigitNode, @function
CreateDigitNode:
.LFB7:
	.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	DWORD PTR -20[rbp], edi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	CreateDigitNode, .-CreateDigitNode
	.globl	CreateDigitList
	.type	CreateDigitList, @function
CreateDigitList:
.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L11
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	edi, eax
	call	CreateDigitNode
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -44[rbp], 2
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	edi, eax
	call	CreateDigitNode
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -44[rbp], 1
.L12:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	edi, eax
	call	CreateDigitNode
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	add	DWORD PTR -44[rbp], 1
.L13:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	CreateDigitList, .-CreateDigitList
	.globl	Add
	.type	Add, @function
Add:
.LFB9:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	GetListLength
	mov	ebx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	GetListLength
	cmp	ebx, eax
	jl	.L17
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
.L18:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -32[rbp], rax
	jmp	.L19
.L21:
	cmp	QWORD PTR -32[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -60[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	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 -64[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -60[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	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 -64[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
.L19:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L21
	cmp	DWORD PTR -64[rbp], 1
	jne	.L22
	mov	edi, 1
	call	CreateDigitNode
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Add, .-Add
	.globl	Sub
	.type	Sub, @function
Sub:
.LFB10:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	GetListLength
	mov	ebx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	GetListLength
	cmp	ebx, eax
	jle	.L25
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	GetListLength
	mov	ebx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	GetListLength
	cmp	ebx, eax
	jge	.L27
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L26
.L27:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	CompareList
	test	eax, eax
	jne	.L28
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L26
.L28:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 1
.L26:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -24[rbp], rax
	jmp	.L29
.L35:
	cmp	QWORD PTR -24[rbp], 0
	je	.L30
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	sub	eax, DWORD PTR -52[rbp]
	test	eax, eax
	js	.L31
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 10[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 1
.L32:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -52[rbp]
	test	eax, eax
	js	.L33
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 10
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 1
.L34:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
.L29:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Sub, .-Sub
	.globl	FindEnd
	.type	FindEnd, @function
FindEnd:
.LFB11:
	.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 -8[rbp], rdi
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L39
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	FindEnd, .-FindEnd
	.globl	GetListLength
	.type	GetListLength, @function
GetListLength:
.LFB12:
	.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
	cmp	QWORD PTR -24[rbp], 0
	jne	.L42
	mov	eax, 0
	jmp	.L43
.L42:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L44
.L45:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L45
	mov	eax, DWORD PTR -4[rbp]
.L43:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	GetListLength, .-GetListLength
	.section	.rodata
.LC1:
	.string	"%d"
	.text
	.globl	PrintList
	.type	PrintList, @function
PrintList:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L47
	mov	edi, 48
	call	putchar@PLT
	jmp	.L46
.L47:
	cmp	DWORD PTR -12[rbp], 1
	jne	.L50
	mov	edi, 45
	call	putchar@PLT
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L50:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L51
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	PrintList, .-PrintList
	.globl	FreeList
	.type	FreeList, @function
FreeList:
.LFB14:
	.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	QWORD PTR -24[rbp], rdi
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
.L53:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L54
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	FreeList, .-FreeList
	.globl	CompareList
	.type	CompareList, @function
CompareList:
.LFB15:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L56
.L60:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L57
	mov	eax, 0
	jmp	.L58
.L57:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L59
	mov	eax, 1
	jmp	.L58
.L59:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L56:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L60
	mov	eax, 0
.L58:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	CompareList, .-CompareList
	.globl	DuplicateList
	.type	DuplicateList, @function
DuplicateList:
.LFB16:
	.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	QWORD PTR -40[rbp], rdi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
.L62:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	DuplicateList, .-DuplicateList
	.globl	Multi
	.type	Multi, @function
Multi:
.LFB17:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -28[rbp], 0
	mov	edi, 0
	call	CreateDigitNode
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -16[rbp], rax
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	SingleMulti
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	Multi10
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	Add
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L66:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L67
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	Multi, .-Multi
	.globl	SingleMulti
	.type	SingleMulti, @function
SingleMulti:
.LFB18:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	DuplicateList
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -20[rbp], eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -20[rbp], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	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 -24[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L70:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L71
	cmp	DWORD PTR -24[rbp], 0
	je	.L72
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	CreateDigitNode
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -48[rbp], rax
.L72:
	mov	rax, QWORD PTR -48[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	SingleMulti, .-SingleMulti
	.globl	Multi10
	.type	Multi10, @function
Multi10:
.LFB19:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L75
.L76:
	mov	edi, 0
	call	CreateDigitNode
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	FindEnd
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	add	DWORD PTR -20[rbp], 1
.L75:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L76
	mov	rax, QWORD PTR -48[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	Multi10, .-Multi10
	.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	"59513040.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	sub	r2, fp, #208
	sub	r3, fp, #248
	mov	r1, r2
	mov	r0, r3
	bl	CreateDigitList
	str	r0, [fp, #-216]
	sub	r2, fp, #108
	sub	r3, fp, #244
	mov	r1, r2
	mov	r0, r3
	bl	CreateDigitList
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	bne	.L2
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Add
	str	r0, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-240]
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Sub
	str	r0, [fp, #-228]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Multi
	str	r0, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L3
.L2:
	ldr	r3, [fp, #-248]
	cmp	r3, #1
	bne	.L4
	ldr	r3, [fp, #-244]
	cmp	r3, #1
	bne	.L4
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Add
	str	r0, [fp, #-232]
	mov	r3, #1
	str	r3, [fp, #-240]
	sub	r3, fp, #236
	mov	r2, r3
	ldr	r1, [fp, #-216]
	ldr	r0, [fp, #-212]
	bl	Sub
	str	r0, [fp, #-228]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Multi
	str	r0, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L3
.L4:
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-244]
	cmp	r3, #1
	bne	.L5
	sub	r3, fp, #240
	mov	r2, r3
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Sub
	str	r0, [fp, #-232]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Add
	str	r0, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-236]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Multi
	str	r0, [fp, #-224]
	mov	r3, #1
	str	r3, [fp, #-220]
	b	.L3
.L5:
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Add
	str	r0, [fp, #-228]
	sub	r3, fp, #240
	mov	r2, r3
	ldr	r1, [fp, #-216]
	ldr	r0, [fp, #-212]
	bl	Sub
	str	r0, [fp, #-232]
	mov	r3, #1
	str	r3, [fp, #-236]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-216]
	bl	Multi
	str	r0, [fp, #-224]
	mov	r3, #1
	str	r3, [fp, #-220]
.L3:
	ldr	r3, [fp, #-240]
	mov	r1, r3
	ldr	r0, [fp, #-232]
	bl	PrintList
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-236]
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	PrintList
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-224]
	bl	PrintList
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-216]
	bl	FreeList
	ldr	r0, [fp, #-212]
	bl	FreeList
	ldr	r0, [fp, #-232]
	bl	FreeList
	ldr	r0, [fp, #-228]
	bl	FreeList
	ldr	r0, [fp, #-224]
	bl	FreeList
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	CreateDigitNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateDigitNode, %function
CreateDigitNode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	CreateDigitNode, .-CreateDigitNode
	.align	2
	.global	CreateDigitList
	.syntax unified
	.arm
	.fpu softvfp
	.type	CreateDigitList, %function
CreateDigitList:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	bl	CreateDigitNode
	str	r0, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L14
.L13:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	bl	CreateDigitNode
	str	r0, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L15
.L16:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	bl	CreateDigitNode
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bhi	.L16
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	CreateDigitList, .-CreateDigitList
	.align	2
	.global	Add
	.syntax unified
	.arm
	.fpu softvfp
	.type	Add, %function
Add:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-48]
	bl	GetListLength
	mov	r4, r0
	ldr	r0, [fp, #-52]
	bl	GetListLength
	mov	r3, r0
	cmp	r4, r3
	blt	.L19
	ldr	r0, [fp, #-48]
	bl	DuplicateList
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-36]
	b	.L20
.L19:
	ldr	r0, [fp, #-52]
	bl	DuplicateList
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
.L20:
	ldr	r0, [fp, #-40]
	bl	FindEnd
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	FindEnd
	str	r0, [fp, #-28]
	b	.L21
.L23:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L26
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, .L26
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	b	.L21
.L22:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, .L26
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, .L26
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
.L21:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L24
	mov	r0, #1
	bl	CreateDigitNode
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-40]
.L24:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	1717986919
	.size	Add, .-Add
	.align	2
	.global	Sub
	.syntax unified
	.arm
	.fpu softvfp
	.type	Sub, %function
Sub:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	GetListLength
	mov	r4, r0
	ldr	r0, [fp, #-44]
	bl	GetListLength
	mov	r3, r0
	cmp	r4, r3
	ble	.L29
	ldr	r0, [fp, #-40]
	bl	DuplicateList
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	b	.L30
.L29:
	ldr	r0, [fp, #-40]
	bl	GetListLength
	mov	r4, r0
	ldr	r0, [fp, #-44]
	bl	GetListLength
	mov	r3, r0
	cmp	r4, r3
	bge	.L31
	ldr	r0, [fp, #-44]
	bl	DuplicateList
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3]
	b	.L30
.L31:
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	CompareList
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-40]
	bl	DuplicateList
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	b	.L30
.L32:
	ldr	r0, [fp, #-44]
	bl	DuplicateList
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3]
.L30:
	ldr	r0, [fp, #-36]
	bl	FindEnd
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	FindEnd
	str	r0, [fp, #-16]
	b	.L33
.L39:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L36
.L35:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
.L36:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	b	.L33
.L34:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	blt	.L37
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L38
.L37:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #10
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
.L38:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L33:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-36]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	Sub, .-Sub
	.align	2
	.global	FindEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	FindEnd, %function
FindEnd:
	@ 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
	str	r0, [fp, #-8]
	b	.L42
.L43:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	FindEnd, .-FindEnd
	.align	2
	.global	GetListLength
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetListLength, %function
GetListLength:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L46
	mov	r3, #0
	b	.L47
.L46:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L48
.L49:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
.L48:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-8]
.L47:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	GetListLength, .-GetListLength
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\000"
	.text
	.align	2
	.global	PrintList
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintList, %function
PrintList:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L51
	mov	r0, #48
	bl	putchar
	b	.L50
.L51:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L54
	mov	r0, #45
	bl	putchar
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L55
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC2
	.size	PrintList, .-PrintList
	.align	2
	.global	FreeList
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreeList, %function
FreeList:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	b	.L59
.L60:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L59:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L60
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	FreeList, .-FreeList
	.align	2
	.global	CompareList
	.syntax unified
	.arm
	.fpu softvfp
	.type	CompareList, %function
CompareList:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L62
.L66:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L63
	mov	r3, #0
	b	.L64
.L63:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L65
	mov	r3, #1
	b	.L64
.L65:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L62:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L66
	mov	r3, #0
.L64:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	CompareList, .-CompareList
	.align	2
	.global	DuplicateList
	.syntax unified
	.arm
	.fpu softvfp
	.type	DuplicateList, %function
DuplicateList:
	@ 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	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L68
.L69:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-24]
.L68:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	DuplicateList, .-DuplicateList
	.align	2
	.global	Multi
	.syntax unified
	.arm
	.fpu softvfp
	.type	Multi, %function
Multi:
	@ 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]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r0, #0
	bl	CreateDigitNode
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	FindEnd
	str	r0, [fp, #-12]
	b	.L72
.L73:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	SingleMulti
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	Multi10
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	Add
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	free
.L72:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Multi, .-Multi
	.align	2
	.global	SingleMulti
	.syntax unified
	.arm
	.fpu softvfp
	.type	SingleMulti, %function
SingleMulti:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	DuplicateList
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	FindEnd
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L76
.L77:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, .L80
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L80
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L76:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L77
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L78
	ldr	r0, [fp, #-16]
	bl	CreateDigitNode
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
.L78:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	1717986919
	.size	SingleMulti, .-SingleMulti
	.align	2
	.global	Multi10
	.syntax unified
	.arm
	.fpu softvfp
	.type	Multi10, %function
Multi10:
	@ 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]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L83
.L84:
	mov	r0, #0
	bl	CreateDigitNode
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-28]
	bl	FindEnd
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L83:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L84
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Multi10, .-Multi10
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
