	.file	"147980.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"The origional number is:"
.LC1:
	.string	"%s"
.LC2:
	.string	"The origional system is:"
.LC3:
	.string	"%d"
	.align 8
.LC4:
	.string	"The intended system to transfer is:"
.LC5:
	.string	"The transfered number is:"
.LC6:
	.string	"Continue-1;  Stop-0"
	.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 1
	jmp	.L2
.L3:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -136[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -132[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -136[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	source2decimal
	mov	QWORD PTR -120[rbp], rax
	mov	edx, DWORD PTR -132[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	decimal2obj
	mov	DWORD PTR -124[rbp], eax
	mov	edx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	output
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L3
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, 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
	.globl	char2num
	.type	char2num, @function
char2num:
.LFB1:
	.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	.L7
	cmp	BYTE PTR -4[rbp], 57
	jg	.L7
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 48
	jmp	.L6
.L7:
	cmp	BYTE PTR -4[rbp], 64
	jle	.L9
	cmp	BYTE PTR -4[rbp], 70
	jg	.L9
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 65
	jmp	.L6
.L9:
	cmp	BYTE PTR -4[rbp], 96
	jle	.L10
	cmp	BYTE PTR -4[rbp], 102
	jg	.L10
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 97
	jmp	.L6
.L10:
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	char2num, .-char2num
	.globl	num2char
	.type	num2char, @function
num2char:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	js	.L12
	cmp	DWORD PTR -4[rbp], 9
	jg	.L12
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 48
	jmp	.L11
.L12:
	cmp	DWORD PTR -4[rbp], 64
	jle	.L14
	cmp	DWORD PTR -4[rbp], 70
	jg	.L14
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 55
	jmp	.L11
.L14:
	cmp	DWORD PTR -4[rbp], 96
	jle	.L15
	cmp	DWORD PTR -4[rbp], 102
	jg	.L15
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 87
	jmp	.L11
.L15:
.L11:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	num2char, .-num2char
	.globl	source2decimal
	.type	source2decimal, @function
source2decimal:
.LFB3:
	.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, 32
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -36[rbp], esi
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	add	DWORD PTR -20[rbp], 1
.L17:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	mov	DWORD PTR -20[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, QWORD PTR -16[rbp]
	mov	rbx, rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	char2num
	cdqe
	add	rax, rbx
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L20
	mov	rax, QWORD PTR -16[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	source2decimal, .-source2decimal
	.globl	decimal2obj
	.type	decimal2obj, @function
decimal2obj:
.LFB4:
	.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 -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, [rcx+rax]
	mov	edi, edx
	call	num2char
	mov	BYTE PTR [rbx], al
	mov	eax, DWORD PTR -44[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	rsi
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L23:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L24
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	decimal2obj, .-decimal2obj
	.globl	output
	.type	output, @function
output:
.LFB5:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	sub	DWORD PTR -4[rbp], 1
.L27:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L28
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	output, .-output
	.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	"147980.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The origional number is:\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"The origional system is:\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"The intended system to transfer is:\000"
	.align	2
.LC5:
	.ascii	"The transfered number is:\000"
	.align	2
.LC6:
	.ascii	"Continue-1;  Stop-0\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L2
.L3:
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r0, .L6+12
	bl	printf
	sub	r3, fp, #132
	mov	r1, r3
	ldr	r0, .L6+16
	bl	__isoc99_scanf
	ldr	r0, .L6+20
	bl	printf
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L6+16
	bl	__isoc99_scanf
	ldr	r0, .L6+24
	bl	printf
	ldr	r2, [fp, #-132]
	sub	r3, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	source2decimal
	str	r0, [fp, #-120]
	ldr	r2, [fp, #-128]
	sub	r3, fp, #112
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	decimal2obj
	str	r0, [fp, #-116]
	sub	r3, fp, #112
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	output
	ldr	r0, .L6+28
	bl	puts
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, .L6+16
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.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	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.align	2
	.global	char2num
	.syntax unified
	.arm
	.fpu softvfp
	.type	char2num, %function
char2num:
	@ 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	.L9
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L9
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #48
	b	.L8
.L9:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L11
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L11
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #65
	b	.L8
.L11:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L12
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #102
	bhi	.L12
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #97
	b	.L8
.L12:
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	char2num, .-char2num
	.align	2
	.global	num2char
	.syntax unified
	.arm
	.fpu softvfp
	.type	num2char, %function
num2char:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L14
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	b	.L13
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #64
	ble	.L16
	ldr	r3, [fp, #-8]
	cmp	r3, #70
	bgt	.L16
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #55
	and	r3, r3, #255
	b	.L13
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #96
	ble	.L17
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	bgt	.L17
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #87
	and	r3, r3, #255
	b	.L13
.L17:
.L13:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	num2char, .-num2char
	.align	2
	.global	source2decimal
	.syntax unified
	.arm
	.fpu softvfp
	.type	source2decimal, %function
source2decimal:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L19
.L20:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L22:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	mul	r4, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	char2num
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L22
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	source2decimal, .-source2decimal
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.global	decimal2obj
	.syntax unified
	.arm
	.fpu softvfp
	.type	decimal2obj, %function
decimal2obj:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L26:
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	mov	r0, r1
	bl	num2char
	mov	r3, r0
	strb	r3, [r4]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	decimal2obj, .-decimal2obj
	.align	2
	.global	output
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L29
.L30:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L30
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	output, .-output
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
