	.file	"687518.c"
	.intel_syntax noprefix
	.text
	.globl	table
	.bss
	.align 32
	.type	table, @object
	.size	table, 40
table:
	.zero	40
	.globl	keys
	.align 32
	.type	keys, @object
	.size	keys, 400000
keys:
	.zero	400000
	.globl	nthread
	.data
	.align 4
	.type	nthread, @object
	.size	nthread, 4
nthread:
	.long	1
	.globl	done
	.bss
	.align 4
	.type	done, @object
	.size	done, 4
done:
	.zero	4
	.globl	locks
	.align 32
	.type	locks, @object
	.size	locks, 200
locks:
	.zero	200
	.text
	.globl	now
	.type	now, @function
now:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	now, .-now
	.section	.rodata
.LC1:
	.string	"%d: "
.LC2:
	.string	"%d "
	.text
	.type	print, @function
print:
.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	DWORD PTR -12[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[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
.L6:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L7
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L5:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print, .-print
	.type	insert, @function
insert:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	edi, 16
	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	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, locks[rip]
	add	rax, rdx
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, locks[rip]
	add	rax, rdx
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert, .-insert
	.type	put, @function
put:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	esi, eax
	sar	esi, 31
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	insert
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	put, .-put
	.type	get, @function
get:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -8[rbp], 0
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L15
	jmp	.L14
.L17:
	nop
.L14:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get, .-get
	.section	.rodata
.LC3:
	.string	"%ld: put time = %f\n"
.LC4:
	.string	"%ld: get time = %f\n"
.LC5:
	.string	"%ld: %d keys missing\n"
	.text
	.type	thread, @function
thread:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	ecx, DWORD PTR nthread[rip]
	mov	eax, 100000
	cdq
	idiv	ecx
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, keys[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, ecx
	mov	edi, eax
	call	put
	add	DWORD PTR -44[rbp], 1
.L19:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L20
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rdx, xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	lock add	DWORD PTR done[rip], 1
	nop
.L21:
	mov	edx, DWORD PTR done[rip]
	mov	eax, DWORD PTR nthread[rip]
	cmp	edx, eax
	jl	.L21
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, keys[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	get
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	add	DWORD PTR -40[rbp], 1
.L23:
	add	DWORD PTR -44[rbp], 1
.L22:
	cmp	DWORD PTR -44[rbp], 99999
	jle	.L24
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rdx, xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	thread, .-thread
	.section	.rodata
.LC6:
	.string	"%s: %s nthread\n"
.LC7:
	.string	"the_stack_data/687518.c"
.LC8:
	.string	"NKEYS % nthread == 0"
	.align 8
.LC9:
	.string	"pthread_create(&tha[i], NULL, thread, (void *) i) == 0"
	.align 8
.LC10:
	.string	"pthread_join(tha[i], &value) == 0"
.LC11:
	.string	"completion time = %f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 1
	jg	.L27
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L27:
	mov	QWORD PTR -40[rbp], 0
	jmp	.L28
.L29:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, locks[rip]
	add	rax, rdx
	mov	esi, 0
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	add	QWORD PTR -40[rbp], 1
.L28:
	cmp	QWORD PTR -40[rbp], 4
	jle	.L29
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR nthread[rip], eax
	mov	eax, DWORD PTR nthread[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	ecx, DWORD PTR nthread[rip]
	mov	eax, 100000
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	je	.L30
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 128
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L30:
	mov	edi, 0
	call	srandom@PLT
	mov	QWORD PTR -40[rbp], 0
	jmp	.L31
.L32:
	call	random@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, keys[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	QWORD PTR -40[rbp], 1
.L31:
	cmp	QWORD PTR -40[rbp], 99999
	jle	.L32
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L33
.L35:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, thread[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	je	.L34
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 136
	lea	rsi, .LC7[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L34:
	add	QWORD PTR -40[rbp], 1
.L33:
	mov	eax, DWORD PTR nthread[rip]
	cdqe
	cmp	QWORD PTR -40[rbp], rax
	jl	.L35
	mov	QWORD PTR -40[rbp], 0
	jmp	.L36
.L38:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L37
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 139
	lea	rsi, .LC7[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L37:
	add	QWORD PTR -40[rbp], 1
.L36:
	mov	eax, DWORD PTR nthread[rip]
	cdqe
	cmp	QWORD PTR -40[rbp], rax
	jl	.L38
	mov	eax, 0
	call	now
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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	"687518.c"
	.text
	.comm	table,20,4
	.comm	keys,400000,4
	.global	nthread
	.data
	.align	2
	.type	nthread, %object
	.size	nthread, 4
nthread:
	.word	1
	.comm	done,4,4
	.comm	locks,120,4
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	now
	.syntax unified
	.arm
	.fpu softvfp
	.type	now, %function
now:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L4+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	1093567616
	.size	now, .-now
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d: \000"
	.align	2
.LC2:
	.ascii	"%d \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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, #0
	str	r3, [fp, #-12]
	b	.L7
.L10:
	ldr	r1, [fp, #-12]
	ldr	r0, .L11
	bl	printf
	ldr	r2, .L11+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L9
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	table
	.word	.LC2
	.size	print, .-print
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	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]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L14
	add	r3, r3, r2
	mov	r0, r3
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L14
	add	r3, r3, r2
	mov	r0, r3
	bl	pthread_mutex_unlock
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	locks
	.size	insert, .-insert
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	put, %function
put:
	@ 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]
	ldr	r2, [fp, #-16]
	ldr	r3, .L17
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, .L17+4
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	insert
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	1717986919
	.word	table
	.size	put, .-put
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get, %function
get:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r3, .L26
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L26+4
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	b	.L20
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L25
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	b	.L22
.L25:
	nop
.L22:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	1717986919
	.word	table
	.size	get, .-get
	.global	__aeabi_idiv
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%ld: put time = %f\012\000"
	.global	__sync_fetch_and_add_4
	.align	2
.LC4:
	.ascii	"%ld: get time = %f\012\000"
	.align	2
.LC5:
	.ascii	"%ld: %d keys missing\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread, %function
thread:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+4
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	bl	now
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L29
.L30:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, .L36+8
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	put
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L29:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L30
	bl	now
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	ldr	r0, .L36+12
	bl	printf
	ldr	r3, .L36+16
	mov	r1, #1
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	nop
.L31:
	ldr	r3, .L36+16
	ldr	r2, [r3]
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L31
	bl	now
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L32
.L34:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	get
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L33:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L32:
	ldr	r3, [fp, #-40]
	ldr	r2, .L36+4
	cmp	r3, r2
	blt	.L34
	bl	now
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	ldr	r0, .L36+20
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r0, .L36+24
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	nthread
	.word	100000
	.word	keys
	.word	.LC3
	.word	done
	.word	.LC4
	.word	.LC5
	.size	thread, .-thread
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%s: %s nthread\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC7:
	.ascii	"the_stack_data/687518.c\000"
	.align	2
.LC8:
	.ascii	"NKEYS % nthread == 0\000"
	.align	2
.LC9:
	.ascii	"pthread_create(&tha[i], NULL, thread, (void *) i) ="
	.ascii	"= 0\000"
	.align	2
.LC10:
	.ascii	"pthread_join(tha[i], &value) == 0\000"
	.align	2
.LC11:
	.ascii	"completion time = %f\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bgt	.L39
	ldr	r3, .L53+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldr	r1, .L53+8
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L39:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L40
.L41:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L53+12
	add	r3, r3, r2
	mov	r1, #0
	mov	r0, r3
	bl	pthread_mutex_init
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L40:
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	ble	.L41
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L53+16
	str	r3, [r2]
	ldr	r3, .L53+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, .L53+16
	ldr	r3, [r3]
	ldr	r2, .L53+20
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L53+24
	mov	r2, #128
	ldr	r1, .L53+28
	ldr	r0, .L53+32
	bl	__assert_fail
.L42:
	mov	r0, #0
	bl	srandom
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L43
.L44:
	bl	random
	mov	r2, r0
	ldr	r1, .L53+36
	ldr	r3, [fp, #-36]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L43:
	ldr	r3, [fp, #-36]
	ldr	r2, .L53+20
	cmp	r3, r2
	blt	.L44
	bl	now
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L45
.L47:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r2, .L53+40
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L53+24
	mov	r2, #136
	ldr	r1, .L53+28
	ldr	r0, .L53+44
	bl	__assert_fail
.L46:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L45:
	ldr	r3, .L53+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L47
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L48
.L50:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L53+24
	mov	r2, #139
	ldr	r1, .L53+28
	ldr	r0, .L53+48
	bl	__assert_fail
.L49:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L48:
	ldr	r3, .L53+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L50
	bl	now
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L53+52
	bl	printf
	mov	r3, #0
	ldr	r2, .L53
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC12
	.word	stderr
	.word	.LC6
	.word	locks
	.word	nthread
	.word	100000
	.word	__PRETTY_FUNCTION__.6346
	.word	.LC7
	.word	.LC8
	.word	keys
	.word	thread
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6346, %object
	.size	__PRETTY_FUNCTION__.6346, 5
__PRETTY_FUNCTION__.6346:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
