	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_process
_do_process:                            ## @do_process
	.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	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	$0, (%rax)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	decq	%rdx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	leaq	16(%rsi), %r12
	xorl	%r15d, %r15d
	movq	%rdx, %r14
	movl	16(%rbp), %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	movq	_h2o_sendvec_flatten_raw@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	-8(%r12), %esi
	movq	-16(%r12), %rdx
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %r8
	movl	%r13d, %r9d
	callq	_process_chunk
	movq	%rax, %r15
	addq	$24, %r12
	decq	%r14
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	leaq	_do_process.zero_buf(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_3:
	xorl	%r15d, %r15d
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r12
	movq	16(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	_h2o_sendvec_flatten_raw@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_7:
	movl	8(%r12), %r14d
	movq	(%r12), %r12
	movl	%r13d, %edi
	callq	_h2o_send_state_is_in_progress
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	_Z_FINISH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_Z_SYNC_FLUSH@GOTPCREL(%rip), %rax
LBB0_10:
	movl	16(%rbp), %r9d
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movq	%r15, %r8
	callq	_process_chunk
	movq	24(%rbx), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx)
	incq	%rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%r13d, %edi
	callq	_h2o_send_state_is_in_progress
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:
	movq	16(%rbx), %rax
	movq	_do_compress@GOTPCREL(%rip), %rcx
	leaq	8(%rbx), %rdi
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	callq	_deflateEnd
	jmp	LBB0_14
LBB0_13:
	callq	_inflateEnd
LBB0_14:
	movq	$0, (%rbx)
LBB0_15:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h2o_sendvec_flatten_raw,8,3    ## @h2o_sendvec_flatten_raw
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
	.section	__TEXT,__const
	.p2align	3                               ## @do_process.zero_buf
_do_process.zero_buf:
	.space	24

	.comm	_Z_SYNC_FLUSH,4,2               ## @Z_SYNC_FLUSH
	.comm	_Z_FINISH,4,2                   ## @Z_FINISH
	.comm	_do_compress,8,3                ## @do_compress
	.no_dead_strip	_do_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_process
_do_process:                            ; @do_process
	.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	x23, x6
	mov	x22, x5
	mov	x27, x4
	mov	x19, x3
	mov	x20, x0
	ldr	x8, [x0, #24]
	str	xzr, [x8]
	cbz	x2, LBB0_5
; %bb.1:
	mov	x25, x1
	stp	x27, x22, [sp]                  ; 16-byte Folded Spill
Lloh0:
	adrp	x26, _h2o_sendvec_flatten_raw@GOTPAGE
Lloh1:
	ldr	x26, [x26, _h2o_sendvec_flatten_raw@GOTPAGEOFF]
	mov	x24, #0
	subs	x22, x2, #1
	b.eq	LBB0_4
; %bb.2:
	add	x28, x25, #16
Lloh2:
	adrp	x21, _Z_NO_FLUSH@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Z_NO_FLUSH@GOTPAGEOFF]
	mov	x27, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldur	w1, [x28, #-8]
	ldur	x2, [x28, #-16]
	ldr	w3, [x21]
	mov	x0, x20
	mov	x4, x24
	mov	x5, x23
	bl	_process_chunk
	mov	x24, x0
	add	x28, x28, #24
	subs	x27, x27, #1
	b.ne	LBB0_3
LBB0_4:
	mov	w8, #24
	madd	x21, x22, x8, x25
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldp	x27, x22, [sp]                  ; 16-byte Folded Reload
	b	LBB0_6
LBB0_5:
	mov	x24, #0
Lloh4:
	adrp	x21, _do_process.zero_buf@PAGE
Lloh5:
	add	x21, x21, _do_process.zero_buf@PAGEOFF
LBB0_6:
	ldr	w25, [x21, #8]
	ldr	x26, [x21]
	mov	x0, x19
	bl	_h2o_send_state_is_in_progress
Lloh6:
	adrp	x8, _Z_SYNC_FLUSH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Z_SYNC_FLUSH@GOTPAGEOFF]
Lloh8:
	adrp	x9, _Z_FINISH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _Z_FINISH@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x25
	mov	x2, x26
	mov	x4, x24
	mov	x5, x23
	bl	_process_chunk
	ldr	x8, [x20, #24]
	str	x8, [x27]
	add	x8, x0, #1
	str	x8, [x22]
	mov	x0, x19
	bl	_h2o_send_state_is_in_progress
	cbnz	x0, LBB0_11
; %bb.7:
	ldr	x8, [x20, #16]
Lloh10:
	adrp	x9, _do_compress@GOTPAGE
Lloh11:
	ldr	x9, [x9, _do_compress@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x0, x20, #8
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	bl	_deflateEnd
	b	LBB0_10
LBB0_9:
	bl	_inflateEnd
LBB0_10:
	str	xzr, [x20]
LBB0_11:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_h2o_sendvec_flatten_raw,8,3    ; @h2o_sendvec_flatten_raw
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
	.section	__TEXT,__const
	.p2align	3                               ; @do_process.zero_buf
_do_process.zero_buf:
	.space	24

	.comm	_Z_SYNC_FLUSH,4,2               ; @Z_SYNC_FLUSH
	.comm	_Z_FINISH,4,2                   ; @Z_FINISH
	.comm	_do_compress,8,3                ; @do_compress
	.no_dead_strip	_do_process
.subsections_via_symbols
