	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function range_set_union
_range_set_union:                       ## @range_set_union
	.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, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_assert
	xorl	%r10d, %r10d
	xorl	%ebx, %ebx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r14, %r13
	movl	%r10d, %r14d
	callq	_range_set_grow
	movl	%r14d, %r10d
	movq	%r13, %r14
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movq	%rax, %rdx
	shlq	$4, %rdx
	movups	(%r15), %xmm0
	movups	%xmm0, (%rcx,%rdx)
	incq	%rax
	movq	%rax, (%r12)
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movl	%r10d, %eax
	movq	(%r14), %rdx
	cmpq	%rcx, (%r13)
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rdx
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$4, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx), %r15
	shlq	$4, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax), %r9
	movq	(%rsi,%rax), %rsi
	cmpq	%rsi, (%rdx,%rcx)
	jl	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	jg	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi,%rcx), %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	8(%rsi,%rax), %rcx
	jge	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rdx
	jle	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r10d
	shlq	$4, %rax
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, %r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	shlq	$4, %rcx
	addq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, %r15
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r10d
	movq	%r9, %r15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdx
	movq	8(%r15), %rax
	cmpq	%rax, %rdx
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %r9
	shlq	$4, %rcx
	movq	-8(%rcx,%r9), %rsi
	cmpq	%rdx, %rsi
	jl	LBB0_1
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rsi
	jge	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%r9, %rcx
	addq	$-8, %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_2
LBB0_18:
	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_union
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function range_set_union
_range_set_union:                       ; @range_set_union
	.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	x22, [x1, #8]
	ldr	x23, [x2, #8]
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	w24, #0
	mov	w25, #0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_range_set_grow
	ldp	x9, x8, [x21]
	ldr	q0, [x26]
	str	q0, [x8, x9, lsl #4]
	add	x8, x9, #1
	str	x8, [x21]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w9, w25
	ldr	x11, [x20]
	mov	w8, w24
	ldr	x10, [x19]
	cmp	x11, x9
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x10, x8
	b.le	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x22, x9, lsl #4
	ldr	x11, [x26]
	add	x10, x23, x8, lsl #4
	ldr	x12, [x10]
	cmp	x11, x12
	b.ge	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w25, #1
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x10, x8
	b.le	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w24, w24, #1
	add	x26, x23, x8, lsl #4
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w25, #1
	add	x26, x22, x9, lsl #4
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	b.le	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w24, w24, #1
	mov	x26, x10
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x22, x9, lsl #4
	ldr	x9, [x9, #8]
	add	x8, x23, x8, lsl #4
	ldr	x8, [x8, #8]
	cmp	x9, x8
	csel	x26, x10, x26, ge
	cinc	w24, w24, ge
	cinc	w25, w25, lt
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x26]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x21]
	cbz	x10, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x21, #8]
	add	x10, x11, x10, lsl #4
	ldr	x11, [x10, #-8]!
	cmp	x11, x9
	b.lt	LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x11, x8
	b.ge	LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [x10]
	b	LBB0_2
LBB0_17:
	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_union
.subsections_via_symbols
