	.file	"270778.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"The number %d was found by thread number (from inside): %d\n"
	.text
	.globl	printContents
	.type	printContents, @function
printContents:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, eax, 200
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	imul	eax, eax, 200
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L3
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	rdi, rax
	call	pthread_exit@PLT
.L3:
	add	DWORD PTR -36[rbp], 1
.L2:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L4
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	printContents, .-printContents
	.section	.rodata
	.align 8
.LC1:
	.string	"Enter a number to search the array:"
.LC2:
	.string	"%d"
	.align 8
.LC3:
	.string	"A thread finished with the return value of: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 96
	mov	DWORD PTR -4180[rbp], edi
	mov	QWORD PTR -4192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -4164[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -4156[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4156[rbp]
	cdqe
	mov	edx, DWORD PTR -4156[rbp]
	mov	DWORD PTR -4016[rbp+rax*4], edx
	add	DWORD PTR -4156[rbp], 1
.L6:
	cmp	DWORD PTR -4156[rbp], 999
	jle	.L7
	mov	DWORD PTR -4152[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -4088[rax]
	lea	rax, -4016[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -4152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -4092[rax]
	mov	eax, DWORD PTR -4152[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -4164[rbp]
	mov	edx, DWORD PTR -4152[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 4096
	mov	DWORD PTR [rdx], eax
	lea	rdx, -4096[rbp]
	mov	eax, DWORD PTR -4152[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rcx, -4144[rbp]
	mov	eax, DWORD PTR -4152[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, printContents[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -4152[rbp], 1
.L8:
	cmp	DWORD PTR -4152[rbp], 4
	jle	.L9
	mov	DWORD PTR -4148[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4148[rbp]
	cdqe
	mov	rax, QWORD PTR -4144[rbp+rax*8]
	lea	rdx, -4160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -4160[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4148[rbp], 1
.L10:
	cmp	DWORD PTR -4148[rbp], 4
	jle	.L11
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"270778.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The number %d was found by thread number (from insi"
	.ascii	"de): %d\012\000"
	.text
	.align	2
	.global	printContents
	.syntax unified
	.arm
	.fpu softvfp
	.type	printContents, %function
printContents:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-32]
	b	.L2
.L4:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L5
	bl	printf
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	pthread_exit
.L3:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L2:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L4
	mov	r0, #0
	bl	pthread_exit
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	stdout
	.size	printContents, .-printContents
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter a number to search the array:\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"A thread finished with the return value of: %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4096
	sub	sp, sp, #16
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r0, [r3, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r1, [r3, #-16]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r3, .L16+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	b	.L8
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2]
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [r2]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #1000
	blt	.L9
	mov	r3, #0
	sub	r2, fp, #4096
	str	r3, [r2]
	b	.L10
.L11:
	sub	r3, fp, #4096
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #4048
	sub	r3, r3, #8
	sub	r2, fp, #4000
	sub	r2, r2, #4
	sub	r2, r2, #4
	str	r2, [r3]
	sub	r3, fp, #4096
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #4048
	sub	r3, r3, #12
	sub	r2, fp, #4096
	ldr	r2, [r2]
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-8]
	sub	r3, fp, #4096
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #4064
	str	r1, [r3]
	sub	r3, fp, #4080
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #4096
	ldr	r2, [r2]
	lsl	r2, r2, #2
	add	r0, r3, r2
	sub	r1, fp, #4064
	sub	r1, r1, #4
	sub	r3, fp, #4096
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L16+16
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #4096
	ldr	r3, [r3]
	add	r3, r3, #1
	sub	r2, fp, #4096
	str	r3, [r2]
.L10:
	sub	r3, fp, #4096
	ldr	r3, [r3]
	cmp	r3, #4
	ble	.L11
	mov	r3, #0
	str	r3, [fp, #-4092]
	b	.L12
.L13:
	ldr	r3, [fp, #-4092]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	pthread_join
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-4]
	mov	r1, r3
	ldr	r0, .L16+20
	bl	printf
	ldr	r3, [fp, #-4092]
	add	r3, r3, #1
	str	r3, [fp, #-4092]
.L12:
	ldr	r3, [fp, #-4092]
	cmp	r3, #4
	ble	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	stdout
	.word	printContents
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
