	.file	"extr_test_overhead_user.c_test_urandom_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/dev/urandom"
.LC1:
	.string	"couldn't open /dev/urandom"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"failed to read from /dev/urandom: %s\n"
	.align 8
.LC3:
	.string	"urandom_read:%d: %lld events per sec\n"
	.text
	.p2align 4
	.type	test_urandom_read, @function
test_urandom_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR O_RDONLY[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	open@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L11
.L2:
	xor	eax, eax
	call	time_get_ns@PLT
	mov	ebp, DWORD PTR MAX_CNT[rip]
	mov	r14d, eax
	test	ebp, ebp
	jle	.L3
	xor	ebx, ebx
	lea	r15, 4[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ebp, DWORD PTR MAX_CNT[rip]
	add	ebx, 1
	cmp	ebp, ebx
	jle	.L3
.L6:
	mov	edx, 4
	mov	rsi, r15
	mov	edi, r12d
	call	read@PLT
	test	rax, rax
	jns	.L4
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rdi, .LC2[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	mov	edi, r12d
	call	close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	time_get_ns@PLT
	lea	rdi, .LC3[rip]
	mov	esi, r13d
	mov	ecx, eax
	movsx	rax, ebp
	imul	rax, rax, 1000000000
	sub	ecx, r14d
	movsx	rcx, ecx
	cqo
	idiv	rcx
	mov	rdx, rax
	xor	eax, eax
	call	printf@PLT
	mov	edi, r12d
	call	close@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L2
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_urandom_read, .-test_urandom_read
	.comm	errno,4,4
	.comm	O_RDONLY,4,4
	.comm	MAX_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_test_overhead_user.c_test_urandom_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/dev/urandom\000"
	.align	2
.LC1:
	.ascii	"couldn't open /dev/urandom\000"
	.align	2
.LC2:
	.ascii	"failed to read from /dev/urandom: %s\012\000"
	.global	__aeabi_ldivmod
	.align	2
.LC3:
	.ascii	"urandom_read:%d: %lld events per sec\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_urandom_read, %function
test_urandom_read:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #12
	ldr	r1, [r3]
	ldr	r3, .L13+4
	mov	r8, r0
	ldr	r0, .L13+8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	open
	subs	r6, r0, #0
	blt	.L11
.L2:
	bl	time_get_ns
	ldr	r7, .L13+12
	mov	r9, r0
	ldr	r5, [r7]
	cmp	r5, #0
	ble	.L3
	mov	r4, #0
	b	.L6
.L4:
	ldr	r5, [r7]
	add	r4, r4, #1
	cmp	r5, r4
	ble	.L3
.L6:
	mov	r2, #4
	mov	r1, sp
	mov	r0, r6
	bl	read
	cmp	r0, #0
	bge	.L4
	ldr	r3, .L13+16
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r0
	ldr	r0, .L13+20
	bl	printf
	mov	r0, r6
	bl	close
	b	.L1
.L3:
	bl	time_get_ns
	ldr	r1, .L13+24
	sub	r2, r0, r9
	mov	ip, r1
	asr	r3, r2, #31
	smull	r0, r1, r5, ip
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L13+28
	mov	r1, r8
	bl	printf
	mov	r0, r6
	bl	close
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	ldr	r0, .L13+32
	bl	puts
	mov	r0, #1
	bl	exit
	b	.L2
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	O_RDONLY
	.word	.LC4
	.word	.LC0
	.word	MAX_CNT
	.word	errno
	.word	.LC2
	.word	1000000000
	.word	.LC3
	.word	.LC1
	.size	test_urandom_read, .-test_urandom_read
	.comm	errno,4,4
	.comm	O_RDONLY,4,4
	.comm	MAX_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
