	.file	"304645.c"
	.intel_syntax noprefix
	.text
	.local	max_latency
	.comm	max_latency,8,8
	.local	percentile_99_999
	.comm	percentile_99_999,8,8
	.local	percentile_99_9999
	.comm	percentile_99_9999,8,8
	.data
	.align 8
	.type	test_duration, @object
	.size	test_duration, 8
test_duration:
	.quad	60
	.section	.rodata
.LC0:
	.string	"error: %s\n"
.LC1:
	.string	"FAIL: nohz_test"
	.text
	.type	error_exit, @function
error_exit:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	error_exit, .-error_exit
	.section	.rodata
.LC2:
	.string	"PASS: nohz_test"
	.text
	.type	success_exit, @function
success_exit:
.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, .LC2[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	success_exit, .-success_exit
	.section	.rodata
.LC3:
	.string	"max"
.LC4:
	.string	"p3nines"
.LC5:
	.string	"p4nines"
.LC6:
	.string	"duration"
.LC7:
	.string	"help"
	.section	.data.rel.local,"aw"
	.align 32
	.type	opt_long, @object
	.size	opt_long, 192
opt_long:
	.quad	.LC3
	.long	1
	.zero	4
	.quad	0
	.long	2
	.zero	4
	.quad	.LC4
	.long	1
	.zero	4
	.quad	0
	.long	3
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	4
	.zero	4
	.quad	.LC6
	.long	2
	.zero	4
	.quad	0
	.long	5
	.zero	4
	.quad	.LC7
	.long	0
	.zero	4
	.quad	0
	.long	1
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.globl	opt_short
	.section	.rodata
.LC8:
	.string	"m:p:q:d:h"
	.section	.data.rel.local
	.align 8
	.type	opt_short, @object
	.size	opt_short, 8
opt_short:
	.quad	.LC8
	.section	.rodata
	.align 8
.LC9:
	.ascii	"Usage:\n%s <options>\n\t-m <nS> --max=<nS>\t\tMax latency th"
	.ascii	"reshold in nanoseconds (required; 10ms max)\n\t-p <nS> --p3n"
	.ascii	"ines=<nS>\t\t99.999%% latency threshold in nan"
	.string	"oseconds (required)\n\t-q <nS> --p4nines=<nS>\t\t99.9999%% latency threshold in nanoseconds (required)\n\t-d <time> --duration=<time>\tTest duration in seconds\n\t\t\t\t\t(m, h, d modifiers can be used to specify minutes, hours, or days)\n\t-h --help\t\t\tDisplay this help\n"
	.text
	.type	usage, @function
usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC10:
	.string	"error: max latency not defined"
	.align 8
.LC11:
	.string	"error: max latency exceeds 10ms upper threshold"
	.align 8
.LC12:
	.string	"error: 99.999%% threshold not defined\n"
	.align 8
.LC13:
	.string	"error: 99.9999%% threshold not defined\n"
	.align 8
.LC14:
	.string	"error: 99.999%% threshold value (%lu) is larger than 99.9999%% threshold value (%lu)\n"
	.align 8
.LC15:
	.string	"error: 99.9999%% threshold value (%lu) is larger than maximum latency threshold value (%lu)\n"
	.text
	.type	validate_options, @function
validate_options:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR max_latency[rip]
	test	rax, rax
	jne	.L5
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L6
.L5:
	mov	rax, QWORD PTR max_latency[rip]
	cmp	rax, 10000000
	jbe	.L7
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L6
.L7:
	mov	rax, QWORD PTR percentile_99_999[rip]
	test	rax, rax
	jne	.L8
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L8:
	mov	rax, QWORD PTR percentile_99_9999[rip]
	test	rax, rax
	jne	.L9
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L9:
	mov	rdx, QWORD PTR percentile_99_999[rip]
	mov	rax, QWORD PTR percentile_99_9999[rip]
	cmp	rdx, rax
	jb	.L10
	mov	rdx, QWORD PTR percentile_99_9999[rip]
	mov	rax, QWORD PTR percentile_99_999[rip]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L10:
	mov	rdx, QWORD PTR percentile_99_9999[rip]
	mov	rax, QWORD PTR max_latency[rip]
	cmp	rdx, rax
	jb	.L11
	mov	rdx, QWORD PTR max_latency[rip]
	mov	rax, QWORD PTR percentile_99_9999[rip]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L11:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	validate_options, .-validate_options
	.section	.rodata
	.align 8
.LC16:
	.string	"error: unrecognized modifier '%c' used for specifying the test duration\n"
	.text
	.type	parse_options, @function
parse_options:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	cmp	DWORD PTR -36[rbp], 1
	jle	.L37
	jmp	.L15
.L33:
	cmp	DWORD PTR -20[rbp], 113
	jg	.L15
	cmp	DWORD PTR -20[rbp], 100
	jge	.L16
	cmp	DWORD PTR -20[rbp], 5
	jg	.L17
	cmp	DWORD PTR -20[rbp], 0
	jg	.L18
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 100
	cmp	eax, 13
	ja	.L15
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L20[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L20[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L20:
	.long	.L24-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L38-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L22-.L20
	.long	.L15-.L20
	.long	.L15-.L20
	.long	.L21-.L20
	.long	.L19-.L20
	.text
.L18:
	cmp	DWORD PTR -20[rbp], 5
	ja	.L15
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L25[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L25[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L25:
	.long	.L15-.L25
	.long	.L38-.L25
	.long	.L22-.L25
	.long	.L21-.L25
	.long	.L19-.L25
	.long	.L24-.L25
	.text
.L17:
	cmp	DWORD PTR -20[rbp], 63
	je	.L38
	jmp	.L15
.L22:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR max_latency[rip], rax
	jmp	.L15
.L21:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR percentile_99_999[rip], rax
	jmp	.L15
.L19:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR percentile_99_9999[rip], rax
	jmp	.L15
.L24:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR test_duration[rip], rax
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR -16[rbp]
	cmp	rdx, rax
	je	.L39
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 109
	je	.L27
	cmp	eax, 109
	jg	.L28
	cmp	eax, 104
	je	.L29
	cmp	eax, 104
	jg	.L28
	test	eax, eax
	je	.L40
	cmp	eax, 100
	je	.L31
	jmp	.L28
.L27:
	mov	rdx, QWORD PTR test_duration[rip]
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	QWORD PTR test_duration[rip], rax
	jmp	.L32
.L29:
	mov	rax, QWORD PTR test_duration[rip]
	imul	rax, rax, 3600
	mov	QWORD PTR test_duration[rip], rax
	jmp	.L32
.L31:
	mov	rax, QWORD PTR test_duration[rip]
	imul	rax, rax, 86400
	mov	QWORD PTR test_duration[rip], rax
	jmp	.L32
.L28:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L40:
	nop
.L32:
	nop
.L15:
	mov	rdx, QWORD PTR opt_short[rip]
	lea	rcx, -24[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8, rcx
	lea	rcx, opt_long[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L33
	mov	eax, 0
	call	validate_options
	test	eax, eax
	jne	.L41
	mov	eax, 0
	jmp	.L35
.L37:
	nop
	jmp	.L14
.L38:
	nop
	jmp	.L14
.L39:
	nop
	jmp	.L14
.L41:
	nop
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	mov	eax, -1
.L35:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parse_options, .-parse_options
	.section	.rodata
.LC17:
	.string	"w"
.LC18:
	.string	"%s\n"
	.text
	.type	write_text_file, @function
write_text_file:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L43
	mov	eax, -1
	jmp	.L44
.L43:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L45
	mov	eax, -1
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	write_text_file, .-write_text_file
	.section	.rodata
	.align 8
.LC19:
	.string	"Test requires a system with at least 2 CPUs available"
.LC20:
	.string	"0-%d"
	.align 8
.LC21:
	.string	"/dev/cgroup/cpuset/system_set/cpus"
.LC22:
	.string	"%d"
	.align 8
.LC23:
	.string	"/dev/cgroup/cpuset/LabVIEW_tl_set/cpus"
	.text
	.type	setup_cpu_sets, @function
setup_cpu_sets:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 0
	call	get_nprocs@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 1
	jg	.L47
	lea	rdi, .LC19[rip]
	call	error_exit
.L47:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -2[rax]
	lea	rax, -16[rbp]
	mov	ecx, edx
	lea	rdx, .LC20[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	call	write_text_file
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jns	.L48
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L50
.L48:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	lea	rax, -24[rbp]
	mov	ecx, edx
	lea	rdx, .LC22[rip]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	call	write_text_file
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
.L50:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	setup_cpu_sets, .-setup_cpu_sets
	.section	.rodata
.LC24:
	.string	"%u"
	.align 8
.LC25:
	.string	"/dev/cgroup/cpuset/LabVIEW_tl_set/tasks"
	.text
	.type	set_rt_cpu_set_affinity, @function
set_rt_cpu_set_affinity:
.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	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR -36[rbp]
	lea	rax, -20[rbp]
	mov	ecx, edx
	lea	rdx, .LC24[rip]
	mov	esi, 12
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	write_text_file
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	set_rt_cpu_set_affinity, .-set_rt_cpu_set_affinity
	.type	set_fifo_priority, @function
set_fifo_priority:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	lea	rax, -12[rbp]
	mov	rdx, rax
	mov	esi, 1
	mov	edi, 0
	call	sched_setscheduler@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	set_fifo_priority, .-set_fifo_priority
	.section	.rodata
.LC26:
	.string	"3"
.LC27:
	.string	"/proc/sys/vm/drop_caches"
	.text
	.type	flush_disk_io, @function
flush_disk_io:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rsi, .LC26[rip]
	lea	rdi, .LC27[rip]
	call	write_text_file
	mov	DWORD PTR -4[rbp], eax
	call	sync@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	flush_disk_io, .-flush_disk_io
	.section	.rodata
.LC28:
	.string	"Failed to mlockall memory"
.LC29:
	.string	"Failed to configure CPU sets"
	.align 8
.LC30:
	.string	"Failed to affinitize test to CPU set"
	.align 8
.LC31:
	.string	"Failed to set the test scheduling priority"
.LC32:
	.string	"Failed to flush disk caches"
	.text
	.type	setup, @function
setup:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 1
	mov	edi, 1
	call	signal@PLT
	mov	edi, 3
	call	mlockall@PLT
	test	eax, eax
	jns	.L61
	lea	rdi, .LC28[rip]
	call	error_exit
.L61:
	mov	eax, 0
	call	setup_cpu_sets
	test	eax, eax
	jns	.L62
	lea	rdi, .LC29[rip]
	call	error_exit
.L62:
	call	getpid@PLT
	mov	edi, eax
	call	set_rt_cpu_set_affinity
	test	eax, eax
	jns	.L63
	lea	rdi, .LC30[rip]
	call	error_exit
.L63:
	mov	edi, 98
	call	set_fifo_priority
	test	eax, eax
	jns	.L64
	lea	rdi, .LC31[rip]
	call	error_exit
.L64:
	mov	eax, 0
	call	flush_disk_io
	test	eax, eax
	jns	.L66
	lea	rdi, .LC32[rip]
	call	error_exit
.L66:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	setup, .-setup
	.type	tsdiff, @function
tsdiff:
.LFB17:
	.cfi_startproc
	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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, rdx
	mov	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
.LFE17:
	.size	tsdiff, .-tsdiff
	.section	.rodata
.LC34:
	.string	"99.999%%: %lu ns\n"
.LC35:
	.string	"99.999%% threshold exceeded"
.LC37:
	.string	"99.9999%%: %lu ns\n"
.LC38:
	.string	"99.9999%% threshold exceeded"
	.text
	.type	check_percentiles, @function
check_percentiles:
.LFB18:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	js	.L70
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L71
.L70:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L71:
	movsd	xmm1, QWORD PTR .LC33[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L72
.L78:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	js	.L73
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L74
.L73:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L74:
	comisd	xmm0, QWORD PTR -16[rbp]
	jnb	.L90
	add	QWORD PTR -32[rbp], 1
.L72:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L78
	jmp	.L77
.L90:
	nop
.L77:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR percentile_99_999[rip]
	cmp	QWORD PTR -32[rbp], rax
	jbe	.L79
	lea	rdi, .LC35[rip]
	call	error_exit
.L79:
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	js	.L80
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L81
.L80:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L81:
	movsd	xmm1, QWORD PTR .LC36[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	QWORD PTR -32[rbp], 1
	jmp	.L82
.L88:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	js	.L83
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L84
.L83:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L84:
	comisd	xmm0, QWORD PTR -8[rbp]
	jnb	.L91
	add	QWORD PTR -32[rbp], 1
.L82:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L88
	jmp	.L87
.L91:
	nop
.L87:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR percentile_99_9999[rip]
	cmp	QWORD PTR -32[rbp], rax
	jbe	.L92
	lea	rdi, .LC38[rip]
	call	error_exit
.L92:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	check_percentiles, .-check_percentiles
	.section	.rodata
	.align 8
.LC39:
	.string	"Failed to allocate space for histogram data"
.LC40:
	.string	"maximum latency: %lu ns\n"
.LC41:
	.string	"Maximum latency exceeded"
.LC42:
	.string	"Maximum latency: %lu ns\n"
	.text
	.type	test, @function
test:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -92[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR hist_cnt.1[rip], 0
	mov	rax, QWORD PTR max_latency[rip]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR hist_data.0[rip], rax
	mov	rax, QWORD PTR hist_data.0[rip]
	test	rax, rax
	jne	.L94
	lea	rdi, .LC39[rip]
	call	error_exit
.L94:
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR test_duration[rip]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	jmp	.L95
.L99:
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tsdiff
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jbe	.L96
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -72[rbp], rax
.L96:
	movzx	eax, BYTE PTR -92[rbp]
	xor	eax, 1
	test	al, al
	je	.L97
	mov	rax, QWORD PTR max_latency[rip]
	cmp	QWORD PTR -56[rbp], rax
	jb	.L98
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC41[rip]
	call	error_exit
.L98:
	mov	rdx, QWORD PTR hist_data.0[rip]
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
.L97:
	mov	rax, QWORD PTR hist_cnt.1[rip]
	add	rax, 1
	mov	QWORD PTR hist_cnt.1[rip], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
.L95:
	mov	rax, QWORD PTR -48[rbp]
	cmp	QWORD PTR -64[rbp], rax
	jg	.L99
	movzx	eax, BYTE PTR -92[rbp]
	xor	eax, 1
	test	al, al
	je	.L100
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR hist_cnt.1[rip]
	mov	rcx, QWORD PTR max_latency[rip]
	mov	rax, QWORD PTR hist_data.0[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	check_percentiles
.L100:
	mov	rax, QWORD PTR hist_data.0[rip]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L101
	call	__stack_chk_fail@PLT
.L101:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	test, .-test
	.section	.rodata
.LC43:
	.string	"Failed to parse arguments\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB20:
	.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
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parse_options
	test	eax, eax
	jns	.L103
	lea	rdi, .LC43[rip]
	call	error_exit
.L103:
	mov	eax, 0
	call	setup
	mov	esi, 1
	mov	edi, 60
	call	test
	mov	rax, QWORD PTR test_duration[rip]
	mov	esi, 0
	mov	rdi, rax
	call	test
	mov	eax, 0
	call	success_exit
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	main, .-main
	.local	hist_cnt.1
	.comm	hist_cnt.1,8,8
	.local	hist_data.0
	.comm	hist_data.0,8,8
	.section	.rodata
	.align 8
.LC33:
	.long	122320669
	.long	1072693227
	.align 8
.LC36:
	.long	-417264663
	.long	1072693245
	.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	"304645.c"
	.text
	.local	max_latency
	.comm	max_latency,8,8
	.local	percentile_99_999
	.comm	percentile_99_999,8,8
	.local	percentile_99_9999
	.comm	percentile_99_9999,8,8
	.data
	.align	3
	.type	test_duration, %object
	.size	test_duration, 8
test_duration:
	.word	60
	.word	0
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error: %s\012\000"
	.align	2
.LC1:
	.ascii	"FAIL: nohz_test\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_exit, %function
error_exit:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+4
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	error_exit, .-error_exit
	.section	.rodata
	.align	2
.LC2:
	.ascii	"PASS: nohz_test\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	success_exit, %function
success_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	mov	r0, #0
	bl	exit
.L6:
	.align	2
.L5:
	.word	.LC2
	.size	success_exit, .-success_exit
	.section	.rodata
	.align	2
.LC3:
	.ascii	"max\000"
	.align	2
.LC4:
	.ascii	"p3nines\000"
	.align	2
.LC5:
	.ascii	"p4nines\000"
	.align	2
.LC6:
	.ascii	"duration\000"
	.align	2
.LC7:
	.ascii	"help\000"
	.data
	.align	2
	.type	opt_long, %object
	.size	opt_long, 96
opt_long:
	.word	.LC3
	.word	1
	.word	0
	.word	2
	.word	.LC4
	.word	1
	.word	0
	.word	3
	.word	.LC5
	.word	1
	.word	0
	.word	4
	.word	.LC6
	.word	2
	.word	0
	.word	5
	.word	.LC7
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.global	opt_short
	.section	.rodata
	.align	2
.LC8:
	.ascii	"m:p:q:d:h\000"
	.data
	.align	2
	.type	opt_short, %object
	.size	opt_short, 4
opt_short:
	.word	.LC8
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage:\012%s <options>\012\011-m <nS> --max=<nS>\011"
	.ascii	"\011Max latency threshold in nanoseconds (required;"
	.ascii	" 10ms max)\012\011-p <nS> --p3nines=<nS>\011\01199."
	.ascii	"999%% latency threshold in nanoseconds (required)\012"
	.ascii	"\011-q <nS> --p4nines=<nS>\011\01199.9999%% latency"
	.ascii	" threshold in nanoseconds (required)\012\011-d <tim"
	.ascii	"e> --duration=<time>\011Test duration in seconds\012"
	.ascii	"\011\011\011\011\011(m, h, d modifiers can be used "
	.ascii	"to specify minutes, hours, or days)\012\011-h --hel"
	.ascii	"p\011\011\011Display this help\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC9
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC10:
	.ascii	"error: max latency not defined\000"
	.align	2
.LC11:
	.ascii	"error: max latency exceeds 10ms upper threshold\000"
	.align	2
.LC12:
	.ascii	"error: 99.999%% threshold not defined\012\000"
	.align	2
.LC13:
	.ascii	"error: 99.9999%% threshold not defined\012\000"
	.align	2
.LC14:
	.ascii	"error: 99.999%% threshold value (%lu) is larger tha"
	.ascii	"n 99.9999%% threshold value (%lu)\012\000"
	.align	2
.LC15:
	.ascii	"error: 99.9999%% threshold value (%lu) is larger th"
	.ascii	"an maximum latency threshold value (%lu)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_options, %function
validate_options:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L18+8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L11
	ldr	r0, .L18+12
	bl	puts
	mvn	r3, #0
	b	.L12
.L11:
	ldr	r3, .L18+8
	ldmia	r3, {r2-r3}
	adr	r1, .L18
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L13
	ldr	r0, .L18+16
	bl	puts
	mvn	r3, #0
	b	.L12
.L13:
	ldr	r3, .L18+20
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L14
	ldr	r0, .L18+24
	bl	printf
	mvn	r3, #0
	b	.L12
.L14:
	ldr	r3, .L18+28
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L15
	ldr	r0, .L18+32
	bl	printf
	mvn	r3, #0
	b	.L12
.L15:
	ldr	r3, .L18+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L18+28
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L16
	ldr	r3, .L18+20
	ldmia	r3, {r0-r1}
	ldr	r3, .L18+28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+36
	bl	printf
	mvn	r3, #0
	b	.L12
.L16:
	ldr	r3, .L18+28
	ldmia	r3, {r0-r1}
	ldr	r3, .L18+8
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L17
	ldr	r3, .L18+28
	ldmia	r3, {r0-r1}
	ldr	r3, .L18+8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+40
	bl	printf
	mvn	r3, #0
	b	.L12
.L17:
	mov	r3, #0
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	3
.L18:
	.word	10000000
	.word	0
	.word	max_latency
	.word	.LC10
	.word	.LC11
	.word	percentile_99_999
	.word	.LC12
	.word	percentile_99_9999
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	validate_options, .-validate_options
	.section	.rodata
	.align	2
.LC16:
	.ascii	"error: unrecognized modifier '%c' used for specifyi"
	.ascii	"ng the test duration\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_options, %function
parse_options:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L45
	b	.L23
.L41:
	ldr	r3, [fp, #-28]
	cmp	r3, #113
	bgt	.L23
	ldr	r3, [fp, #-28]
	cmp	r3, #100
	bge	.L24
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	bgt	.L25
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bgt	.L26
	b	.L23
.L24:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #100
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L28:
	.word	.L32
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L46
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L30
	.word	.L23
	.word	.L23
	.word	.L29
	.word	.L27
.L26:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L33:
	.word	.L46
	.word	.L30
	.word	.L29
	.word	.L27
	.word	.L32
.L25:
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	beq	.L46
	b	.L23
.L30:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, fp, #32
	mov	r2, #10
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+8
	stm	r1, {r2-r3}
	b	.L23
.L29:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, fp, #32
	mov	r2, #10
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+12
	stm	r1, {r2-r3}
	b	.L23
.L27:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, fp, #32
	mov	r2, #10
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+16
	stm	r1, {r2-r3}
	b	.L23
.L32:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	sub	r1, fp, #32
	mov	r2, #10
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+20
	stm	r1, {r2-r3}
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L47
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	cmp	r3, #109
	beq	.L35
	cmp	r3, #109
	bgt	.L36
	cmp	r3, #104
	beq	.L37
	cmp	r3, #104
	bgt	.L36
	cmp	r3, #0
	beq	.L48
	cmp	r3, #100
	beq	.L39
	b	.L36
.L35:
	ldr	r3, .L50+20
	ldmia	r3, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+20
	stm	r1, {r2-r3}
	b	.L40
.L37:
	ldr	r3, .L50+20
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #3
	orr	r5, r5, r2, lsr #29
	lsl	r4, r2, #3
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+20
	stm	r1, {r2-r3}
	b	.L40
.L39:
	ldr	r3, .L50+20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	adds	r6, r0, r0
	adc	r7, r1, r1
	mov	r0, r6
	mov	r1, r7
	adds	r0, r0, r2
	adc	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #4
	orr	r3, r3, r0, lsr #28
	lsl	r2, r0, #4
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	subs	r0, r0, r2
	sbc	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L50+20
	stm	r1, {r2-r3}
	b	.L40
.L36:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L50+24
	bl	printf
	b	.L22
.L48:
	nop
.L40:
	nop
.L23:
	ldr	r3, .L50+28
	ldr	r2, [r3]
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, .L50+32
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt_long
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L41
	bl	validate_options
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	mov	r3, #0
	b	.L43
.L45:
	nop
	b	.L22
.L46:
	nop
	b	.L22
.L47:
	nop
	b	.L22
.L49:
	nop
.L22:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mvn	r3, #0
.L43:
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC17
	.word	optarg
	.word	max_latency
	.word	percentile_99_999
	.word	percentile_99_9999
	.word	test_duration
	.word	.LC16
	.word	opt_short
	.word	opt_long
	.size	parse_options, .-parse_options
	.section	.rodata
	.align	2
.LC18:
	.ascii	"w\000"
	.align	2
.LC19:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_text_file, %function
write_text_file:
	@ 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	r1, .L56
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L53
	mvn	r3, #0
	b	.L54
.L53:
	ldr	r2, [fp, #-20]
	ldr	r1, .L56+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L55
	mvn	r3, #0
	b	.L54
.L55:
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC18
	.word	.LC19
	.size	write_text_file, .-write_text_file
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Test requires a system with at least 2 CPUs availab"
	.ascii	"le\000"
	.align	2
.LC21:
	.ascii	"0-%d\000"
	.align	2
.LC22:
	.ascii	"/dev/cgroup/cpuset/system_set/cpus\000"
	.align	2
.LC23:
	.ascii	"%d\000"
	.align	2
.LC24:
	.ascii	"/dev/cgroup/cpuset/LabVIEW_tl_set/cpus\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_cpu_sets, %function
setup_cpu_sets:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	bl	get_nprocs
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bgt	.L59
	ldr	r0, .L64+4
	bl	error_exit
.L59:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	sub	r0, fp, #16
	ldr	r2, .L64+8
	mov	r1, #8
	bl	snprintf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L64+12
	bl	write_text_file
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L60
	ldr	r3, [fp, #-32]
	b	.L62
.L60:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	sub	r0, fp, #24
	ldr	r2, .L64+16
	mov	r1, #8
	bl	snprintf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L64+20
	bl	write_text_file
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
.L62:
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC25
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	setup_cpu_sets, .-setup_cpu_sets
	.section	.rodata
	.align	2
.LC26:
	.ascii	"%u\000"
	.align	2
.LC27:
	.ascii	"/dev/cgroup/cpuset/LabVIEW_tl_set/tasks\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_rt_cpu_set_affinity, %function
set_rt_cpu_set_affinity:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #20
	ldr	r3, [fp, #-24]
	ldr	r2, .L69+4
	mov	r1, #12
	bl	snprintf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L69+8
	bl	write_text_file
	mov	r3, r0
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC28
	.word	.LC26
	.word	.LC27
	.size	set_rt_cpu_set_affinity, .-set_rt_cpu_set_affinity
	.section	.rodata
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_fifo_priority, %function
set_fifo_priority:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r2, r3
	mov	r1, #1
	mov	r0, #0
	bl	sched_setscheduler
	mov	r3, r0
	ldr	r2, .L74
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC29
	.size	set_fifo_priority, .-set_fifo_priority
	.section	.rodata
	.align	2
.LC30:
	.ascii	"3\000"
	.align	2
.LC31:
	.ascii	"/proc/sys/vm/drop_caches\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	flush_disk_io, %function
flush_disk_io:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r1, .L78
	ldr	r0, .L78+4
	bl	write_text_file
	str	r0, [fp, #-8]
	bl	sync
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC30
	.word	.LC31
	.size	flush_disk_io, .-flush_disk_io
	.section	.rodata
	.align	2
.LC32:
	.ascii	"Failed to mlockall memory\000"
	.align	2
.LC33:
	.ascii	"Failed to configure CPU sets\000"
	.align	2
.LC34:
	.ascii	"Failed to affinitize test to CPU set\000"
	.align	2
.LC35:
	.ascii	"Failed to set the test scheduling priority\000"
	.align	2
.LC36:
	.ascii	"Failed to flush disk caches\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup, %function
setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #1
	mov	r0, #1
	bl	signal
	mov	r0, #3
	bl	mlockall
	mov	r3, r0
	cmp	r3, #0
	bge	.L81
	ldr	r0, .L87
	bl	error_exit
.L81:
	bl	setup_cpu_sets
	mov	r3, r0
	cmp	r3, #0
	bge	.L82
	ldr	r0, .L87+4
	bl	error_exit
.L82:
	bl	getpid
	mov	r3, r0
	mov	r0, r3
	bl	set_rt_cpu_set_affinity
	mov	r3, r0
	cmp	r3, #0
	bge	.L83
	ldr	r0, .L87+8
	bl	error_exit
.L83:
	mov	r0, #98
	bl	set_fifo_priority
	mov	r3, r0
	cmp	r3, #0
	bge	.L84
	ldr	r0, .L87+12
	bl	error_exit
.L84:
	bl	flush_disk_io
	mov	r3, r0
	cmp	r3, #0
	bge	.L86
	ldr	r0, .L87+16
	bl	error_exit
.L86:
	nop
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	setup, .-setup
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tsdiff, %function
tsdiff:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, .L91
	mul	r2, r3, r1
	mov	r3, #0
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L91
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	ldr	r1, [fp, #-48]
	ldr	r1, [r1, #4]
	mov	r0, r1
	asr	r1, r0, #31
	adds	r6, r2, r0
	adc	r7, r3, r1
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, .L91
	mul	r2, r3, r1
	mov	r3, #0
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L91
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	ldr	r1, [fp, #-52]
	ldr	r1, [r1, #4]
	mov	r0, r1
	asr	r1, r0, #31
	adds	r4, r2, r0
	adc	r5, r3, r1
	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, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L92:
	.align	2
.L91:
	.word	1000000000
	.size	tsdiff, .-tsdiff
	.global	__aeabi_ul2d
	.global	__aeabi_dmul
	.global	__aeabi_dcmple
	.section	.rodata
	.align	2
.LC37:
	.ascii	"99.999%%: %lu ns\012\000"
	.align	2
.LC38:
	.ascii	"99.999%% threshold exceeded\000"
	.align	2
.LC39:
	.ascii	"99.9999%%: %lu ns\012\000"
	.align	2
.LC40:
	.ascii	"99.9999%% threshold exceeded\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_percentiles, %function
check_percentiles:
	@ args = 8, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldmib	fp, {r0-r1}
	bl	__aeabi_ul2d
	ldr	r2, .L109
	ldr	r3, .L109+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L94
.L98:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	adds	ip, r0, r2
	str	ip, [fp, #-84]
	adc	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L106
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-92]
	adc	r3, r3, #0
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L94:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L98
	b	.L97
.L106:
	nop
.L97:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L109+8
	bl	printf
	ldr	r3, .L109+12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L99
	ldr	r0, .L109+16
	bl	error_exit
.L99:
	ldmib	fp, {r0-r1}
	bl	__aeabi_ul2d
	ldr	r2, .L109+20
	ldr	r3, .L109+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	str	r8, [fp, #-60]
	str	r9, [fp, #-56]
	b	.L100
.L104:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-52]
	str	r5, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L107
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-60]
	str	r7, [fp, #-56]
.L100:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L104
	b	.L103
.L107:
	nop
.L103:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L109+28
	bl	printf
	ldr	r3, .L109+32
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L108
	ldr	r0, .L109+36
	bl	error_exit
.L108:
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L110:
	.align	2
.L109:
	.word	122320669
	.word	1072693227
	.word	.LC37
	.word	percentile_99_999
	.word	.LC38
	.word	-417264663
	.word	1072693245
	.word	.LC39
	.word	percentile_99_9999
	.word	.LC40
	.size	check_percentiles, .-check_percentiles
	.section	.rodata
	.align	2
.LC41:
	.ascii	"Failed to allocate space for histogram data\000"
	.align	2
.LC42:
	.ascii	"maximum latency: %lu ns\012\000"
	.align	2
.LC43:
	.ascii	"Maximum latency exceeded\000"
	.align	2
.LC44:
	.ascii	"Maximum latency: %lu ns\012\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #72
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r3, r2
	strb	r3, [fp, #-77]
	ldr	r3, .L120
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r1, .L120+4
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L120+8
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L120+12
	str	r2, [r3]
	ldr	r3, .L120+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L112
	ldr	r0, .L120+16
	bl	error_exit
.L112:
	sub	r3, fp, #40
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r3, .L120+20
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	str	r3, [fp, #-64]
	b	.L113
.L117:
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	sub	r2, fp, #32
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	tsdiff
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L114
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L114:
	ldrb	r3, [fp, #-77]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L115
	ldr	r3, .L120+8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L116
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L120+24
	bl	printf
	ldr	r0, .L120+28
	bl	error_exit
.L116:
	ldr	r3, .L120+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldmia	r1, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	stm	r1, {r4-r5}
.L115:
	ldr	r3, .L120+4
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	ldr	r3, .L120+4
	stm	r3, {r6-r7}
	sub	r3, fp, #40
	sub	r2, fp, #32
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
.L113:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bgt	.L117
	ldrb	r3, [fp, #-77]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L118
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L120+32
	bl	printf
	ldr	r3, .L120+12
	ldr	ip, [r3]
	ldr	r3, .L120+8
	ldmia	r3, {r0-r1}
	ldr	r3, .L120+4
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r0, ip
	bl	check_percentiles
.L118:
	ldr	r3, .L120+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	ldr	r3, .L120
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L119
	bl	__stack_chk_fail
.L119:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC45
	.word	hist_cnt.7250
	.word	max_latency
	.word	hist_data.7249
	.word	.LC41
	.word	test_duration
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.size	test, .-test
	.section	.rodata
	.align	2
.LC46:
	.ascii	"Failed to parse arguments\012\000"
	.text
	.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]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	parse_options
	mov	r3, r0
	cmp	r3, #0
	bge	.L123
	ldr	r0, .L125
	bl	error_exit
.L123:
	bl	setup
	mov	r2, #1
	mov	r0, #60
	mov	r1, #0
	bl	test
	ldr	r3, .L125+4
	ldmia	r3, {r0-r1}
	mov	r2, #0
	bl	test
	bl	success_exit
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L126:
	.align	2
.L125:
	.word	.LC46
	.word	test_duration
	.size	main, .-main
	.local	hist_cnt.7250
	.comm	hist_cnt.7250,8,8
	.local	hist_data.7249
	.comm	hist_data.7249,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
