	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hpack_validate_header_name ## -- Begin function h2o_hpack_validate_header_name
	.p2align	4, 0x90
_h2o_hpack_validate_header_name:        ## @h2o_hpack_validate_header_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	xorl	%r11d, %r11d
	leaq	_h2o_hpack_validate_header_name.valid_h2_header_name_char(%rip), %r8
	movq	_h2o_hpack_soft_err_found_invalid_char_in_header_name@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	cmpq	%r11, %rsi
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r11), %r10d
	cmpb	$0, (%r10,%r8)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-65, %r10d
	cmpl	$26, %r10d
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9), %rcx
	movq	%rcx, (%rdx)
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	movq	_h2o_hpack_err_found_upper_case_in_header_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @h2o_hpack_validate_header_name.valid_h2_header_name_char
_h2o_hpack_validate_header_name.valid_h2_header_name_char:
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\001\001\001\001\001\000\000\001\001\000\001\001\000\001\001\001\001\001\001\001\001\001\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\000\001\000\001"
	.space	129

	.comm	_h2o_hpack_err_found_upper_case_in_header_name,8,3 ## @h2o_hpack_err_found_upper_case_in_header_name
	.comm	_h2o_hpack_soft_err_found_invalid_char_in_header_name,8,3 ## @h2o_hpack_soft_err_found_invalid_char_in_header_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hpack_validate_header_name ; -- Begin function h2o_hpack_validate_header_name
	.p2align	2
_h2o_hpack_validate_header_name:        ; @h2o_hpack_validate_header_name
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _h2o_hpack_validate_header_name.valid_h2_header_name_char@PAGE
Lloh1:
	add	x8, x8, _h2o_hpack_validate_header_name.valid_h2_header_name_char@PAGEOFF
Lloh2:
	adrp	x9, _h2o_hpack_soft_err_found_invalid_char_in_header_name@GOTPAGE
Lloh3:
	ldr	x9, [x9, _h2o_hpack_soft_err_found_invalid_char_in_header_name@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	subs	x1, x1, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	ldrb	w11, [x8, x10]
	cbnz	w11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w10, w10, #65
	cmp	w10, #26
	b.lo	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x9]
	str	x10, [x2]
	b	LBB0_2
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
Lloh4:
	adrp	x8, _h2o_hpack_err_found_upper_case_in_header_name@GOTPAGE
Lloh5:
	ldr	x8, [x8, _h2o_hpack_err_found_upper_case_in_header_name@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x2]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_h2o_hpack_validate_header_name.valid_h2_header_name_char: ; @h2o_hpack_validate_header_name.valid_h2_header_name_char
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\001\001\001\001\001\000\000\001\001\000\001\001\000\001\001\001\001\001\001\001\001\001\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\000\001\000\001"
	.space	129

	.comm	_h2o_hpack_err_found_upper_case_in_header_name,8,3 ; @h2o_hpack_err_found_upper_case_in_header_name
	.comm	_h2o_hpack_soft_err_found_invalid_char_in_header_name,8,3 ; @h2o_hpack_soft_err_found_invalid_char_in_header_name
.subsections_via_symbols
