	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_ranges_add              ## -- Begin function quicly_ranges_add
	.p2align	4, 0x90
_quicly_ranges_add:                     ## @quicly_ranges_add
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	%rdx, %rsi
	setle	%dil
	callq	_assert
	cmpq	%r14, %rbx
	jne	LBB0_1
## %bb.19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	8(%r15), %rax
	leaq	-1(%rcx), %r8
	movq	%r8, %rdx
	shlq	$4, %rdx
	cmpq	%rbx, (%rax,%rdx)
	jge	LBB0_4
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	jmp	LBB0_12
LBB0_4:
	cmpq	%r14, 8(%rax,%rdx)
	jle	LBB0_8
## %bb.5:
	leaq	(%rax,%rdx), %rcx
	addq	$-8, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %r8
	jb	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-16(%rcx), %rdx
	cmpq	%r14, (%rcx)
	movq	%rdx, %rcx
	jg	LBB0_6
LBB0_8:
	movq	%r8, %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	leaq	1(%r8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rax)
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	jl	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	addq	$-16, %rax
	cmpq	%rdx, %rcx
	jne	LBB0_9
## %bb.18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_insert_at                      ## TAILCALL
LBB0_10:
	movq	%r8, %rcx
	subq	%rdx, %rcx
	jmp	LBB0_15
LBB0_14:
	movq	%r8, %rcx
	subq	%rdx, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_11
LBB0_15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_merge_update                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_ranges_add              ; -- Begin function quicly_ranges_add
	.p2align	2
_quicly_ranges_add:                     ; @quicly_ranges_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x1, x2
	cset	w0, le
	bl	_assert
	cmp	x20, x19
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldrsw	x3, [x21]
	cbz	w3, LBB0_14
; %bb.3:
	ldr	x8, [x21, #8]
	sub	x4, x3, #1
	lsl	x9, x4, #4
	ldr	x9, [x8, x9]
	cmp	x9, x20
	b.ge	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	b	LBB0_15
LBB0_5:
	add	x9, x8, x4, lsl #4
	ldr	x10, [x9, #8]
	cmp	x10, x19
	b.le	LBB0_9
; %bb.6:
	sub	x9, x9, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x4, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x4, x4, #1
	ldr	x10, [x9], #-16
	cmp	x10, x19
	b.gt	LBB0_7
LBB0_9:
	mov	x9, #0
	add	x8, x8, x4, lsl #4
	add	x10, x4, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	cmp	x11, x20
	b.eq	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	b.lt	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #1
	sub	x8, x8, #16
	cmp	x10, x9
	b.ne	LBB0_10
; %bb.13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	b	LBB0_19
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_insert_at
LBB0_16:
	sub	x3, x4, x9
	b	LBB0_18
LBB0_17:
	sub	x8, x4, x9
	add	x3, x8, #1
	cbz	x9, LBB0_4
LBB0_18:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_merge_update
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
