	.file	"extr_noise.c_seed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	seed
	.type	seed, @function
seed:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	srand@PLT
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, QWORD PTR PERM[rip]
	mov	BYTE PTR [rdx+rax], al
	add	rax, 1
	cmp	rax, 256
	jne	.L2
	mov	ebx, 256
	mov	ebp, 255
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	rand@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR RAND_MAX[rip]
	cdq
	idiv	ebx
	mov	ecx, eax
	mov	eax, r8d
	cdq
	idiv	ecx
	cmp	ebx, eax
	jle	.L3
	mov	rcx, QWORD PTR PERM[rip]
	cdqe
	sub	ebx, 1
	lea	rdx, [rcx+rbp]
	movzx	ecx, BYTE PTR [rcx+rax]
	sub	rbp, 1
	movzx	esi, BYTE PTR [rdx]
	mov	BYTE PTR [rdx], cl
	mov	rdx, QWORD PTR PERM[rip]
	mov	BYTE PTR [rdx+rax], sil
	cmp	ebx, 1
	jne	.L3
	mov	rsi, QWORD PTR PERM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edx, 256
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	lea	rdi, 256[rsi]
	jmp	memcpy@PLT
	.cfi_endproc
.LFE0:
	.size	seed, .-seed
	.comm	RAND_MAX,4,4
	.comm	PERM,8,8
	.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_noise.c_seed.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	seed
	.syntax unified
	.arm
	.fpu softvfp
	.type	seed, %function
seed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	srand
	mov	r5, #0
	ldr	r7, .L10
.L2:
	ldr	r3, [r7]
	strb	r5, [r3, r5]
	add	r5, r5, #1
	cmp	r5, #256
	bne	.L2
	ldr	r6, .L10+4
.L3:
	bl	rand
	mov	r1, r5
	mov	r4, r0
	ldr	r0, [r6]
	bl	__aeabi_idiv
	mov	r1, r0
	mov	r0, r4
	bl	__aeabi_idiv
	cmp	r5, r0
	ble	.L3
	ldr	r2, [r7]
	sub	r3, r5, #1
	ldrb	ip, [r2, r0]	@ zero_extendqisi2
	ldrb	r1, [r2, r3]	@ zero_extendqisi2
	strb	ip, [r2, r3]
	mov	r5, r3
	cmp	r3, #1
	ldr	r3, [r7]
	strb	r1, [r3, r0]
	bne	.L3
	mov	r2, #256
	ldr	r1, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	add	r0, r1, r2
	b	memcpy
.L11:
	.align	2
.L10:
	.word	PERM
	.word	RAND_MAX
	.size	seed, .-seed
	.comm	RAND_MAX,4,4
	.comm	PERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
