	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_input_data_payload
_handle_input_data_payload:             ## @handle_input_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	%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
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rsi), %rsi
	movq	%rdx, %rbx
	subq	%rsi, %rbx
	sarq	$2, %rbx
	cmpq	%rax, %rbx
	cmovaeq	%rax, %rbx
	addq	$20, %rdi
	movq	%rbx, %rdx
	callq	_h2o_buffer_append
	leaq	(,%rbx,4), %rcx
	addq	(%r15), %rcx
	movq	%rcx, (%r15)
	movq	(%r12), %rax
	movq	%rax, %rdx
	subq	%rbx, %rdx
	movq	%rdx, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	_handle_input_expect_data_frame@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%r12)
LBB0_2:
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	movl	$0, %esi
	cmpq	%r13, %rcx
	jne	LBB0_8
## %bb.5:
	movq	_H2O_HTTP3_ERROR_EOS@GOTPCREL(%rip), %rcx
	leaq	L_.str(%rip), %rsi
	cmpl	%r14d, (%rcx)
	jne	LBB0_8
## %bb.6:
	cmpq	%rbx, %rax
	jne	LBB0_8
## %bb.7:
	movq	_h2o_httpclient_error_is_eos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_8
LBB0_3:
	xorl	%esi, %esi
LBB0_8:
	leaq	8(%r12), %rdi
	callq	*8(%r12)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_H2O_HTTP3_ERROR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_handle_input_expect_data_frame,4,2 ## @handle_input_expect_data_frame
	.comm	_H2O_HTTP3_ERROR_EOS,4,2        ## @H2O_HTTP3_ERROR_EOS
	.comm	_h2o_httpclient_error_is_eos,8,3 ## @h2o_httpclient_error_is_eos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset by peer"

	.comm	_H2O_HTTP3_ERROR_INTERNAL,4,2   ## @H2O_HTTP3_ERROR_INTERNAL
	.no_dead_strip	_handle_input_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_data_payload
_handle_input_data_payload:             ; @handle_input_data_payload
	.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	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x8, [x0], #20
	ldr	x1, [x1]
	sub	x9, x2, x1
	asr	x9, x9, #2
	cmp	x9, x8
	csel	x22, x9, x8, lo
	mov	x2, x22
	bl	_h2o_buffer_append
	ldr	x8, [x23]
	add	x9, x8, x22, lsl #2
	str	x9, [x23]
	ldr	x8, [x19]
	subs	x10, x8, x22
	str	x10, [x19]
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, _handle_input_expect_data_frame@GOTPAGE
Lloh1:
	ldr	x10, [x10, _handle_input_expect_data_frame@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [x19, #16]
LBB0_2:
	mov	x1, #0
	cbz	w20, LBB0_7
; %bb.3:
	cmp	x9, x21
	b.ne	LBB0_7
; %bb.4:
Lloh3:
	adrp	x9, _H2O_HTTP3_ERROR_EOS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _H2O_HTTP3_ERROR_EOS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w20
	ccmp	x8, x22, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _h2o_httpclient_error_is_eos@GOTPAGE
Lloh9:
	ldr	x8, [x8, _h2o_httpclient_error_is_eos@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
LBB0_7:
	ldr	x8, [x19, #8]!
	mov	x0, x19
	blr	x8
Lloh11:
	adrp	x8, _H2O_HTTP3_ERROR_INTERNAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_INTERNAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_handle_input_expect_data_frame,4,2 ; @handle_input_expect_data_frame
	.comm	_H2O_HTTP3_ERROR_EOS,4,2        ; @H2O_HTTP3_ERROR_EOS
	.comm	_h2o_httpclient_error_is_eos,8,3 ; @h2o_httpclient_error_is_eos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset by peer"

	.comm	_H2O_HTTP3_ERROR_INTERNAL,4,2   ; @H2O_HTTP3_ERROR_INTERNAL
	.no_dead_strip	_handle_input_data_payload
.subsections_via_symbols
