	.file	"372522.c"
	.intel_syntax noprefix
	.text
	.type	rnd, @function
rnd:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	arc4random_buf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	fild	QWORD PTR -24[rbp]
	test	rax, rax
	jns	.L2
	fld	TBYTE PTR .LC0[rip]
	faddp	st(1), st
.L2:
	fld	TBYTE PTR .LC1[rip]
	fdivp	st(1), st
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	fstp	st(0)
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rnd, .-rnd
	.section	.rodata
.LC6:
	.string	"%3d %.10Lf %+.10Lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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 -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -88[rbp], 1
	jmp	.L6
.L13:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L7
.L10:
	add	QWORD PTR -72[rbp], 1
	call	rnd
	fstp	TBYTE PTR -32[rbp]
	call	rnd
	fstp	TBYTE PTR -16[rbp]
	fld	TBYTE PTR -32[rbp]
	fld	st(0)
	fmulp	st(1), st
	fld	TBYTE PTR -16[rbp]
	fmul	st, st(0)
	faddp	st(1), st
	fld1
	fcomip	st, st(1)
	fstp	st(0)
	jb	.L8
	add	QWORD PTR -80[rbp], 1
.L8:
	add	DWORD PTR -84[rbp], 1
.L7:
	cmp	DWORD PTR -84[rbp], 999999
	jle	.L10
	fild	QWORD PTR -80[rbp]
	cmp	QWORD PTR -80[rbp], 0
	jns	.L11
	fld	TBYTE PTR .LC0[rip]
	faddp	st(1), st
.L11:
	fild	QWORD PTR -72[rbp]
	cmp	QWORD PTR -72[rbp], 0
	jns	.L12
	fld	TBYTE PTR .LC0[rip]
	faddp	st(1), st
.L12:
	fdivp	st(1), st
	fld	TBYTE PTR .LC4[rip]
	fmulp	st(1), st
	fstp	TBYTE PTR -64[rbp]
	fld	TBYTE PTR -64[rbp]
	fld	TBYTE PTR .LC5[rip]
	fsubp	st(1), st
	fstp	TBYTE PTR -48[rbp]
	mov	eax, DWORD PTR -88[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	add	DWORD PTR -88[rbp], 1
.L6:
	cmp	DWORD PTR -88[rbp], 100
	jle	.L13
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	0
	.long	-2147483648
	.long	16447
	.long	0
	.align 16
.LC1:
	.long	-1
	.long	-1
	.long	16446
	.long	0
	.align 16
.LC4:
	.long	0
	.long	-2147483648
	.long	16385
	.long	0
	.align 16
.LC5:
	.long	560513024
	.long	-921707870
	.long	16384
	.long	0
	.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	"372522.c"
	.text
	.global	__aeabi_ul2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rnd, %function
rnd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	mov	r1, #8
	mov	r0, r3
	bl	arc4random_buf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r2, #0
	ldr	r3, .L4+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	1139802112
	.size	rnd, .-rnd
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmple
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%3d %.10Lf %+.10Lf\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #64
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-84]
	b	.L7
.L12:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L8
.L11:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-68]
	str	r5, [fp, #-64]
	bl	rnd
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	bl	rnd
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L15
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-76]
	str	r7, [fp, #-72]
.L9:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L8:
	ldr	r3, [fp, #-80]
	ldr	r2, .L15+4
	cmp	r3, r2
	blt	.L11
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L15+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r2, .L15+12
	ldr	r3, .L15+16
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-84]
	ldr	r0, .L15+20
	bl	printf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L7:
	ldr	r3, [fp, #-84]
	cmp	r3, #100
	ble	.L12
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L16:
	.align	2
.L15:
	.word	1072693248
	.word	1000000
	.word	1074790400
	.word	1413754136
	.word	1074340347
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
