	.file	"124792.c"
	.intel_syntax noprefix
	.text
	.globl	randlc
	.type	randlc, @function
randlc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movabs	rax, 70368744177663
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jnb	.L2
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	jmp	.L3
.L2:
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -16[rbp], rax
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jnb	.L4
	movsd	xmm0, QWORD PTR -48[rbp]
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L4:
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -8[rbp], rax
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, QWORD PTR -8[rbp]
	and	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	js	.L6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L7
.L6:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L7:
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	randlc, .-randlc
	.globl	vranlc
	.type	vranlc, @function
vranlc:
.LFB1:
	.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 -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	movsd	QWORD PTR -72[rbp], xmm0
	mov	QWORD PTR -80[rbp], rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movabs	rax, 70368744177663
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jnb	.L10
	movsd	xmm0, QWORD PTR -40[rbp]
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	jmp	.L11
.L10:
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -32[rbp], rax
.L11:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -32[rbp], rax
	movsd	xmm0, QWORD PTR -72[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jnb	.L12
	movsd	xmm0, QWORD PTR -72[rbp]
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	jmp	.L13
.L12:
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -8[rbp], rax
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -44[rbp], 1
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -8[rbp]
	and	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	js	.L15
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L16
.L15:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L16:
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -44[rbp], 1
.L14:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jle	.L17
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	vranlc, .-vranlc
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1024458752
	.align 8
.LC1:
	.long	0
	.long	1138753536
	.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	"124792.c"
	.text
	.global	__aeabi_d2ulz
	.global	__aeabi_ul2d
	.global	__aeabi_dmul
	.align	2
	.global	randlc
	.syntax unified
	.arm
	.fpu softvfp
	.type	randlc, %function
randlc:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	ldr	r3, .L3
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mvn	r2, #0
	ldr	r3, .L3+4
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	ip, [fp, #-28]
	ldr	r0, [fp, #-20]
	umull	r2, r3, ip, r0
	add	r1, r1, r3
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	and	r4, r0, r2
	and	r5, r1, r3
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	1024458752
	.word	16383
	.size	randlc, .-randlc
	.align	2
	.global	vranlc
	.syntax unified
	.arm
	.fpu softvfp
	.type	vranlc, %function
vranlc:
	@ args = 4, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	ldr	r3, .L8
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mvn	r2, #0
	ldr	r3, .L8+4
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-76]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L6
.L7:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-28]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-52]
	mul	r3, r1, r3
	add	r1, r2, r3
	ldr	ip, [fp, #-52]
	ldr	r0, [fp, #-28]
	umull	r2, r3, ip, r0
	add	r1, r1, r3
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	and	r4, r0, r2
	and	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
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r6, r2, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L6:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	ble	.L7
	ldr	r1, [fp, #-76]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L9:
	.align	2
.L8:
	.word	1024458752
	.word	16383
	.size	vranlc, .-vranlc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
