	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_header
_add_header:                            ## @add_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rdx
	incq	%rdx
	callq	_h2o_vector_reserve
	movq	(%rbx), %rcx
	movq	8(%rbx), %r13
	leaq	1(%rcx), %rax
	movq	%rax, (%rbx)
	leaq	(%rcx,%rcx,4), %r14
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, 32(%r13,%r14,8)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%r13,%r14,8)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%r13,%r14,8)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_h2o_strdup
	movq	%rax, %rcx
	movq	(%rbx), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rcx, 8(%r13,%r14,8)
	movl	16(%rbp), %ecx
	movl	%ecx, (%r13,%r14,8)
	decq	%rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_header
_add_header:                            ; @add_header
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x24, x5
	mov	x25, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x1]
	add	x2, x8, #1
	bl	_h2o_vector_reserve
	ldp	x27, x26, [x20]
	add	x8, x27, #1
	str	x8, [x20]
	mov	w9, #40
	madd	x9, x27, x9, x26
	stp	x24, x23, [x9, #24]
	str	x25, [x9, #16]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x21
	bl	_h2o_strdup
	ldr	x8, [x20]
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	mov	w9, #40
	madd	x9, x27, x9, x26
	str	x0, [x9, #8]
	str	w19, [x9]
	sub	x0, x8, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_header
.subsections_via_symbols
