	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proxy_send_prepare
_proxy_send_prepare:                    ## @proxy_send_prepare
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$20, %rdi
	movq	_on_generator_dispose@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$72, %esi
	callq	_h2o_mem_alloc_shared
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_get_client_ctx
	movq	_do_proceed@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%rbx)
	movq	_do_stop@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rbx)
	movq	%r14, 56(%rbx)
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	12(%r14), %r15d
	movl	16(%r14), %r12d
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_lcstris
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%ecx, (%rbx)
	movq	$0, 48(%rbx)
	movl	4(%r14), %r15d
	movl	8(%r14), %r12d
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	leaq	28(%rbx), %rdi
	movq	_h2o_socket_buffer_prototype@GOTPCREL(%rip), %rsi
	callq	_h2o_doublebuffer_init
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	_on_send_headers_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_h2o_timer_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_on_generator_dispose,4,2       ## @on_generator_dispose
	.comm	_do_proceed,4,2                 ## @do_proceed
	.comm	_do_stop,4,2                    ## @do_stop
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"websocket"

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

	.comm	_h2o_socket_buffer_prototype,4,2 ## @h2o_socket_buffer_prototype
	.comm	_on_send_headers_timeout,4,2    ## @on_send_headers_timeout
	.no_dead_strip	_proxy_send_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proxy_send_prepare
_proxy_send_prepare:                    ; @proxy_send_prepare
	.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	x20, x0
	add	x0, x0, #20
Lloh0:
	adrp	x8, _on_generator_dispose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _on_generator_dispose@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #72
	bl	_h2o_mem_alloc_shared
	mov	x19, x0
	mov	x0, x20
	bl	_get_client_ctx
Lloh3:
	adrp	x8, _do_proceed@GOTPAGE
Lloh4:
	ldr	x8, [x8, _do_proceed@GOTPAGEOFF]
Lloh5:
	adrp	x9, _do_stop@GOTPAGE
Lloh6:
	ldr	x9, [x9, _do_stop@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
	str	x20, [x19, #56]
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	w22, w21, [x20, #12]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_lcstris
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	str	w8, [x19]
	str	xzr, [x19, #48]
	ldp	w22, w21, [x20, #4]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	str	w0, [x19, #40]
	str	xzr, [x19, #32]
	add	x0, x19, #28
Lloh13:
	adrp	x1, _h2o_socket_buffer_prototype@GOTPAGE
Lloh14:
	ldr	x1, [x1, _h2o_socket_buffer_prototype@GOTPAGEOFF]
	bl	_h2o_doublebuffer_init
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #24
Lloh15:
	adrp	x8, _on_send_headers_timeout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _on_send_headers_timeout@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_h2o_timer_init
	stp	xzr, xzr, [x19, #8]
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_on_generator_dispose,4,2       ; @on_generator_dispose
	.comm	_do_proceed,4,2                 ; @do_proceed
	.comm	_do_stop,4,2                    ; @do_stop
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"websocket"

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

	.comm	_h2o_socket_buffer_prototype,4,2 ; @h2o_socket_buffer_prototype
	.comm	_on_send_headers_timeout,4,2    ; @on_send_headers_timeout
	.no_dead_strip	_proxy_send_prepare
.subsections_via_symbols
