	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_set_header_token           ## -- Begin function h2o_set_header_token
	.p2align	4, 0x90
_h2o_set_header_token:                  ## @h2o_set_header_token
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, %r13d
	movl	$8, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$16, %r15
	cmpq	%rax, %r12
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	cmpq	%rbx, (%rcx,%r15)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%rcx,%r15), %esi
	movl	-4(%rcx,%r15), %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$44, %r8d
	callq	_h2o_contains_token
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	%r12d, %r13d
	jmp	LBB0_6
LBB0_7:
	cmpl	$-1, %r13d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	8(%r14), %r14
	movslq	%r13d, %rbx
	shlq	$4, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	(%r14,%rbx), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_h2o_concat
	movq	%rax, (%r14,%rbx)
	jmp	LBB0_9
LBB0_10:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_add_header                 ## TAILCALL
LBB0_4:
	movl	$-1, %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	", "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_set_header_token           ; -- Begin function h2o_set_header_token
	.p2align	2
_h2o_set_header_token:                  ; @h2o_set_header_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	ldr	x8, [x1]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x25, #0
	mov	x26, #0
	mov	w22, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	add	x25, x25, #16
	cmp	x26, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, #8]
	add	x9, x9, x25
	ldr	x10, [x9, #8]
	cmp	x10, x23
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w1, w0, [x9]
	mov	x2, x20
	mov	x3, x19
	mov	w4, #44
	bl	_h2o_contains_token
	cbnz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	mov	x22, x26
	b	LBB0_2
LBB0_6:
	cmn	w22, #1
	b.eq	LBB0_8
; %bb.7:
	ldr	x24, [x24, #8]
	sbfiz	x25, x22, #4, #32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_h2o_iovec_init
	mov	x23, x0
	str	x19, [sp]
	mov	x0, x20
	bl	_h2o_iovec_init
	mov	x3, x0
	ldr	x1, [x24, x25]
	mov	x0, x21
	mov	x2, x23
	bl	_h2o_concat
	str	x0, [x24, x25]
	b	LBB0_10
LBB0_8:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, #0
	mov	x4, x20
	mov	x5, x19
	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
	add	sp, sp, #96
	b	_h2o_add_header
LBB0_9:
	mov	w22, #-1
LBB0_10:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	", "

.subsections_via_symbols
