	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kring_pop                      ## -- Begin function kring_pop
	.p2align	4, 0x90
_kring_pop:                             ## @kring_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	jle	LBB0_2
## %bb.1:
	movl	8(%rdi), %eax
	incl	%eax
	movq	_RINGSIZE@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movl	%edx, 8(%rdi)
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	decq	%rcx
	movq	%rcx, (%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RINGSIZE,4,2                   ## @RINGSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kring_pop                      ; -- Begin function kring_pop
	.p2align	2
_kring_pop:                             ; @kring_pop
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	subs	x8, x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w9, [x0, #8]
	add	w9, w9, #1
Lloh0:
	adrp	x10, _RINGSIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RINGSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	str	w9, [x0, #8]
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	str	x9, [x0, #16]
	str	x8, [x0]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RINGSIZE,4,2                   ; @RINGSIZE
.subsections_via_symbols
