	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_ranges_filter_touched
_diff_ranges_filter_touched:            ## @diff_ranges_filter_touched
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %rax
	xorl	%edi, %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	cmpq	$0, (%r14)
	jle	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$16, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	8(%r14), %rdi
	movq	%r15, %r13
	shlq	$4, %r13
	movq	(%rdi,%r13), %rax
	addq	%r13, %rdi
	movq	8(%rbx), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %edx
	cmpq	(%rcx,%rdx,8), %rax
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	incl	%r12d
	cmpl	(%rbx), %r12d
	jne	LBB0_3
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rdx,8), %rsi
	callq	_ranges_overlap
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%r13), %rsi
	movl	8(%rax,%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_range_set_append
	movq	8(%r14), %rax
	movq	(%rax,%r13), %rsi
	movl	8(%rax,%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_range_set_append
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpq	%r15, (%r14)
	jg	LBB0_2
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_diff_ranges_filter_touched
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_ranges_filter_touched
_diff_ranges_filter_touched:            ; @diff_ranges_filter_touched
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x23, #0
	mov	w24, #0
	add	x22, x21, #16
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x8, [x20, #8]
	add	x0, x8, x23, lsl #4
	ldr	x8, [x0]
	ldr	x9, [x19, #8]
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x9, w24, uxtw #3
	ldr	x10, [x1]
	cmp	x8, x10
	b.le	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	w24, w24, #1
	ldr	w10, [x19]
	cmp	w24, w10
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_ranges_overlap
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #24]
	lsl	x25, x23, #4
	add	x8, x8, x25
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	mov	x0, x22
	bl	_range_set_append
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	mov	x0, x21
	bl	_range_set_append
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	x8, [x20]
	cmp	x8, x23
	b.gt	LBB0_2
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_diff_ranges_filter_touched
.subsections_via_symbols
