	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_init                        ## -- Begin function rn_init
	.p2align	4, 0x90
_rn_init:                               ## @rn_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_max_keylen@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leal	(%rax,%rax,2), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_rtmalloc
	movq	_rn_zeros@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	(%rbx), %ecx
	leal	(%rcx,%rcx,2), %esi
	movq	%rax, %rdi
	callq	_Bzero
	movq	(%r14), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx), %rdi
	leaq	(%rdi,%rcx), %rdx
	movq	_rn_ones@GOTPCREL(%rip), %rsi
	movq	%rdi, (%rsi)
	movq	_addmask_key@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	testq	%rcx, %rcx
	jle	LBB0_3
## %bb.2:
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	leaq	(%rax,%rcx,2), %rdx
	cmpq	%rdx, %rsi
	cmovaq	%rsi, %rdx
	subq	%rdi, %rdx
	movl	$255, %esi
	callq	_memset
LBB0_3:
	movq	_mask_rnhead@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_rn_inithead
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_puts                           ## TAILCALL
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_panic                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_max_keylen,4,2                 ## @max_keylen
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"rn_init"

	.comm	_rn_zeros,8,3                   ## @rn_zeros
	.comm	_rn_ones,8,3                    ## @rn_ones
	.comm	_addmask_key,8,3                ## @addmask_key
	.comm	_mask_rnhead,4,2                ## @mask_rnhead
L_.str.2:                               ## @.str.2
	.asciz	"rn_init 2"

L_str:                                  ## @str
	.asciz	"rn_init: radix functions require max_keylen be set"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_init                        ; -- Begin function rn_init
	.p2align	2
_rn_init:                               ; @rn_init
	.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
Lloh0:
	adrp	x19, _max_keylen@GOTPAGE
Lloh1:
	ldr	x19, [x19, _max_keylen@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.1:
	add	w0, w8, w8, lsl #1
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_rtmalloc
Lloh4:
	adrp	x20, _rn_zeros@GOTPAGE
Lloh5:
	ldr	x20, [x20, _rn_zeros@GOTPAGEOFF]
	str	x0, [x20]
	ldr	w8, [x19]
	add	w1, w8, w8, lsl #1
	bl	_Bzero
	ldr	x8, [x20]
	ldrsw	x9, [x19]
Lloh6:
	adrp	x10, _rn_ones@GOTPAGE
Lloh7:
	ldr	x10, [x10, _rn_ones@GOTPAGEOFF]
	add	x0, x8, x9
	add	x11, x0, x9
Lloh8:
	str	x0, [x10]
Lloh9:
	adrp	x10, _addmask_key@GOTPAGE
Lloh10:
	ldr	x10, [x10, _addmask_key@GOTPAGEOFF]
Lloh11:
	str	x11, [x10]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.2:
	add	x10, x0, #1
	add	x8, x8, x9, lsl #1
	cmp	x10, x8
	csinc	x8, x8, x0, ls
	sub	x2, x8, x0
	mov	w1, #255
	bl	_memset
LBB0_3:
Lloh12:
	adrp	x0, _mask_rnhead@GOTPAGE
Lloh13:
	ldr	x0, [x0, _mask_rnhead@GOTPAGEOFF]
	mov	w1, #0
	bl	_rn_inithead
	cbz	x0, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_puts
LBB0_6:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_panic
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_max_keylen,4,2                 ; @max_keylen
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"rn_init"

	.comm	_rn_zeros,8,3                   ; @rn_zeros
	.comm	_rn_ones,8,3                    ; @rn_ones
	.comm	_addmask_key,8,3                ; @addmask_key
	.comm	_mask_rnhead,4,2                ; @mask_rnhead
l_.str.2:                               ; @.str.2
	.asciz	"rn_init 2"

l_str:                                  ; @str
	.asciz	"rn_init: radix functions require max_keylen be set"

.subsections_via_symbols
