	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_window_update_frame
_handle_window_update_frame:            ## @handle_window_update_frame
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	leaq	-44(%rbp), %rcx
	callq	_h2o_http2_decode_window_update_payload
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)
	je	LBB0_16
## %bb.2:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_h2o_http2_conn_get_stream
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_h2o_http2_stream_reset
LBB0_4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_stream_send_error
	jmp	LBB0_15
LBB0_6:
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.9:
	movq	%r14, %rdi
	callq	_is_idle_stream_id
	testl	%eax, %eax
	je	LBB0_10
## %bb.13:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r12)
	movq	_H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_7:
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	callq	_h2o_http2_window_update
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r12)
	movq	_H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_10:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_h2o_http2_conn_get_stream
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%rax, %rbx
	movl	-40(%rbp), %esi
	movq	%rax, %rdi
	callq	_update_stream_output_window
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_h2o_http2_stream_reset
	movl	(%r15), %esi
	movq	_H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_stream_send_error
	jmp	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	callq	_resume_send
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flow control window overflow"

	.comm	_H2O_HTTP2_ERROR_FLOW_CONTROL,4,2 ## @H2O_HTTP2_ERROR_FLOW_CONTROL
L_.str.1:                               ## @.str.1
	.asciz	"invalid stream id in WINDOW_UPDATE frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ## @H2O_HTTP2_ERROR_PROTOCOL
	.no_dead_strip	_handle_window_update_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_window_update_frame
_handle_window_update_frame:            ; @handle_window_update_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	add	x3, sp, #4
	bl	_h2o_http2_decode_window_update_payload
	cbz	w0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_15
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_h2o_http2_conn_get_stream
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_http2_stream_reset
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x21
	bl	_stream_send_error
	b	LBB0_14
LBB0_5:
	ldr	w1, [x20]
	cbz	w1, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_is_idle_stream_id
	cbz	w0, LBB0_10
; %bb.7:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x22]
Lloh2:
	adrp	x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_8:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_h2o_http2_window_update
	cbz	x0, LBB0_13
; %bb.9:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x22]
Lloh7:
	adrp	x8, _H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_10:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_h2o_http2_conn_get_stream
	cbz	x0, LBB0_13
; %bb.11:
	mov	x21, x0
	ldr	w1, [sp, #8]
	bl	_update_stream_output_window
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	bl	_h2o_http2_stream_reset
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_FLOW_CONTROL@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_stream_send_error
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_resume_send
LBB0_14:
	mov	w21, #0
LBB0_15:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flow control window overflow"

	.comm	_H2O_HTTP2_ERROR_FLOW_CONTROL,4,2 ; @H2O_HTTP2_ERROR_FLOW_CONTROL
l_.str.1:                               ; @.str.1
	.asciz	"invalid stream id in WINDOW_UPDATE frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ; @H2O_HTTP2_ERROR_PROTOCOL
	.no_dead_strip	_handle_window_update_frame
.subsections_via_symbols
