	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_sliding_counter
_test_sliding_counter:                  ## @test_sliding_counter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$180, %esi
	callq	_h2o_sliding_counter_stop
	xorl	%edi, %edi
	cmpl	$10, -16(%rbp)
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_h2o_sliding_counter_stop
	xorl	%edi, %edi
	cmpl	$80, -16(%rbp)
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$8440, %esi                     ## imm = 0x20F8
	callq	_h2o_sliding_counter_stop
	xorl	%edi, %edi
	cmpl	$1000, -16(%rbp)                ## imm = 0x3E8
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_h2o_sliding_counter_start
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_h2o_sliding_counter_stop
	xorl	%edi, %edi
	cmpl	$10, -16(%rbp)
	sete	%dil
	callq	_ok
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_sliding_counter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_sliding_counter
_test_sliding_counter:                  ; @test_sliding_counter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp, #8]
	add	x0, sp, #8
	mov	w1, #100
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #180
	bl	_h2o_sliding_counter_stop
	ldr	w8, [sp, #8]
	cmp	w8, #10
	cset	w0, eq
	bl	_ok
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #81
	bl	_h2o_sliding_counter_stop
	ldr	w8, [sp, #8]
	cmp	w8, #80
	cset	w0, eq
	bl	_ok
	add	x0, sp, #8
	mov	w1, #1000
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #8440
	bl	_h2o_sliding_counter_stop
	ldr	w8, [sp, #8]
	cmp	w8, #1000
	cset	w0, eq
	bl	_ok
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	add	x0, sp, #8
	mov	w1, #1
	bl	_h2o_sliding_counter_start
	add	x0, sp, #8
	mov	w1, #11
	bl	_h2o_sliding_counter_stop
	ldr	w8, [sp, #8]
	cmp	w8, #10
	cset	w0, eq
	bl	_ok
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_sliding_counter
.subsections_via_symbols
