	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function range_set_difference
_range_set_difference:                  ## @range_set_difference
	.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	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	je	LBB0_17
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r12
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %r15d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_range_set_append
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jae	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_5 Depth 3
	movq	8(%r12), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rsi
	movq	8(%rax,%rcx), %r13
	cmpq	%r13, %rsi
	jge	LBB0_16
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_5 Depth 3
	movl	(%r14), %ecx
	cmpl	%ecx, %r15d
	jae	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	8(%r14), %rax
	movl	%r15d, %r15d
	movq	%r15, %rdx
	shlq	$4, %rdx
	addq	%rax, %rdx
	addq	$8, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	(%rdx), %rsi
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=3
	incq	%r15
	addq	$16, %rdx
	cmpq	%r15, %rcx
	jne	LBB0_5
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, %r12
	movl	%r15d, %r14d
	shlq	$4, %r14
	movq	(%rax,%r14), %rdx
	cmpq	%rdx, %r13
	jl	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rdx, %rsi
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rdx, %r13
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_range_set_append
	movq	8(%r12), %rax
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	8(%rax,%r14), %rsi
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%r13, %rsi
	movq	%r12, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_3
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_range_set_difference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function range_set_difference
_range_set_difference:                  ; @range_set_difference
	.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
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x23, #0
	mov	w24, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x2, x22
	bl	_range_set_append
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	x23, x8
	b.hs	LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x8, [x20, #8]
	add	x8, x8, x23, lsl #4
	ldp	x1, x22, [x8]
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	x1, x22
	b.ge	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w9, [x19]
	cmp	w24, w9
	b.hs	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #8]
	mov	w24, w24
	mov	w10, #8
	bfi	x10, x24, #4, #32
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x11, [x8, x10]
	cmp	x1, x11
	b.lt	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	add	x24, x24, #1
	add	x10, x10, #16
	cmp	x9, x24
	b.ne	LBB0_9
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	and	x25, x24, #0xffffffff
	lsl	x9, x25, #4
	ldr	x2, [x8, x9]
	cmp	x22, x2
	b.lt	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	x1, x2
	b.ge	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	x22, x2
	b.le	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x21
	bl	_range_set_append
	ldr	x8, [x19, #8]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, x25, lsl #4
	ldr	x1, [x8, #8]
	b	LBB0_6
LBB0_16:
	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	_range_set_difference
.subsections_via_symbols
