	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cv_action
_cv_action:                             ## @cv_action
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_NOP@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_1
## %bb.9:
	movq	16(%rbx), %rax
	movq	%rax, 8(%rbx)
	movl	%r14d, (%rbx)
	movq	_CC_ARGHACK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	cmpl	%r14d, %eax
	jne	LBB0_2
## %bb.3:
	movq	_YANK@GOTPCREL(%rip), %r12
	testl	%r14d, (%r12)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_cv_undo
LBB0_5:
	movq	24(%rbx), %rsi
	movl	32(%rbx), %edx
	subl	%esi, %edx
	movq	%rbx, %rdi
	callq	_cv_yank
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
	testl	%r14d, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	24(%rbx), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 16(%rbx)
LBB0_7:
	movq	_INSERT@GOTPCREL(%rip), %rcx
	movq	_CC_REFRESH@GOTPCREL(%rip), %rax
	testl	%r14d, (%rcx)
	je	LBB0_10
## %bb.8:
	movl	40(%rbx), %ecx
	movl	%ecx, 44(%rbx)
	jmp	LBB0_10
LBB0_2:
	movq	_CC_ERROR@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOP,4,2                        ## @NOP
	.comm	_CC_ERROR,4,2                   ## @CC_ERROR
	.comm	_YANK,4,2                       ## @YANK
	.comm	_INSERT,4,2                     ## @INSERT
	.comm	_CC_REFRESH,4,2                 ## @CC_REFRESH
	.comm	_CC_ARGHACK,4,2                 ## @CC_ARGHACK
	.no_dead_strip	_cv_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cv_action
_cv_action:                             ; @cv_action
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _NOP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NOP@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	str	x8, [x19, #8]
	str	w20, [x19]
Lloh2:
	adrp	x8, _CC_ARGHACK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CC_ARGHACK@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.3:
Lloh4:
	adrp	x22, _YANK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _YANK@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_cv_undo
LBB0_5:
	ldr	x1, [x19, #24]
	ldr	w8, [x19, #32]
	sub	w2, w8, w1
	mov	x0, x19
	bl	_cv_yank
	ldr	w8, [x21]
	str	w8, [x19]
	str	xzr, [x19, #8]
	ldr	w8, [x22]
	tst	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #24]
	str	x8, [x19, #32]
	str	x8, [x19, #16]
LBB0_7:
Lloh6:
	adrp	x8, _INSERT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INSERT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #40]
	str	w8, [x19, #44]
LBB0_9:
Lloh9:
	adrp	x8, _CC_REFRESH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CC_REFRESH@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _CC_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CC_ERROR@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NOP,4,2                        ; @NOP
	.comm	_CC_ERROR,4,2                   ; @CC_ERROR
	.comm	_YANK,4,2                       ; @YANK
	.comm	_INSERT,4,2                     ; @INSERT
	.comm	_CC_REFRESH,4,2                 ; @CC_REFRESH
	.comm	_CC_ARGHACK,4,2                 ; @CC_ARGHACK
	.no_dead_strip	_cv_action
.subsections_via_symbols
