	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_range
_add_range:                             ## @add_range
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	_MAX_HIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jb	LBB0_8
## %bb.2:
	leaq	-1(%rax), %rdx
	movq	%rdx, (%rbx)
	movq	16(%rbx), %rcx
	movq	-8(%rcx,%rax,8), %rax
	jmp	LBB0_7
LBB0_3:
	movq	(%r14), %rax
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	decq	%rax
	jmp	LBB0_6
LBB0_5:
	incq	%rax
LBB0_6:
	xorl	%edx, %edx
LBB0_7:
	movq	%rax, 8(%rbx)
LBB0_8:
	movq	16(%rbx), %rsi
	leaq	8(%rsi), %rdi
	shll	$3, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movq	16(%rbx), %rax
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
	incq	(%rbx)
	movq	%rbx, %rdi
	callq	_reset_times
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HIST,8,3                   ## @MAX_HIST
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_add_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_range
_add_range:                             ; @add_range
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _MAX_HIST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_HIST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_5
; %bb.2:
	sub	x8, x9, #1
	str	x8, [x19]
	ldr	x9, [x19, #16]
	ldr	x9, [x9, x8, lsl #3]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20]
	sub	x9, x8, #1
	tst	x8, #0x8000000000000000
	csinc	x9, x9, x8, eq
	csel	x8, xzr, xzr, ne
LBB0_4:
	str	x9, [x19, #8]
LBB0_5:
	ldr	x1, [x19, #16]
	add	x0, x1, #8
	lsl	w2, w8, #3
	bl	_memmove
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	str	x9, [x8]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	x0, x19
	bl	_reset_times
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HIST,8,3                   ; @MAX_HIST
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_add_range
.subsections_via_symbols
