	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_setup_ostream
_on_setup_ostream:                      ## @on_setup_ostream
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	cmpl	$257, (%rsi)                    ## imm = 0x101
	jl	LBB0_4
## %bb.1:
	cmpl	$200, 16(%r13)
	jne	LBB0_4
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_H2O_COMPRESSIBLE_BROTLI@GOTPCREL(%rip), %r14
	movq	_H2O_COMPRESSIBLE_GZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	orl	(%r14), %r15d
	movl	64(%r13), %r12d
	movl	68(%r13), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_setup_next_ostream         ## TAILCALL
LBB0_5:
	movl	4(%r13), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmpq	*%rax
LBB0_7:
	movq	_H2O_COMPRESSIBLE_GZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_13
LBB0_8:
	movq	48(%r13), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_h2o_req_fill_mime_attributes
	movq	48(%r13), %rax
LBB0_10:
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.11:
	movl	40(%r13), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	8(%rcx), %eax
	jl	LBB0_4
	jmp	LBB0_13
LBB0_12:
	movl	(%r14), %r15d
LBB0_13:
	leaq	60(%r13), %rdi
	callq	_h2o_get_compressible_types
	andl	%r15d, %eax
	je	LBB0_4
## %bb.14:
	movq	24(%r13), %r9
	testq	%r9, %r9
	je	LBB0_17
## %bb.15:
	movq	32(%r13), %rsi
	movq	_H2O_TOKEN_CONTENT_ENCODING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r11
	movq	_H2O_TOKEN_ACCEPT_RANGES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	cmpq	$1, %r9
	jne	LBB0_18
## %bb.16:
	movq	$-1, %r12
	xorl	%edx, %edx
	movq	$-1, %rdi
	movq	_H2O_COMPRESSIBLE_GZIP@GOTPCREL(%rip), %r8
	jmp	LBB0_21
LBB0_17:
	movq	$-1, %r12
	movq	_H2O_COMPRESSIBLE_GZIP@GOTPCREL(%rip), %r8
	jmp	LBB0_25
LBB0_18:
	movq	%r9, %r10
	andq	$-2, %r10
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	24(%rsi), %rcx
	movq	$-1, %r12
	xorl	%edx, %edx
	movq	$-1, %rdi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rcx), %rsi
	cmpq	%r15, %rsi
	movq	%r12, %rbx
	cmoveq	%rdx, %rbx
	cmpq	%r11, %rsi
	cmoveq	%rdx, %rdi
	movq	(%rcx), %rsi
	cmoveq	%r12, %rbx
	leaq	1(%rdx), %r8
	cmpq	%r15, %rsi
	movq	%rbx, %r12
	cmoveq	%r8, %r12
	cmpq	%r11, %rsi
	cmoveq	%r8, %rdi
	cmoveq	%rbx, %r12
	addq	$2, %rdx
	addq	$32, %rcx
	cmpq	%r10, %rdx
	jne	LBB0_19
## %bb.20:
	movq	_H2O_COMPRESSIBLE_GZIP@GOTPCREL(%rip), %r8
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_21:
	testb	$1, %r9b
	je	LBB0_23
## %bb.22:
	movq	%rdx, %rcx
	shlq	$4, %rcx
	movq	8(%rsi,%rcx), %rcx
	cmpq	%r15, %rcx
	movq	%r12, %rsi
	cmoveq	%rdx, %rsi
	cmpq	%r11, %rcx
	cmoveq	%rdx, %rdi
	cmovneq	%rsi, %r12
LBB0_23:
	cmpq	$-1, %rdi
	jne	LBB0_3
LBB0_25:
	leaq	24(%r13), %rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	cmpl	$-1, %esi
	je	LBB0_29
## %bb.26:
	testl	%eax, (%r8)
	je	LBB0_29
## %bb.27:
	leaq	56(%r13), %r15
	movq	%r15, %rdi
	callq	_h2o_compress_gzip_open
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%r13)
	movq	_H2O_TOKEN_CONTENT_ENCODING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax), %r9d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r8d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_h2o_add_header
	movq	_H2O_TOKEN_VARY@GOTPCREL(%rip), %rax
	movq	%rbx, %r14
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_h2o_set_header_token
	cmpq	$-1, %r12
	je	LBB0_30
## %bb.28:
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	32(%r13), %rcx
	shlq	$4, %r12
	movl	%eax, (%rcx,%r12)
	jmp	LBB0_31
LBB0_29:
	leaq	56(%r13), %r12
	movq	_H2O_TOKEN_VARY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_h2o_set_header_token
	jmp	LBB0_3
LBB0_30:
	movq	_H2O_TOKEN_ACCEPT_RANGES@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_h2o_add_header
LBB0_31:
	callq	_H2O_ALIGNOF
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$24, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_h2o_add_ostream
	movq	_do_send@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	8(%rax), %rbx
	movl	%ecx, 16(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, 8(%r13)
	jle	LBB0_4
## %bb.32:
	movl	%eax, 8(%r13)
	jmp	LBB0_4
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_H2O_COMPRESSIBLE_BROTLI,4,2    ## @H2O_COMPRESSIBLE_BROTLI
	.comm	_H2O_COMPRESSIBLE_GZIP,4,2      ## @H2O_COMPRESSIBLE_GZIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_H2O_TOKEN_CONTENT_ENCODING,8,3 ## @H2O_TOKEN_CONTENT_ENCODING
	.comm	_H2O_TOKEN_ACCEPT_RANGES,8,3    ## @H2O_TOKEN_ACCEPT_RANGES
	.comm	_H2O_TOKEN_VARY,4,2             ## @H2O_TOKEN_VARY
L_.str.1:                               ## @.str.1
	.asciz	"accept-encoding"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
L_.str.2:                               ## @.str.2
	.asciz	"none"

	.comm	_do_send,4,2                    ## @do_send
	.comm	_BUF_SIZE,4,2                   ## @BUF_SIZE
	.no_dead_strip	_on_setup_ostream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_setup_ostream
_on_setup_ostream:                      ; @on_setup_ostream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x2
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #257
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
	cmp	w8, #200
	b.ne	LBB0_3
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x25, _H2O_COMPRESSIBLE_BROTLI@GOTPAGE
Lloh1:
	ldr	x25, [x25, _H2O_COMPRESSIBLE_BROTLI@GOTPAGEOFF]
	ldr	w26, [x25]
Lloh2:
	adrp	x24, _H2O_COMPRESSIBLE_GZIP@GOTPAGE
Lloh3:
	ldr	x24, [x24, _H2O_COMPRESSIBLE_GZIP@GOTPAGEOFF]
	ldr	w27, [x24]
	ldp	w23, w22, [x19, #64]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_h2o_memis
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_h2o_setup_next_ostream
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	orr	w22, w27, w26
	ldr	w8, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.5:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w22, [x24]
	b	LBB0_12
LBB0_7:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_h2o_req_fill_mime_attributes
	ldr	x8, [x19, #48]
LBB0_9:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.10:
	ldr	w8, [x19, #40]
	ldr	w9, [x21, #8]
	cmp	w8, w9
	b.lt	LBB0_3
	b	LBB0_12
LBB0_11:
	ldr	w22, [x25]
LBB0_12:
	add	x0, x19, #60
	bl	_h2o_get_compressible_types
	ands	w8, w0, w22
	b.eq	LBB0_3
; %bb.13:
	mov	x22, x19
	ldr	x9, [x22, #24]!
	cbz	x9, LBB0_17
; %bb.14:
	mov	x10, #0
	ldr	x13, [x19, #32]
Lloh8:
	adrp	x11, _H2O_TOKEN_CONTENT_ENCODING@GOTPAGE
Lloh9:
	ldr	x11, [x11, _H2O_TOKEN_CONTENT_ENCODING@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x12, _H2O_TOKEN_ACCEPT_RANGES@GOTPAGE
Lloh12:
	ldr	x12, [x12, _H2O_TOKEN_ACCEPT_RANGES@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	add	x13, x13, #8
	mov	x25, #-1
	mov	x14, #-1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x13], #16
	cmp	x15, x12
	csel	x16, x10, x25, eq
	cmp	x15, x11
	csel	x14, x10, x14, eq
	csel	x25, x25, x16, eq
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.16:
	cmn	x14, #1
	b.ne	LBB0_3
	b	LBB0_18
LBB0_17:
	mov	x25, #-1
LBB0_18:
	ldr	w1, [x21]
	cmn	w1, #1
	b.eq	LBB0_22
; %bb.19:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.20:
	add	x23, x19, #56
	mov	x0, x23
	bl	_h2o_compress_gzip_open
	mov	x21, x0
Lloh14:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh17:
	adrp	x8, _H2O_TOKEN_CONTENT_ENCODING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _H2O_TOKEN_CONTENT_ENCODING@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldp	w10, w9, [x0]
	stp	x9, x10, [sp, #16]
	stp	x8, xzr, [sp]
	mov	x0, x23
	mov	x1, x22
	bl	_h2o_add_header
Lloh20:
	adrp	x8, _H2O_TOKEN_VARY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _H2O_TOKEN_VARY@GOTPAGEOFF]
Lloh22:
	ldr	w24, [x8]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_h2o_set_header_token
	cmn	x25, #1
	b.eq	LBB0_23
; %bb.21:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	ldr	x8, [x19, #32]
	lsl	x9, x25, #4
	str	w0, [x8, x9]
	b	LBB0_24
LBB0_22:
	add	x21, x19, #56
Lloh27:
	adrp	x8, _H2O_TOKEN_VARY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _H2O_TOKEN_VARY@GOTPAGEOFF]
Lloh29:
	ldr	w23, [x8]
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_H2O_STRLIT
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_h2o_set_header_token
	b	LBB0_3
LBB0_23:
Lloh32:
	adrp	x8, _H2O_TOKEN_ACCEPT_RANGES@GOTPAGE
Lloh33:
	ldr	x8, [x8, _H2O_TOKEN_ACCEPT_RANGES@GOTPAGEOFF]
Lloh34:
	ldr	x24, [x8]
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	stp	xzr, x0, [sp, #8]
	str	x24, [sp]
	mov	x0, x23
	mov	x1, x22
	bl	_h2o_add_header
LBB0_24:
	add	x0, sp, #40
	bl	_H2O_ALIGNOF
	mov	x1, x0
	mov	x0, x19
	mov	w2, #24
	mov	x3, x20
	bl	_h2o_add_ostream
Lloh37:
	adrp	x8, _do_send@GOTPAGE
Lloh38:
	ldr	x8, [x8, _do_send@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	add	x20, x0, #8
	str	w8, [x0, #16]
	str	x21, [x0]
	ldr	w9, [x19, #8]
Lloh40:
	adrp	x8, _BUF_SIZE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BUF_SIZE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_3
; %bb.25:
	str	w8, [x19, #8]
	b	LBB0_3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_H2O_COMPRESSIBLE_BROTLI,4,2    ; @H2O_COMPRESSIBLE_BROTLI
	.comm	_H2O_COMPRESSIBLE_GZIP,4,2      ; @H2O_COMPRESSIBLE_GZIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_H2O_TOKEN_CONTENT_ENCODING,8,3 ; @H2O_TOKEN_CONTENT_ENCODING
	.comm	_H2O_TOKEN_ACCEPT_RANGES,8,3    ; @H2O_TOKEN_ACCEPT_RANGES
	.comm	_H2O_TOKEN_VARY,4,2             ; @H2O_TOKEN_VARY
l_.str.1:                               ; @.str.1
	.asciz	"accept-encoding"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
l_.str.2:                               ; @.str.2
	.asciz	"none"

	.comm	_do_send,4,2                    ; @do_send
	.comm	_BUF_SIZE,4,2                   ; @BUF_SIZE
	.no_dead_strip	_on_setup_ostream
.subsections_via_symbols
