	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4c_init_rings
_sun4c_init_rings:                      ## @sun4c_init_rings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SUN4C_MAX_CONTEXTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	_sun4c_context_ring@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%rcx), %rdi
	addq	$8, %rdi
	movq	%rdi, 8(%rdx,%rcx)
	movq	(%rax), %rdx
	movq	%rdi, 16(%rdx,%rcx)
	movq	(%rax), %rdx
	leaq	32(%rdx,%rcx), %rdi
	movq	$0, (%rdx,%rcx)
	movq	%rdi, 32(%rdx,%rcx)
	movq	(%rax), %rdx
	movq	%rdi, 40(%rdx,%rcx)
	movq	(%rax), %rdx
	movq	$0, 24(%rdx,%rcx)
	addq	$2, %rsi
	addq	$48, %rcx
	cmpq	%rsi, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rcx
	leaq	(%rdx,%rcx), %rsi
	addq	$8, %rsi
	movq	%rsi, 8(%rdx,%rcx)
	movq	(%rax), %rdx
	movq	%rsi, 16(%rdx,%rcx)
	movq	(%rax), %rax
	movq	$0, (%rax,%rcx)
LBB0_7:
	movq	_sun4c_ufree_ring@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	%rcx, 16(%rax)
	movq	$0, (%rax)
	movq	_sun4c_ulru_ring@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	%rcx, 16(%rax)
	movq	$0, (%rax)
	movq	_sun4c_kernel_ring@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	%rcx, 16(%rax)
	movq	$0, (%rax)
	movq	_sun4c_kfree_ring@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 8(%rax)
	movq	%rcx, 16(%rax)
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUN4C_MAX_CONTEXTS,4,2         ## @SUN4C_MAX_CONTEXTS
	.comm	_sun4c_context_ring,8,3         ## @sun4c_context_ring
	.comm	_sun4c_ufree_ring,24,3          ## @sun4c_ufree_ring
	.comm	_sun4c_ulru_ring,24,3           ## @sun4c_ulru_ring
	.comm	_sun4c_kernel_ring,24,3         ## @sun4c_kernel_ring
	.comm	_sun4c_kfree_ring,24,3          ## @sun4c_kfree_ring
	.no_dead_strip	_sun4c_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4c_init_rings
_sun4c_init_rings:                      ; @sun4c_init_rings
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SUN4C_MAX_CONTEXTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUN4C_MAX_CONTEXTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x9, _sun4c_context_ring@GOTPAGE
Lloh4:
	ldr	x9, [x9, _sun4c_context_ring@GOTPAGEOFF]
	ldr	x11, [x9]
	add	x10, x10, x10, lsl #1
	lsl	x10, x10, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x11, x8
	add	x12, x11, #8
	str	x12, [x11, #8]
	ldr	x11, [x9]
	add	x11, x11, x8
	str	x12, [x11, #16]
	ldr	x11, [x9]
	str	xzr, [x11, x8]
	add	x8, x8, #24
	cmp	x10, x8
	b.ne	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _sun4c_ufree_ring@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sun4c_ufree_ring@GOTPAGEOFF]
	add	x9, x8, #8
	stp	x9, x9, [x8, #8]
	str	xzr, [x8]
Lloh7:
	adrp	x8, _sun4c_ulru_ring@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sun4c_ulru_ring@GOTPAGEOFF]
	add	x9, x8, #8
	stp	x9, x9, [x8, #8]
	str	xzr, [x8]
Lloh9:
	adrp	x8, _sun4c_kernel_ring@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sun4c_kernel_ring@GOTPAGEOFF]
	add	x9, x8, #8
	stp	x9, x9, [x8, #8]
	str	xzr, [x8]
Lloh11:
	adrp	x8, _sun4c_kfree_ring@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sun4c_kfree_ring@GOTPAGEOFF]
	add	x9, x8, #8
	stp	x9, x9, [x8, #8]
	str	xzr, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SUN4C_MAX_CONTEXTS,4,2         ; @SUN4C_MAX_CONTEXTS
	.comm	_sun4c_context_ring,8,3         ; @sun4c_context_ring
	.comm	_sun4c_ufree_ring,24,3          ; @sun4c_ufree_ring
	.comm	_sun4c_ulru_ring,24,3           ; @sun4c_ulru_ring
	.comm	_sun4c_kernel_ring,24,3         ; @sun4c_kernel_ring
	.comm	_sun4c_kfree_ring,24,3          ; @sun4c_kfree_ring
	.no_dead_strip	_sun4c_init_rings
.subsections_via_symbols
