	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_app_response
_build_app_response:                    ## @build_app_response
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	(%r12), %rax
	movq	8(%rax), %r14
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_mrb_ary_new_capa
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_mrb_fixnum_value
	movq	%r14, %rdi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_mrb_ary_set
	leaq	24(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%r15), %esi
	movq	%r14, %rdi
	callq	_mrb_hash_new_capa
	movl	%eax, %ebx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	32(%r15), %r12
	movq	_iterate_headers_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_mrb_obj_ptr
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_h2o_mruby_iterate_native_headers
	movq	16(%r15), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_H2O_TOKEN_CONTENT_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_h2o_mruby_new_str
	movl	%eax, %r12d
	movq	16(%r15), %rdi
	callq	_mrb_fixnum_value
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mruby_to_str
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_mrb_hash_set
LBB0_2:
	movq	%r14, %rdi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_mrb_ary_set
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_H2O_MRUBY_APP_INPUT_STREAM_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mrb_ary_entry
	movq	_app_input_stream_type@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_h2o_mruby_create_data_instance
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mrb_funcall
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$2, %edx
	movl	%ebx, %ecx
	callq	_mrb_ary_set
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iterate_headers_callback,4,2   ## @iterate_headers_callback
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_H2O_TOKEN_CONTENT_LENGTH,8,3   ## @H2O_TOKEN_CONTENT_LENGTH
	.comm	_H2O_MRUBY_APP_INPUT_STREAM_CLASS,4,2 ## @H2O_MRUBY_APP_INPUT_STREAM_CLASS
	.comm	_app_input_stream_type,4,2      ## @app_input_stream_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initialize"

	.no_dead_strip	_build_app_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_app_response
_build_app_response:                    ; @build_app_response
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x27, [x0]
	ldr	x8, [x27]
	ldr	x19, [x8, #8]
	mov	x0, x19
	mov	w1, #3
	bl	_mrb_ary_new_capa
	mov	x20, x0
	ldr	x0, [x21, #8]
	bl	_mrb_fixnum_value
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_mrb_ary_set
	mov	x23, x21
	ldr	w1, [x23, #24]!
	mov	x0, x19
	bl	_mrb_hash_new_capa
	mov	x22, x0
	ldr	x24, [x27]
	add	x25, x23, #8
Lloh0:
	adrp	x8, _iterate_headers_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iterate_headers_callback@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	bl	_mrb_obj_ptr
	mov	x4, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x23
	mov	x3, x26
	bl	_h2o_mruby_iterate_native_headers
	ldur	x8, [x23, #-8]
Lloh3:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _H2O_TOKEN_CONTENT_LENGTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_TOKEN_CONTENT_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_h2o_mruby_new_str
	mov	x23, x0
	ldr	x0, [x21, #16]
	bl	_mrb_fixnum_value
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mruby_to_str
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_mrb_hash_set
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	x3, x22
	bl	_mrb_ary_set
	ldr	x8, [x27]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _H2O_MRUBY_APP_INPUT_STREAM_CLASS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_MRUBY_APP_INPUT_STREAM_CLASS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_mrb_ary_entry
	mov	x1, x0
Lloh12:
	adrp	x3, _app_input_stream_type@GOTPAGE
Lloh13:
	ldr	x3, [x3, _app_input_stream_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	bl	_h2o_mruby_create_data_instance
	mov	x21, x0
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_mrb_funcall
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	mov	x3, x21
	bl	_mrb_ary_set
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_iterate_headers_callback,4,2   ; @iterate_headers_callback
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_H2O_TOKEN_CONTENT_LENGTH,8,3   ; @H2O_TOKEN_CONTENT_LENGTH
	.comm	_H2O_MRUBY_APP_INPUT_STREAM_CLASS,4,2 ; @H2O_MRUBY_APP_INPUT_STREAM_CLASS
	.comm	_app_input_stream_type,4,2      ; @app_input_stream_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initialize"

	.no_dead_strip	_build_app_response
.subsections_via_symbols
