	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rotate_kill_ring
_rotate_kill_ring:                      ## @rotate_kill_ring
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_enable_yank_pop@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_I@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	callq	_r_list_get_n
	movl	%eax, %edi
	callq	_strlen
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rdx
	subq	%rax, %rcx
	movq	%rcx, 24(%rbx)
	movq	$0, (%rdx,%rcx,8)
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	leaq	-1(%rax), %rsi
	movq	%rsi, (%rbx)
	testq	%rax, %rax
	jg	LBB0_3
## %bb.2:
	movq	(%rdi), %rsi
	decq	%rsi
	movq	%rsi, (%rbx)
LBB0_3:
	callq	_r_list_get_n
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_paste                          ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enable_yank_pop,8,3            ## @enable_yank_pop
	.comm	_I,40,3                         ## @I
	.no_dead_strip	_rotate_kill_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rotate_kill_ring
_rotate_kill_ring:                      ; @rotate_kill_ring
	.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	x8, _enable_yank_pop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enable_yank_pop@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x19, _I@GOTPAGE
Lloh4:
	ldr	x19, [x19, _I@GOTPAGEOFF]
	ldp	x1, x0, [x19]
	bl	_r_list_get_n
	bl	_strlen
	ldp	x8, x9, [x19, #24]
	sub	x8, x8, x0
	str	x8, [x19, #24]
	str	xzr, [x9, x8, lsl #3]
	ldp	x8, x0, [x19]
	sub	x1, x8, #1
	str	x1, [x19]
	cmp	x8, #0
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x0]
	sub	x1, x8, #1
	str	x1, [x19]
LBB0_3:
	bl	_r_list_get_n
	str	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_paste
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_enable_yank_pop,8,3            ; @enable_yank_pop
	.comm	_I,40,3                         ; @I
	.no_dead_strip	_rotate_kill_ring
.subsections_via_symbols
