	.file	"188040.c"
	.intel_syntax noprefix
	.text
	.globl	newnode
	.bss
	.align 8
	.type	newnode, @object
	.size	newnode, 8
newnode:
	.zero	8
	.globl	head
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.text
	.globl	createNode
	.type	createNode, @function
createNode:
.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, 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
.LFE6:
	.size	createNode, .-createNode
	.globl	insert
	.type	insert, @function
insert:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 1
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	mov	eax, 0
	call	createNode
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	mov	eax, 0
	call	createNode
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert, .-insert
	.globl	create
	.type	create, @function
create:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR newnode[rip], rax
	mov	rax, QWORD PTR newnode[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR newnode[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L9
.L7:
	mov	rdx, QWORD PTR newnode[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	create, .-create
	.section	.rodata
.LC0:
	.string	"list empty "
.LC1:
	.string	"%d \t"
	.text
	.globl	display
	.type	display, @function
display:
.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	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L13
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	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 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L13:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display, .-display
	.section	.rodata
.LC2:
	.string	"o"
.LC3:
	.string	"e"
	.text
	.globl	root_val
	.type	root_val, @function
root_val:
.LFB10:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	test	eax, eax
	je	.L18
	add	DWORD PTR -8[rbp], 1
	jmp	.L19
.L18:
	add	DWORD PTR -4[rbp], 1
.L19:
	add	DWORD PTR -12[rbp], 1
.L17:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L20
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L21
	lea	rax, .LC2[rip]
	jmp	.L22
.L21:
	lea	rax, .LC3[rip]
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	root_val, .-root_val
	.section	.rodata
	.align 8
.LC4:
	.string	"Enter no of elements in the linked list: "
.LC5:
	.string	"%d"
.LC6:
	.string	"the output list is: "
.LC7:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -88[rbp], 1
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -100[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L24:
	cmp	rsp, rdx
	je	.L25
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L24
.L25:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L26
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L26:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L27
.L32:
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, -1
	je	.L48
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	call	create
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -96[rbp]
	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 -96[rbp], eax
.L30:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, 99
	jg	.L31
	mov	ecx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -88[rbp], 1
	add	DWORD PTR -92[rbp], 1
.L27:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L32
	jmp	.L29
.L48:
	nop
.L29:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -92[rbp], 0
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -92[rbp], 1
.L33:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L34
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	root_val
	mov	BYTE PTR -101[rbp], al
	movsx	rax, BYTE PTR -101[rbp]
	mov	rdx, rax
	lea	rax, .LC2[rip]
	cmp	rdx, rax
	jne	.L35
	mov	DWORD PTR -92[rbp], 0
	jmp	.L36
.L39:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	and	eax, 1
	test	eax, eax
	je	.L37
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L40
.L37:
	add	DWORD PTR -92[rbp], 1
.L36:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L39
	jmp	.L40
.L35:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L41
.L43:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	and	eax, 1
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L40
.L42:
	add	DWORD PTR -92[rbp], 1
.L41:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L43
.L40:
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	mov	eax, 0
	call	createNode
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -92[rbp], 0
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	insert
	add	DWORD PTR -92[rbp], 1
.L44:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L45
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"188040.c"
	.text
	.comm	newnode,4,4
	.comm	head,4,4
	.align	2
	.global	createNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	createNode, %function
createNode:
	@ 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	createNode, .-createNode
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ 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	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	ldr	r0, [fp, #-20]
	bl	createNode
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	b	.L5
.L4:
	ldr	r0, [fp, #-20]
	bl	createNode
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert, .-insert
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ 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
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3]
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, .L10+4
	str	r3, [r2]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L9
.L7:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	newnode
	.word	head
	.size	create, .-create
	.section	.rodata
	.align	2
.LC0:
	.ascii	"list empty \000"
	.align	2
.LC1:
	.ascii	"%d \011\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ 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, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L18
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L18+4
	bl	puts
	b	.L17
.L16:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
.L17:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	head
	.word	.LC0
	.word	.LC1
	.size	display, .-display
	.section	.rodata
	.align	2
.LC2:
	.ascii	"o\000"
	.align	2
.LC3:
	.ascii	"e\000"
	.text
	.align	2
	.global	root_val
	.syntax unified
	.arm
	.fpu softvfp
	.type	root_val, %function
root_val:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L24:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L23
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L24
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L25
	ldr	r3, .L27
	and	r3, r3, #255
	b	.L26
.L25:
	ldr	r3, .L27+4
	and	r3, r3, #255
.L26:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC3
	.size	root_val, .-root_val
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter no of elements in the linked list: \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"the output list is: \000"
	.align	2
.LC7:
	.ascii	"%d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r0, .L52+4
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	ip, [fp, #-48]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L30
.L35:
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	beq	.L51
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	create
	b	.L33
.L34:
	ldr	r3, [fp, #-44]
	ldr	r2, .L52+12
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-44]
.L33:
	ldr	r3, [fp, #-44]
	cmp	r3, #99
	bgt	.L34
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L30:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L35
	b	.L32
.L51:
	nop
.L32:
	ldr	r0, .L52+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L36
.L37:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L52+20
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L36:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	root_val
	mov	r3, r0
	strb	r3, [fp, #-49]
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L52+24
	cmp	r2, r3
	bne	.L38
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L39
.L42:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-32]
	b	.L43
.L40:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L39:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L42
	b	.L43
.L38:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L44
.L46:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-32]
	b	.L43
.L45:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L44:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L46
.L43:
	ldr	r0, [fp, #-32]
	bl	createNode
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L47
.L48:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	insert
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L47:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L48
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC8
	.word	.LC4
	.word	.LC5
	.word	1717986919
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
