	.file	"extr_19896.c_rand_n.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rand_n
	.type	rand_n, @function
rand_n:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	mov	rbx, rdi
	call	rand@PLT
	movaps	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rbx
	pop	rbx
	.cfi_def_cfa_offset 8
	mulss	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC0[rip]
	addsd	xmm1, QWORD PTR RAND_MAX[rip]
	cvtss2sd	xmm0, xmm0
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	rand_n, .-rand_n
	.comm	RAND_MAX,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.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_19896.c_rand_n.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
	.global	rand_n
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_n, %function
rand_n:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	rand
	mov	r4, r0
	mov	r0, r5
	bl	__aeabi_i2f
	mov	r1, r4
	bl	__aeabi_fmul
	bl	__aeabi_f2d
	ldr	r3, .L4
	mov	r4, r0
	mov	r5, r1
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L4+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	bl	__aeabi_d2iz
	add	r0, r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	RAND_MAX
	.word	1072693248
	.size	rand_n, .-rand_n
	.comm	RAND_MAX,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
