	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enqueue_window_update
_enqueue_window_update:                 ## @enqueue_window_update
	.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, %rbx
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rcx, (%rax)
	setae	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_h2o_http2_window_get_avail
	addq	%rax, %rax
	cmpq	%rbx, %rax
	jae	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_h2o_http2_window_get_avail
	subl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_h2o_http2_encode_window_update_frame
	movq	%r15, %rdi
	callq	_request_write
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_window_update        ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT32_MAX,8,3                  ## @INT32_MAX
	.no_dead_strip	_enqueue_window_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enqueue_window_update
_enqueue_window_update:                 ; @enqueue_window_update
	.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	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _INT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	cset	w0, hs
	bl	_assert
	mov	x0, x19
	bl	_h2o_http2_window_get_avail
	cmp	x22, x0, lsl #1
	b.ls	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_h2o_http2_window_get_avail
	sub	w22, w22, w0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_h2o_http2_encode_window_update_frame
	mov	x0, x20
	bl	_request_write
	mov	x0, x19
	mov	x1, x22
	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
	b	_h2o_http2_window_update
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT32_MAX,8,3                  ; @INT32_MAX
	.no_dead_strip	_enqueue_window_update
.subsections_via_symbols
