	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function middleware_request_method
_middleware_request_method:             ## @middleware_request_method
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	(%r15), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mrb_get_args
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_iv_get
	movl	%eax, %r12d
	movq	(%r15), %r14
	movl	-44(%rbp), %r15d
	movl	%eax, %edi
	callq	_mrb_bool
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_create_subreq
	movq	%rax, %r15
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_mrb_obj_value
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mrb_exc_raise
LBB0_2:
	movq	(%r13), %rax
	movl	(%rax), %edi
	movq	_H2O_MRUBY_APP_REQUEST_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mrb_ary_entry
	movq	_app_request_type@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_h2o_mruby_create_data_instance
	movl	%eax, (%r14)
	addq	$4, %r15
	movl	%r12d, %edi
	callq	_mrb_bool
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	20(%r14), %esi
	movl	16(%r14), %edx
	movl	12(%r14), %ecx
	movl	4(%r14), %r9d
	movl	8(%r14), %r8d
	movl	$1, (%rsp)
	movq	%r15, %rdi
	callq	_h2o_reprocess_request_deferred
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_h2o_delegate_request_deferred
LBB0_5:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"H"

L_.str.1:                               ## @.str.1
	.asciz	"@reprocess"

	.comm	_H2O_MRUBY_APP_REQUEST_CLASS,4,2 ## @H2O_MRUBY_APP_REQUEST_CLASS
	.comm	_app_request_type,4,2           ## @app_request_type
	.no_dead_strip	_middleware_request_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function middleware_request_method
_middleware_request_method:             ; @middleware_request_method
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x0, #8]
	ldr	x23, [x22]
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_mrb_get_args
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_iv_get
	mov	x21, x0
	ldr	x20, [x22]
	ldr	w22, [sp, #12]
	bl	_mrb_bool
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_create_subreq
	mov	x20, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mrb_obj_value
	mov	x1, x0
	str	xzr, [x19]
	mov	x0, x19
	bl	_mrb_exc_raise
LBB0_2:
	ldr	x8, [x23]
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _H2O_MRUBY_APP_REQUEST_CLASS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_MRUBY_APP_REQUEST_CLASS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_mrb_ary_entry
	mov	x1, x0
Lloh7:
	adrp	x3, _app_request_type@GOTPAGE
Lloh8:
	ldr	x3, [x3, _app_request_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_h2o_mruby_create_data_instance
	mov	x19, x20
	str	w0, [x19], #4
	mov	x0, x21
	bl	_mrb_bool
	cbz	x0, LBB0_4
; %bb.3:
	ldp	w2, w1, [x20, #16]
	ldp	w4, w3, [x20, #8]
	ldr	w5, [x20, #4]
	mov	x0, x19
	mov	w6, #1
	bl	_h2o_reprocess_request_deferred
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_h2o_delegate_request_deferred
LBB0_5:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"H"

l_.str.1:                               ; @.str.1
	.asciz	"@reprocess"

	.comm	_H2O_MRUBY_APP_REQUEST_CLASS,4,2 ; @H2O_MRUBY_APP_REQUEST_CLASS
	.comm	_app_request_type,4,2           ; @app_request_type
	.no_dead_strip	_middleware_request_method
.subsections_via_symbols
