	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_with_name_reference
_insert_with_name_reference:            ## @insert_with_name_reference
	.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	16(%rbp), %rbx
	movq	_MAX_HEADER_VALUE_LENGTH@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jle	LBB0_1
## %bb.3:
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rdi, %r13
	testl	%esi, %esi
	je	LBB0_6
## %bb.4:
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	callq	_resolve_static_abs
	testq	%rax, %rax
	je	LBB0_5
LBB0_11:
	movq	(%rax), %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_insert_token_header            ## TAILCALL
LBB0_1:
	movq	_h2o_qpack_err_header_value_too_long@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_5:
	movq	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r13), %rsi
	subq	16(%r13), %rsi
	addq	(%r13), %rsi
	cmpq	%rdx, %rsi
	jle	LBB0_7
## %bb.8:
	notq	%rdx
	addq	%rdx, %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_resolve_dynamic_abs
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	callq	_h2o_iovec_is_token
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_7:
	movq	_h2o_qpack_err_invalid_dynamic_reference@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%rbx, (%rsp)
	movq	%r13, %rdi
	movl	%r12d, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_insert_literal_header
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HEADER_VALUE_LENGTH,8,3    ## @MAX_HEADER_VALUE_LENGTH
	.comm	_h2o_qpack_err_header_value_too_long,8,3 ## @h2o_qpack_err_header_value_too_long
	.comm	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ## @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED
	.comm	_h2o_qpack_err_invalid_dynamic_reference,8,3 ## @h2o_qpack_err_invalid_dynamic_reference
	.no_dead_strip	_insert_with_name_reference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_with_name_reference
_insert_with_name_reference:            ; @insert_with_name_reference
	.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, x6
Lloh0:
	adrp	x8, _MAX_HEADER_VALUE_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_HEADER_VALUE_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x5
	b.le	LBB0_5
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x0
	cbz	w1, LBB0_8
; %bb.2:
	mov	x0, x2
	mov	x1, x19
	bl	_resolve_static_abs
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x1, [x0]
LBB0_4:
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, 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	_insert_token_header
LBB0_5:
Lloh3:
	adrp	x8, _h2o_qpack_err_header_value_too_long@GOTPAGE
Lloh4:
	ldr	x8, [x8, _h2o_qpack_err_header_value_too_long@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
Lloh5:
	adrp	x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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
LBB0_8:
	ldp	x8, x9, [x23]
	ldr	x10, [x23, #16]
	sub	x9, x9, x10
	add	x8, x9, x8
	cmp	x8, x2
	b.le	LBB0_12
; %bb.9:
	mvn	x9, x2
	add	x1, x8, x9
	mov	x0, x23
	mov	x2, x19
	bl	_resolve_dynamic_abs
	cbz	x0, LBB0_7
; %bb.10:
	mov	x24, x0
	ldr	x0, [x0]
	bl	_h2o_iovec_is_token
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x1, [x24]
	b	LBB0_4
LBB0_12:
Lloh8:
	adrp	x8, _h2o_qpack_err_invalid_dynamic_reference@GOTPAGE
Lloh9:
	ldr	x8, [x8, _h2o_qpack_err_invalid_dynamic_reference@GOTPAGEOFF]
	b	LBB0_6
LBB0_13:
	ldr	x8, [x24]
	ldp	w2, w1, [x8]
	mov	x0, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, 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	_insert_literal_header
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HEADER_VALUE_LENGTH,8,3    ; @MAX_HEADER_VALUE_LENGTH
	.comm	_h2o_qpack_err_header_value_too_long,8,3 ; @h2o_qpack_err_header_value_too_long
	.comm	_H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ; @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED
	.comm	_h2o_qpack_err_invalid_dynamic_reference,8,3 ; @h2o_qpack_err_invalid_dynamic_reference
	.no_dead_strip	_insert_with_name_reference
.subsections_via_symbols
