	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rs_random_u32
__rs_random_u32:                        ## @_rs_random_u32
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$4, %edi
	callq	__rs_stir_if_needed
	movq	_rs_have@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	__rs_rekey
	movl	(%r14), %eax
LBB0_2:
	movq	_rs_buf@GOTPCREL(%rip), %r12
	movq	_RSBUFSZ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	(%r12), %rsi
	cltq
	subq	%rax, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rdi
	addq	(%r12), %rdi
	movslq	(%r14), %rax
	subq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	addl	$-4, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_have,4,2                    ## @rs_have
	.comm	_rs_buf,8,3                     ## @rs_buf
	.comm	_RSBUFSZ,8,3                    ## @RSBUFSZ
	.no_dead_strip	__rs_random_u32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rs_random_u32
__rs_random_u32:                        ; @_rs_random_u32
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	w0, #4
	bl	__rs_stir_if_needed
Lloh0:
	adrp	x20, _rs_have@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rs_have@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
	mov	x0, #0
	mov	w1, #0
	bl	__rs_rekey
	ldr	w8, [x20]
LBB0_2:
Lloh2:
	adrp	x21, _rs_buf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _rs_buf@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	adrp	x22, _RSBUFSZ@GOTPAGE
Lloh5:
	ldr	x22, [x22, _RSBUFSZ@GOTPAGEOFF]
	ldr	x10, [x22]
	add	x9, x10, x9
	sub	x1, x9, w8, sxtw
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldrsw	x10, [x20]
	add	x8, x9, x8
	sub	x0, x8, x10
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20]
	sub	w8, w8, #4
	str	w8, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_have,4,2                    ; @rs_have
	.comm	_rs_buf,8,3                     ; @rs_buf
	.comm	_RSBUFSZ,8,3                    ; @RSBUFSZ
	.no_dead_strip	__rs_random_u32
.subsections_via_symbols
