	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vs_sm_cursor                   ## -- Begin function vs_sm_cursor
	.p2align	4, 0x90
_vs_sm_cursor:                          ## @vs_sm_cursor
	.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, %r14
	movq	(%rdi), %rcx
	movq	_HMAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rsi
	movl	$1, %r15d
	cmpq	%rsi, %rcx
	jl	LBB0_13
## %bb.1:
	movq	_TMAP@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	(%rax), %rcx
	jg	LBB0_13
## %bb.2:
	movq	%rdi, %r12
	cmpq	%rcx, %rsi
	jne	LBB0_4
## %bb.3:
	movq	%rdx, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	16(%rdx), %rbx
	cmpq	%rcx, 16(%rdx)
	movq	%rbx, %rdx
	jne	LBB0_4
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rax, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_SMAP_CACHE
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_vs_line
	testq	%rax, %rax
	jne	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	cmpq	8(%r12), %rax
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %rbx
	movq	(%r13), %rax
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rbx
	jbe	LBB0_6
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, (%r14)
	xorl	%r15d, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HMAP,8,3                       ## @HMAP
	.comm	_TMAP,8,3                       ## @TMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vs_sm_cursor                   ; -- Begin function vs_sm_cursor
	.p2align	2
_vs_sm_cursor:                          ; @vs_sm_cursor
	.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
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _HMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HMAP@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.lt	LBB0_11
; %bb.1:
Lloh3:
	adrp	x22, _TMAP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TMAP@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x11, [x8]
	cmp	x9, x11
	b.gt	LBB0_11
; %bb.2:
	mov	x19, x1
	mov	x20, x0
	cmp	x10, x9
	b.eq	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #16]!
	cmp	x10, x9
	b.ne	LBB0_3
LBB0_4:
	cmp	x21, x8
	b.hi	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_SMAP_CACHE
	cbnz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	bl	_vs_line
	cbnz	x0, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ge	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #16
	ldr	x8, [x22]
	cmp	x21, x8
	b.ls	LBB0_5
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
LBB0_13:
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HMAP,8,3                       ; @HMAP
	.comm	_TMAP,8,3                       ; @TMAP
.subsections_via_symbols
