	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sleep_callback
_sleep_callback:                        ## @sleep_callback
	.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	%r8, %r12
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	8(%rax), %r15
	movl	%ecx, %edi
	callq	_mrb_array_p
	movl	%eax, %edi
	callq	_assert
	movl	%ebx, %edi
	callq	_RARRAY_LEN
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_mrb_ary_entry
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mrb_funcall
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	movl	$1, (%r12)
	callq	_mrb_obj_value
	movl	%eax, %ebx
	movq	_E_NOMETHOD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mrb_obj_is_kind_of
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_mrb_exc_new_str_lit
	movl	%eax, %ebx
LBB0_4:
	movq	$0, (%r15)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, %edi
	callq	_mrb_float
	imull	$1000, %eax, %r12d              ## imm = 0x3E8
	movl	$24, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r13, (%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	leaq	12(%rbx), %r13
	movq	_on_sleep_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_h2o_timer_init
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	movq	%r13, %rdx
	callq	_h2o_timer_link
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_h2o_now
	movl	%eax, 8(%rbx)
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_mrb_gc_register
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_nil_value                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"to_f"

	.comm	_E_NOMETHOD_ERROR,4,2           ## @E_NOMETHOD_ERROR
	.comm	_E_ARGUMENT_ERROR,4,2           ## @E_ARGUMENT_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"the argument of the sleep function must respond to 'to_f' method"

	.comm	_on_sleep_timeout,4,2           ## @on_sleep_timeout
	.no_dead_strip	_sleep_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sleep_callback
_sleep_callback:                        ; @sleep_callback
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8, #8]
	mov	x0, x3
	bl	_mrb_array_p
	bl	_assert
	mov	x0, x23
	bl	_RARRAY_LEN
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x23
	mov	w1, #0
	bl	_mrb_ary_entry
	mov	x1, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_mrb_funcall
	mov	x1, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.2:
	mov	w8, #1
	str	w8, [x22]
	bl	_mrb_obj_value
	mov	x20, x0
Lloh2:
	adrp	x8, _E_NOMETHOD_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_NOMETHOD_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_obj_is_kind_of
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_exc_new_str_lit
	mov	x20, x0
LBB0_4:
	str	xzr, [x19]
	mov	x0, x20
	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_5:
	mov	x0, x1
	bl	_mrb_float
	mov	w8, #1000
	mul	w22, w0, w8
	mov	w0, #24
	bl	_h2o_mem_alloc
	mov	x23, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x21, [x23]
	ldr	w8, [x20]
	str	w8, [x23, #16]
	add	x21, x23, #12
Lloh10:
	adrp	x8, _on_sleep_timeout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _on_sleep_timeout@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_h2o_timer_init
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	bl	_h2o_timer_link
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_h2o_now
	str	w0, [x23, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_mrb_gc_register
LBB0_6:
	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
	b	_mrb_nil_value
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"to_f"

	.comm	_E_NOMETHOD_ERROR,4,2           ; @E_NOMETHOD_ERROR
	.comm	_E_ARGUMENT_ERROR,4,2           ; @E_ARGUMENT_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"the argument of the sleep function must respond to 'to_f' method"

	.comm	_on_sleep_timeout,4,2           ; @on_sleep_timeout
	.no_dead_strip	_sleep_callback
.subsections_via_symbols
