	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_context_init
_on_context_init:                       ## @on_context_init
	.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	%rsi, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	$40, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rbx
	movq	%r15, 32(%rax)
	movq	%r14, %rdi
	callq	_get_shared_context
	movq	%rax, 8(%rbx)
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_mrb_ary_new
	movq	%rax, 24(%rbx)
	movq	%r12, %rdi
	callq	_mrb_ary_new
	movq	%rax, 16(%rbx)
	movq	%r12, %rdi
	callq	_mrb_gc_arena_save
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_prepare_fibers
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mrb_array_p
	movl	%eax, %edi
	callq	_assert
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mrb_ary_entry
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mrb_ary_entry
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_h2o_mruby_run_fiber
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_h2o_mruby_assert
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_mrb_gc_arena_restore
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_mrb_gc_protect
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mrb_gc_protect
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_context_set_handler_context ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_on_context_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_context_init
_on_context_init:                       ; @on_context_init
	.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	x20, x1
	mov	x19, x0
	mov	w0, #40
	bl	_h2o_mem_alloc
	mov	x21, x0
	str	x19, [x0, #32]
	mov	x0, x20
	bl	_get_shared_context
	str	x0, [x21, #8]
	ldr	x22, [x0]
	mov	x0, x22
	bl	_mrb_ary_new
	str	x0, [x21, #24]
	mov	x0, x22
	bl	_mrb_ary_new
	str	x0, [x21, #16]
	mov	x0, x22
	bl	_mrb_gc_arena_save
	mov	x23, x0
	mov	x0, x21
	bl	_prepare_fibers
	mov	x24, x0
	bl	_mrb_array_p
	bl	_assert
	mov	x0, x24
	mov	w1, #0
	bl	_mrb_ary_entry
	str	x0, [x21]
	mov	x0, x24
	mov	w1, #1
	bl	_mrb_ary_entry
	mov	x24, x0
	bl	_mrb_nil_value
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	mov	x3, #0
	bl	_h2o_mruby_run_fiber
	ldr	x8, [x21, #8]
	ldr	x0, [x8]
	bl	_h2o_mruby_assert
	mov	x0, x22
	mov	x1, x23
	bl	_mrb_gc_arena_restore
	ldr	x1, [x21]
	mov	x0, x22
	bl	_mrb_gc_protect
	mov	x0, x22
	mov	x1, x24
	bl	_mrb_gc_protect
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	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	_h2o_context_set_handler_context
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_on_context_init
.subsections_via_symbols
