	.file	"494379.c"
	.intel_syntax noprefix
	.text
	.globl	timer_start
	.type	timer_start, @function
timer_start:
.LFB0:
	.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	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	timer_start, .-timer_start
	.globl	timer_end
	.type	timer_end, @function
timer_end:
.LFB1:
	.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]
	add	rax, 16
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	timer_end, .-timer_end
	.globl	timer_nsec
	.type	timer_nsec, @function
timer_nsec:
.LFB2:
	.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax, 1000000000
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, 1000000000
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	timer_nsec, .-timer_nsec
	.section	.rodata
.LC0:
	.string	"CLOCK_MONOTONIC"
.LC1:
	.string	"USING CLOCK: %s\n"
.LC2:
	.string	"CLOCK RESOLUTION: %lu ns\n"
.LC3:
	.string	"OUTLIER SAMPLE %i: %ld ns\n"
.LC4:
	.string	"AVG CLOCK OVERHEAD: %lld ns\n"
.LC5:
	.string	"MIN CLOCK OVERHEAD: %lld ns\n"
.LC6:
	.string	"MAX CLOCK OVERHEAD: %lld ns\n"
	.text
	.globl	timer_overhead
	.type	timer_overhead, @function
timer_overhead:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 1000000
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 1000000000
	mov	QWORD PTR -80[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_getres@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -104[rbp], 1
	jmp	.L6
.L10:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_start
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_end
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_nsec
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jle	.L7
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
.L7:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jge	.L8
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -88[rbp], rax
.L8:
	mov	rax, QWORD PTR -72[rbp]
	add	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -72[rbp], rax
	jle	.L9
	cmp	QWORD PTR -72[rbp], 1000
	jle	.L9
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	add	DWORD PTR -104[rbp], 1
.L6:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L10
	mov	eax, DWORD PTR -100[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -96[rbp]
	cqo
	idiv	rcx
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	timer_overhead, .-timer_overhead
	.section	.rodata
	.align 8
.LC7:
	.string	"UNCONTENDED LOCK/UNLOCK: AVG %ld ns  MIN %ld ns  MAX %ld ns\n"
	.text
	.globl	uncontended_lock
	.type	uncontended_lock, @function
uncontended_lock:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	mov	DWORD PTR -116[rbp], 1000
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 1000000000
	mov	QWORD PTR -96[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L13
.L16:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	timer_start
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	timer_end
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	timer_nsec
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jle	.L14
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -96[rbp], rax
.L14:
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jge	.L15
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -104[rbp], rax
.L15:
	mov	rax, QWORD PTR -88[rbp]
	add	QWORD PTR -112[rbp], rax
	add	DWORD PTR -120[rbp], 1
.L13:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L16
	mov	eax, DWORD PTR -116[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -112[rbp]
	cqo
	idiv	rsi
	mov	QWORD PTR -112[rbp], rax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_destroy@PLT
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	uncontended_lock, .-uncontended_lock
	.globl	start
	.bss
	.align 4
	.type	start, @object
	.size	start, 4
start:
	.zero	4
	.globl	start_lk
	.align 32
	.type	start_lk, @object
	.size	start_lk, 40
start_lk:
	.zero	40
	.globl	start_cv
	.align 32
	.type	start_cv, @object
	.size	start_cv, 48
start_cv:
	.zero	48
	.globl	contended
	.align 32
	.type	contended, @object
	.size	contended, 40
contended:
	.zero	40
	.text
	.globl	wait_start
	.type	wait_start, @function
wait_start:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, start_lk[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L19
.L20:
	lea	rsi, start_lk[rip]
	lea	rdi, start_cv[rip]
	call	pthread_cond_wait@PLT
.L19:
	mov	eax, DWORD PTR start[rip]
	test	eax, eax
	je	.L20
	lea	rdi, start_lk[rip]
	call	pthread_mutex_unlock@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	wait_start, .-wait_start
	.globl	kick_start
	.type	kick_start, @function
kick_start:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, start_lk[rip]
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR start[rip], 1
	lea	rdi, start_cv[rip]
	call	pthread_cond_broadcast@PLT
	lea	rdi, start_lk[rip]
	call	pthread_mutex_unlock@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	kick_start, .-kick_start
	.globl	reset_start
	.type	reset_start, @function
reset_start:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, start_lk[rip]
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR start[rip], 0
	lea	rdi, start_lk[rip]
	call	pthread_mutex_unlock@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	reset_start, .-reset_start
	.section	.rodata
	.align 8
.LC8:
	.string	"CONTENDED LOCK/UNLOCK: AVG %ld ns  MIN %ld ns  MAX %ld ns\n"
	.text
	.globl	contended_lock_work
	.type	contended_lock_work, @function
contended_lock_work:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 1000000
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 1000000000
	mov	QWORD PTR -64[rbp], 0
	call	wait_start
	mov	DWORD PTR -88[rbp], 0
	jmp	.L24
.L27:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_start
	lea	rdi, contended[rip]
	call	pthread_mutex_lock@PLT
	lea	rdi, contended[rip]
	call	pthread_mutex_unlock@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_end
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	timer_nsec
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jle	.L25
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
.L25:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jge	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -72[rbp], rax
.L26:
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -80[rbp], rax
	add	DWORD PTR -88[rbp], 1
.L24:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L27
	mov	eax, DWORD PTR -84[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -80[rbp]
	cqo
	idiv	rsi
	mov	QWORD PTR -80[rbp], rax
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	contended_lock_work, .-contended_lock_work
	.globl	contended_lock
	.type	contended_lock, @function
contended_lock:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	reset_start
	lea	rax, -32[rbp]
	mov	ecx, 0
	lea	rdx, contended_lock_work[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -32[rbp]
	add	rax, 8
	mov	ecx, 0
	lea	rdx, contended_lock_work[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	call	kick_start
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	contended_lock, .-contended_lock
	.section	.rodata
	.align 8
.LC9:
	.string	"MUTEX HANDOFF (CNT %d): AVG %lld ns  MIN %lld ns  MAX %lld ns)\n"
	.text
	.globl	lock_handoff_worker
	.type	lock_handoff_worker, @function
lock_handoff_worker:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -36[rbp], 100000
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 1000000000
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	mov	BYTE PTR -53[rbp], al
	call	wait_start
	mov	DWORD PTR -48[rbp], 0
	jmp	.L33
.L43:
	cmp	BYTE PTR -53[rbp], 0
	je	.L34
	lea	rdi, lock.11[rip]
	call	pthread_mutex_lock@PLT
	lea	rdi, rlock.10[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR hold.9[rip], eax
	lea	rdi, ready.8[rip]
	call	pthread_cond_broadcast@PLT
	jmp	.L35
.L37:
	lea	rsi, rlock.10[rip]
	lea	rdi, ready.8[rip]
	call	pthread_cond_wait@PLT
.L35:
	mov	eax, DWORD PTR wait.7[rip]
	cmp	DWORD PTR -40[rbp], eax
	je	.L36
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L37
.L36:
	lea	rdi, rlock.10[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, timer.6[rip]
	call	timer_start
	lea	rdi, lock.11[rip]
	call	pthread_mutex_unlock@PLT
	mov	BYTE PTR -53[rbp], 0
	jmp	.L38
.L34:
	lea	rdi, rlock.10[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR wait.7[rip], eax
	lea	rdi, ready.8[rip]
	call	pthread_cond_broadcast@PLT
	jmp	.L39
.L40:
	lea	rsi, rlock.10[rip]
	lea	rdi, ready.8[rip]
	call	pthread_cond_wait@PLT
.L39:
	mov	eax, DWORD PTR hold.9[rip]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L40
	lea	rdi, rlock.10[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, lock.11[rip]
	call	pthread_mutex_lock@PLT
	lea	rdi, timer.6[rip]
	call	timer_end
	lea	rdi, timer.6[rip]
	call	timer_nsec
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, lock.11[rip]
	call	pthread_mutex_unlock@PLT
	cmp	DWORD PTR -48[rbp], 0
	jle	.L41
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -32[rbp], rax
	add	DWORD PTR -52[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jle	.L42
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L42:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jge	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
.L41:
	mov	BYTE PTR -53[rbp], 1
.L38:
	add	DWORD PTR -48[rbp], 1
.L33:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L43
	cmp	BYTE PTR -53[rbp], 0
	jne	.L43
	cmp	DWORD PTR -52[rbp], 0
	jle	.L44
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	cqo
	idiv	rcx
	mov	QWORD PTR -32[rbp], rax
.L44:
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	lock_handoff_worker, .-lock_handoff_worker
	.globl	lock_handoff
	.type	lock_handoff, @function
lock_handoff:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	reset_start
	lea	rax, -32[rbp]
	mov	ecx, 0
	lea	rdx, lock_handoff_worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -32[rbp]
	add	rax, 8
	mov	ecx, 1
	lea	rdx, lock_handoff_worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	call	kick_start
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	lock_handoff, .-lock_handoff
	.section	.rodata
	.align 8
.LC10:
	.string	"CV HANDOFF (CNT %d): AVG %lld ns  MIN %lld ns  MAX %lld ns)\n"
	.text
	.globl	cv_handoff_worker
	.type	cv_handoff_worker, @function
cv_handoff_worker:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -36[rbp], 100000
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 1000000000
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	mov	BYTE PTR -53[rbp], al
	call	wait_start
	mov	DWORD PTR -48[rbp], 0
	jmp	.L49
.L58:
	cmp	BYTE PTR -53[rbp], 0
	je	.L50
	mov	BYTE PTR -53[rbp], 0
	lea	rdi, lock.5[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L51
.L53:
	lea	rsi, lock.5[rip]
	lea	rdi, ready.4[rip]
	call	pthread_cond_wait@PLT
.L51:
	mov	eax, DWORD PTR wait.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	je	.L52
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L53
.L52:
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR wake.2[rip], eax
	lea	rdi, timer.1[rip]
	call	timer_start
	lea	rdi, cond.0[rip]
	call	pthread_cond_broadcast@PLT
	lea	rdi, lock.5[rip]
	call	pthread_mutex_unlock@PLT
	jmp	.L54
.L50:
	mov	BYTE PTR -53[rbp], 1
	lea	rdi, lock.5[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR wait.3[rip], eax
	lea	rdi, ready.4[rip]
	call	pthread_cond_signal@PLT
	jmp	.L55
.L56:
	lea	rsi, lock.5[rip]
	lea	rdi, cond.0[rip]
	call	pthread_cond_wait@PLT
.L55:
	mov	eax, DWORD PTR wake.2[rip]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L56
	lea	rdi, timer.1[rip]
	call	timer_end
	lea	rdi, timer.1[rip]
	call	timer_nsec
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, lock.5[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -32[rbp], rax
	add	DWORD PTR -52[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jle	.L57
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L57:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jge	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
.L54:
	add	DWORD PTR -48[rbp], 1
.L49:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L58
	cmp	BYTE PTR -53[rbp], 0
	jne	.L58
	cmp	DWORD PTR -52[rbp], 0
	jle	.L59
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	cqo
	idiv	rcx
	mov	QWORD PTR -32[rbp], rax
.L59:
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	cv_handoff_worker, .-cv_handoff_worker
	.globl	cv_handoff
	.type	cv_handoff, @function
cv_handoff:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	reset_start
	lea	rax, -32[rbp]
	mov	ecx, 0
	lea	rdx, cv_handoff_worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -32[rbp]
	add	rax, 8
	mov	ecx, 1
	lea	rdx, cv_handoff_worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	call	kick_start
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cv_handoff, .-cv_handoff
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	call	timer_overhead
	call	uncontended_lock
	call	contended_lock
	call	lock_handoff
	call	cv_handoff
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.local	lock.11
	.comm	lock.11,40,32
	.local	rlock.10
	.comm	rlock.10,40,32
	.data
	.align 4
	.type	hold.9, @object
	.size	hold.9, 4
hold.9:
	.long	-1
	.local	ready.8
	.comm	ready.8,48,32
	.align 4
	.type	wait.7, @object
	.size	wait.7, 4
wait.7:
	.long	-1
	.local	timer.6
	.comm	timer.6,32,32
	.local	lock.5
	.comm	lock.5,40,32
	.local	ready.4
	.comm	ready.4,48,32
	.align 4
	.type	wait.3, @object
	.size	wait.3, 4
wait.3:
	.long	-1
	.align 4
	.type	wake.2, @object
	.size	wake.2, 4
wake.2:
	.long	-1
	.local	timer.1
	.comm	timer.1,32,32
	.local	cond.0
	.comm	cond.0,48,32
	.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	"494379.c"
	.text
	.align	2
	.global	timer_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_start, %function
timer_start:
	@ 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	r3, [fp, #-8]
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	timer_start, .-timer_start
	.align	2
	.global	timer_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_end, %function
timer_end:
	@ 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	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	timer_end, .-timer_end
	.align	2
	.global	timer_nsec
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_nsec, %function
timer_nsec:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #28
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, .L5
	mul	r2, r3, r2
	ldr	r3, [fp, #-44]
	mov	r1, #0
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r0, [fp, #-44]
	ldr	ip, .L5
	umull	r2, r3, r0, ip
	add	r1, r1, r3
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, .L5
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	mov	r1, #0
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	r0, [fp, #-36]
	ldr	ip, .L5
	umull	r2, r3, r0, ip
	add	r1, r1, r3
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	subs	r8, r0, r2
	sbc	r9, r1, r3
	mov	r2, r8
	mov	r3, r9
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
.L6:
	.align	2
.L5:
	.word	1000000000
	.size	timer_nsec, .-timer_nsec
	.section	.rodata
	.align	2
.LC0:
	.ascii	"CLOCK_MONOTONIC\000"
	.align	2
.LC1:
	.ascii	"USING CLOCK: %s\012\000"
	.align	2
.LC2:
	.ascii	"CLOCK RESOLUTION: %lu ns\012\000"
	.align	2
.LC3:
	.ascii	"OUTLIER SAMPLE %i: %ld ns\012\000"
	.global	__aeabi_ldivmod
	.align	2
.LC4:
	.ascii	"AVG CLOCK OVERHEAD: %lld ns\012\000"
	.align	2
.LC5:
	.ascii	"MIN CLOCK OVERHEAD: %lld ns\012\000"
	.align	2
.LC6:
	.ascii	"MAX CLOCK OVERHEAD: %lld ns\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	timer_overhead
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_overhead, %function
timer_overhead:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L14+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L14+12
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	adr	r3, .L14
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r1, .L14+16
	ldr	r0, .L14+20
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	mov	r0, #1
	bl	clock_getres
	ldr	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L14+24
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-84]
	b	.L8
.L12:
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_start
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_end
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_nsec
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L9
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L9:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L10
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L10:
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-76]
	str	r5, [fp, #-72]
	ldr	r3, [fp, #-36]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L11
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #1000
	mov	r1, #0
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L11
	ldr	r3, [fp, #-52]
	mov	r2, r3
	ldr	r1, [fp, #-84]
	ldr	r0, .L14+28
	bl	printf
.L11:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L8:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-80]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+32
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+36
	bl	printf
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L14+40
	bl	printf
	nop
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	3
.L14:
	.word	1000000000
	.word	0
	.word	.LC7
	.word	1000000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	timer_overhead, .-timer_overhead
	.section	.rodata
	.align	2
.LC8:
	.ascii	"UNCONTENDED LOCK/UNLOCK: AVG %ld ns  MIN %ld ns  MA"
	.ascii	"X %ld ns\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uncontended_lock
	.syntax unified
	.arm
	.fpu softvfp
	.type	uncontended_lock, %function
uncontended_lock:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	ldr	r3, .L22+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r1, #0
	mov	r0, r3
	bl	pthread_mutex_init
	mov	r3, #1000
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	adr	r3, .L22
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L17
.L20:
	sub	r3, fp, #56
	mov	r0, r3
	bl	timer_start
	sub	r3, fp, #40
	mov	r0, r3
	bl	pthread_mutex_lock
	sub	r3, fp, #40
	mov	r0, r3
	bl	pthread_mutex_unlock
	sub	r3, fp, #56
	mov	r0, r3
	bl	timer_end
	sub	r3, fp, #56
	mov	r0, r3
	bl	timer_nsec
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L18
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L18:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L19
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
.L19:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-92]
	str	r5, [fp, #-88]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L17:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-96]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #40
	mov	r0, r3
	bl	pthread_mutex_destroy
	ldr	r1, [fp, #-92]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	ldr	r0, .L22+12
	bl	printf
	nop
	ldr	r3, .L22+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L23:
	.align	3
.L22:
	.word	1000000000
	.word	0
	.word	.LC9
	.word	.LC8
	.size	uncontended_lock, .-uncontended_lock
	.global	start
	.bss
	.align	2
	.type	start, %object
	.size	start, 4
start:
	.space	4
	.global	start_lk
	.align	2
	.type	start_lk, %object
	.size	start_lk, 24
start_lk:
	.space	24
	.global	start_cv
	.align	3
	.type	start_cv, %object
	.size	start_cv, 48
start_cv:
	.space	48
	.global	contended
	.align	2
	.type	contended, %object
	.size	contended, 24
contended:
	.space	24
	.text
	.align	2
	.global	wait_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait_start, %function
wait_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L27
	bl	pthread_mutex_lock
	b	.L25
.L26:
	ldr	r1, .L27
	ldr	r0, .L27+4
	bl	pthread_cond_wait
.L25:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L27
	bl	pthread_mutex_unlock
	nop
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	start_lk
	.word	start_cv
	.word	start
	.size	wait_start, .-wait_start
	.align	2
	.global	kick_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	kick_start, %function
kick_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L30
	bl	pthread_mutex_lock
	ldr	r3, .L30+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, .L30+8
	bl	pthread_cond_broadcast
	ldr	r0, .L30
	bl	pthread_mutex_unlock
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	start_lk
	.word	start
	.word	start_cv
	.size	kick_start, .-kick_start
	.align	2
	.global	reset_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_start, %function
reset_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L33
	bl	pthread_mutex_lock
	ldr	r3, .L33+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L33
	bl	pthread_mutex_unlock
	nop
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	start_lk
	.word	start
	.size	reset_start, .-reset_start
	.section	.rodata
	.align	2
.LC10:
	.ascii	"CONTENDED LOCK/UNLOCK: AVG %ld ns  MIN %ld ns  MAX "
	.ascii	"%ld ns\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	contended_lock_work
	.syntax unified
	.arm
	.fpu softvfp
	.type	contended_lock_work, %function
contended_lock_work:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	str	r0, [fp, #-80]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L42+12
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	adr	r3, .L42
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	bl	wait_start
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L36
.L39:
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_start
	ldr	r0, .L42+16
	bl	pthread_mutex_lock
	ldr	r0, .L42+16
	bl	pthread_mutex_unlock
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_end
	sub	r3, fp, #32
	mov	r0, r3
	bl	timer_nsec
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L37
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L37:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L38
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L38:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-68]
	str	r5, [fp, #-64]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L36:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-72]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	ldr	r0, .L42+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L42+8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L43:
	.align	3
.L42:
	.word	1000000000
	.word	0
	.word	.LC11
	.word	1000000
	.word	contended
	.word	.LC10
	.size	contended_lock_work, .-contended_lock_work
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	contended_lock
	.syntax unified
	.arm
	.fpu softvfp
	.type	contended_lock, %function
contended_lock:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	reset_start
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L46+4
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #16
	add	r0, r3, #4
	mov	r3, #0
	ldr	r2, .L46+4
	mov	r1, #0
	bl	pthread_create
	bl	kick_start
	ldr	r3, [fp, #-16]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	nop
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC12
	.word	contended_lock_work
	.size	contended_lock, .-contended_lock
	.section	.rodata
	.align	2
.LC13:
	.ascii	"MUTEX HANDOFF (CNT %d): AVG %lld ns  MIN %lld ns  M"
	.ascii	"AX %lld ns)\012\000"
	.text
	.align	2
	.global	lock_handoff_worker
	.syntax unified
	.arm
	.fpu softvfp
	.type	lock_handoff_worker, %function
lock_handoff_worker:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-52]
	ldr	r3, .L62+8
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	adr	r3, .L62
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	strb	r3, [fp, #-65]
	bl	wait_start
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L49
.L59:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L50
	ldr	r0, .L62+12
	bl	pthread_mutex_lock
	ldr	r0, .L62+16
	bl	pthread_mutex_lock
	ldr	r2, .L62+20
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r0, .L62+24
	bl	pthread_cond_broadcast
	b	.L51
.L53:
	ldr	r1, .L62+16
	ldr	r0, .L62+24
	bl	pthread_cond_wait
.L51:
	ldr	r3, .L62+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	beq	.L52
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L53
.L52:
	ldr	r0, .L62+16
	bl	pthread_mutex_unlock
	ldr	r0, .L62+32
	bl	timer_start
	ldr	r0, .L62+12
	bl	pthread_mutex_unlock
	mov	r3, #0
	strb	r3, [fp, #-65]
	b	.L54
.L50:
	ldr	r0, .L62+16
	bl	pthread_mutex_lock
	ldr	r2, .L62+28
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r0, .L62+24
	bl	pthread_cond_broadcast
	b	.L55
.L56:
	ldr	r1, .L62+16
	ldr	r0, .L62+24
	bl	pthread_cond_wait
.L55:
	ldr	r3, .L62+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bne	.L56
	ldr	r0, .L62+16
	bl	pthread_mutex_unlock
	ldr	r0, .L62+12
	bl	pthread_mutex_lock
	ldr	r0, .L62+32
	bl	timer_end
	ldr	r0, .L62+32
	bl	timer_nsec
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r0, .L62+12
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	ble	.L57
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L58
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L58:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L57
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L57:
	mov	r3, #1
	strb	r3, [fp, #-65]
.L54:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L49:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L59
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L60
	ldr	r3, [fp, #-64]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L60:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-64]
	ldr	r0, .L62+36
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L63:
	.align	3
.L62:
	.word	1000000000
	.word	0
	.word	100000
	.word	lock.5487
	.word	rlock.5488
	.word	hold.5492
	.word	ready.5489
	.word	wait.5491
	.word	timer.5490
	.word	.LC13
	.size	lock_handoff_worker, .-lock_handoff_worker
	.section	.rodata
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lock_handoff
	.syntax unified
	.arm
	.fpu softvfp
	.type	lock_handoff, %function
lock_handoff:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	reset_start
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L66+4
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #16
	add	r0, r3, #4
	mov	r3, #1
	ldr	r2, .L66+4
	mov	r1, #0
	bl	pthread_create
	bl	kick_start
	ldr	r3, [fp, #-16]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	nop
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC14
	.word	lock_handoff_worker
	.size	lock_handoff, .-lock_handoff
	.section	.rodata
	.align	2
.LC15:
	.ascii	"CV HANDOFF (CNT %d): AVG %lld ns  MIN %lld ns  MAX "
	.ascii	"%lld ns)\012\000"
	.text
	.align	2
	.global	cv_handoff_worker
	.syntax unified
	.arm
	.fpu softvfp
	.type	cv_handoff_worker, %function
cv_handoff_worker:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-52]
	ldr	r3, .L81+8
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	adr	r3, .L81
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	strb	r3, [fp, #-65]
	bl	wait_start
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L69
.L78:
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L70
	mov	r3, #0
	strb	r3, [fp, #-65]
	ldr	r0, .L81+12
	bl	pthread_mutex_lock
	b	.L71
.L73:
	ldr	r1, .L81+12
	ldr	r0, .L81+16
	bl	pthread_cond_wait
.L71:
	ldr	r3, .L81+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	beq	.L72
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L73
.L72:
	ldr	r2, .L81+24
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	ldr	r0, .L81+28
	bl	timer_start
	ldr	r0, .L81+32
	bl	pthread_cond_broadcast
	ldr	r0, .L81+12
	bl	pthread_mutex_unlock
	b	.L74
.L70:
	mov	r3, #1
	strb	r3, [fp, #-65]
	ldr	r0, .L81+12
	bl	pthread_mutex_lock
	ldr	r2, .L81+20
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r0, .L81+16
	bl	pthread_cond_signal
	b	.L75
.L76:
	ldr	r1, .L81+12
	ldr	r0, .L81+32
	bl	pthread_cond_wait
.L75:
	ldr	r3, .L81+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bne	.L76
	ldr	r0, .L81+28
	bl	timer_end
	ldr	r0, .L81+28
	bl	timer_nsec
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r0, .L81+12
	bl	pthread_mutex_unlock
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L77
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L77:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L74
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L74:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L69:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L78
	ldrb	r3, [fp, #-65]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L78
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	ble	.L79
	ldr	r3, [fp, #-64]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L79:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-64]
	ldr	r0, .L81+36
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L82:
	.align	3
.L81:
	.word	1000000000
	.word	0
	.word	100000
	.word	lock.5521
	.word	ready.5523
	.word	wait.5526
	.word	wake.5525
	.word	timer.5524
	.word	cond.5522
	.word	.LC15
	.size	cv_handoff_worker, .-cv_handoff_worker
	.section	.rodata
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cv_handoff
	.syntax unified
	.arm
	.fpu softvfp
	.type	cv_handoff, %function
cv_handoff:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	reset_start
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L85+4
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #16
	add	r0, r3, #4
	mov	r3, #1
	ldr	r2, .L85+4
	mov	r1, #0
	bl	pthread_create
	bl	kick_start
	ldr	r3, [fp, #-16]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	nop
	ldr	r3, .L85
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC16
	.word	cv_handoff_worker
	.size	cv_handoff, .-cv_handoff
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
	bl	timer_overhead
	bl	uncontended_lock
	bl	contended_lock
	bl	lock_handoff
	bl	cv_handoff
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.local	lock.5487
	.comm	lock.5487,24,4
	.local	rlock.5488
	.comm	rlock.5488,24,4
	.data
	.align	2
	.type	hold.5492, %object
	.size	hold.5492, 4
hold.5492:
	.word	-1
	.local	ready.5489
	.comm	ready.5489,48,8
	.align	2
	.type	wait.5491, %object
	.size	wait.5491, 4
wait.5491:
	.word	-1
	.local	timer.5490
	.comm	timer.5490,16,4
	.local	lock.5521
	.comm	lock.5521,24,4
	.local	ready.5523
	.comm	ready.5523,48,8
	.align	2
	.type	wait.5526, %object
	.size	wait.5526, 4
wait.5526:
	.word	-1
	.align	2
	.type	wake.5525, %object
	.size	wake.5525, 4
wake.5525:
	.word	-1
	.local	timer.5524
	.comm	timer.5524,16,4
	.local	cond.5522
	.comm	cond.5522,48,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
