	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_xchar                        ## -- Begin function v_xchar
	.p2align	4, 0x90
_v_xchar:                               ## @v_xchar
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	20(%rsi), %esi
	leaq	-48(%rbp), %rcx
	leaq	-36(%rbp), %r8
	xorl	%edx, %edx
	callq	_db_eget
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$0, -36(%rbp)
	jne	LBB0_4
## %bb.2:
	movl	$1, %eax
	jmp	LBB0_13
LBB0_3:
	cmpq	$0, -48(%rbp)
	je	LBB0_4
## %bb.5:
	movq	_VC_C1SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movslq	(%rbx), %rax
	movq	8(%rbx), %rcx
	addq	%rcx, %rax
	decq	%rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_8
LBB0_4:
	movq	_M_BERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_msgq
	movl	$1, %eax
	jmp	LBB0_13
LBB0_6:
	movq	8(%rbx), %rax
LBB0_8:
	leaq	16(%rbx), %r15
	leaq	8(%rbx), %r12
	movq	-48(%rbp), %rcx
	decq	%rcx
	cmpq	%rcx, %rax
	jae	LBB0_9
## %bb.10:
	movl	(%r15), %eax
	jmp	LBB0_11
LBB0_9:
	movq	%rcx, (%r12)
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	subl	$1, %eax
	cmovbl	%ecx, %eax
LBB0_11:
	movl	%eax, 28(%rbx)
	movq	_VC_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	addq	$24, %rbx
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_cut
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_del
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_BERR,4,2                     ## @M_BERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"206|No characters to delete"

	.comm	_VC_C1SET,4,2                   ## @VC_C1SET
	.comm	_VC_BUFFER,4,2                  ## @VC_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_xchar                        ; -- Begin function v_xchar
	.p2align	2
_v_xchar:                               ; @v_xchar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w1, [x1, #20]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x2, #0
	bl	_db_eget
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_5
	b	LBB0_11
LBB0_2:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _VC_C1SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_C1SET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	cbz	x0, LBB0_6
; %bb.4:
	ldrsw	x8, [x20]
	ldr	x9, [x20, #8]
	add	x8, x8, x9
	sub	x8, x8, #1
	str	x8, [x20, #8]
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _M_BERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_BERR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msgq
	mov	w0, #1
	b	LBB0_13
LBB0_6:
	ldr	x8, [x20, #8]
LBB0_7:
	add	x21, x20, #16
	add	x22, x20, #8
	ldr	x9, [sp, #8]
	sub	x9, x9, #1
	cmp	x8, x9
	b.hs	LBB0_9
; %bb.8:
	ldr	w8, [x21]
	b	LBB0_10
LBB0_9:
	str	x9, [x22]
	ldr	w8, [x21]
	sub	w9, w8, #1
	cmp	w8, #0
	csel	w8, wzr, w9, eq
LBB0_10:
	str	w8, [x20, #28]
Lloh8:
	adrp	x8, _VC_BUFFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_BUFFER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	add	x8, x20, #24
	cmp	x0, #0
	csel	x1, xzr, x8, eq
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	w4, #0
	bl	_cut
	cbz	x0, LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_del
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_M_BERR,4,2                     ; @M_BERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"206|No characters to delete"

	.comm	_VC_C1SET,4,2                   ; @VC_C1SET
	.comm	_VC_BUFFER,4,2                  ; @VC_BUFFER
.subsections_via_symbols
