	.file	"150140171.c"
	.intel_syntax noprefix
	.text
	.globl	_next
	.bss
	.align 4
	.type	_next, @object
	.size	_next, 4
_next:
	.zero	4
	.text
	.globl	rand
	.type	rand, @function
rand:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR _next[rip]
	imul	eax, eax, 1103515245
	add	eax, 12345
	mov	DWORD PTR _next[rip], eax
	mov	eax, DWORD PTR _next[rip]
	sar	eax, 16
	and	eax, 32767
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rand, .-rand
	.section	.rodata
.LC0:
	.string	"stars"
	.text
	.globl	HariMain
	.type	HariMain, @function
HariMain:
.LFB1:
	.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
	call	api_initmalloc@PLT
	mov	edi, 15000
	call	api_malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	r8, .LC0[rip]
	mov	ecx, -1
	mov	edx, 100
	mov	esi, 150
	mov	rdi, rax
	call	api_openwin@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	r9d, 0
	mov	r8d, 93
	mov	ecx, 143
	mov	edx, 26
	mov	esi, 6
	mov	edi, eax
	call	api_boxfilwin@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L4
.L5:
	call	rand
	movsx	rdx, eax
	imul	rdx, rdx, 125400505
	shr	rdx, 32
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 137
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 6[rdx]
	mov	DWORD PTR -16[rbp], eax
	call	rand
	movsx	rdx, eax
	imul	rdx, rdx, 128207979
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 67
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 26[rdx]
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 3
	mov	edi, eax
	call	api_point@PLT
	add	DWORD PTR -24[rbp], 1
.L4:
	cmp	DWORD PTR -24[rbp], 49
	jle	.L5
	call	api_end@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	HariMain, .-HariMain
	.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	"150140171.c"
	.text
	.comm	_next,4,4
	.align	2
	.global	rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand, %function
rand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L3
	ldr	r3, [r3]
	ldr	r2, .L3+4
	mul	r3, r2, r3
	add	r3, r3, #12288
	add	r3, r3, #57
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, .L3
	ldr	r3, [r3]
	asr	r3, r3, #16
	lsl	r3, r3, #17
	lsr	r3, r3, #17
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	_next
	.word	1103515245
	.size	rand, .-rand
	.section	.rodata
	.align	2
.LC0:
	.ascii	"stars\000"
	.text
	.align	2
	.global	HariMain
	.syntax unified
	.arm
	.fpu softvfp
	.type	HariMain, %function
HariMain:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	bl	api_initmalloc
	ldr	r0, .L8
	bl	api_malloc
	str	r0, [fp, #-20]
	ldr	r3, .L8+4
	str	r3, [sp]
	mvn	r3, #0
	mov	r2, #100
	mov	r1, #150
	ldr	r0, [fp, #-20]
	bl	api_openwin
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #93
	str	r3, [sp]
	mov	r3, #143
	mov	r2, #26
	mov	r1, #6
	ldr	r0, [fp, #-16]
	bl	api_boxfilwin
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L6
.L7:
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r3, r2, #6
	str	r3, [fp, #-12]
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r3, r2, #26
	str	r3, [fp, #-8]
	mov	r3, #3
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	api_point
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	cmp	r3, #49
	ble	.L7
	bl	api_end
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	15000
	.word	.LC0
	.word	125400505
	.word	128207979
	.size	HariMain, .-HariMain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
