	.file	"275738.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c"
	.text
	.globl	get_total
	.type	get_total, @function
get_total:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -34[rbp], 0
	lea	rax, -34[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -34[rbp]
	cmp	al, 48
	jne	.L2
	mov	eax, 0
	jmp	.L10
.L2:
	mov	QWORD PTR -32[rbp], 1
	mov	QWORD PTR -24[rbp], 1
	mov	QWORD PTR -16[rbp], 1
	mov	BYTE PTR -33[rbp], 0
.L9:
	lea	rax, -33[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -33[rbp]
	cmp	al, 10
	je	.L13
	movzx	eax, BYTE PTR -33[rbp]
	cmp	al, 48
	jne	.L6
	mov	QWORD PTR -32[rbp], 0
.L6:
	movzx	eax, BYTE PTR -34[rbp]
	cmp	al, 49
	je	.L7
	movzx	eax, BYTE PTR -34[rbp]
	cmp	al, 50
	jne	.L8
	movzx	eax, BYTE PTR -33[rbp]
	cmp	al, 54
	jg	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -32[rbp], rax
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	movzx	eax, BYTE PTR -33[rbp]
	mov	BYTE PTR -34[rbp], al
	jmp	.L9
.L13:
	nop
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 1
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_total, .-get_total
	.section	.rodata
.LC1:
	.string	"%Ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L17:
	mov	QWORD PTR -16[rbp], 0
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	get_total
	test	eax, eax
	jne	.L15
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L18
	jmp	.L19
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L19:
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"275738.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_total
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_total, %function
get_total:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-46]
	sub	r3, fp, #46
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L2
	mov	r3, #0
	b	.L10
.L2:
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	strb	r3, [fp, #-45]
.L9:
	sub	r3, fp, #45
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L13
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L6
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L6:
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L7
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L8
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #54
	bhi	.L8
.L7:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
.L8:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	strb	r3, [fp, #-46]
	b	.L9
.L13:
	nop
	ldr	r1, [fp, #-56]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	mov	r3, #1
.L10:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	.LC0
	.size	get_total, .-get_total
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%Ld\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L19:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	mov	r0, r3
	bl	get_total
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	b	.L21
.L17:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+4
	bl	printf
	b	.L19
.L21:
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
