	.file	"92328190.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"ERROR:  Read past end of RANFILE. Aborting."
	.text
	.globl	wranc_
	.type	wranc_, @function
wranc_:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, DWORD PTR first.0[rip]
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	rdi, rax
	call	srand48@PLT
	mov	DWORD PTR first.0[rip], 0
.L2:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L7:
	call	drand48@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR .LC0[rip]
	jnb	.L10
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L7
	jmp	.L6
.L10:
	nop
.L6:
	cmp	DWORD PTR -12[rbp], 10
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	wranc_, .-wranc_
	.data
	.align 4
	.type	first.0, @object
	.size	first.0, 4
first.0:
	.long	1
	.section	.rodata
	.align 8
.LC0:
	.long	210911779
	.long	1002937505
	.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	"92328190.c"
	.text
	.global	__aeabi_dcmpge
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ERROR:  Read past end of RANFILE. Aborting.\000"
	.text
	.align	2
	.global	wranc_
	.syntax unified
	.arm
	.fpu softvfp
	.type	wranc_, %function
wranc_:
	@ 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, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	srand48
	ldr	r3, .L11
	mov	r2, #0
	str	r2, [r3]
.L2:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L7:
	bl	drand48
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r2, .L11+4
	ldr	r3, .L11+8
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L7
	b	.L6
.L10:
	nop
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L8
	ldr	r0, .L11+12
	bl	puts
	mov	r0, #1
	bl	exit
.L8:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	first.4786
	.word	210911779
	.word	1002937505
	.word	.LC0
	.size	wranc_, .-wranc_
	.data
	.align	2
	.type	first.4786, %object
	.size	first.4786, 4
first.4786:
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
