	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function v_action
LCPI0_0:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	3                               ## 0x3
	.quad	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_v_action:                              ## @v_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ActionFlag@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TCSHOP_DELETE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_19
## %bb.1:
	movq	_TCSHOP_NOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_ActionPos@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_UndoSize@GOTPCREL(%rip), %r8
	movq	$0, (%r8)
	movq	_InputBuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LastChar@GOTPCREL(%rip), %r9
	movq	(%r9), %r15
	cmpq	%r15, %rax
	jae	LBB0_17
## %bb.2:
	movq	_UndoBuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leaq	4(%rax), %rcx
	cmpq	%rcx, %r15
	cmovaq	%r15, %rcx
	movq	%rax, %r14
	notq	%r14
	addq	%rcx, %r14
	xorl	%ebx, %ebx
	cmpq	$12, %r14
	jb	LBB0_3
## %bb.4:
	movq	%rdx, %rcx
	subq	%rax, %rcx
	cmpq	$16, %rcx
	jb	LBB0_5
## %bb.6:
	shrq	$2, %r14
	incq	%r14
	movq	%r14, %r10
	andq	$-4, %r10
	leaq	-4(%r10), %rcx
	movq	%rcx, %r11
	shrq	$2, %r11
	incq	%r11
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.8:
	movabsq	$9223372036854775804, %rcx      ## imm = 0x7FFFFFFFFFFFFFFC
	addq	$2, %rcx
	andq	%r11, %rcx
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm4            ## xmm4 = [2,2]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm3
	movdqa	%xmm0, %xmm2
	movups	(%rax,%rbx,4), %xmm5
	movups	%xmm5, (%rdx,%rbx,4)
	movups	16(%rax,%rbx,4), %xmm5
	movups	%xmm5, 16(%rdx,%rbx,4)
	paddq	%xmm4, %xmm0
	paddq	%xmm4, %xmm1
	addq	$8, %rbx
	addq	$-2, %rcx
	jne	LBB0_9
## %bb.10:
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [3,3]
	paddq	%xmm4, %xmm2
	paddq	%xmm4, %xmm3
	testb	$1, %r11b
	je	LBB0_13
LBB0_12:
	movups	(%rax,%rbx,4), %xmm0
	movups	%xmm0, (%rdx,%rbx,4)
	movdqa	%xmm2, %xmm0
	movdqa	%xmm3, %xmm1
LBB0_13:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rbx
	cmpq	%r10, %r14
	je	LBB0_16
## %bb.14:
	leaq	(%rdx,%r10,4), %rdx
	leaq	(%rax,%r10,4), %rcx
	jmp	LBB0_15
LBB0_19:
	movq	_Cursor@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ActionPos@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	%edi, (%rax)
	movq	_CC_ARGHACK@GOTPCREL(%rip), %rbx
	jmp	LBB0_20
LBB0_3:
	movq	%rax, %rcx
	jmp	LBB0_15
LBB0_5:
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	movl	%esi, (%rdx)
	addq	$4, %rdx
	incq	%rbx
	addq	$4, %rcx
	cmpq	%r15, %rcx
	jb	LBB0_15
LBB0_16:
	movq	%rbx, (%r8)
LBB0_17:
	movq	_TCSHOP_INSERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_UndoAction@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_UndoPtr@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	%rax, (%r9)
	movq	_Cursor@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	_CC_REFRESH@GOTPCREL(%rip), %rbx
	testl	%edi, %ecx
	je	LBB0_20
## %bb.18:
	xorl	%edi, %edi
	callq	_c_alternativ_key_map
LBB0_20:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [1,1]
	xorl	%ebx, %ebx
                                        ## implicit-def: $xmm0
                                        ## implicit-def: $xmm1
	movdqa	%xmm2, %xmm3
	testb	$1, %r11b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ActionFlag,4,2                 ## @ActionFlag
	.comm	_TCSHOP_DELETE,4,2              ## @TCSHOP_DELETE
	.comm	_TCSHOP_NOP,4,2                 ## @TCSHOP_NOP
	.comm	_ActionPos,8,3                  ## @ActionPos
	.comm	_UndoSize,8,3                   ## @UndoSize
	.comm	_UndoBuf,8,3                    ## @UndoBuf
	.comm	_InputBuf,8,3                   ## @InputBuf
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_TCSHOP_INSERT,4,2              ## @TCSHOP_INSERT
	.comm	_UndoAction,4,2                 ## @UndoAction
	.comm	_UndoPtr,8,3                    ## @UndoPtr
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_CC_REFRESH,4,2                 ## @CC_REFRESH
	.comm	_CC_ARGHACK,4,2                 ## @CC_ARGHACK
	.comm	_CC_ERROR,4,2                   ## @CC_ERROR
	.no_dead_strip	_v_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_action
_v_action:                              ; @v_action
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _ActionFlag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ActionFlag@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _TCSHOP_DELETE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TCSHOP_DELETE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.1:
Lloh5:
	adrp	x9, _TCSHOP_NOP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TCSHOP_NOP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _ActionPos@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ActionPos@GOTPAGEOFF]
	str	w9, [x8]
Lloh10:
	str	xzr, [x10]
Lloh11:
	adrp	x10, _UndoSize@GOTPAGE
Lloh12:
	ldr	x10, [x10, _UndoSize@GOTPAGEOFF]
Lloh13:
	adrp	x8, _InputBuf@GOTPAGE
Lloh14:
	ldr	x8, [x8, _InputBuf@GOTPAGEOFF]
	str	xzr, [x10]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _LastChar@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LastChar@GOTPAGEOFF]
	ldr	x11, [x9]
	cmp	x8, x11
	b.hs	LBB0_11
; %bb.2:
	mov	x16, #0
Lloh18:
	adrp	x12, _UndoBuf@GOTPAGE
Lloh19:
	ldr	x12, [x12, _UndoBuf@GOTPAGEOFF]
Lloh20:
	ldr	x13, [x12]
	add	x12, x8, #4
	cmp	x11, x12
	csel	x12, x11, x12, hi
	mvn	x14, x8
	add	x14, x12, x14
	cmp	x14, #28
	b.lo	LBB0_8
; %bb.3:
	sub	x15, x13, x8
	mov	x12, x8
	cmp	x15, #32
	b.lo	LBB0_9
; %bb.4:
	lsr	x12, x14, #2
	add	x14, x12, #1
	and	x15, x14, #0x7ffffffffffffff8
	lsl	x12, x15, #2
	add	x17, x13, x12
	add	x12, x8, x12
	add	x13, x13, #16
	add	x16, x8, #16
	movi.2d	v0, #0000000000000000
	mov	w1, #1
	dup.2d	v1, x1
	mov	x1, x15
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q5, [x16, #-16]
	ldp	d6, d7, [x16], #32
	stur	q5, [x13, #-16]
	stp	d6, d7, [x13], #32
	add.2d	v0, v0, v1
	add.2d	v2, v2, v1
	add.2d	v3, v3, v1
	add.2d	v4, v4, v1
	subs	x1, x1, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	add.2d	v0, v4, v0
	addp.2d	d0, v0
	fmov	x16, d0
	mov	x13, x17
	cmp	x14, x15
	b.ne	LBB0_9
	b	LBB0_10
LBB0_7:
Lloh21:
	adrp	x9, _Cursor@GOTPAGE
Lloh22:
	ldr	x9, [x9, _Cursor@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _ActionPos@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ActionPos@GOTPAGEOFF]
Lloh26:
	str	x9, [x10]
	str	w0, [x8]
Lloh27:
	adrp	x8, _CC_ARGHACK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CC_ARGHACK@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	mov	x12, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x12], #4
	str	w14, [x13], #4
	add	x16, x16, #1
	cmp	x12, x11
	b.lo	LBB0_9
LBB0_10:
	str	x16, [x10]
LBB0_11:
Lloh29:
	adrp	x10, _TCSHOP_INSERT@GOTPAGE
Lloh30:
	ldr	x10, [x10, _TCSHOP_INSERT@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _UndoAction@GOTPAGE
Lloh33:
	ldr	x11, [x11, _UndoAction@GOTPAGEOFF]
Lloh34:
	str	w10, [x11]
Lloh35:
	adrp	x11, _UndoPtr@GOTPAGE
Lloh36:
	ldr	x11, [x11, _UndoPtr@GOTPAGEOFF]
Lloh37:
	str	x8, [x11]
	str	x8, [x9]
Lloh38:
	adrp	x9, _Cursor@GOTPAGE
Lloh39:
	ldr	x9, [x9, _Cursor@GOTPAGEOFF]
Lloh40:
	str	x8, [x9]
	tst	w10, w0
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #0
	bl	_c_alternativ_key_map
LBB0_13:
Lloh41:
	adrp	x8, _CC_REFRESH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CC_REFRESH@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ActionFlag,4,2                 ; @ActionFlag
	.comm	_TCSHOP_DELETE,4,2              ; @TCSHOP_DELETE
	.comm	_TCSHOP_NOP,4,2                 ; @TCSHOP_NOP
	.comm	_ActionPos,8,3                  ; @ActionPos
	.comm	_UndoSize,8,3                   ; @UndoSize
	.comm	_UndoBuf,8,3                    ; @UndoBuf
	.comm	_InputBuf,8,3                   ; @InputBuf
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_TCSHOP_INSERT,4,2              ; @TCSHOP_INSERT
	.comm	_UndoAction,4,2                 ; @UndoAction
	.comm	_UndoPtr,8,3                    ; @UndoPtr
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_CC_REFRESH,4,2                 ; @CC_REFRESH
	.comm	_CC_ARGHACK,4,2                 ; @CC_ARGHACK
	.comm	_CC_ERROR,4,2                   ; @CC_ERROR
	.no_dead_strip	_v_action
.subsections_via_symbols
