	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_error_callback
_handle_error_callback:                 ## @handle_error_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	(%rdi), %rax
	movq	(%rax), %r13
	movl	%ecx, %edi
	xorl	%esi, %esi
	callq	_mrb_ary_entry
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_mrb_ary_entry
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_h2o_mruby_get_generator
	movq	%rax, %r15
	movl	$1, (%r12)
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_check_precond
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mrb_nil_p
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_6
## %bb.3:
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, (%rax)
	jmp	LBB0_6
LBB0_1:
	movl	%ebx, %r14d
	jmp	LBB0_7
LBB0_5:
	movq	_H2O_SEND_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_h2o_mruby_sender_do_send
LBB0_6:
	movq	%r15, %rdi
	callq	_h2o_mruby_sender_close_body
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_SEND_STATE_ERROR,4,2       ## @H2O_SEND_STATE_ERROR
	.no_dead_strip	_handle_error_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_error_callback
_handle_error_callback:                 ; @handle_error_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	x21, x4
	mov	x20, x3
	ldr	x8, [x0]
	ldr	x22, [x8]
	mov	x0, x3
	mov	w1, #0
	bl	_mrb_ary_entry
	mov	x19, x0
	mov	w23, #1
	mov	x0, x20
	mov	w1, #1
	bl	_mrb_ary_entry
	mov	x1, x0
	mov	x0, x22
	bl	_h2o_mruby_get_generator
	mov	x20, x0
	str	w23, [x21]
	mov	x0, x22
	mov	x1, x20
	bl	_check_precond
	mov	x21, x0
	bl	_mrb_nil_p
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_6
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.3:
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_6
LBB0_4:
	mov	x19, x21
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _H2O_SEND_STATE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_SEND_STATE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_h2o_mruby_sender_do_send
LBB0_6:
	mov	x0, x20
	bl	_h2o_mruby_sender_close_body
LBB0_7:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_SEND_STATE_ERROR,4,2       ; @H2O_SEND_STATE_ERROR
	.no_dead_strip	_handle_error_callback
.subsections_via_symbols
