	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_frame_headers
_fixup_frame_headers:                   ## @fixup_frame_headers
	.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
	movl	%ecx, %r8d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	movq	_H2O_HTTP2_FRAME_HEADER_SIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	addq	%r13, %rcx
	subq	%rcx, %rsi
	movq	8(%rax), %rdi
	addq	%r13, %rdi
	cmpq	%r15, %rsi
	jbe	LBB0_1
## %bb.3:
	movq	%r15, %rsi
	movl	%r9d, %ecx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_h2o_http2_encode_frame_header
	movq	(%r14), %rsi
	addq	%r15, %r13
	addq	%rsi, %r13
	movq	(%r12), %rax
	movq	(%rax), %rbx
	subq	%r13, %rbx
	movq	%r12, %rdi
	callq	_h2o_buffer_reserve
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	addq	%r13, %rsi
	movq	(%r14), %rdi
	addq	%rsi, %rdi
	movq	%rbx, %rdx
	callq	_memmove
	movq	(%r14), %rax
	movq	(%r12), %rcx
	addq	%rax, (%rcx)
	movq	8(%rcx), %rdi
	addq	%r13, %rdi
	movq	_H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpq	%r15, %rbx
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_4
LBB0_1:
	movq	_H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPCREL(%rip), %rax
	orl	(%rax), %r9d
	movl	%r9d, %ecx
	jmp	LBB0_2
LBB0_5:
	movq	_H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_encode_frame_header  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_FRAME_HEADER_SIZE,8,3 ## @H2O_HTTP2_FRAME_HEADER_SIZE
	.comm	_H2O_HTTP2_FRAME_FLAG_END_HEADERS,4,2 ## @H2O_HTTP2_FRAME_FLAG_END_HEADERS
	.comm	_H2O_HTTP2_FRAME_TYPE_CONTINUATION,4,2 ## @H2O_HTTP2_FRAME_TYPE_CONTINUATION
	.no_dead_strip	_fixup_frame_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_frame_headers
_fixup_frame_headers:                   ; @fixup_frame_headers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _H2O_HTTP2_FRAME_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _H2O_HTTP2_FRAME_HEADER_SIZE@GOTPAGEOFF]
	ldr	x9, [x23]
	ldp	x10, x8, [x8]
	add	x9, x9, x1
	sub	x1, x10, x9
	add	x0, x8, x22
	cmp	x1, x4
	b.ls	LBB0_4
; %bb.1:
	mov	x20, x4
	mov	x1, x4
	mov	x3, x5
	mov	x4, x19
	bl	_h2o_http2_encode_frame_header
	ldr	x1, [x23]
	add	x8, x20, x22
	add	x24, x8, x1
Lloh2:
	adrp	x25, _H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPAGE
Lloh3:
	ldr	x25, [x25, _H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	sub	x22, x8, x24
	mov	x0, x21
	bl	_h2o_buffer_reserve
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	x9, [x23]
	add	x1, x8, x24
	add	x0, x1, x9
	mov	x2, x22
	bl	_memmove
	ldr	x8, [x23]
	ldr	x9, [x21]
	ldp	x10, x11, [x9]
	add	x8, x10, x8
	str	x8, [x9]
	add	x0, x11, x24
	ldr	w2, [x25]
	cmp	x22, x20
	b.ls	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x20
	mov	w3, #0
	mov	x4, x19
	bl	_h2o_http2_encode_frame_header
	ldr	x1, [x23]
	add	x8, x24, x20
	add	x24, x8, x1
	b	LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w3, w8, w5
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x22
LBB0_6:
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_h2o_http2_encode_frame_header
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_FRAME_HEADER_SIZE,8,3 ; @H2O_HTTP2_FRAME_HEADER_SIZE
	.comm	_H2O_HTTP2_FRAME_FLAG_END_HEADERS,4,2 ; @H2O_HTTP2_FRAME_FLAG_END_HEADERS
	.comm	_H2O_HTTP2_FRAME_TYPE_CONTINUATION,4,2 ; @H2O_HTTP2_FRAME_TYPE_CONTINUATION
	.no_dead_strip	_fixup_frame_headers
.subsections_via_symbols
