	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function undo_node
_undo_node:                             ## @undo_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jae	LBB0_4
## %bb.1:
	movl	%edx, %r14d
	movq	%rbx, %rdi
	callq	_split_range
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movslq	%r14d, %rcx
	addq	%rcx, 8(%rbx)
	movq	%rax, %rbx
LBB0_4:
	movq	%rbx, %rdi
	callq	___mm_prev
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%rax), %rcx
	cmpq	8(%rbx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_merge_ranges
	movq	%rax, %rbx
LBB0_7:
	movq	%rbx, %rdi
	callq	___mm_next
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%rax), %rcx
	cmpq	8(%rbx), %rcx
	jne	LBB0_9
## %bb.10:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_merge_ranges                   ## TAILCALL
LBB0_2:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_undo_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function undo_node
_undo_node:                             ; @undo_node
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.hs	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x0, x19
	bl	_split_range
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x8, [x19, #8]
	add	x8, x8, w20, sxtw
	str	x8, [x19, #8]
	mov	x19, x0
LBB0_3:
	mov	x0, x19
	bl	___mm_prev
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_merge_ranges
	mov	x19, x0
LBB0_6:
	mov	x0, x19
	bl	___mm_next
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_merge_ranges
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_undo_node
.subsections_via_symbols
