	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_decode_window_update_payload ## -- Begin function h2o_http2_decode_window_update_payload
	.p2align	4, 0x90
_h2o_http2_decode_window_update_payload: ## @h2o_http2_decode_window_update_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	%rcx, %r15
	movq	%rdx, %r14
	cmpl	$4, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	16(%rsi), %edi
	callq	_h2o_http2_decode32u
	movl	%eax, %ecx
	xorl	%eax, %eax
	andl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	movl	%ecx, (%r12)
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	setne	%al
	movq	_H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_H2O_HTTP2_ERROR_FRAME_SIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
LBB0_4:
	movl	%eax, (%r15)
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	movl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid WINDOW_UPDATE frame"

	.comm	_H2O_HTTP2_ERROR_FRAME_SIZE,4,2 ## @H2O_HTTP2_ERROR_FRAME_SIZE
	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ## @H2O_HTTP2_ERROR_PROTOCOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_decode_window_update_payload ; -- Begin function h2o_http2_decode_window_update_payload
	.p2align	2
_h2o_http2_decode_window_update_payload: ; @h2o_http2_decode_window_update_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, x3
	mov	x19, x2
	ldr	w8, [x1]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x1, #16]
	bl	_h2o_http2_decode32u
	ands	w8, w0, #0x7fffffff
	str	w8, [x22]
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	w9, #0
Lloh0:
	adrp	x8, _H2O_HTTP2_ERROR_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_FRAME_SIZE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21, #8]
	cmp	x8, #0
	cset	w9, ne
Lloh2:
	adrp	x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
LBB0_5:
	str	w9, [x20]
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x19]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid WINDOW_UPDATE frame"

	.comm	_H2O_HTTP2_ERROR_FRAME_SIZE,4,2 ; @H2O_HTTP2_ERROR_FRAME_SIZE
	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ; @H2O_HTTP2_ERROR_PROTOCOL
.subsections_via_symbols
