	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_prefilter_setup_stream
_on_prefilter_setup_stream:             ## @on_prefilter_setup_stream
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movl	32(%rdi), %eax
	movl	%eax, 36(%rsi)
	movl	28(%rdi), %eax
	movl	%eax, 28(%rsi)
	movl	24(%rdi), %eax
	movl	%eax, 24(%rsi)
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	leaq	32(%r15), %r13
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdx
	addq	%rbx, %rdx
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	callq	_add_header
	incq	%r12
	addq	$8, %rbx
	cmpq	8(%r14), %r12
	jne	LBB0_2
LBB0_3:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	leaq	32(%r15), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_H2O_TOKEN_CONTENT_TYPE@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%rbx, %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-64(%rbp), %rsi
	callq	_add_header
	movq	(%r15), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	addq	$8, %rbx
	cmpq	%rax, %r13
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdx
	movq	(%rdx,%r13,8), %rcx
	cmpq	(%r12), %rcx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_H2O_TOKEN_CONTENT_LANGUAGE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_H2O_TOKEN_SET_COOKIE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_9
	jmp	LBB0_8
LBB0_10:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%r15)
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_h2o_setup_next_prefilter
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_TOKEN_CONTENT_TYPE,8,3     ## @H2O_TOKEN_CONTENT_TYPE
	.comm	_H2O_TOKEN_CONTENT_LANGUAGE,8,3 ## @H2O_TOKEN_CONTENT_LANGUAGE
	.comm	_H2O_TOKEN_SET_COOKIE,8,3       ## @H2O_TOKEN_SET_COOKIE
	.no_dead_strip	_on_prefilter_setup_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_prefilter_setup_stream
_on_prefilter_setup_stream:             ; @on_prefilter_setup_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x20, x1
	mov	x21, x0
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldr	w8, [x0, #32]
	str	w8, [x1, #36]
	ldr	d0, [x0, #24]
	str	d0, [x1, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	add	x22, x20, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	add	x2, x8, x23
	add	x1, sp, #8
	mov	x0, x22
	bl	_add_header
	add	x24, x24, #1
	ldr	x8, [x21, #8]
	add	x23, x23, #8
	cmp	x24, x8
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x23, #0
	mov	x24, #0
	add	x22, x20, #32
Lloh0:
	adrp	x25, _H2O_TOKEN_CONTENT_TYPE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _H2O_TOKEN_CONTENT_TYPE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _H2O_TOKEN_CONTENT_LANGUAGE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _H2O_TOKEN_CONTENT_LANGUAGE@GOTPAGEOFF]
Lloh4:
	adrp	x27, _H2O_TOKEN_SET_COOKIE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _H2O_TOKEN_SET_COOKIE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x24, x8
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x10, [x9, x24, lsl #3]
	ldr	x11, [x25]
	ldr	x12, [x26]
	ldr	x13, [x27]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	ccmp	x10, x13, #4, ne
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x2, x9, x23
	add	x1, sp, #8
	mov	x0, x22
	bl	_add_header
	ldr	x8, [x20]
	b	LBB0_5
LBB0_8:
	ldur	q0, [sp, #8]
	str	q0, [x20]
	ldr	x8, [sp, #24]
	str	x8, [x20, #16]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_h2o_setup_next_prefilter
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_TOKEN_CONTENT_TYPE,8,3     ; @H2O_TOKEN_CONTENT_TYPE
	.comm	_H2O_TOKEN_CONTENT_LANGUAGE,8,3 ; @H2O_TOKEN_CONTENT_LANGUAGE
	.comm	_H2O_TOKEN_SET_COOKIE,8,3       ; @H2O_TOKEN_SET_COOKIE
	.no_dead_strip	_on_prefilter_setup_stream
.subsections_via_symbols
