	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rs_stir
__rs_stir:                              ## @_rs_stir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_KEYSZ@GOTPCREL(%rip), %rax
	movq	_IVSZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	shll	$2, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_getrnd
	movq	_rs_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	__rs_rekey
	jmp	LBB0_3
LBB0_1:
	movl	$1, (%rax)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	__rs_init
LBB0_3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_explicit_bzero
	movq	_rs_have@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_rs_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSBUFSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_rs_count@GOTPCREL(%rip), %rax
	movl	$1600000, (%rax)                ## imm = 0x186A00
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYSZ,4,2                      ## @KEYSZ
	.comm	_IVSZ,4,2                       ## @IVSZ
	.comm	_rs_initialized,4,2             ## @rs_initialized
	.comm	_rs_have,8,3                    ## @rs_have
	.comm	_rs_buf,4,2                     ## @rs_buf
	.comm	_RSBUFSZ,4,2                    ## @RSBUFSZ
	.comm	_rs_count,4,2                   ## @rs_count
	.no_dead_strip	__rs_stir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rs_stir
__rs_stir:                              ; @_rs_stir
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _KEYSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEYSZ@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IVSZ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IVSZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	add	w8, w9, w8
	lsl	x9, x8, #2
	add	x10, x9, #15
	and	x12, x10, #0x7fffffff0
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x19, x9, x12
	mov	sp, x19
	lsl	w20, w8, #2
	mov	x0, x19
	mov	x1, x20
	bl	_getrnd
Lloh11:
	adrp	x8, _rs_initialized@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rs_initialized@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	__rs_rekey
	b	LBB0_3
LBB0_2:
	mov	w9, #1
	str	w9, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	__rs_init
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_explicit_bzero
Lloh13:
	adrp	x8, _rs_have@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rs_have@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
Lloh16:
	adrp	x8, _rs_buf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _rs_buf@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _RSBUFSZ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RSBUFSZ@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
Lloh22:
	adrp	x8, _rs_count@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rs_count@GOTPAGEOFF]
	mov	w9, #27136
	movk	w9, #24, lsl #16
Lloh24:
	str	w9, [x8]
	ldur	x8, [x29, #-24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYSZ,4,2                      ; @KEYSZ
	.comm	_IVSZ,4,2                       ; @IVSZ
	.comm	_rs_initialized,4,2             ; @rs_initialized
	.comm	_rs_have,8,3                    ; @rs_have
	.comm	_rs_buf,4,2                     ; @rs_buf
	.comm	_RSBUFSZ,4,2                    ; @RSBUFSZ
	.comm	_rs_count,4,2                   ; @rs_count
	.no_dead_strip	__rs_stir
.subsections_via_symbols
