	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_decode_data_payload  ## -- Begin function h2o_http2_decode_data_payload
	.p2align	4, 0x90
_h2o_http2_decode_data_payload:         ## @h2o_http2_decode_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
	cmpq	$0, (%rsi)
	je	LBB0_1
## %bb.3:
	movq	_H2O_HTTP2_FRAME_FLAG_PADDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rsi)
	je	LBB0_8
## %bb.4:
	movl	12(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	movq	16(%rsi), %rsi
	movq	(%rsi), %rcx
	cmpq	%rax, %rcx
	jge	LBB0_5
## %bb.7:
	notq	%rcx
	addq	$8, %rsi
	movq	%rsi, (%rdi)
	addq	%rax, %rcx
	movq	%rcx, 8(%rdi)
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.1(%rip), %rax
LBB0_2:
	movq	%rax, (%rdx)
	movq	_H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	16(%rsi), %rax
	movq	%rax, (%rdi)
	movslq	12(%rsi), %rax
	movq	%rax, 8(%rdi)
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid stream id in DATA frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ## @H2O_HTTP2_ERROR_PROTOCOL
	.comm	_H2O_HTTP2_FRAME_FLAG_PADDED,4,2 ## @H2O_HTTP2_FRAME_FLAG_PADDED
L_.str.1:                               ## @.str.1
	.asciz	"invalid DATA frame"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_decode_data_payload  ; -- Begin function h2o_http2_decode_data_payload
	.p2align	2
_h2o_http2_decode_data_payload:         ; @h2o_http2_decode_data_payload
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _H2O_HTTP2_FRAME_FLAG_PADDED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H2O_HTTP2_FRAME_FLAG_PADDED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
	ldr	w9, [x1, #12]
	cmp	w9, #0
	b.le	LBB0_6
; %bb.3:
	ldr	x10, [x1, #16]
	ldr	x11, [x10]
	cmp	x11, x9
	b.ge	LBB0_6
; %bb.4:
	mvn	x11, x11
	add	x10, x10, #8
	add	x9, x11, x9
	stp	x10, x9, [x0]
	mov	w0, #0
	ret
LBB0_5:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_7:
	str	x8, [x2]
Lloh7:
	adrp	x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
LBB0_8:
	ldr	x9, [x1, #16]
	ldrsw	x10, [x1, #12]
	stp	x9, x10, [x0]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid stream id in DATA frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ; @H2O_HTTP2_ERROR_PROTOCOL
	.comm	_H2O_HTTP2_FRAME_FLAG_PADDED,4,2 ; @H2O_HTTP2_FRAME_FLAG_PADDED
l_.str.1:                               ; @.str.1
	.asciz	"invalid DATA frame"

.subsections_via_symbols
