	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_add_rand_timers           ## -- Begin function test_add_rand_timers
	.p2align	4, 0x90
_test_add_rand_timers:                  ## @test_add_rand_timers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$6, %edi
	movl	$3, %esi
	callq	_h2o_timerwheel_create
	movq	%rax, %r14
	movq	_N@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%r15, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_lcg_rand
	cltd
	idivl	(%r12)
	movl	%edx, %r15d
	addl	$3, %r15d
	movq	_my_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_h2o_timerwheel_init_entry
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_h2o_timerwheel_link_abs
	incq	%r13
	movslq	(%r12), %r15
	addq	$4, %rbx
	cmpq	%r15, %r13
	jl	LBB0_2
LBB0_3:
	movq	_invokes@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	addl	$2, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_h2o_timerwheel_run
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_ok
	movl	(%r13), %eax
	subl	%ebx, %eax
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_DUMP_WHEEL
	movq	%r14, %rdi
	callq	_h2o_timerwheel_destroy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_N,4,2                          ## @N
	.comm	_my_callback,4,2                ## @my_callback
	.comm	_invokes,4,2                    ## @invokes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_add_rand_timers           ; -- Begin function test_add_rand_timers
	.p2align	2
_test_add_rand_timers:                  ; @test_add_rand_timers
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w0, #6
	mov	w1, #3
	bl	_h2o_timerwheel_create
	mov	x19, x0
Lloh3:
	adrp	x22, _N@GOTPAGE
Lloh4:
	ldr	x22, [x22, _N@GOTPAGEOFF]
	ldr	w12, [x22]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cmp	w12, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x23, #0
Lloh7:
	adrp	x24, _my_callback@GOTPAGE
Lloh8:
	ldr	x24, [x24, _my_callback@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_lcg_rand
	ldr	w8, [x22]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	add	w21, w8, #3
	ldr	w1, [x24]
	mov	x0, x20
	bl	_h2o_timerwheel_init_entry
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_h2o_timerwheel_link_abs
	add	x23, x23, #1
	ldrsw	x12, [x22]
	add	x20, x20, #4
	cmp	x23, x12
	b.lt	LBB0_2
; %bb.3:
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
LBB0_4:
Lloh9:
	adrp	x20, _invokes@GOTPAGE
Lloh10:
	ldr	x20, [x20, _invokes@GOTPAGEOFF]
	ldr	w21, [x20]
	add	w1, w12, #2
	mov	x0, x19
	bl	_h2o_timerwheel_run
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, eq
	bl	_ok
	ldr	w8, [x20]
	ldr	w9, [x22]
	sub	w8, w8, w21
	cmp	w8, w9
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	bl	_DUMP_WHEEL
	mov	x0, x19
	bl	_h2o_timerwheel_destroy
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_N,4,2                          ; @N
	.comm	_my_callback,4,2                ; @my_callback
	.comm	_invokes,4,2                    ; @invokes
.subsections_via_symbols
