	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_yank                         ## -- Begin function v_yank
	.p2align	4, 0x90
_v_yank:                                ## @v_yank
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_VC_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	leaq	32(%r12), %rbx
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	leaq	16(%r12), %r15
	leaq	24(%r12), %r13
	movq	_VM_LMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	xorl	%r8d, %r8d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CUT_LINEMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_cut
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movl	24(%r12), %eax
	subl	16(%r12), %eax
	movq	(%r14), %rcx
	movq	_L_YANKED@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	leal	1(%rax,%rsi), %eax
	movl	%eax, (%rcx,%rdx,4)
	movl	8(%r12), %esi
	movq	_DBG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_db_get
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	_VM_LMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_6:
	movq	_VM_RCM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_CLR
	movq	_VM_RCM_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_SET
	movq	-48(%rbp), %rax
	movl	$0, %r15d
	cmpq	%rax, (%r12)
	jb	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	subq	$1, %rax
	movl	$0, %ecx
	cmovaeq	%rax, %rcx
	movq	%rcx, (%r12)
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_BUFFER,4,2                  ## @VC_BUFFER
	.comm	_VM_LMODE,4,2                   ## @VM_LMODE
	.comm	_CUT_LINEMODE,4,2               ## @CUT_LINEMODE
	.comm	_L_YANKED,8,3                   ## @L_YANKED
	.comm	_DBG_FATAL,4,2                  ## @DBG_FATAL
	.comm	_VM_RCM_MASK,4,2                ## @VM_RCM_MASK
	.comm	_VM_RCM_SET,4,2                 ## @VM_RCM_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_yank                         ; -- Begin function v_yank
	.p2align	2
_v_yank:                                ; @v_yank
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _VC_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	add	x8, x19, #32
	cmp	x0, #0
	csel	x21, xzr, x8, eq
	add	x22, x19, #16
	add	x23, x19, #24
Lloh3:
	adrp	x24, _VM_LMODE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _VM_LMODE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_F_ISSET
Lloh5:
	adrp	x8, _CUT_LINEMODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CUT_LINEMODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w4, wzr, w8, eq
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_cut
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #16]
	ldr	x10, [x20]
Lloh8:
	adrp	x11, _L_YANKED@GOTPAGE
Lloh9:
	ldr	x11, [x11, _L_YANKED@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	lsl	x11, x11, #2
	ldr	w12, [x10, x11]
	sub	w8, w8, w9
	add	w8, w8, w12
	add	w8, w8, #1
	str	w8, [x10, x11]
	ldr	w1, [x19, #8]
Lloh11:
	adrp	x8, _DBG_FATAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DBG_FATAL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	x3, #0
	bl	_db_get
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_F_ISSET
	cbnz	x0, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _VM_RCM_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VM_RCM_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_CLR
Lloh17:
	adrp	x8, _VM_RCM_SET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VM_RCM_SET@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	ldr	x9, [x19]
	ldr	x8, [sp, #8]
	cmp	x9, x8
	b.hs	LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	sub	x9, x8, #1
	cmp	x8, #0
	csel	x8, xzr, x9, eq
	str	x8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_BUFFER,4,2                  ; @VC_BUFFER
	.comm	_VM_LMODE,4,2                   ; @VM_LMODE
	.comm	_CUT_LINEMODE,4,2               ; @CUT_LINEMODE
	.comm	_L_YANKED,8,3                   ; @L_YANKED
	.comm	_DBG_FATAL,4,2                  ; @DBG_FATAL
	.comm	_VM_RCM_MASK,4,2                ; @VM_RCM_MASK
	.comm	_VM_RCM_SET,4,2                 ; @VM_RCM_SET
.subsections_via_symbols
