	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random                         ## -- Begin function random
	.p2align	4, 0x90
_random:                                ## @random
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rand_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TYPE_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	imull	$1103515245, (%rcx), %eax       ## imm = 0x41C64E6D
	addl	$12345, %eax                    ## imm = 0x3039
	movq	_LONG_MAX@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_6
LBB0_2:
	movq	_rptr@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	movq	_fptr@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movl	(%rcx), %eax
	addl	(%rdx), %eax
	movl	%eax, (%rcx)
	sarl	%eax
	movq	_LONG_MAX@GOTPCREL(%rip), %rdi
	andl	(%rdi), %eax
	addq	$4, %rcx
	movq	%rcx, (%rsi)
	movq	_end_ptr@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rdi, %rcx
	jae	LBB0_3
## %bb.4:
	addq	$4, %rdx
	movq	%rdx, (%r8)
	cmpq	%rdi, %rdx
	jb	LBB0_6
## %bb.5:
	movq	_state@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r8)
	jmp	LBB0_6
LBB0_3:
	movq	_state@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rsi)
	addq	$4, %rdx
	movq	%rdx, (%r8)
LBB0_6:
	cltq
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rand_type,8,3                  ## @rand_type
	.comm	_TYPE_0,8,3                     ## @TYPE_0
	.comm	_state,8,3                      ## @state
	.comm	_LONG_MAX,4,2                   ## @LONG_MAX
	.comm	_rptr,8,3                       ## @rptr
	.comm	_fptr,8,3                       ## @fptr
	.comm	_end_ptr,8,3                    ## @end_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random                         ; -- Begin function random
	.p2align	2
_random:                                ; @random
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rand_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rand_type@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TYPE_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPE_0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _state@GOTPAGE
Lloh7:
	ldr	x8, [x8, _state@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x8]
	ldr	w8, [x9]
	mov	w10, #20077
	movk	w10, #16838, lsl #16
	mov	w11, #12345
	madd	w8, w8, w10, w11
Lloh9:
	adrp	x10, _LONG_MAX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LONG_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w8, w8, w10
	str	w8, [x9]
	sxtw	x0, w8
	ret
LBB0_2:
Lloh12:
	adrp	x9, _rptr@GOTPAGE
Lloh13:
	ldr	x9, [x9, _rptr@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	w8, [x10]
Lloh14:
	adrp	x11, _fptr@GOTPAGE
Lloh15:
	ldr	x11, [x11, _fptr@GOTPAGEOFF]
	ldr	x13, [x11]
	ldr	w12, [x13]
	add	w8, w12, w8
	str	w8, [x13], #4
Lloh16:
	adrp	x12, _LONG_MAX@GOTPAGE
Lloh17:
	ldr	x12, [x12, _LONG_MAX@GOTPAGEOFF]
Lloh18:
	ldr	w12, [x12]
	and	w8, w12, w8, asr #1
	str	x13, [x11]
Lloh19:
	adrp	x12, _end_ptr@GOTPAGE
Lloh20:
	ldr	x12, [x12, _end_ptr@GOTPAGEOFF]
Lloh21:
	ldr	x12, [x12]
	cmp	x13, x12
	b.hs	LBB0_5
; %bb.3:
	add	x10, x10, #4
	str	x10, [x9]
	cmp	x10, x12
	b.lo	LBB0_7
; %bb.4:
Lloh22:
	adrp	x10, _state@GOTPAGE
Lloh23:
	ldr	x10, [x10, _state@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	b	LBB0_6
LBB0_5:
Lloh25:
	adrp	x12, _state@GOTPAGE
Lloh26:
	ldr	x12, [x12, _state@GOTPAGEOFF]
Lloh27:
	ldr	x12, [x12]
	str	x12, [x11]
	add	x10, x10, #4
LBB0_6:
	str	x10, [x9]
LBB0_7:
	sxtw	x0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_rand_type,8,3                  ; @rand_type
	.comm	_TYPE_0,8,3                     ; @TYPE_0
	.comm	_state,8,3                      ; @state
	.comm	_LONG_MAX,4,2                   ; @LONG_MAX
	.comm	_rptr,8,3                       ; @rptr
	.comm	_fptr,8,3                       ; @fptr
	.comm	_end_ptr,8,3                    ; @end_ptr
.subsections_via_symbols
