	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mrb_random_init_genrand        ## -- Begin function mrb_random_init_genrand
	.p2align	4, 0x90
_mrb_random_init_genrand:               ## @mrb_random_init_genrand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	(%rdi), %r10
	movq	%rax, (%r10)
	movq	_N@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	$1, %ecx
	cmpl	$2, %r9d
	jl	LBB0_7
## %bb.1:
	leaq	-1(%r9), %r8
	movl	$1, %edx
	cmpl	$2, %r9d
	je	LBB0_4
## %bb.2:
	movq	%r8, %rcx
	andq	$-2, %rcx
	negq	%rcx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rsi
	shrq	$30, %rsi
	xorq	%rax, %rsi
	imulq	$1812433253, %rsi, %rax         ## imm = 0x6C078965
	addq	%rdx, %rax
	movl	%eax, %esi
	movq	%rsi, (%r10,%rdx,8)
	shrq	$30, %rsi
	xorl	%eax, %esi
	imull	$1812433253, %esi, %eax         ## imm = 0x6C078965
	addl	%edx, %eax
	incl	%eax
	movq	%rax, 8(%r10,%rdx,8)
	leaq	(%rcx,%rdx), %rsi
	addq	$2, %rsi
	addq	$2, %rdx
	cmpq	$1, %rsi
	jne	LBB0_3
LBB0_4:
	testb	$1, %r8b
	je	LBB0_6
## %bb.5:
	movq	%rax, %rcx
	shrq	$30, %rcx
	xorl	%eax, %ecx
	imull	$1812433253, %ecx, %eax         ## imm = 0x6C078965
	addl	%edx, %eax
	movq	%rax, (%r10,%rdx,8)
LBB0_6:
	movl	%r9d, %ecx
LBB0_7:
	movl	%ecx, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N,4,2                          ## @N
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mrb_random_init_genrand        ; -- Begin function mrb_random_init_genrand
	.p2align	2
_mrb_random_init_genrand:               ; @mrb_random_init_genrand
	.cfi_startproc
; %bb.0:
	and	x10, x1, #0xffffffff
	ldr	x9, [x0]
	str	x10, [x9]
Lloh0:
	adrp	x8, _N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w11, #1
	mov	w12, #35173
	movk	w12, #27655, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x13, x10, #30
	eor	w10, w13, w10
	madd	w10, w10, w12, w11
	str	x10, [x9, x11, lsl #3]
	add	x11, x11, #1
	cmp	x8, x11
	b.ne	LBB0_2
; %bb.3:
	str	w8, [x0, #8]
	ret
LBB0_4:
	mov	w8, #1
	str	w8, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_N,4,2                          ; @N
.subsections_via_symbols
