	.file	"111327.c"
	.intel_syntax noprefix
	.text
	.local	state
	.comm	state,4992,32
	.local	left
	.comm	left,4,4
	.local	next
	.comm	next,8,8
	.globl	srand
	.type	srand, @function
srand:
.LFB6:
	.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 -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, state[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -20[rbp], 1
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -16[rbp]
	shr	rax, 30
	xor	rax, QWORD PTR -16[rbp]
	imul	rdx, rax, 1812433253
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rdx
	and	eax, 4294967295
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -20[rbp], 1
.L2:
	cmp	DWORD PTR -20[rbp], 623
	jle	.L3
	mov	DWORD PTR left[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	srand, .-srand
	.type	next_state, @function
next_state:
.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, 16
	lea	rax, state[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jns	.L5
	mov	edi, 5489
	call	srand
.L5:
	mov	DWORD PTR left[rip], 624
	lea	rax, state[rip]
	mov	QWORD PTR next[rip], rax
	mov	DWORD PTR -12[rbp], 228
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3176
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	and	eax, 2147483648
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	and	eax, 2147483647
	or	rax, rcx
	shr	rax
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	and	eax, 1
	test	rax, rax
	je	.L7
	mov	eax, 2567483615
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	xor	rax, rcx
	xor	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -8[rbp], 8
.L6:
	sub	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 0
	jne	.L9
	mov	DWORD PTR -12[rbp], 397
	jmp	.L10
.L13:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1816
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	and	eax, 2147483648
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	and	eax, 2147483647
	or	rax, rcx
	shr	rax
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	and	eax, 1
	test	rax, rax
	je	.L11
	mov	eax, 2567483615
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	xor	rax, rcx
	xor	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -8[rbp], 8
.L10:
	sub	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1816
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	and	eax, 2147483648
	mov	rcx, rax
	mov	rax, QWORD PTR state[rip]
	and	eax, 2147483647
	or	rax, rcx
	shr	rax
	mov	rcx, rax
	mov	rax, QWORD PTR state[rip]
	and	eax, 1
	test	rax, rax
	je	.L14
	mov	eax, 2567483615
	jmp	.L15
.L14:
	mov	eax, 0
.L15:
	xor	rax, rcx
	xor	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	next_state, .-next_state
	.globl	rand
	.type	rand, @function
rand:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR left[rip]
	sub	eax, 1
	mov	DWORD PTR left[rip], eax
	mov	eax, DWORD PTR left[rip]
	test	eax, eax
	jg	.L17
	call	next_state
.L17:
	mov	rax, QWORD PTR next[rip]
	lea	rdx, 8[rax]
	mov	QWORD PTR next[rip], rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 11
	xor	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 7
	and	eax, 2636928640
	xor	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 15
	and	eax, 4022730752
	xor	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 18
	xor	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	rand, .-rand
	.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	"111327.c"
	.text
	.local	state
	.comm	state,2496,4
	.local	left
	.comm	left,4,4
	.local	next
	.comm	next,4,4
	.align	2
	.global	srand
	.syntax unified
	.arm
	.fpu softvfp
	.type	srand, %function
srand:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, .L4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r2, r3, #4
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #30
	ldr	r3, [fp, #-16]
	eor	r3, r3, r2
	ldr	r2, .L4+4
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r2, r3, #4
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #624
	blt	.L3
	ldr	r3, .L4+8
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	state
	.word	1812433253
	.word	left
	.size	srand, .-srand
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_state, %function
next_state:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L18
	str	r3, [fp, #-12]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L18+8
	bl	srand
.L7:
	ldr	r3, .L18+4
	mov	r2, #624
	str	r2, [r3]
	ldr	r3, .L18+12
	ldr	r2, .L18
	str	r2, [r3]
	mov	r3, #228
	str	r3, [fp, #-8]
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1584
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	and	r1, r3, #-2147483648
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	bic	r3, r3, #-2147483648
	orr	r3, r1, r3
	lsr	r3, r3, #1
	ldr	r1, [fp, #-12]
	add	r1, r1, #4
	ldr	r1, [r1]
	and	r1, r1, #1
	cmp	r1, #0
	beq	.L9
	ldr	r1, .L18+16
	b	.L10
.L9:
	mov	r1, #0
.L10:
	eor	r3, r3, r1
	eor	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L18+20
	str	r3, [fp, #-8]
	b	.L12
.L15:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #908
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	and	r1, r3, #-2147483648
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	bic	r3, r3, #-2147483648
	orr	r3, r1, r3
	lsr	r3, r3, #1
	ldr	r1, [fp, #-12]
	add	r1, r1, #4
	ldr	r1, [r1]
	and	r1, r1, #1
	cmp	r1, #0
	beq	.L13
	ldr	r1, .L18+16
	b	.L14
.L13:
	mov	r1, #0
.L14:
	eor	r3, r3, r1
	eor	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-12]
	sub	r3, r3, #908
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	and	r1, r3, #-2147483648
	ldr	r3, .L18
	ldr	r3, [r3]
	bic	r3, r3, #-2147483648
	orr	r3, r1, r3
	lsr	r3, r3, #1
	ldr	r1, .L18
	ldr	r1, [r1]
	and	r1, r1, #1
	cmp	r1, #0
	beq	.L16
	ldr	r1, .L18+16
	b	.L17
.L16:
	mov	r1, #0
.L17:
	eor	r3, r3, r1
	eor	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	state
	.word	left
	.word	5489
	.word	next
	.word	-1727483681
	.word	397
	.size	next_state, .-next_state
	.align	2
	.global	rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand, %function
rand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L23
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L23
	str	r3, [r2]
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L21
	bl	next_state
.L21:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r1, .L23+4
	str	r2, [r1]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #11
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #7
	ldr	r3, .L23+8
	and	r3, r3, r2
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #15
	ldr	r3, .L23+12
	and	r3, r3, r2
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #18
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	left
	.word	next
	.word	-1658038656
	.word	-272236544
	.size	rand, .-rand
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
