	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rs_init
__rs_init:                              ## @_rs_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_KEYSZ@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	_IVSZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rdx, %rax
	cmpq	%rsi, %rax
	jbe	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	shlq	$3, %rdx
	movq	_rs@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_chacha_keysetup
	movq	(%r15), %rax
	leaq	(%rbx,%rax,4), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chacha_ivsetup                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYSZ,8,3                      ## @KEYSZ
	.comm	_IVSZ,8,3                       ## @IVSZ
	.comm	_rs,4,2                         ## @rs
	.no_dead_strip	__rs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rs_init
__rs_init:                              ; @_rs_init
	.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
Lloh0:
	adrp	x21, _KEYSZ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KEYSZ@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _IVSZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IVSZ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x9, x9, x8
	cmp	x9, x1
	b.ls	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x19, x0
	lsl	x2, x8, #3
Lloh5:
	adrp	x20, _rs@GOTPAGE
Lloh6:
	ldr	x20, [x20, _rs@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_chacha_keysetup
	ldr	x8, [x21]
	add	x1, x19, x8, lsl #2
	mov	x0, 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
	b	_chacha_ivsetup
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYSZ,8,3                      ; @KEYSZ
	.comm	_IVSZ,8,3                       ; @IVSZ
	.comm	_rs,4,2                         ; @rs
	.no_dead_strip	__rs_init
.subsections_via_symbols
