	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kr_srand0
_kr_srand0:                             ## @kr_srand0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	movq	%rdi, (%rax)
	movq	_KR_NN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	$1, %ecx
	cmpl	$2, %r8d
	jl	LBB0_8
## %bb.1:
	movabsq	$6364136223846793005, %r10      ## imm = 0x5851F42D4C957F2D
	leaq	-1(%r8), %r9
	movl	$1, %ecx
	cmpl	$2, %r8d
	je	LBB0_5
## %bb.2:
	movq	%r9, %r11
	andq	$-2, %r11
	negq	%r11
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rbx
	shrq	$62, %rbx
	xorq	%rdi, %rbx
	imulq	%r10, %rbx
	addq	%rcx, %rbx
	movq	%rbx, (%rax,%rcx,8)
	movq	%rbx, %rdx
	shrq	$62, %rdx
	xorq	%rbx, %rdx
	imulq	%r10, %rdx
	leaq	(%rcx,%rdx), %rdi
	incq	%rdi
	movq	%rdi, 8(%rax,%rcx,8)
	leaq	(%r11,%rcx), %rbx
	addq	$2, %rbx
	addq	$2, %rcx
	cmpq	$1, %rbx
	jne	LBB0_3
## %bb.4:
	leaq	(%rdx,%rcx), %rdi
	decq	%rdi
LBB0_5:
	testb	$1, %r9b
	je	LBB0_7
## %bb.6:
	movq	%rdi, %rdx
	shrq	$62, %rdx
	xorq	%rdi, %rdx
	imulq	%r10, %rdx
	addq	%rcx, %rdx
	movq	%rdx, (%rax,%rcx,8)
LBB0_7:
	movl	%r8d, %ecx
LBB0_8:
	movl	%ecx, 8(%rsi)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KR_NN,4,2                      ## @KR_NN
	.no_dead_strip	_kr_srand0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kr_srand0
_kr_srand0:                             ; @kr_srand0
	.cfi_startproc
; %bb.0:
	ldr	x9, [x1]
	str	x0, [x9]
Lloh0:
	adrp	x8, _KR_NN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KR_NN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w10, #1
	mov	x11, #32557
	movk	x11, #19605, lsl #16
	movk	x11, #62509, lsl #32
	movk	x11, #22609, lsl #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	eor	x12, x0, x0, lsr #62
	madd	x0, x12, x11, x10
	str	x0, [x9, x10, lsl #3]
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_2
; %bb.3:
	str	w8, [x1, #8]
	ret
LBB0_4:
	mov	w8, #1
	str	w8, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KR_NN,4,2                      ; @KR_NN
	.no_dead_strip	_kr_srand0
.subsections_via_symbols
