	.file	"11997.c"
	.intel_syntax noprefix
	.text
	.local	flag
	.comm	flag,8,8
	.local	counter
	.comm	counter,8,8
	.globl	handler_func
	.type	handler_func, @function
handler_func:
.LFB8:
	.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR counter[rip]
	add	rax, 1
	mov	QWORD PTR counter[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	handler_func, .-handler_func
	.globl	RTtime_diff
	.type	RTtime_diff, @function
RTtime_diff:
.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, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	test	rax, rax
	jns	.L3
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	sub	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1000000000
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	RTtime_diff, .-RTtime_diff
	.section	.rodata
.LC0:
	.string	"gettimeofday failed"
.LC1:
	.string	"%ld,\n"
	.text
	.globl	us_busy_loop
	.type	us_busy_loop, @function
us_busy_loop:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -88[rbp], 6005
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L7:
	cmp	rsp, rdx
	je	.L8
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L7
.L8:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L9
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L9:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	nop
.L10:
	mov	rax, QWORD PTR flag[rip]
	test	rax, rax
	je	.L10
	mov	DWORD PTR -92[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L12
	mov	DWORD PTR -80[rbp], 0
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L12:
	add	DWORD PTR -92[rbp], 1
.L11:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L13
	mov	DWORD PTR -96[rbp], 5
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	sub	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR 8[rdx]
	sub	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jns	.L15
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1000000
	mov	QWORD PTR -40[rbp], rax
.L15:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -96[rbp], 1
.L14:
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, 1
	cmp	DWORD PTR -96[rbp], eax
	jl	.L16
	mov	QWORD PTR flag[rip], 0
	mov	rsp, rbx
	nop
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	us_busy_loop, .-us_busy_loop
	.section	.rodata
.LC2:
	.string	"clock resolution is %ld ns\n"
.LC3:
	.string	"clock_gettime failed"
	.text
	.globl	ns_busy_loop
	.type	ns_busy_loop, @function
ns_busy_loop:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -104[rbp], 6005
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L19:
	cmp	rsp, rdx
	je	.L20
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L19
.L20:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L21
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L21:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	clock_getres@PLT
	test	eax, eax
	jne	.L22
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L22:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	nop
.L23:
	mov	rax, QWORD PTR flag[rip]
	test	rax, rax
	je	.L23
	mov	DWORD PTR -108[rbp], 0
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	je	.L25
	mov	DWORD PTR -96[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -92[rbp], eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L25:
	add	DWORD PTR -108[rbp], 1
.L24:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L26
	mov	DWORD PTR -112[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -112[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR -80[rbp]
	movsx	rcx, ecx
	sal	rcx, 4
	add	rcx, rsi
	mov	rdi, QWORD PTR [rcx]
	mov	rsi, QWORD PTR 8[rcx]
	mov	rcx, rdx
	mov	rdx, rax
	call	RTtime_diff
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
.L27:
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jl	.L28
	mov	QWORD PTR flag[rip], 0
	mov	rsp, rbx
	nop
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ns_busy_loop, .-ns_busy_loop
	.section	.rodata
.LC4:
	.string	"pthread_kill failed"
	.align 8
.LC5:
	.string	"exiting send loop, counter is %ld\n"
	.text
	.globl	send_loop
	.type	send_loop, @function
send_loop:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR counter[rip], 0
	mov	QWORD PTR flag[rip], 1
	mov	DWORD PTR -32[rbp], 0
	jmp	.L31
.L34:
	mov	rax, QWORD PTR counter[rip]
	add	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	pthread_kill@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L35
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -20[rbp], eax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L35:
	nop
.L33:
	mov	rax, QWORD PTR counter[rip]
	cmp	QWORD PTR -16[rbp], rax
	jg	.L33
	add	DWORD PTR -32[rbp], 1
.L31:
	cmp	DWORD PTR -32[rbp], 49
	jle	.L34
	mov	rdx, QWORD PTR counter[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	send_loop, .-send_loop
	.section	.rodata
.LC6:
	.string	"mask failed!"
	.text
	.globl	init_signals
	.type	init_signals, @function
init_signals:
.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -288[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -288[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 1
	call	pthread_sigmask@PLT
	test	eax, eax
	je	.L37
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, handler_func[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 268435460
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	init_signals, .-init_signals
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	init_signals
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, ns_busy_loop[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	send_loop
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"11997.c"
	.text
	.local	flag
	.comm	flag,4,4
	.local	counter
	.comm	counter,4,4
	.align	2
	.global	handler_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler_func, %function
handler_func:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	counter
	.size	handler_func, .-handler_func
	.align	2
	.global	RTtime_diff
	.syntax unified
	.arm
	.fpu softvfp
	.type	RTtime_diff, %function
RTtime_diff:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #8
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	cmp	r3, #0
	bge	.L5
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #8]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, .L8
	add	r3, r2, r3
	ldr	r2, [fp, #12]
	sub	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L6
.L5:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #8]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #8
	bx	lr
.L9:
	.align	2
.L8:
	.word	1000000000
	.size	RTtime_diff, .-RTtime_diff
	.section	.rodata
	.align	2
.LC0:
	.ascii	"gettimeofday failed\000"
	.align	2
.LC1:
	.ascii	"%ld,\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	us_busy_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	us_busy_loop, %function
us_busy_loop:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L19+4
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-52]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-44]
	bl	memset
	nop
.L11:
	ldr	r3, .L19+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L12
.L14:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L13
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, .L19+12
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	error
	nop
.L13:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L12:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L14
	mov	r3, #5
	str	r3, [fp, #-60]
	b	.L15
.L17:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-44]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-44]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L16
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #999424
	add	r3, r3, #576
	str	r3, [fp, #-20]
.L16:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L19+16
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L15:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L17
	ldr	r3, .L19+8
	mov	r2, #0
	str	r2, [r3]
	mov	sp, r4
	nop
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.word	6005
	.word	flag
	.word	.LC0
	.word	.LC1
	.size	us_busy_loop, .-us_busy_loop
	.section	.rodata
	.align	2
.LC3:
	.ascii	"clock resolution is %ld ns\012\000"
	.align	2
.LC4:
	.ascii	"clock_gettime failed\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ns_busy_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	ns_busy_loop, %function
ns_busy_loop:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-72]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L30+4
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-60]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-52]
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #3
	bl	clock_getres
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L30+12
	mov	r0, r3
	bl	fprintf
.L22:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	memset
	nop
.L23:
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L23
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L24
.L26:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L25
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-40]
	ldr	r3, .L30+20
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	error
	nop
.L25:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L24:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L26
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L27
.L28:
	ldr	r3, [fp, #-68]
	add	ip, r3, #1
	sub	lr, fp, #24
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-52]
	lsl	r3, r1, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [sp]
	ldr	r3, [r2, r1, lsl #3]
	lsl	r2, ip, #3
	add	r2, r0, r2
	ldm	r2, {r1, r2}
	mov	r0, lr
	bl	RTtime_diff
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L30+24
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L27:
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L28
	ldr	r3, .L30+16
	mov	r2, #0
	str	r2, [r3]
	mov	sp, r4
	nop
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC5
	.word	6005
	.word	stderr
	.word	.LC3
	.word	flag
	.word	.LC4
	.word	.LC1
	.size	ns_busy_loop, .-ns_busy_loop
	.section	.rodata
	.align	2
.LC6:
	.ascii	"pthread_kill failed\000"
	.align	2
.LC7:
	.ascii	"exiting send loop, counter is %ld\012\000"
	.text
	.align	2
	.global	send_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_loop, %function
send_loop:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L38
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L38+4
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L33
.L36:
	ldr	r3, .L38
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r1, #10
	ldr	r0, [fp, #-32]
	bl	pthread_kill
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L37
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, .L38+8
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	error
	nop
.L37:
	nop
.L35:
	ldr	r3, .L38
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L35
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L33:
	ldr	r3, [fp, #-28]
	cmp	r3, #49
	ble	.L36
	ldr	r3, .L38+12
	ldr	r3, [r3]
	ldr	r2, .L38
	ldr	r2, [r2]
	ldr	r1, .L38+16
	mov	r0, r3
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	counter
	.word	flag
	.word	.LC6
	.word	stderr
	.word	.LC7
	.size	send_loop, .-send_loop
	.section	.rodata
	.align	2
.LC8:
	.ascii	"mask failed!\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_signals
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_signals, %function
init_signals:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #276
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #276
	mov	r1, #10
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #276
	mov	r2, r3
	mov	r1, #0
	mov	r0, #1
	bl	pthread_sigmask
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r0, .L43+4
	bl	printf
.L41:
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L43+8
	str	r3, [fp, #-148]
	mov	r3, #268435460
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC9
	.word	.LC8
	.word	handler_func
	.size	init_signals, .-init_signals
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	init_signals
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L48+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	send_loop
	mov	r3, #0
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC10
	.word	ns_busy_loop
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
