	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_gen_rand                  ## -- Begin function init_gen_rand
	.p2align	4, 0x90
_init_gen_rand:                         ## @init_gen_rand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	-56(%rbp), %rdi
	movl	$4, %esi
	movl	$16, %edx
	callq	_posix_memalign
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_2:
	movq	-56(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	(%rax), %r12
	xorl	%edi, %edi
	callq	_idxof
	movl	%ebx, (%r12,%rax,4)
	movq	_N32@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.3:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %r15d
	movl	%r15d, %edi
	callq	_idxof
	movl	(%r12,%rax,4), %r14d
	movl	%r15d, %edi
	callq	_idxof
	movl	(%r12,%rax,4), %eax
	sarl	$30, %eax
	xorl	%r14d, %eax
	imull	$1812433253, %eax, %r14d        ## imm = 0x6C078965
	addl	%ebx, %r14d
	movl	%ebx, %edi
	callq	_idxof
	movl	%r14d, (%r12,%rax,4)
	incl	%ebx
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	jl	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_period_certification
	movl	$1, 4(%rbx)
LBB0_6:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N32,4,2                        ## @N32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_gen_rand                  ; -- Begin function init_gen_rand
	.p2align	2
_init_gen_rand:                         ; @init_gen_rand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #4
	mov	w2, #16
	bl	_posix_memalign
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_6
LBB0_2:
	ldr	x19, [sp, #8]
	ldr	x8, [x19, #8]
	ldr	x22, [x8]
	bl	_idxof
	str	w20, [x22, x0, lsl #2]
Lloh0:
	adrp	x23, _N32@GOTPAGE
Lloh1:
	ldr	x23, [x23, _N32@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.3:
	mov	w20, #1
	mov	w24, #35173
	movk	w24, #27655, lsl #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w20, #1
	mov	x0, x21
	bl	_idxof
	ldr	w25, [x22, x0, lsl #2]
	mov	x0, x21
	bl	_idxof
	ldr	w8, [x22, x0, lsl #2]
	eor	w8, w25, w8, asr #30
	madd	w21, w8, w24, w20
	mov	x0, x20
	bl	_idxof
	str	w21, [x22, x0, lsl #2]
	add	w20, w20, #1
	ldr	w8, [x23]
	cmp	w20, w8
	b.lt	LBB0_4
LBB0_5:
	str	w8, [x19]
	mov	x0, x19
	bl	_period_certification
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_N32,4,2                        ; @N32
.subsections_via_symbols
