	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commit_data_header
_commit_data_header:                    ## @commit_data_header
	.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
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	movq	_H2O_SEND_STATE_FINAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	cmpq	%r15, %rax
	jne	LBB0_6
LBB0_2:
	movq	(%r14), %rcx
	movq	(%rcx), %rdi
	addq	8(%rcx), %rdi
	xorl	%ecx, %ecx
	movq	_H2O_HTTP2_FRAME_TYPE_DATA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	%r15, %rax
	jne	LBB0_5
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$0, 16(%r12)
	jne	LBB0_5
## %bb.4:
	movq	_H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:
	movl	24(%r12), %r8d
	movq	%rbx, %rsi
	callq	_h2o_http2_encode_frame_header
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_h2o_http2_window_consume_window
	leaq	28(%r12), %rdi
	movq	%rbx, %rsi
	callq	_h2o_http2_window_consume_window
	movq	_H2O_HTTP2_FRAME_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rbx, %rax
	movq	(%r14), %rcx
	addq	%rax, (%rcx)
	addq	%rbx, (%r12)
LBB0_6:
	movq	_H2O_SEND_STATE_ERROR@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_11
## %bb.7:
	movl	24(%r12), %esi
	cmpq	$0, 8(%r12)
	jne	LBB0_8
## %bb.9:
	movq	_H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_H2O_HTTP2_ERROR_REFUSED_STREAM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%edx, %edx
	subl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_encode_rst_stream_frame ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_SEND_STATE_FINAL,8,3       ## @H2O_SEND_STATE_FINAL
	.comm	_H2O_HTTP2_FRAME_TYPE_DATA,4,2  ## @H2O_HTTP2_FRAME_TYPE_DATA
	.comm	_H2O_HTTP2_FRAME_FLAG_END_STREAM,4,2 ## @H2O_HTTP2_FRAME_FLAG_END_STREAM
	.comm	_H2O_HTTP2_FRAME_HEADER_SIZE,8,3 ## @H2O_HTTP2_FRAME_HEADER_SIZE
	.comm	_H2O_SEND_STATE_ERROR,8,3       ## @H2O_SEND_STATE_ERROR
	.comm	_H2O_HTTP2_ERROR_REFUSED_STREAM,4,2 ## @H2O_HTTP2_ERROR_REFUSED_STREAM
	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ## @H2O_HTTP2_ERROR_PROTOCOL
	.no_dead_strip	_commit_data_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commit_data_header
_commit_data_header:                    ; @commit_data_header
	.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	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, _H2O_SEND_STATE_FINAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_SEND_STATE_FINAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x22, LBB0_2
; %bb.1:
	cmp	x8, x21
	b.ne	LBB0_6
LBB0_2:
	ldr	x9, [x19]
	ldp	x9, x10, [x9]
	add	x0, x9, x10
Lloh3:
	adrp	x9, _H2O_HTTP2_FRAME_TYPE_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _H2O_HTTP2_FRAME_TYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x20, #16]
Lloh6:
	adrp	x9, _H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w3, w9, wzr, eq
	b	LBB0_5
LBB0_4:
	mov	w3, #0
LBB0_5:
	ldr	w4, [x20, #24]
	mov	x1, x22
	bl	_h2o_http2_encode_frame_header
	mov	x0, x23
	mov	x1, x22
	bl	_h2o_http2_window_consume_window
	add	x0, x20, #28
	mov	x1, x22
	bl	_h2o_http2_window_consume_window
Lloh9:
	adrp	x8, _H2O_HTTP2_FRAME_HEADER_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_HTTP2_FRAME_HEADER_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x10, [x9]
	add	x8, x8, x22
	add	x8, x8, x10
	str	x8, [x9]
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x8, [x20]
LBB0_6:
Lloh12:
	adrp	x8, _H2O_SEND_STATE_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _H2O_SEND_STATE_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.7:
	ldr	w1, [x20, #24]
	ldr	x8, [x20, #8]
Lloh15:
	adrp	x9, _H2O_HTTP2_ERROR_REFUSED_STREAM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _H2O_HTTP2_ERROR_REFUSED_STREAM@GOTPAGEOFF]
Lloh17:
	adrp	x10, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	neg	w2, w8
	mov	x0, x19
	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
	b	_h2o_http2_encode_rst_stream_frame
LBB0_8:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_SEND_STATE_FINAL,8,3       ; @H2O_SEND_STATE_FINAL
	.comm	_H2O_HTTP2_FRAME_TYPE_DATA,4,2  ; @H2O_HTTP2_FRAME_TYPE_DATA
	.comm	_H2O_HTTP2_FRAME_FLAG_END_STREAM,4,2 ; @H2O_HTTP2_FRAME_FLAG_END_STREAM
	.comm	_H2O_HTTP2_FRAME_HEADER_SIZE,8,3 ; @H2O_HTTP2_FRAME_HEADER_SIZE
	.comm	_H2O_SEND_STATE_ERROR,8,3       ; @H2O_SEND_STATE_ERROR
	.comm	_H2O_HTTP2_ERROR_REFUSED_STREAM,4,2 ; @H2O_HTTP2_ERROR_REFUSED_STREAM
	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ; @H2O_HTTP2_ERROR_PROTOCOL
	.no_dead_strip	_commit_data_header
.subsections_via_symbols
