	.file	"extr_matrix.c_RandomMatrixColumn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	RandomMatrixColumn
	.type	RandomMatrixColumn, @function
RandomMatrixColumn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, 15
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.p2align 4,,10
	.p2align 3
.L2:
	movsx	rbx, ebp
	sal	rbx, 2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	add	rbx, 4
	cmp	DWORD PTR 8[r13], ebp
	jle	.L1
	add	ebp, 1
.L6:
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR [rax+rbx]
	call	GlyphIntensity@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR MAX_INTENSITY[rip]
	sub	eax, 1
	cmp	r8d, eax
	jl	.L12
	cmp	DWORD PTR 8[r13], ebp
	jle	.L1
	mov	rax, QWORD PTR 0[r13]
	mov	edx, DWORD PTR [rax+rbx]
	xor	eax, eax
	and	edx, 65280
	mov	r14d, edx
	call	crc_rand@PLT
	add	rbx, QWORD PTR 0[r13]
	cdq
	idiv	DWORD PTR NUM_GLYPHS[rip]
	xor	eax, eax
	or	edx, r14d
	mov	DWORD PTR [rbx], edx
	or	edx, DWORD PTR GLYPH_REDRAW[rip]
	mov	DWORD PTR [rbx], edx
	call	crc_rand@PLT
	movsx	rdx, eax
	mov	ecx, eax
	imul	rdx, rdx, 1717986919
	sar	ecx, 31
	sar	rdx, 34
	sub	edx, ecx
	lea	edx, [rdx+rdx*4]
	add	edx, edx
	sub	eax, edx
	add	ebp, eax
	sub	r12d, 1
	jne	.L2
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	RandomMatrixColumn, .-RandomMatrixColumn
	.comm	NUM_GLYPHS,4,4
	.comm	MAX_INTENSITY,4,4
	.comm	GLYPH_REDRAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_matrix.c_RandomMatrixColumn.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	RandomMatrixColumn
	.syntax unified
	.arm
	.fpu softvfp
	.type	RandomMatrixColumn, %function
RandomMatrixColumn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, #15
	mov	fp, r0
	mov	r4, #0
	ldr	r6, .L14
	ldr	r10, .L14+4
	ldr	r9, .L14+8
	b	.L6
.L13:
	cmp	r3, r4
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	add	r4, r4, #1
.L6:
	ldr	r3, [fp]
	lsl	r5, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	GlyphIntensity
	ldr	r3, [r6]
	sub	r3, r3, #1
	cmp	r0, r3
	ldr	r3, [fp, #4]
	blt	.L13
	cmp	r3, r4
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [fp]
	ldr	r1, [r3, r5]
	and	r8, r1, #65280
	bl	crc_rand
	ldr	r1, [r10]
	bl	__aeabi_idivmod
	ldr	r2, [fp]
	orr	r1, r1, r8
	str	r1, [r2, r5]
	ldr	r3, [r9]
	orr	r1, r3, r1
	str	r1, [r2, r5]
	bl	crc_rand
	ldr	r2, .L14+12
	subs	r7, r7, #1
	smull	r3, r2, r0, r2
	asr	r3, r0, #31
	rsb	r3, r3, r2, asr #2
	add	r3, r3, r3, lsl #2
	sub	r0, r0, r3, lsl #1
	add	r4, r4, r0
	bne	.L6
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	MAX_INTENSITY
	.word	NUM_GLYPHS
	.word	GLYPH_REDRAW
	.word	1717986919
	.size	RandomMatrixColumn, .-RandomMatrixColumn
	.comm	NUM_GLYPHS,4,4
	.comm	MAX_INTENSITY,4,4
	.comm	GLYPH_REDRAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
