	.file	"131606.c"
	.intel_syntax noprefix
	.text
	.globl	finish
	.bss
	.align 4
	.type	finish, @object
	.size	finish, 4
finish:
	.zero	4
	.globl	lock
	.align 32
	.type	lock, @object
	.size	lock, 40
lock:
	.zero	40
	.globl	array1
	.align 8
	.type	array1, @object
	.size	array1, 8
array1:
	.zero	8
	.globl	array2
	.align 8
	.type	array2, @object
	.size	array2, 8
array2:
	.zero	8
	.globl	front_node
	.align 8
	.type	front_node, @object
	.size	front_node, 8
front_node:
	.zero	8
	.globl	back_node
	.align 8
	.type	back_node, @object
	.size	back_node, 8
back_node:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"empty list. Nothing to be popped. Quitting"
.LC1:
	.string	"the_stack_data/131606.c"
.LC2:
	.string	"front_node->next == NULL"
	.text
	.globl	pop
	.type	pop, @function
pop:
.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, 16
	mov	rax, QWORD PTR front_node[rip]
	test	rax, rax
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rdx, QWORD PTR front_node[rip]
	mov	rax, QWORD PTR back_node[rip]
	cmp	rdx, rax
	jne	.L3
	mov	rax, QWORD PTR front_node[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 45
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	mov	rax, QWORD PTR front_node[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR front_node[rip], 0
	mov	QWORD PTR back_node[rip], 0
	jmp	.L6
.L3:
	mov	rax, QWORD PTR front_node[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR front_node[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR front_node[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L6:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pop, .-pop
	.section	.rodata
.LC3:
	.string	"front_node == NULL"
.LC4:
	.string	"back_node->next == NULL"
	.text
	.globl	push
	.type	push, @function
push:
.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	rax, QWORD PTR back_node[rip]
	test	rax, rax
	jne	.L8
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR back_node[rip], rax
	mov	rax, QWORD PTR back_node[rip]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR back_node[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR front_node[rip]
	test	rax, rax
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 65
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L9:
	mov	rax, QWORD PTR back_node[rip]
	mov	QWORD PTR front_node[rip], rax
	jmp	.L12
.L8:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR back_node[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 73
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L11:
	mov	rax, QWORD PTR back_node[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR back_node[rip], rax
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	push, .-push
	.globl	front
	.type	front, @function
front:
.LFB8:
	.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 front_node[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	front, .-front
	.globl	back
	.type	back, @function
back:
.LFB9:
	.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 back_node[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	back, .-back
	.globl	init
	.type	init, @function
init:
.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 front_node[rip], 0
	mov	QWORD PTR back_node[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	init, .-init
	.section	.rodata
.LC5:
	.string	"back_node == NULL"
	.text
	.globl	empty
	.type	empty, @function
empty:
.LFB11:
	.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 front_node[rip]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR back_node[rip]
	test	rax, rax
	je	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 99
	lea	rsi, .LC1[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L20:
	mov	eax, 1
	jmp	.L21
.L19:
	mov	eax, 0
.L21:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	empty, .-empty
	.section	.rodata
	.align 8
.LC6:
	.string	"Queue is empty, nothing to print"
.LC7:
	.string	"Printing Q"
.LC8:
	.string	"%d,"
	.text
	.globl	printQ
	.type	printQ, @function
printQ:
.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	eax, 0
	call	empty
	test	eax, eax
	je	.L23
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L26
.L23:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR front_node[rip]
	mov	QWORD PTR -8[rbp], rax
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L25
.L26:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	printQ, .-printQ
	.section	.rodata
.LC9:
	.string	"array1[%d] = %d\n"
.LC10:
	.string	"freeing array1"
	.text
	.globl	Fibonacci
	.type	Fibonacci, @function
Fibonacci:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L32:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L29
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	jmp	.L30
.L29:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L31
	mov	rax, QWORD PTR array1[rip]
	mov	rcx, QWORD PTR array1[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	jmp	.L30
.L31:
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 8
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
.L30:
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L28:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L32
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR array1[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR array1[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	Fibonacci, .-Fibonacci
	.section	.rodata
.LC11:
	.string	"\t\t\t\tarray2[%d] = %d\n"
.LC12:
	.string	"\t\t\t\tfreeing array2"
	.text
	.globl	LinearScan
	.type	LinearScan, @function
LinearScan:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L35
.L38:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L36
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR array2[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	jmp	.L37
.L36:
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR array1[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR array2[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
.L37:
	mov	rdx, QWORD PTR array2[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L35:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L38
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR array2[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR array2[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	LinearScan, .-LinearScan
	.section	.rodata
.LC13:
	.string	"fibonacci thread"
.LC14:
	.string	"linear scan thread"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	init
	mov	edi, 400
	call	malloc@PLT
	mov	QWORD PTR array1[rip], rax
	mov	edi, 400
	call	malloc@PLT
	mov	QWORD PTR array2[rip], rax
	lea	rax, -32[rbp]
	lea	rcx, .LC13[rip]
	lea	rdx, Fibonacci[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -24[rbp]
	lea	rcx, .LC14[rip]
	lea	rdx, LinearScan[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR finish[rip], 1
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 4
__PRETTY_FUNCTION__.2:
	.string	"pop"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"push"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 6
__PRETTY_FUNCTION__.0:
	.string	"empty"
	.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	"131606.c"
	.text
	.global	finish
	.bss
	.align	2
	.type	finish, %object
	.size	finish, 4
finish:
	.space	4
	.comm	lock,24,4
	.comm	array1,4,4
	.comm	array2,4,4
	.comm	front_node,4,4
	.comm	back_node,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"empty list. Nothing to be popped. Quitting\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/131606.c\000"
	.align	2
.LC2:
	.ascii	"front_node->next == NULL\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ 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, .L7
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L7+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L7+12
	mov	r2, #45
	ldr	r1, .L7+16
	ldr	r0, .L7+20
	bl	__assert_fail
.L4:
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L7
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L7+8
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L3:
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L7
	str	r3, [r2]
	ldr	r0, [fp, #-8]
	bl	free
.L6:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	front_node
	.word	.LC0
	.word	back_node
	.word	__PRETTY_FUNCTION__.5647
	.word	.LC1
	.word	.LC2
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC3:
	.ascii	"front_node == NULL\000"
	.align	2
.LC4:
	.ascii	"back_node->next == NULL\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, .L15
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15
	str	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+8
	mov	r2, #65
	ldr	r1, .L15+12
	ldr	r0, .L15+16
	bl	__assert_fail
.L11:
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15+4
	str	r3, [r2]
	b	.L14
.L10:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L15+8
	mov	r2, #73
	ldr	r1, .L15+12
	ldr	r0, .L15+20
	bl	__assert_fail
.L13:
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r2, .L15
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	back_node
	.word	front_node
	.word	__PRETTY_FUNCTION__.5652
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.size	push, .-push
	.align	2
	.global	front
	.syntax unified
	.arm
	.fpu softvfp
	.type	front, %function
front:
	@ 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
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	front_node
	.size	front, .-front
	.align	2
	.global	back
	.syntax unified
	.arm
	.fpu softvfp
	.type	back, %function
back:
	@ 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
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L24:
	.align	2
.L23:
	.word	back_node
	.size	back, .-back
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ 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
	ldr	r3, .L26
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L26+4
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	front_node
	.word	back_node
	.size	init, .-init
	.section	.rodata
	.align	2
.LC5:
	.ascii	"back_node == NULL\000"
	.text
	.align	2
	.global	empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	empty, %function
empty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L32+8
	mov	r2, #99
	ldr	r1, .L32+12
	ldr	r0, .L32+16
	bl	__assert_fail
.L30:
	mov	r3, #1
	b	.L31
.L29:
	mov	r3, #0
.L31:
	mov	r0, r3
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	front_node
	.word	back_node
	.word	__PRETTY_FUNCTION__.5662
	.word	.LC1
	.word	.LC5
	.size	empty, .-empty
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Queue is empty, nothing to print\000"
	.align	2
.LC7:
	.ascii	"Printing Q\000"
	.align	2
.LC8:
	.ascii	"%d,\000"
	.text
	.align	2
	.global	printQ
	.syntax unified
	.arm
	.fpu softvfp
	.type	printQ, %function
printQ:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L39
	bl	puts
	b	.L38
.L35:
	ldr	r0, .L39+4
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L37:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L39+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L37
.L38:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC6
	.word	.LC7
	.word	front_node
	.word	.LC8
	.size	printQ, .-printQ
	.section	.rodata
	.align	2
.LC9:
	.ascii	"array1[%d] = %d\012\000"
	.align	2
.LC10:
	.ascii	"freeing array1\000"
	.text
	.align	2
	.global	Fibonacci
	.syntax unified
	.arm
	.fpu softvfp
	.type	Fibonacci, %function
Fibonacci:
	@ 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	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	b	.L44
.L43:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L45
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	b	.L44
.L45:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L48
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
.L44:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L48+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L46
	ldr	r0, .L48+8
	bl	puts
	ldr	r3, .L48
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L48
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	array1
	.word	.LC9
	.word	.LC10
	.size	Fibonacci, .-Fibonacci
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\011\011\011\011array2[%d] = %d\012\000"
	.align	2
.LC12:
	.ascii	"\011\011\011\011freeing array2\000"
	.text
	.align	2
	.global	LinearScan
	.syntax unified
	.arm
	.fpu softvfp
	.type	LinearScan, %function
LinearScan:
	@ 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	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L51
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L52
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L56+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	b	.L53
.L52:
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L56+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
.L53:
	ldr	r3, .L56+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L56+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L54
	ldr	r0, .L56+12
	bl	puts
	ldr	r3, .L56+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L56+4
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	array1
	.word	array2
	.word	.LC11
	.word	.LC12
	.size	LinearScan, .-LinearScan
	.section	.rodata
	.align	2
.LC13:
	.ascii	"fibonacci thread\000"
	.align	2
.LC14:
	.ascii	"linear scan thread\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	init
	mov	r0, #400
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L60+4
	str	r2, [r3]
	mov	r0, #400
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L60+8
	str	r2, [r3]
	sub	r0, fp, #20
	ldr	r3, .L60+12
	ldr	r2, .L60+16
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #16
	ldr	r3, .L60+20
	ldr	r2, .L60+24
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-20]
	sub	r2, fp, #12
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-16]
	sub	r2, fp, #12
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, .L60+28
	mov	r2, #1
	str	r2, [r3]
	mov	r0, #0
	bl	pthread_exit
.L61:
	.align	2
.L60:
	.word	.LC15
	.word	array1
	.word	array2
	.word	.LC13
	.word	Fibonacci
	.word	.LC14
	.word	LinearScan
	.word	finish
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5647, %object
	.size	__PRETTY_FUNCTION__.5647, 4
__PRETTY_FUNCTION__.5647:
	.ascii	"pop\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5652, %object
	.size	__PRETTY_FUNCTION__.5652, 5
__PRETTY_FUNCTION__.5652:
	.ascii	"push\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5662, %object
	.size	__PRETTY_FUNCTION__.5662, 6
__PRETTY_FUNCTION__.5662:
	.ascii	"empty\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
