	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flatten_request_header
_flatten_request_header:                ## @flatten_request_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	(%rsi), %r13d
	movl	4(%rsi), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_h2o_lcstris
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movl	(%r12), %r13d
	movl	4(%r12), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_h2o_lcstris
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movl	(%r12), %r13d
	movl	4(%r12), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_h2o_lcstris
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpl	$0, 8(%r15)
	je	LBB0_7
LBB0_4:
	movq	%r14, %r13
	shrq	$32, %r13
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_h2o_lcstris
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, (%r15)
LBB0_6:
	leaq	12(%r15), %rdi
	addq	$4, %r15
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%r15, %rsi
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%r13
	callq	_h2o_add_header_by_str
	addq	$16, %rsp
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %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	"content-length"

L_.str.1:                               ## @.str.1
	.asciz	"host"

L_.str.2:                               ## @.str.2
	.asciz	"connection"

L_.str.3:                               ## @.str.3
	.asciz	"transfer-encoding"

	.no_dead_strip	_flatten_request_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flatten_request_header
_flatten_request_header:                ; @flatten_request_header
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	ldp	w23, w22, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_lcstris
	cbnz	x0, LBB0_7
; %bb.1:
	ldp	w23, w22, [x20]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_lcstris
	cbnz	x0, LBB0_7
; %bb.2:
	ldp	w23, w22, [x20]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_lcstris
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
LBB0_4:
	lsr	x22, x19, #32
	ldp	w24, w23, [x20]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_lcstris
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x21]
LBB0_6:
	add	x0, x21, #12
	add	x1, x21, #4
	ldp	w3, w2, [x20]
	mov	w4, #1
	mov	x5, #0
	mov	x6, x22
	mov	x7, x19
	bl	_h2o_add_header_by_str
LBB0_7:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"content-length"

l_.str.1:                               ; @.str.1
	.asciz	"host"

l_.str.2:                               ; @.str.2
	.asciz	"connection"

l_.str.3:                               ; @.str.3
	.asciz	"transfer-encoding"

	.no_dead_strip	_flatten_request_header
.subsections_via_symbols
