	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vs_sm_delete
_vs_sm_delete:                          ## @vs_sm_delete
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_HMAP@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	8(%r13), %rax
	movq	%r13, %rcx
	notq	%rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	movq	%rax, %r12
	movq	%rcx, %r14
	addq	$8, %r13
	addq	$8, %rax
	addq	$-8, %rcx
	cmpq	%r15, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_O_LEFTRIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_O_ISSET
	movl	$1, %edx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_TMAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r13
	ja	LBB0_7
## %bb.4:
	movl	$1, %edx
	movq	%r13, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, (%rcx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	addq	$8, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_5
LBB0_7:
	movq	%rdx, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	callq	_HANDLE_WEIRDNESS
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	%rbx, %rsi
	movq	_HMAP@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rsi
	shrq	$3, %rsi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	callq	*(%rax)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %r15
	callq	_vs_deleteln
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	%r15, %rcx
	leaq	(%rbx,%r15,8), %rsi
	leaq	(,%r15,8), %r15
	movq	_TMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rbx,%rcx,8), %ecx
	negl	%ecx
	leal	(%rax,%rcx), %edx
	addl	$8, %edx
	andl	$-8, %edx
	movq	%rbx, %rdi
	callq	_memmove
	movq	%r15, %rcx
	movq	_TMAP@GOTPCREL(%rip), %rax
	movq	%rax, %r9
	movq	(%rax), %rax
	movq	%rax, %r15
	subq	%rcx, %r15
	cmpq	%r15, %rbx
	ja	LBB0_19
## %bb.10:
	movq	%rax, %rsi
	subq	%rcx, %rsi
	incq	%rsi
	leaq	8(%rbx), %rdx
	cmpq	%rdx, %rsi
	cmovaq	%rsi, %rdx
	movq	%rbx, %rcx
	notq	%rcx
	addq	%rdx, %rcx
	cmpq	$24, %rcx
	jb	LBB0_18
## %bb.11:
	shrq	$3, %rcx
	incq	%rcx
	movq	%rcx, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.12:
	cmpq	%rsi, %r12
	cmovaq	%r12, %rsi
	addq	%r14, %rsi
	shrq	$3, %rsi
	incq	%rsi
	andq	$-4, %rsi
	addq	$-4, %rsi
	shrq	$2, %rsi
	incq	%rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	pcmpeqd	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-8(%r13,%rdx,8), %xmm1
	movdqu	8(%r13,%rdx,8), %xmm2
	movdqu	24(%r13,%rdx,8), %xmm3
	movdqu	40(%r13,%rdx,8), %xmm4
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, -8(%r13,%rdx,8)
	movdqu	%xmm2, 8(%r13,%rdx,8)
	paddq	%xmm0, %xmm3
	paddq	%xmm0, %xmm4
	movdqu	%xmm3, 24(%r13,%rdx,8)
	movdqu	%xmm4, 40(%r13,%rdx,8)
	addq	$8, %rdx
	addq	$-2, %rsi
	jne	LBB0_13
## %bb.14:
	testb	$1, %dil
	je	LBB0_16
LBB0_15:
	movdqu	(%rbx,%rdx,8), %xmm0
	movdqu	16(%rbx,%rdx,8), %xmm1
	pcmpeqd	%xmm2, %xmm2
	paddq	%xmm2, %xmm0
	paddq	%xmm2, %xmm1
	movdqu	%xmm0, (%rbx,%rdx,8)
	movdqu	%xmm1, 16(%rbx,%rdx,8)
LBB0_16:
	cmpq	%r8, %rcx
	je	LBB0_19
## %bb.17:
	leaq	(%rbx,%r8,8), %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	decq	(%rbx)
	addq	$8, %rbx
	cmpq	%r15, %rbx
	jbe	LBB0_18
LBB0_19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r9, %r14
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r15
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	8(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_vs_sm_next
	testq	%rax, %rax
	jne	LBB0_26
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	addq	$8, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_vs_line
	testq	%rax, %rax
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r14), %rax
	cmpq	%rax, %r15
	jne	LBB0_20
## %bb.24:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_26:
	movl	$1, %ecx
LBB0_8:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	xorl	%edx, %edx
	testb	$1, %dil
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_HMAP,8,3                       ## @HMAP
	.comm	_O_LEFTRIGHT,4,2                ## @O_LEFTRIGHT
	.comm	_TMAP,8,3                       ## @TMAP
	.no_dead_strip	_vs_sm_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vs_sm_delete
_vs_sm_delete:                          ; @vs_sm_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	mov	x23, #0
Lloh0:
	adrp	x21, _HMAP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HMAP@GOTPAGEOFF]
	ldr	x24, [x21]
	mov	w8, #7
	sub	x26, x8, x24
	mov	w25, #8
	mov	x27, x24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, x23]
	add	x27, x27, #8
	add	x23, x23, #8
	sub	x26, x26, #8
	sub	x25, x25, #8
	cmp	x8, x20
	b.ne	LBB0_1
; %bb.2:
Lloh2:
	adrp	x8, _O_LEFTRIGHT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_LEFTRIGHT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	add	x28, x24, x23
	cbz	x0, LBB0_4
; %bb.3:
	mov	w22, #1
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x8, _TMAP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TMAP@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	mov	w22, #1
	cmp	x28, x8
	b.hi	LBB0_8
; %bb.5:
	mov	x9, x28
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x20
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x9, x9, #8
	cmp	x9, x8
	b.ls	LBB0_6
LBB0_8:
	mov	x0, x22
	bl	_HANDLE_WEIRDNESS
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x21]
	sub	x9, x24, x9
	add	x9, x9, x23
	sub	x9, x9, #8
	lsr	x1, x9, #3
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #0
	blr	x8
	mov	x0, x19
	mov	x1, x22
	bl	_vs_deleteln
	cbz	x0, LBB0_11
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	sub	x21, x28, #8
	lsl	x20, x22, #3
	add	x8, x24, x20
	add	x8, x8, x23
	sub	x1, x8, #8
Lloh8:
	adrp	x28, _TMAP@GOTPAGE
Lloh9:
	ldr	x28, [x28, _TMAP@GOTPAGEOFF]
	ldr	w8, [x28]
	add	w9, w24, w22, lsl #3
	sub	w8, w8, w9
	sub	w8, w8, w23
	add	w8, w8, #16
	and	w2, w8, #0xfffffff8
	mov	x0, x21
	bl	_memmove
	ldr	x8, [x28]
	sub	x20, x8, x20
	cmp	x21, x20
	b.hi	LBB0_17
; %bb.12:
	sub	x9, x8, x22, lsl #3
	add	x12, x9, #1
	cmp	x27, x12
	csinc	x9, x27, x9, hi
	sub	x9, x9, x24
	sub	x9, x9, x23
	add	x10, x9, #7
	cmp	x10, #56
	b.lo	LBB0_16
; %bb.13:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x9, x9, #24
	lsr	x10, x10, #3
	add	x10, x10, #1
	and	x11, x10, #0x3ffffffffffffff8
	cmp	x27, x12
	csel	x12, x27, x12, hi
	add	x13, x12, x26
	and	x13, x13, #0xfffffffffffffff8
	add	x13, x13, #8
	and	x13, x13, #0xffffffffffffffc0
	add	x13, x24, x13
	sub	x21, x13, x25
	sub	x12, x12, x24
	sub	x12, x12, x23
	add	x12, x12, #7
	lsr	x12, x12, #3
	add	x12, x12, #1
	and	x12, x12, #0x3ffffffffffffff8
	movi.2d	v0, #0xffffffffffffffff
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-32]
	ldp	q3, q4, [x9]
	add.2d	v1, v1, v0
	add.2d	v2, v2, v0
	add.2d	v3, v3, v0
	add.2d	v4, v4, v0
	stp	q1, q2, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x12, x12, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x10, x11
	b.eq	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	sub	x9, x9, #1
	str	x9, [x21], #8
	cmp	x21, x20
	b.ls	LBB0_16
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	cmp	x20, x8
	b.hs	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x2, x20, #8
	mov	x0, x19
	mov	x1, x20
	bl	_vs_sm_next
	cbnz	x0, LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x20, x20, #8
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_vs_line
	cbnz	x0, LBB0_9
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x28]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.21:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HMAP,8,3                       ; @HMAP
	.comm	_O_LEFTRIGHT,4,2                ; @O_LEFTRIGHT
	.comm	_TMAP,8,3                       ; @TMAP
	.no_dead_strip	_vs_sm_delete
.subsections_via_symbols
