	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_input_expect_data_payload
_handle_input_expect_data_payload:      ## @handle_input_expect_data_payload
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rsi
	subq	%rsi, %rbx
	sarq	$2, %rbx
	movq	(%rdi), %rax
	cmpq	%rax, %rbx
	cmovaeq	%rax, %rbx
	leaq	32(%rdi), %r12
	cmpq	$0, 32(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_h2o_socket_buffer_prototype@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_h2o_buffer_init
	movq	(%r14), %rsi
LBB0_2:
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_h2o_buffer_try_append
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	32(%r15), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_h2o_iovec_init
	movl	%eax, 24(%r15)
	addq	%rbx, 16(%r15)
	leaq	(,%rbx,4), %rax
	subq	%rbx, (%r15)
	setne	%cl
	addq	%rax, (%r14)
	xorl	%eax, %eax
	testb	%cl, %cl
	jne	LBB0_6
## %bb.5:
	movq	_handle_input_expect_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	jmp	LBB0_6
LBB0_3:
	movq	_H2O_HTTP3_ERROR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h2o_socket_buffer_prototype,4,2 ## @h2o_socket_buffer_prototype
	.comm	_H2O_HTTP3_ERROR_INTERNAL,4,2   ## @H2O_HTTP3_ERROR_INTERNAL
	.comm	_handle_input_expect_data,4,2   ## @handle_input_expect_data
	.no_dead_strip	_handle_input_expect_data_payload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_input_expect_data_payload
_handle_input_expect_data_payload:      ; @handle_input_expect_data_payload
	.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, x1
	mov	x19, x0
	ldr	x1, [x1]
	sub	x8, x2, x1
	asr	x8, x8, #2
	ldr	x9, [x0]
	cmp	x8, x9
	csel	x21, x8, x9, lo
	mov	x22, x0
	ldr	x8, [x22, #32]!
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, _h2o_socket_buffer_prototype@GOTPAGE
Lloh1:
	ldr	x1, [x1, _h2o_socket_buffer_prototype@GOTPAGEOFF]
	mov	x0, x22
	bl	_h2o_buffer_init
	ldr	x1, [x20]
LBB0_2:
	mov	x0, x22
	mov	x2, x21
	bl	_h2o_buffer_try_append
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #32]
	ldp	w1, w0, [x8]
	bl	_h2o_iovec_init
	str	w0, [x19, #24]
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	str	x8, [x19, #16]
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x9, x9, x21, lsl #2
	str	x9, [x20]
	subs	x8, x8, x21
	str	x8, [x19]
	mov	w0, #0
	b.ne	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _handle_input_expect_data@GOTPAGE
Lloh3:
	ldr	x8, [x8, _handle_input_expect_data@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _H2O_HTTP3_ERROR_INTERNAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_INTERNAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_h2o_socket_buffer_prototype,4,2 ; @h2o_socket_buffer_prototype
	.comm	_H2O_HTTP3_ERROR_INTERNAL,4,2   ; @H2O_HTTP3_ERROR_INTERNAL
	.comm	_handle_input_expect_data,4,2   ; @handle_input_expect_data
	.no_dead_strip	_handle_input_expect_data_payload
.subsections_via_symbols
