	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vs_sm_nlines                   ## -- Begin function vs_sm_nlines
	.p2align	4, 0x90
_vs_sm_nlines:                          ## @vs_sm_nlines
	.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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_O_LEFTRIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_O_ISSET
	movq	(%r13), %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rax
	subq	%r12, %rax
	negq	%rax
	subq	%r12, %rbx
	cmovleq	%rax, %rbx
	movq	%rbx, %rax
	jmp	LBB0_14
LBB0_2:
	cmpq	%r12, %rbx
	jne	LBB0_4
## %bb.3:
	movq	8(%r13), %rax
	decq	%rax
	jmp	LBB0_14
LBB0_4:
	jle	LBB0_9
## %bb.5:
	movq	8(%r13), %rax
	decq	%rax
	cmpq	%r14, %rax
	ja	LBB0_14
## %bb.6:
	decq	%rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_vs_screens
	cltq
	addq	%r13, %rax
	cmpq	%r12, %rbx
	jle	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	decq	%rbx
	cmpq	%r14, %rax
	jbe	LBB0_7
	jmp	LBB0_14
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_vs_screens
	cltq
	subq	8(%r13), %rax
	incq	%rax
	leaq	1(%rbx), %rcx
	cmpq	%r12, %rcx
	jge	LBB0_14
## %bb.10:
	cmpq	%r14, %rax
	ja	LBB0_14
## %bb.11:
	addq	$2, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	leaq	-1(%rbx), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_vs_screens
	cltq
	addq	%r13, %rax
	cmpq	%r12, %rbx
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	cmpq	%r14, %rax
	jbe	LBB0_12
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_LEFTRIGHT,4,2                ## @O_LEFTRIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vs_sm_nlines                   ; -- Begin function vs_sm_nlines
	.p2align	2
_vs_sm_nlines:                          ; @vs_sm_nlines
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _O_LEFTRIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_LEFTRIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_O_ISSET
	ldr	x23, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	sub	x8, x19, x23
	subs	x9, x23, x19
	csel	x22, x9, x8, gt
	b	LBB0_4
LBB0_2:
	cmp	x23, x19
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x22, #8]
	sub	x22, x8, #1
LBB0_4:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	b.le	LBB0_10
; %bb.6:
	ldr	x8, [x22, #8]
	sub	x22, x8, #1
	cmp	x22, x20
	b.hi	LBB0_4
; %bb.7:
	sub	x23, x23, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, #0
	bl	_vs_screens
	add	x22, x22, w0, sxtw
	cmp	x23, x19
	b.le	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x23, x23, #1
	cmp	x22, x20
	b.ls	LBB0_8
	b	LBB0_4
LBB0_10:
	mov	x0, x21
	mov	x1, x23
	mov	x2, #0
	bl	_vs_screens
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x9, [x22, #8]
	sub	x8, x8, x9
	add	x22, x8, #1
	add	x8, x23, #1
	cmp	x8, x19
	ccmp	x22, x20, #2, lt
	b.hi	LBB0_4
; %bb.11:
	add	x23, x23, #2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	x1, x23, #1
	mov	x0, x21
	mov	x2, #0
	bl	_vs_screens
	add	x22, x22, w0, sxtw
	cmp	x23, x19
	b.ge	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	cmp	x22, x20
	b.ls	LBB0_12
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_O_LEFTRIGHT,4,2                ; @O_LEFTRIGHT
.subsections_via_symbols
