	.file	"102034.c"
	.intel_syntax noprefix
	.text
	.globl	data
	.bss
	.align 8
	.type	data, @object
	.size	data, 8
data:
	.zero	8
	.text
	.globl	make_empty
	.type	make_empty, @function
make_empty:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_empty, .-make_empty
	.section	.rodata
	.align 8
.LC0:
	.string	"Couldn't allocate list element.\n"
	.text
	.globl	make_nonempty
	.type	make_nonempty, @function
make_nonempty:
.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	QWORD PTR -32[rbp], rsi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	make_nonempty, .-make_nonempty
	.globl	is_empty
	.type	is_empty, @function
is_empty:
.LFB8:
	.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
	cmp	QWORD PTR -8[rbp], 0
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	is_empty, .-is_empty
	.globl	make_list_helper
	.type	make_list_helper, @function
make_list_helper:
.LFB9:
	.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
	cmp	DWORD PTR -4[rbp], 1
	jne	.L9
	mov	eax, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	rsi, rdx
	mov	edi, eax
	call	make_list_helper
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	make_list_helper, .-make_list_helper
	.globl	make_list
	.type	make_list, @function
make_list:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	call	make_empty
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	make_list_helper
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	make_list, .-make_list
	.globl	append_lists
	.type	append_lists, @function
append_lists:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	is_empty
	test	al, al
	je	.L14
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	append_lists
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	append_lists, .-append_lists
	.section	.rodata
.LC1:
	.string	"%u"
	.text
	.globl	get_num
	.type	get_num, @function
get_num:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	get_num, .-get_num
	.section	.rodata
	.align 8
.LC2:
	.string	"To create some data, enter a sequence of positive numbers."
	.align 8
.LC3:
	.string	"Terminate the list with a zero."
	.align 8
.LC4:
	.string	"Use at least moderately large numbers to create enough data for good profiling."
	.align 8
.LC5:
	.string	"(However, you can run out of memory if you use numbers that are too large.)"
	.text
	.globl	get_data
	.type	get_data, @function
get_data:
.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
	call	make_empty
	mov	QWORD PTR data[rip], rax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	make_list
	mov	rdx, rax
	mov	rax, QWORD PTR data[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	append_lists
	mov	QWORD PTR data[rip], rax
.L20:
	call	get_num
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L21
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	get_data, .-get_data
	.globl	insert_list
	.type	insert_list, @function
insert_list:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	is_empty
	test	al, al
	je	.L23
	call	make_empty
	mov	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L25
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	insert_list
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, rdx
	mov	edi, eax
	call	make_nonempty
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	insert_list, .-insert_list
	.globl	sort_list
	.type	sort_list, @function
sort_list:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	is_empty
	test	al, al
	je	.L27
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	sort_list
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, rdx
	mov	edi, eax
	call	insert_list
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sort_list, .-sort_list
	.globl	sort_data
	.type	sort_data, @function
sort_data:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR data[rip]
	mov	rdi, rax
	call	sort_list
	mov	QWORD PTR data[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	sort_data, .-sort_data
	.section	.rodata
.LC6:
	.string	"%d "
	.text
	.globl	print_list
	.type	print_list, @function
print_list:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	is_empty
	test	al, al
	je	.L31
	mov	edi, 10
	call	putchar@PLT
	jmp	.L33
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	print_list
.L33:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_list, .-print_list
	.section	.rodata
.LC7:
	.string	"The data:"
	.text
	.globl	print_data
	.type	print_data, @function
print_data:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR data[rip]
	mov	rdi, rax
	call	print_list
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	print_data, .-print_data
	.globl	main
	.type	main, @function
main:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	get_data
	call	print_data
	call	sort_data
	call	print_data
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.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	"102034.c"
	.text
	.comm	data,4,4
	.align	2
	.global	make_empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_empty, %function
make_empty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	make_empty, .-make_empty
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Couldn't allocate list element.\012\000"
	.text
	.align	2
	.global	make_nonempty
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_nonempty, %function
make_nonempty:
	@ 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]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L6+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC0
	.size	make_nonempty, .-make_nonempty
	.align	2
	.global	is_empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_empty, %function
is_empty:
	@ 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
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_empty, .-is_empty
	.align	2
	.global	make_list_helper
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_list_helper, %function
make_list_helper:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L11
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	make_nonempty
	mov	r3, r0
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	sub	r4, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	make_nonempty
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	make_list_helper
	mov	r3, r0
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	make_list_helper, .-make_list_helper
	.align	2
	.global	make_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_list, %function
make_list:
	@ 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]
	bl	make_empty
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	make_list_helper
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	make_list, .-make_list
	.align	2
	.global	append_lists
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_lists, %function
append_lists:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	is_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-28]
	b	.L17
.L16:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	append_lists
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	make_nonempty
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-16]
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	append_lists, .-append_lists
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%u\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_num
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_num, %function
get_num:
	@ 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, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L21+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	.LC1
	.size	get_num, .-get_num
	.section	.rodata
	.align	2
.LC3:
	.ascii	"To create some data, enter a sequence of positive n"
	.ascii	"umbers.\000"
	.align	2
.LC4:
	.ascii	"Terminate the list with a zero.\000"
	.align	2
.LC5:
	.ascii	"Use at least moderately large numbers to create eno"
	.ascii	"ugh data for good profiling.\000"
	.align	2
.LC6:
	.ascii	"(However, you can run out of memory if you use numb"
	.ascii	"ers that are too large.)\000"
	.text
	.align	2
	.global	get_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_data, %function
get_data:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	bl	make_empty
	mov	r3, r0
	ldr	r2, .L26
	str	r3, [r2]
	ldr	r0, .L26+4
	bl	puts
	ldr	r0, .L26+8
	bl	puts
	ldr	r0, .L26+12
	bl	puts
	ldr	r0, .L26+16
	bl	puts
	b	.L24
.L25:
	ldr	r3, .L26
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	make_list
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	append_lists
	mov	r3, r0
	ldr	r2, .L26
	str	r3, [r2]
.L24:
	bl	get_num
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L25
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	data
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	get_data, .-get_data
	.align	2
	.global	insert_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_list, %function
insert_list:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	is_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	bl	make_empty
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	make_nonempty
	mov	r3, r0
	b	.L30
.L29:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L31
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	make_nonempty
	mov	r3, r0
	b	.L30
.L31:
	ldr	r3, [fp, #-28]
	ldr	r4, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	insert_list
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	make_nonempty
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r3, [fp, #-16]
.L30:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	insert_list, .-insert_list
	.align	2
	.global	sort_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_list, %function
sort_list:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	is_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-24]
	b	.L34
.L33:
	ldr	r3, [fp, #-24]
	ldr	r4, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	sort_list
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	insert_list
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-16]
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	sort_list, .-sort_list
	.align	2
	.global	sort_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_data, %function
sort_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	sort_list
	mov	r3, r0
	ldr	r2, .L36
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	data
	.size	sort_data, .-sort_data
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%d \000"
	.text
	.align	2
	.global	print_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_list, %function
print_list:
	@ 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	r0, [fp, #-8]
	bl	is_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	mov	r0, #10
	bl	putchar
	b	.L41
.L39:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L42
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	print_list
.L41:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC7
	.size	print_list, .-print_list
	.section	.rodata
	.align	2
.LC8:
	.ascii	"The data:\000"
	.text
	.align	2
	.global	print_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_data, %function
print_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L45
	bl	puts
	ldr	r3, .L45+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_list
	nop
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC8
	.word	data
	.size	print_data, .-print_data
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	get_data
	bl	print_data
	bl	sort_data
	bl	print_data
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
