	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_compress_transform         ## -- Begin function h2o_compress_transform
	.p2align	4, 0x90
_h2o_compress_transform:                ## @h2o_compress_transform
	.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	%r8d, %r14d
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	16(%rbp), %rbx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	cmpq	_h2o_sendvec_flatten_raw@GOTPCREL(%rip), %rax
	je	LBB0_9
## %bb.2:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	xorl	%edi, %edi
	cmpq	$1, %r13
	sete	%dil
	callq	_assert
	movl	(%r15), %eax
	movq	_H2O_PULL_SENDVEC_MAX_SIZE@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setle	%dil
	callq	_assert
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.3:
	movl	%r14d, %edi
	callq	_h2o_send_state_is_in_progress
	movq	%r15, %rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rcx
LBB0_5:
	movl	(%rcx), %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rdi
	movq	%rax, 8(%r12)
LBB0_6:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	8(%r15), %rax
	movq	(%rax), %r14
	movl	(%r15), %esi
	callq	_h2o_iovec_init
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	*%r14
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	8(%r12), %rsi
	movl	(%r15), %edx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	callq	_h2o_sendvec_init_raw
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	16(%rbp), %rbx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	movq	%r9, %r8
	movq	%rbx, %r9
	callq	*(%r12)
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	16(%rbp), %rax
	movq	$0, (%rax)
	movq	_H2O_SEND_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_PULL_SENDVEC_MAX_SIZE,4,2  ## @H2O_PULL_SENDVEC_MAX_SIZE
	.comm	_H2O_SEND_STATE_ERROR,4,2       ## @H2O_SEND_STATE_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_compress_transform         ; -- Begin function h2o_compress_transform
	.p2align	2
_h2o_compress_transform:                ; @h2o_compress_transform
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x0
	cbz	x3, LBB0_6
; %bb.1:
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _h2o_sendvec_flatten_raw@GOTPAGE
Lloh1:
	ldr	x9, [x9, _h2o_sendvec_flatten_raw@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.2:
	mov	x25, x1
	cmp	x22, #1
	cset	w0, eq
	bl	_assert
	ldr	w8, [x23]
Lloh2:
	adrp	x26, _H2O_PULL_SENDVEC_MAX_SIZE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _H2O_PULL_SENDVEC_MAX_SIZE@GOTPAGEOFF]
	ldr	w9, [x26]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldr	x0, [x24, #8]
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_h2o_send_state_is_in_progress
	cmp	x0, #0
	csel	x8, x23, x26, eq
	ldr	w0, [x8]
	bl	_h2o_mem_alloc
	str	x0, [x24, #8]
LBB0_4:
	ldr	x8, [x23, #8]
	ldr	x26, [x8]
	ldr	w1, [x23]
	bl	_h2o_iovec_init
	mov	x2, x0
	mov	x0, x23
	mov	x1, x25
	mov	w3, #0
	blr	x26
	cbz	w0, LBB0_8
; %bb.5:
	ldr	x1, [x24, #8]
	ldr	w2, [x23]
	mov	x23, sp
	mov	x0, sp
	bl	_h2o_sendvec_init_raw
LBB0_6:
	ldr	x8, [x24]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	blr	x8
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	str	xzr, [x20]
	str	xzr, [x19]
Lloh4:
	adrp	x8, _H2O_SEND_STATE_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_SEND_STATE_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_PULL_SENDVEC_MAX_SIZE,4,2  ; @H2O_PULL_SENDVEC_MAX_SIZE
	.comm	_H2O_SEND_STATE_ERROR,4,2       ; @H2O_SEND_STATE_ERROR
.subsections_via_symbols
