	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pop_undo_stack                 ## -- Begin function pop_undo_stack
	.p2align	4, 0x90
_pop_undo_stack:                        ## @pop_undo_stack
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_u_current_addr@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_u_addr_last@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_current_addr@GOTPCREL(%rip), %rdx
	movq	_addr_last@GOTPCREL(%rip), %rcx
	movq	_u_p@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_modified@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_5:
	movq	(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_get_addressed_line_node
	xorl	%eax, %eax
	callq	_SPL1
	movq	(%rbx), %r13
	testq	%r13, %r13
	jle	LBB0_16
## %bb.6:
	movq	_ustack@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-16(,%r13,8), %rcx
	addq	$-2, %r13
	leaq	(%rcx,%rcx,2), %r12
	movq	16(%rax,%r12), %rdi
	shlq	$3, %r14
	leaq	(%r14,%r14,2), %rbx
	movq	16(%rax,%rbx), %rax
	movq	8(%rax), %rsi
	callq	_REQUE
	movq	(%r15), %rax
	movq	8(%rax,%rbx), %rcx
	movq	(%rcx), %rdi
	movq	8(%rax,%r12), %rsi
	callq	_REQUE
	movq	(%r15), %rax
	movq	16(%rax,%rbx), %rdi
	leaq	(%rax,%rbx), %rcx
	addq	$8, %rcx
	movq	%r13, %r14
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx), %rsi
	callq	_REQUE
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rax
	leaq	(%r14,%r14,2), %rcx
	xorl	$1, (%rax,%rcx,8)
	movq	%r14, %r13
	testq	%r14, %r14
	jle	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r13), %r14
	leaq	(%r14,%r14,2), %rdx
	movl	(%rax,%rdx,8), %ecx
	leal	-128(%rcx), %esi
	cmpl	$2, %esi
	jb	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$130, %ecx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$131, %ecx
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rax,%rdx,8), %rcx
	movq	16(%rax,%rdx,8), %rax
	movq	(%rax), %rdi
	addq	$8, %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(,%r14,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movq	16(%rax,%rbx), %rsi
	movq	(%rsi), %rdi
	callq	_REQUE
	movq	(%r15), %rax
	movq	8(%rax,%rbx), %rdi
	leaq	8(%rdi), %rcx
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str(%rip), %rax
	movq	_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_15:
	movq	_u_p@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_16:
	leaq	1(%r13), %rax
	shrq	$63, %rax
	addq	%r13, %rax
	incq	%rax
	sarq	%rax
	cmpq	%rax, %r13
	movq	_u_p@GOTPCREL(%rip), %r15
	jle	LBB0_19
## %bb.17:
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	leaq	-24(,%rax,8), %rbx
	movq	%r13, %r14
	negq	%r14
	movq	%r13, %r12
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	decq	%r12
	movq	_ustack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%r14, %r13
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	movq	16(%rax,%rcx,8), %rdx
	movq	%rdx, 40(%rsp)
	movups	(%rax,%rcx,8), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%rax,%rbx), %rcx
	movq	%rcx, 16(%rsp)
	movups	(%rax,%rbx), %xmm0
	movups	%xmm0, (%rsp)
	callq	_USWAP
	movq	(%r15), %r13
	leaq	1(%r13), %rax
	shrq	$63, %rax
	addq	%r13, %rax
	incq	%rax
	sarq	%rax
	addq	$-24, %rbx
	incq	%r14
	cmpq	%rax, %r12
	jg	LBB0_18
LBB0_19:
	movq	_isglobal@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_clear_active_list
LBB0_21:
	movq	_u_current_addr@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	movq	_current_addr@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_u_addr_last@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	movq	_addr_last@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_SPL0
LBB0_22:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_addr,8,3               ## @current_addr
	.comm	_addr_last,8,3                  ## @addr_last
	.comm	_u_current_addr,4,2             ## @u_current_addr
	.comm	_u_addr_last,4,2                ## @u_addr_last
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nothing to undo"

	.comm	_errmsg,8,3                     ## @errmsg
	.comm	_ERR,4,2                        ## @ERR
	.comm	_u_p,8,3                        ## @u_p
	.comm	_modified,4,2                   ## @modified
	.comm	_ustack,8,3                     ## @ustack
	.comm	_isglobal,8,3                   ## @isglobal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pop_undo_stack                 ; -- Begin function pop_undo_stack
	.p2align	2
_pop_undo_stack:                        ; @pop_undo_stack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x20, _u_current_addr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _u_current_addr@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x19, _u_addr_last@GOTPAGE
Lloh3:
	ldr	x19, [x19, _u_addr_last@GOTPAGEOFF]
	ldr	w9, [x19]
	cmn	w8, #1
	ccmn	w9, #1, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _errmsg@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
Lloh8:
	str	x9, [x8]
Lloh9:
	adrp	x8, _ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_2:
Lloh12:
	adrp	x11, _current_addr@GOTPAGE
Lloh13:
	ldr	x11, [x11, _current_addr@GOTPAGEOFF]
Lloh14:
	adrp	x10, _addr_last@GOTPAGE
Lloh15:
	ldr	x10, [x10, _addr_last@GOTPAGEOFF]
Lloh16:
	adrp	x25, _u_p@GOTPAGE
Lloh17:
	ldr	x25, [x25, _u_p@GOTPAGEOFF]
	ldr	x8, [x25]
	cbz	x8, LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _modified@GOTPAGE
Lloh19:
	ldr	x8, [x8, _modified@GOTPAGEOFF]
	mov	w9, #1
Lloh20:
	str	w9, [x8]
LBB0_4:
	ldr	x24, [x11]
	ldr	x23, [x10]
	mov	w0, #0
	bl	_get_addressed_line_node
	bl	_SPL1
	ldr	x8, [x25]
Lloh21:
	adrp	x26, _ustack@GOTPAGE
Lloh22:
	ldr	x26, [x26, _ustack@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.5:
	ldr	x9, [x26]
	mov	w27, #24
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	x21, x8, #2
	add	x8, x21, x21, lsl #1
	lsl	x22, x8, #3
	add	x8, x9, x22
	ldr	x0, [x8, #16]
	add	x8, x28, x28, lsl #1
	lsl	x28, x8, #3
	add	x8, x9, x28
	ldr	x8, [x8, #16]
	ldr	x1, [x8, #8]
	bl	_REQUE
	ldr	x8, [x26]
	add	x9, x8, x28
	ldr	x9, [x9, #8]
	ldr	x0, [x9]
	add	x8, x8, x22
	ldr	x1, [x8, #8]
	bl	_REQUE
	ldr	x8, [x26]
	add	x8, x8, x28
	ldr	x0, [x8, #16]
	add	x8, x8, #8
	mov	x28, x21
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x8]
	bl	_REQUE
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x26]
	mul	x8, x28, x27
	ldr	w10, [x9, x8]
	eor	w10, w10, #0x1
	str	w10, [x9, x8]
	mov	x8, x28
	cmp	x28, #0
	b.le	LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x28, x8, #1
	mul	x10, x28, x27
	ldr	w10, [x9, x10]
	sub	w11, w10, #128
	cmp	w11, #2
	b.lo	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w10, #130
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w10, #131
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	madd	x8, x28, x27, x9
	ldp	x8, x9, [x8, #8]
	ldr	x0, [x9]
	add	x8, x8, #8
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x28, x28, lsl #1
	lsl	x21, x8, #3
	add	x8, x9, x21
	ldr	x1, [x8, #16]
	ldr	x0, [x1]
	bl	_REQUE
	ldr	x8, [x26]
	add	x8, x8, x21
	ldr	x0, [x8, #8]
	add	x8, x0, #8
	b	LBB0_7
LBB0_14:
	ldr	x8, [x25]
LBB0_15:
	add	x9, x8, #1
	add	x10, x8, #2
	cmp	x9, #0
	csinc	x9, x10, x8, lt
	cmp	x8, x9, asr #1
	b.le	LBB0_18
; %bb.16:
	mov	w27, #24
	mul	x9, x8, x27
	sub	x28, x9, #24
	neg	x21, x8
	mov	x22, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	x22, x22, #1
	ldr	x9, [x26]
	add	x8, x8, x21
	madd	x8, x8, x27, x9
	add	x9, x9, x28
	ldr	q0, [x9]
	ldr	x9, [x9, #16]
	str	x9, [sp, #48]
	str	q0, [sp, #32]
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	str	q0, [sp]
	add	x0, sp, #32
	mov	x1, sp
	bl	_USWAP
	ldr	x8, [x25]
	add	x9, x8, #1
	add	x10, x8, #2
	cmp	x9, #0
	csinc	x9, x10, x8, lt
	sub	x28, x28, #24
	add	x21, x21, #1
	cmp	x22, x9, asr #1
	b.gt	LBB0_17
LBB0_18:
Lloh23:
	adrp	x8, _isglobal@GOTPAGE
Lloh24:
	ldr	x8, [x8, _isglobal@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_clear_active_list
LBB0_20:
	ldrsw	x8, [x20]
Lloh26:
	adrp	x9, _current_addr@GOTPAGE
Lloh27:
	ldr	x9, [x9, _current_addr@GOTPAGEOFF]
Lloh28:
	str	x8, [x9]
	str	w24, [x20]
	ldrsw	x8, [x19]
Lloh29:
	adrp	x9, _addr_last@GOTPAGE
Lloh30:
	ldr	x9, [x9, _addr_last@GOTPAGEOFF]
Lloh31:
	str	x8, [x9]
	str	w23, [x19]
	bl	_SPL0
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_current_addr,8,3               ; @current_addr
	.comm	_addr_last,8,3                  ; @addr_last
	.comm	_u_current_addr,4,2             ; @u_current_addr
	.comm	_u_addr_last,4,2                ; @u_addr_last
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nothing to undo"

	.comm	_errmsg,8,3                     ; @errmsg
	.comm	_ERR,4,2                        ; @ERR
	.comm	_u_p,8,3                        ; @u_p
	.comm	_modified,4,2                   ; @modified
	.comm	_ustack,8,3                     ; @ustack
	.comm	_isglobal,8,3                   ; @isglobal
.subsections_via_symbols
