	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_emark                        ## -- Begin function v_emark
	.p2align	4, 0x90
_v_emark:                               ## @v_emark
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_HMAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rsi), %rcx
	leaq	(%rax,%rcx,8), %rdx
	movq	_TMAP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jbe	LBB0_2
## %bb.1:
	movq	_M_BERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_msgq
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	4(%rax,%rcx,8), %esi
	movl	%esi, 20(%rbx)
	movslq	(%rax,%rcx,8), %rax
	decq	%rax
	movslq	(%r14), %rdx
	imulq	%rax, %rdx
	addq	8(%rbx), %rdx
	movq	%r14, %rdi
	callq	_vs_colpos
	movl	%eax, 16(%rbx)
	movq	_BQMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mark                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HMAP,8,3                       ## @HMAP
	.comm	_TMAP,8,3                       ## @TMAP
	.comm	_M_BERR,4,2                     ## @M_BERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"320|Unknown cursor position."

	.comm	_BQMARK,4,2                     ## @BQMARK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_emark                        ; -- Begin function v_emark
	.p2align	2
_v_emark:                               ; @v_emark
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _HMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HMAP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x9, [x1]
	add	x8, x8, x9, lsl #3
Lloh3:
	adrp	x9, _TMAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMAP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _M_BERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_BERR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msgq
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	ldp	w8, w1, [x8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	str	w1, [x20, #20]
	ldr	x9, [x20, #8]
	sub	x8, x8, #1
	ldrsw	x10, [x19]
	madd	x2, x8, x10, x9
	mov	x0, x19
	bl	_vs_colpos
Lloh11:
	adrp	x8, _BQMARK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BQMARK@GOTPAGEOFF]
	str	w0, [x20, #16]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mark
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HMAP,8,3                       ; @HMAP
	.comm	_TMAP,8,3                       ; @TMAP
	.comm	_M_BERR,4,2                     ; @M_BERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"320|Unknown cursor position."

	.comm	_BQMARK,4,2                     ; @BQMARK
.subsections_via_symbols
