	.file	"1384.c"
	.intel_syntax noprefix
	.text
	.globl	w
	.bss
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.text
	.globl	fillX
	.type	fillX, @function
fillX:
.LFB0:
	.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
	movss	DWORD PTR -20[rbp], xmm0
	mov	eax, 0
	call	Math_random@PLT
	movaps	xmm1, xmm0
	mov	eax, DWORD PTR w[rip]
	mov	eax, eax
	test	rax, rax
	js	.L2
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L3
.L2:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L3:
	mulss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L7:
	mov	eax, 0
	call	Math_random@PLT
	movss	xmm1, DWORD PTR -20[rbp]
	comiss	xmm1, xmm0
	jbe	.L5
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR s[rip]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	mov	BYTE PTR [rax], -1
.L5:
	add	DWORD PTR -8[rbp], 1
.L4:
	mov	eax, DWORD PTR h[rip]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L7
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fillX, .-fillX
	.globl	fillY
	.type	fillY, @function
fillY:
.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
	movss	DWORD PTR -20[rbp], xmm0
	mov	eax, 0
	call	Math_random@PLT
	movaps	xmm1, xmm0
	mov	eax, DWORD PTR h[rip]
	mov	eax, eax
	test	rax, rax
	js	.L10
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L11
.L10:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L11:
	mulss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L12
.L15:
	mov	eax, 0
	call	Math_random@PLT
	movss	xmm1, DWORD PTR -20[rbp]
	comiss	xmm1, xmm0
	jbe	.L13
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR s[rip]
	add	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	mov	BYTE PTR [rax], -1
.L13:
	add	DWORD PTR -8[rbp], 1
.L12:
	mov	eax, DWORD PTR w[rip]
	cmp	DWORD PTR -8[rbp], eax
	jb	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	fillY, .-fillY
	.globl	init
	.type	init, @function
init:
.LFB2:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR w[rip], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR h[rip], eax
	mov	edx, DWORD PTR w[rip]
	mov	eax, DWORD PTR h[rip]
	imul	eax, edx
	mov	DWORD PTR s[rip], eax
	movss	xmm0, DWORD PTR .LC0[rip]
	call	fillX
	movss	xmm0, DWORD PTR .LC0[rip]
	call	fillY
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	init, .-init
	.globl	step
	.type	step, @function
step:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], 0
	jmp	.L19
.L34:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L20
	mov	eax, DWORD PTR h[rip]
	sub	eax, 1
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
.L21:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR h[rip]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	je	.L22
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	jmp	.L23
.L22:
	mov	eax, 0
.L23:
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L24
.L33:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L25
	mov	eax, DWORD PTR w[rip]
	sub	eax, 1
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
.L26:
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR w[rip]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	je	.L27
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	jmp	.L28
.L27:
	mov	eax, 0
.L28:
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	edx, al
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	ecx, eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	seta	al
	movzx	eax, al
	add	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L29
	cmp	DWORD PTR -8[rbp], 1
	jbe	.L30
	cmp	DWORD PTR -8[rbp], 3
	ja	.L30
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	jmp	.L31
.L30:
	mov	eax, 0
.L31:
	mov	edx, DWORD PTR w[rip]
	mov	ecx, edx
	imul	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR s[rip]
	add	ecx, edx
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	edx, 24
	mov	edx, edx
	mov	BYTE PTR [rdx], al
	jmp	.L32
.L29:
	cmp	DWORD PTR -8[rbp], 3
	jne	.L32
	mov	eax, DWORD PTR w[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR s[rip]
	add	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	add	eax, 24
	mov	eax, eax
	mov	BYTE PTR [rax], -1
.L32:
	add	DWORD PTR -32[rbp], 1
.L24:
	mov	eax, DWORD PTR w[rip]
	cmp	DWORD PTR -32[rbp], eax
	jb	.L33
	add	DWORD PTR -36[rbp], 1
.L19:
	mov	eax, DWORD PTR h[rip]
	cmp	DWORD PTR -36[rbp], eax
	jb	.L34
	mov	eax, 0
	call	Math_random@PLT
	movd	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	comisd	xmm0, xmm1
	jbe	.L41
	movss	xmm0, DWORD PTR .LC0[rip]
	call	fillY
	jmp	.L42
.L41:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	comisd	xmm0, xmm1
	ja	.L40
	jmp	.L42
.L40:
	movss	xmm0, DWORD PTR .LC0[rip]
	call	fillX
.L42:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	step, .-step
	.section	.rodata
	.align 4
.LC0:
	.long	1056964608
	.align 8
.LC1:
	.long	1202590843
	.long	1063549665
	.align 8
.LC2:
	.long	1202590843
	.long	1064598241
	.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	"1384.c"
	.text
	.comm	w,4,4
	.comm	h,4,4
	.comm	s,4,4
	.global	__aeabi_ui2f
	.global	__aeabi_fmul
	.global	__aeabi_f2uiz
	.global	__aeabi_fcmpgt
	.align	2
	.global	fillX
	.syntax unified
	.arm
	.fpu softvfp
	.type	fillX, %function
fillX:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]	@ float
	bl	Math_random
	mov	r4, r0
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L5:
	bl	Math_random
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, .L7+4
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #24
	mvn	r2, #0
	strb	r2, [r3]
.L3:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcc	.L5
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	w
	.word	s
	.word	h
	.size	fillX, .-fillX
	.align	2
	.global	fillY
	.syntax unified
	.arm
	.fpu softvfp
	.type	fillY, %function
fillY:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]	@ float
	bl	Math_random
	mov	r4, r0
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L10
.L13:
	bl	Math_random
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, .L15+8
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #24
	mvn	r2, #0
	strb	r2, [r3]
.L11:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L10:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcc	.L13
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	h
	.word	w
	.word	s
	.size	fillY, .-fillY
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, .L18
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L18+4
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L18+8
	str	r3, [r2]
	mov	r0, #1056964608
	bl	fillX
	mov	r0, #1056964608
	bl	fillY
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	w
	.word	h
	.word	s
	.size	init, .-init
	.global	__aeabi_f2d
	.global	__aeabi_dcmplt
	.align	2
	.global	step
	.syntax unified
	.arm
	.fpu softvfp
	.type	step, %function
step:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L21
.L36:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L45
	ldr	r3, [r3]
	sub	r3, r3, #1
	b	.L23
.L22:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
.L23:
	str	r3, [fp, #-28]
	ldr	r3, .L45
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	beq	.L24
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	b	.L25
.L24:
	mov	r3, #0
.L25:
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L26
.L35:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L45+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	b	.L28
.L27:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
.L28:
	str	r3, [fp, #-20]
	ldr	r3, .L45+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	beq	.L29
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	b	.L30
.L29:
	mov	r3, #0
.L30:
	str	r3, [fp, #-16]
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	mul	r2, r3, r2
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	add	r3, r1, r3
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-28]
	mul	r1, r2, r1
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-24]
	mul	r1, r2, r1
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-24]
	mul	r1, r2, r1
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, .L45+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-24]
	mul	r1, r2, r1
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	add	r2, r2, #24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #2
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #24
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bls	.L32
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bhi	.L32
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	sub	r3, r3, #1
	and	r1, r3, #255
	b	.L33
.L32:
	mov	r1, #0
.L33:
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, .L45+8
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #24
	mov	r2, r1
	strb	r2, [r3]
	b	.L34
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L34
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, .L45+8
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	add	r3, r3, #24
	mvn	r2, #0
	strb	r2, [r3]
.L34:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L26:
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L35
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L21:
	ldr	r3, .L45
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L36
	bl	Math_random
	str	r0, [fp, #-32]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L45+12
	ldr	r3, .L45+16
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	mov	r0, #1056964608
	bl	fillY
	b	.L44
.L43:
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L45+12
	ldr	r3, .L45+20
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	b	.L44
.L42:
	mov	r0, #1056964608
	bl	fillX
.L44:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	h
	.word	w
	.word	s
	.word	1202590843
	.word	1063549665
	.word	1064598241
	.size	step, .-step
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
