	.file	"23574401.c"
	.intel_syntax noprefix
	.text
	.globl	reverse_string
	.type	reverse_string, @function
reverse_string:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
	sub	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jnb	.L3
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	reverse_string, .-reverse_string
	.section	.rodata
.LC0:
	.string	"the_stack_data/23574401.c"
.LC1:
	.string	"isdigit(c)"
	.text
	.globl	ctoi
	.type	ctoi, @function
ctoi:
.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, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -4[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L6
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 44
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L6:
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 48
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ctoi, .-ctoi
	.section	.rodata
.LC2:
	.string	"i <= 9"
.LC3:
	.string	"0 <= i"
	.text
	.globl	itoc
	.type	itoc, @function
itoc:
.LFB8:
	.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 9
	jle	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 53
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L9:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 54
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 48
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	itoc, .-itoc
	.globl	add_digits
	.type	add_digits, @function
add_digits:
.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, 56
	.cfi_offset 3, -24
	mov	eax, edx
	mov	QWORD PTR -56[rbp], rcx
	mov	QWORD PTR -64[rbp], r8
	mov	edx, edi
	mov	BYTE PTR -36[rbp], dl
	mov	edx, esi
	mov	BYTE PTR -40[rbp], dl
	mov	BYTE PTR -44[rbp], al
	movsx	eax, BYTE PTR -36[rbp]
	mov	edi, eax
	call	ctoi
	mov	ebx, eax
	movsx	eax, BYTE PTR -40[rbp]
	mov	edi, eax
	call	ctoi
	add	ebx, eax
	movsx	eax, BYTE PTR -44[rbp]
	mov	edi, eax
	call	ctoi
	add	eax, ebx
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L13
.L14:
	sub	DWORD PTR -24[rbp], 10
	add	DWORD PTR -20[rbp], 1
.L13:
	cmp	DWORD PTR -24[rbp], 9
	jg	.L14
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	itoc
	mov	rdx, QWORD PTR -64[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	itoc
	mov	rdx, QWORD PTR -56[rbp]
	mov	BYTE PTR [rdx], al
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	add_digits, .-add_digits
	.globl	add_bigint
	.type	add_bigint, @function
add_bigint:
.LFB10:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, edx
	mov	QWORD PTR -64[rbp], rcx
	mov	BYTE PTR -52[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	BYTE PTR -22[rbp], 48
	mov	DWORD PTR -20[rbp], 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -22[rbp], al
.L17:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	mov	BYTE PTR -21[rbp], 48
	mov	DWORD PTR -16[rbp], 0
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -21[rbp], al
.L19:
	movsx	edx, BYTE PTR -52[rbp]
	movsx	esi, BYTE PTR -21[rbp]
	movsx	eax, BYTE PTR -22[rbp]
	lea	rdi, -23[rbp]
	lea	rcx, -24[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	add_digits
	movzx	eax, BYTE PTR -24[rbp]
	cmp	al, 48
	jne	.L20
	movzx	eax, BYTE PTR -23[rbp]
	cmp	al, 48
	jne	.L20
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L15
.L20:
	movzx	edx, BYTE PTR -24[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -23[rbp]
	movsx	eax, al
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rsi, ecx
	mov	rcx, QWORD PTR -48[rbp]
	add	rsi, rcx
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rdi, ecx
	mov	rcx, QWORD PTR -40[rbp]
	add	rdi, rcx
	mov	rcx, rdx
	mov	edx, eax
	call	add_bigint
.L15:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	add_bigint, .-add_bigint
	.globl	print_bigint
	.type	print_bigint, @function
print_bigint:
.LFB11:
	.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	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	rdi, rax
	call	print_bigint
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L23
.L26:
	nop
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	print_bigint, .-print_bigint
	.globl	make_bigint
	.type	make_bigint, @function
make_bigint:
.LFB12:
	.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	reverse_string
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	make_bigint, .-make_bigint
	.section	.rodata
.LC4:
	.string	"123"
.LC5:
	.string	"321"
.LC6:
	.string	"reverse_string passed"
.LC7:
	.string	"reverse_string failed"
	.text
	.globl	test_reverse_string
	.type	test_reverse_string, @function
test_reverse_string:
.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
	lea	rax, .LC4[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	reverse_string
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L32
.L30:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L32:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	test_reverse_string, .-test_reverse_string
	.section	.rodata
.LC8:
	.string	"itoc passed"
.LC9:
	.string	"itoc failed"
	.text
	.globl	test_itoc
	.type	test_itoc, @function
test_itoc:
.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, 16
	mov	edi, 3
	call	itoc
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 51
	jne	.L34
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L36
.L34:
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	test_itoc, .-test_itoc
	.section	.rodata
.LC10:
	.string	"add_digits passed"
.LC11:
	.string	"add_digits failed"
	.text
	.globl	test_add_digits
	.type	test_add_digits, @function
test_add_digits:
.LFB15:
	.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
	lea	rdx, -9[rbp]
	lea	rax, -10[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 52
	mov	edi, 55
	call	add_digits
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 50
	jne	.L38
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 49
	jne	.L38
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L39
.L38:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L39:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	test_add_digits, .-test_add_digits
	.section	.rodata
.LC12:
	.string	"1"
	.align 8
.LC13:
	.string	"99999999999999999999999999999999999999999999"
	.align 8
.LC14:
	.string	"000000000000000000000000000000000000000000001"
.LC15:
	.string	"add_bigint passed"
.LC16:
	.string	"add_bigint failed"
	.text
	.globl	test_add_bigint
	.type	test_add_bigint, @function
test_add_bigint:
.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
	lea	rax, .LC12[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	make_bigint
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	make_bigint
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 48
	mov	rdi, rax
	call	add_bigint
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L44
.L42:
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L44:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	test_add_bigint, .-test_add_bigint
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	test_reverse_string
	mov	eax, 0
	call	test_itoc
	mov	eax, 0
	call	test_add_digits
	mov	eax, 0
	call	test_add_bigint
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"ctoi"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"itoc"
	.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	"23574401.c"
	.text
	.align	2
	.global	reverse_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse_string, %function
reverse_string:
	@ 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	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	reverse_string, .-reverse_string
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/23574401.c\000"
	.align	2
.LC1:
	.ascii	"isdigit(c)\000"
	.text
	.align	2
	.global	ctoi
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctoi, %function
ctoi:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L8
	mov	r2, #44
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	__assert_fail
.L6:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #48
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	__PRETTY_FUNCTION__.5425
	.word	.LC0
	.word	.LC1
	.size	ctoi, .-ctoi
	.section	.rodata
	.align	2
.LC2:
	.ascii	"i <= 9\000"
	.align	2
.LC3:
	.ascii	"0 <= i\000"
	.text
	.align	2
	.global	itoc
	.syntax unified
	.arm
	.fpu softvfp
	.type	itoc, %function
itoc:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L11
	ldr	r3, .L14
	mov	r2, #53
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	__assert_fail
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L12
	ldr	r3, .L14
	mov	r2, #54
	ldr	r1, .L14+4
	ldr	r0, .L14+12
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	__PRETTY_FUNCTION__.5429
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.size	itoc, .-itoc
	.align	2
	.global	add_digits
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_digits, %function
add_digits:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r3, [fp, #-28]
	mov	r3, r0
	strb	r3, [fp, #-21]
	mov	r3, r1
	strb	r3, [fp, #-22]
	mov	r3, r2
	strb	r3, [fp, #-23]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r0, r3
	bl	ctoi
	mov	r4, r0
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	mov	r0, r3
	bl	ctoi
	mov	r3, r0
	add	r4, r4, r3
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	mov	r0, r3
	bl	ctoi
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L17
.L18:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #10
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bgt	.L18
	ldr	r0, [fp, #-16]
	bl	itoc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #4]
	strb	r2, [r3]
	ldr	r0, [fp, #-20]
	bl	itoc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-28]
	strb	r2, [r3]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	add_digits, .-add_digits
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_bigint
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_bigint, %function
add_bigint:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r3, [fp, #-44]
	mov	r3, r2
	strb	r3, [fp, #-37]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	mov	r3, #48
	strb	r3, [fp, #-22]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L21
.L20:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]
	strb	r3, [fp, #-22]
.L21:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	mov	r3, #48
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L23
.L22:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
.L23:
	sub	ip, fp, #24
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	ldrb	r1, [fp, #-21]	@ zero_extendqisi2
	ldrb	r0, [fp, #-22]	@ zero_extendqisi2
	sub	r3, fp, #23
	str	r3, [sp]
	mov	r3, ip
	bl	add_digits
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L24
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L24
	ldr	r3, [fp, #-44]
	mov	r2, #0
	strb	r2, [r3]
	b	.L19
.L24:
	ldrb	r2, [fp, #-24]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r1, r2, r3
	ldrb	ip, [fp, #-23]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	mov	r2, ip
	bl	add_bigint
.L19:
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC4
	.size	add_bigint, .-add_bigint
	.align	2
	.global	print_bigint
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_bigint, %function
print_bigint:
	@ 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]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	print_bigint
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L29
.L32:
	nop
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_bigint, .-print_bigint
	.align	2
	.global	make_bigint
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_bigint, %function
make_bigint:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	reverse_string
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	make_bigint, .-make_bigint
	.section	.rodata
	.align	2
.LC5:
	.ascii	"123\000"
	.align	2
.LC6:
	.ascii	"321\000"
	.align	2
.LC7:
	.ascii	"reverse_string passed\000"
	.align	2
.LC8:
	.ascii	"reverse_string failed\000"
	.text
	.align	2
	.global	test_reverse_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_reverse_string, %function
test_reverse_string:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L39
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	reverse_string
	str	r0, [fp, #-8]
	ldr	r1, .L39+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L39+8
	bl	puts
	b	.L38
.L36:
	ldr	r0, .L39+12
	bl	puts
.L38:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	test_reverse_string, .-test_reverse_string
	.section	.rodata
	.align	2
.LC9:
	.ascii	"itoc passed\000"
	.align	2
.LC10:
	.ascii	"itoc failed\000"
	.text
	.align	2
	.global	test_itoc
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_itoc, %function
test_itoc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #3
	bl	itoc
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #51
	bne	.L42
	ldr	r0, .L45
	bl	puts
	b	.L44
.L42:
	ldr	r0, .L45+4
	bl	puts
.L44:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC9
	.word	.LC10
	.size	test_itoc, .-test_itoc
	.section	.rodata
	.align	2
.LC11:
	.ascii	"add_digits passed\000"
	.align	2
.LC12:
	.ascii	"add_digits failed\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_add_digits
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_add_digits, %function
test_add_digits:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #10
	sub	r3, fp, #9
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #49
	mov	r1, #52
	mov	r0, #55
	bl	add_digits
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L48
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L48
	ldr	r0, .L51+4
	bl	puts
	b	.L49
.L48:
	ldr	r0, .L51+8
	bl	puts
.L49:
	nop
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC13
	.word	.LC11
	.word	.LC12
	.size	test_add_digits, .-test_add_digits
	.section	.rodata
	.align	2
.LC14:
	.ascii	"1\000"
	.align	2
.LC15:
	.ascii	"99999999999999999999999999999999999999999999\000"
	.align	2
.LC16:
	.ascii	"000000000000000000000000000000000000000000001\000"
	.align	2
.LC17:
	.ascii	"add_bigint passed\000"
	.align	2
.LC18:
	.ascii	"add_bigint failed\000"
	.text
	.align	2
	.global	test_add_bigint
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_add_bigint, %function
test_add_bigint:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L57
	str	r3, [fp, #-28]
	ldr	r3, .L57+4
	str	r3, [fp, #-24]
	ldr	r3, .L57+8
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	make_bigint
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	make_bigint
	str	r0, [fp, #-12]
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #48
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	add_bigint
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r0, .L57+12
	bl	puts
	b	.L56
.L54:
	ldr	r0, .L57+16
	bl	puts
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	test_add_bigint, .-test_add_bigint
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	bl	test_reverse_string
	bl	test_itoc
	bl	test_add_digits
	bl	test_add_bigint
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5425, %object
	.size	__PRETTY_FUNCTION__.5425, 5
__PRETTY_FUNCTION__.5425:
	.ascii	"ctoi\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5429, %object
	.size	__PRETTY_FUNCTION__.5429, 5
__PRETTY_FUNCTION__.5429:
	.ascii	"itoc\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
