	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_headers
_fill_headers:                          ## @fill_headers
	.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
	movl	$200, (%rdi)
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rdi)
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 20(%rdi)
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	addq	$16, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$24, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 8(%rbx)
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$32, %r14
	decq	%r15
	je	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%r14), %rdi
	movl	-16(%r14), %esi
	callq	_h2o_strtolower
	movq	-24(%r14), %rdi
	movl	-16(%r14), %esi
	callq	_h2o_lookup_token
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_H2O_TOKEN_CONTENT_LENGTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%r14), %rsi
	movl	(%r14), %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_h2o_strdup
	movl	(%r14), %r9d
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_h2o_add_header
	movq	_H2O_TOKEN_LINK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%r14), %rsi
	movl	(%r14), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_h2o_push_path_in_link_header
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-24(%r14), %rbx
	movl	-16(%r14), %r12d
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	testq	%rax, %rax
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%r14), %rdi
	movl	(%r14), %esi
	callq	_h2o_iovec_init
	movq	%rax, %r13
	movl	%edx, %r12d
	cmpl	$3, %edx
	jl	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	(%r13), %edi
	callq	__isdigit
	testq	%rax, %rax
	je	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	1(%r13), %edi
	callq	__isdigit
	testq	%rax, %rax
	je	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movsbl	2(%r13), %edi
	callq	__isdigit
	testq	%rax, %rax
	je	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$4, %r12d
	jb	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$32, 3(%r13)
	jne	LBB0_24
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movsbl	(%r13), %eax
	imull	$100, %eax, %eax
	movsbl	1(%r13), %ecx
	leal	(%rcx,%rcx,4), %ecx
	movsbl	2(%r13), %edx
	leal	(%rax,%rcx,2), %eax
	leal	-5328(%rdx,%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rax
	cmpl	$5, %r12d
	jb	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %r13
	addl	$-4, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_h2o_strdup
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-24(%r14), %rsi
	movl	-16(%r14), %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_h2o_strdup
	movq	%rax, %r13
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	-8(%r14), %rsi
	movl	(%r14), %edx
	movq	%r12, %rdi
	callq	_h2o_strdup
	movl	%edx, %ebx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_h2o_add_header_by_str
	addq	$16, %rsp
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	20(%rbx), %eax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%r14), %rdi
	movl	(%r14), %esi
	movq	%rcx, %r12
	callq	_h2o_strtosize
	movl	%eax, 20(%rbx)
	cmpl	(%r12), %eax
	jne	LBB0_3
## %bb.21:
	movq	_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	-8(%r14), %r8
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_22:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	16(%r14), %rdi
	movq	_H2O_TOKEN_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_h2o_find_header
	xorl	%ebx, %ebx
	cmpl	$-1, %eax
	jne	LBB0_27
## %bb.23:
	movq	%r14, %rdi
	callq	_h2o_resp_add_date_header
	jmp	LBB0_27
LBB0_24:
	movq	_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %ecx
	movq	%r13, %r8
LBB0_25:
	xorl	%eax, %eax
	callq	_h2o_req_log_error
LBB0_26:
	movl	$-1, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_h2o_req_log_error
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OK"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_H2O_TOKEN_CONTENT_LENGTH,8,3   ## @H2O_TOKEN_CONTENT_LENGTH
	.comm	_MODULE_NAME,4,2                ## @MODULE_NAME
L_.str.1:                               ## @.str.1
	.asciz	"received multiple content-length headers from fcgi"

L_.str.2:                               ## @.str.2
	.asciz	"failed to parse content-length header sent from fcgi: %.*s"

	.comm	_H2O_TOKEN_LINK,8,3             ## @H2O_TOKEN_LINK
L_.str.3:                               ## @.str.3
	.asciz	"status"

L_.str.4:                               ## @.str.4
	.asciz	"failed to parse Status header, got: %.*s"

	.comm	_H2O_TOKEN_DATE,4,2             ## @H2O_TOKEN_DATE
	.no_dead_strip	_fill_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_headers
_fill_headers:                          ; @fill_headers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	mov	w8, #200
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
	str	w8, [x0]
	str	x9, [x0, #8]
Lloh2:
	adrp	x26, _SIZE_MAX@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SIZE_MAX@GOTPAGEOFF]
	ldr	w8, [x26]
	str	w8, [x0, #20]
	cbz	x2, LBB0_22
; %bb.1:
	mov	x20, x2
	add	x21, x19, #24
	add	x22, x19, #16
	add	x27, x1, #24
Lloh4:
	adrp	x23, l_.str.3@PAGE
Lloh5:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh6:
	adrp	x28, _H2O_TOKEN_CONTENT_LENGTH@GOTPAGE
Lloh7:
	ldr	x28, [x28, _H2O_TOKEN_CONTENT_LENGTH@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x19, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #32
	subs	x20, x20, #1
	b.eq	LBB0_22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x27, #-24]
	ldur	w1, [x27, #-16]
	bl	_h2o_strtolower
	ldur	x0, [x27, #-24]
	ldur	w1, [x27, #-16]
	bl	_h2o_lookup_token
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cmp	x24, x8
	b.eq	LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x1, [x27, #-8]
	ldr	w2, [x27]
	mov	x0, x21
	bl	_h2o_strdup
	mov	x4, x0
	ldr	w5, [x27]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	x3, #0
	bl	_h2o_add_header
Lloh8:
	adrp	x8, _H2O_TOKEN_LINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H2O_TOKEN_LINK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x1, [x27, #-8]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_h2o_push_path_in_link_header
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x24, [x27, #-24]
	ldur	w25, [x27, #-16]
	mov	x0, x23
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	bl	_h2o_memis
	cbz	x0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x0, [x27, #-8]
	ldr	w1, [x27]
	bl	_h2o_iovec_init
	mov	x24, x0
	mov	x25, x1
	cmp	w25, #3
	b.lt	LBB0_25
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x24]
	bl	__isdigit
	cbz	x0, LBB0_25
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x24, #1]
	bl	__isdigit
	cbz	x0, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x24, #2]
	bl	__isdigit
	cbz	x0, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	subs	w2, w25, #4
	b.lo	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x24, #3]
	cmp	w8, #32
	b.ne	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w8, [x24]
	ldrsb	w9, [x24, #1]
	mov	w10, #10
	mul	w9, w9, w10
	ldrsb	w10, [x24, #2]
	mov	w11, #100
	madd	w8, w8, w11, w9
	add	w8, w8, w10
	mov	w9, #-5328
	add	w8, w8, w9
	str	w8, [x19]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	cmp	w25, #5
	b.lo	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x24, #4
	mov	x0, x21
	bl	_h2o_strdup
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x1, [x27, #-24]
	ldur	w2, [x27, #-16]
	mov	x0, x21
	bl	_h2o_strdup
	mov	x24, x0
	mov	x25, x1
	ldur	x1, [x27, #-8]
	ldr	w2, [x27]
	mov	x0, x21
	bl	_h2o_strdup
	mov	x6, x0
	mov	x7, x1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	x3, x25
	mov	w4, #0
	mov	x5, #0
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_h2o_add_header_by_str
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #20]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x0, [x27, #-8]
	ldr	w1, [x27]
	bl	_h2o_strtosize
	str	w0, [x19, #20]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.21:
Lloh13:
	adrp	x8, _MODULE_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MODULE_NAME@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldur	x8, [x27, #-8]
	ldr	w9, [x27]
	stp	x9, x8, [sp]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_22:
	add	x0, x19, #16
Lloh18:
	adrp	x8, _H2O_TOKEN_DATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _H2O_TOKEN_DATE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_h2o_find_header
	cmn	w0, #1
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_h2o_resp_add_date_header
LBB0_24:
	mov	w0, #0
	b	LBB0_27
LBB0_25:
Lloh21:
	adrp	x8, _MODULE_NAME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODULE_NAME@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	stp	x25, x24, [sp]
Lloh24:
	adrp	x2, l_.str.4@PAGE
Lloh25:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_26:
	mov	x0, x19
	bl	_h2o_req_log_error
	mov	w0, #-1
LBB0_27:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_28:
Lloh26:
	adrp	x8, _MODULE_NAME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MODULE_NAME@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_26
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OK"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_H2O_TOKEN_CONTENT_LENGTH,8,3   ; @H2O_TOKEN_CONTENT_LENGTH
	.comm	_MODULE_NAME,4,2                ; @MODULE_NAME
l_.str.1:                               ; @.str.1
	.asciz	"received multiple content-length headers from fcgi"

l_.str.2:                               ; @.str.2
	.asciz	"failed to parse content-length header sent from fcgi: %.*s"

	.comm	_H2O_TOKEN_LINK,8,3             ; @H2O_TOKEN_LINK
l_.str.3:                               ; @.str.3
	.asciz	"status"

l_.str.4:                               ; @.str.4
	.asciz	"failed to parse Status header, got: %.*s"

	.comm	_H2O_TOKEN_DATE,4,2             ; @H2O_TOKEN_DATE
	.no_dead_strip	_fill_headers
.subsections_via_symbols
