	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_chunk
_build_chunk:                           ## @build_chunk
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_assert
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	callq	_h2o_mruby_new_str
	movl	%eax, %r14d
	movq	24(%rbx), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	callq	_h2o_buffer_consume
	movl	$0, (%rbx)
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.3:
	leaq	8(%rbx), %r14
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movl	8(%rax), %esi
	callq	_h2o_mruby_new_str
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_h2o_buffer_consume
	movl	%r15d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_nil_value                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_build_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_chunk
_build_chunk:                           ; @build_chunk
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_assert
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldp	x8, x9, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	x8, [x9]
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	bl	_h2o_mruby_new_str
	mov	x20, x0
	ldr	x8, [x19, #24]
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x1, [x8]
	bl	_h2o_buffer_consume
	str	wzr, [x19]
	mov	x0, x20
	b	LBB0_4
LBB0_2:
	mov	x20, x19
	ldr	x8, [x20, #8]!
	ldr	x2, [x8]
	cbz	x2, LBB0_5
; %bb.3:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	ldr	w0, [x9]
	ldr	w1, [x8, #8]
	bl	_h2o_mruby_new_str
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_h2o_buffer_consume
	mov	x0, x21
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mrb_nil_value
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_build_chunk
.subsections_via_symbols
