	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_move_lines                     ## -- Begin function move_lines
	.p2align	4, 0x90
_move_lines:                            ## @move_lines
	.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	%rdi, %r14
	movq	_second_addr@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_addr_last@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_INC_MOD
	movq	%rax, %r15
	movq	_first_addr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	decq	%rbx
	movq	(%r12), %r12
	xorl	%eax, %eax
	callq	_SPL1
	cmpq	%r14, %rbx
	je	LBB0_2
## %bb.1:
	cmpq	%r14, %r12
	je	LBB0_2
## %bb.3:
	movq	_UMOV@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_push_undo_stack
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r12), %r12d
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_INC_MOD
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_push_undo_stack
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	_get_addressed_line_node
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_first_addr@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	cmpq	%r14, %rax
	jle	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %r15
	jmp	LBB0_9
LBB0_2:
	movq	%r15, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %r15
	movq	_second_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
	callq	_SPL0
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_get_addressed_line_node
	movq	%rax, %rbx
LBB0_9:
	movq	(%r15), %r12
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_REQUE
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rdi
	movq	%r12, %rsi
	callq	_REQUE
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_REQUE
	movq	_first_addr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_second_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%rcx, %rdx
	incq	%rdx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	cmovgq	%rdx, %rax
	addq	%r14, %rax
LBB0_10:
	movq	_current_addr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_isglobal@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	(%r15), %rdi
	movq	%r12, %rsi
	callq	_unset_active_nodes
LBB0_12:
	movq	_modified@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_SPL0
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_second_addr,8,3                ## @second_addr
	.comm	_addr_last,4,2                  ## @addr_last
	.comm	_first_addr,4,2                 ## @first_addr
	.comm	_current_addr,8,3               ## @current_addr
	.comm	_UMOV,4,2                       ## @UMOV
	.comm	_ERR,4,2                        ## @ERR
	.comm	_isglobal,8,3                   ## @isglobal
	.comm	_modified,4,2                   ## @modified
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_move_lines                     ; -- Begin function move_lines
	.p2align	2
_move_lines:                            ; @move_lines
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x24, _second_addr@GOTPAGE
Lloh1:
	ldr	x24, [x24, _second_addr@GOTPAGEOFF]
	ldr	x0, [x24]
Lloh2:
	adrp	x23, _addr_last@GOTPAGE
Lloh3:
	ldr	x23, [x23, _addr_last@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_INC_MOD
	mov	x21, x0
Lloh4:
	adrp	x25, _first_addr@GOTPAGE
Lloh5:
	ldr	x25, [x25, _first_addr@GOTPAGEOFF]
	ldrsw	x8, [x25]
	sub	x20, x8, #1
	ldr	x22, [x24]
	bl	_SPL1
	cmp	x20, x19
	ccmp	x22, x19, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_get_addressed_line_node
	mov	x22, x0
	mov	x0, x20
	bl	_get_addressed_line_node
	mov	x21, x0
	ldr	x8, [x24]
	b	LBB0_9
LBB0_2:
Lloh6:
	adrp	x22, _UMOV@GOTPAGE
Lloh7:
	ldr	x22, [x22, _UMOV@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x21
	bl	_push_undo_stack
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w22, [x22]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_INC_MOD
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_push_undo_stack
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_get_addressed_line_node
	mov	x23, x0
	ldrsw	x8, [x25]
	cmp	x8, x19
	b.le	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_get_addressed_line_node
	mov	x20, x0
	mov	x0, x19
	bl	_get_addressed_line_node
	mov	x21, x0
	b	LBB0_8
LBB0_6:
	bl	_SPL0
Lloh8:
	adrp	x8, _ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_get_addressed_line_node
	mov	x21, x0
	mov	x0, x20
	bl	_get_addressed_line_node
	mov	x20, x0
LBB0_8:
	ldr	x22, [x21]
	ldr	x1, [x20]
	mov	x0, x21
	bl	_REQUE
	ldr	x0, [x23, #8]
	mov	x1, x22
	bl	_REQUE
	mov	x0, x20
	mov	x1, x23
	bl	_REQUE
	ldrsw	x8, [x25]
	ldr	x9, [x24]
	sub	x9, x9, x8
	cmp	x8, x19
	csinc	x8, xzr, x9, le
	add	x8, x8, x19
LBB0_9:
Lloh11:
	adrp	x9, _current_addr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _current_addr@GOTPAGEOFF]
Lloh13:
	str	x8, [x9]
Lloh14:
	adrp	x8, _isglobal@GOTPAGE
Lloh15:
	ldr	x8, [x8, _isglobal@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x0, [x21]
	mov	x1, x22
	bl	_unset_active_nodes
LBB0_11:
Lloh17:
	adrp	x8, _modified@GOTPAGE
Lloh18:
	ldr	x8, [x8, _modified@GOTPAGEOFF]
	mov	w9, #1
Lloh19:
	str	w9, [x8]
	bl	_SPL0
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_second_addr,8,3                ; @second_addr
	.comm	_addr_last,4,2                  ; @addr_last
	.comm	_first_addr,4,2                 ; @first_addr
	.comm	_current_addr,8,3               ; @current_addr
	.comm	_UMOV,4,2                       ; @UMOV
	.comm	_ERR,4,2                        ; @ERR
	.comm	_isglobal,8,3                   ; @isglobal
	.comm	_modified,4,2                   ; @modified
.subsections_via_symbols
