	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_insert_with_nameref
_emit_insert_with_nameref:              ## @emit_insert_with_nameref
	.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	%r9, %r14
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	movq	%r9, %r15
	shrq	$32, %r15
	movq	_H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdx), %ecx
	addl	%r14d, %ecx
	leal	(%rcx,%rax,2), %edx
	movq	%rbx, %rsi
	callq	_h2o_vector_reserve
	xorl	%eax, %eax
	testl	%r13d, %r13d
	setne	%al
	orl	$2, %eax
	shll	$6, %eax
	movq	8(%rbx), %rcx
	movslq	(%rbx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$6, %edx
	callq	_flatten_int
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	$7, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flatten_string                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ## @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.no_dead_strip	_emit_insert_with_nameref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_insert_with_nameref
_emit_insert_with_nameref:              ; @emit_insert_with_nameref
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x0, x1
	lsr	x23, x5, #32
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w8, w8, w19
	add	w2, w8, w9, lsl #1
	mov	x1, x22
	bl	_h2o_vector_reserve
	mov	w8, #192
	mov	w9, #128
	cmp	w21, #0
	csel	w8, w9, w8, eq
	ldr	x9, [x22, #8]
	ldrsw	x10, [x22]
	str	w8, [x9, x10, lsl #2]
	mov	x0, x22
	mov	x1, x20
	mov	w2, #6
	bl	_flatten_int
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	w3, #7
	mov	w4, #0
	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	_flatten_string
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ; @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.no_dead_strip	_emit_insert_with_nameref
.subsections_via_symbols
