	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_encode_ack_frame        ## -- Begin function quicly_encode_ack_frame
	.p2align	4, 0x90
_quicly_encode_ack_frame:               ## @quicly_encode_ack_frame
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movslq	(%rdx), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	_QUICLY_FRAME_TYPE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$4, %rbx
	movq	8(%r15), %rax
	movl	-8(%rax,%r13,8), %esi
	decl	%esi
	movq	%rbx, %rdi
	callq	_quicly_encodev
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_quicly_encodev
	movl	(%r15), %esi
	decl	%esi
	movq	%rax, %rdi
	callq	_quicly_encodev
	movq	%rax, %r12
	movq	8(%r15), %rax
	movl	-8(%rax,%r13,8), %r14d
	movl	-4(%rax,%r13,8), %ebx
	xorl	%edi, %edi
	cmpl	%ebx, %r14d
	setg	%dil
	callq	_assert
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	cmpq	$32, %rax
	jl	LBB0_5
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	decq	%r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	notl	%ebx
	addl	%r14d, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_quicly_encodev
	movq	%rax, %r12
	subq	$1, %r13
	jb	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rcx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movl	(%rax,%rcx,8), %ebx
	movq	%rcx, %r15
	movl	12(%rax,%rcx,8), %r14d
	xorl	%edi, %edi
	cmpl	%ebx, %r14d
	setg	%dil
	callq	_assert
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	cmpq	$32, %rax
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	notl	%ebx
	addl	%ebx, %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_quicly_encodev
	movq	%rax, %r12
	movq	8(%r13), %rax
	movq	%r15, %r13
	movl	(%rax,%r15,8), %r14d
	movl	4(%rax,%r15,8), %ebx
	xorl	%edi, %edi
	cmpl	%ebx, %r14d
	setg	%dil
	callq	_assert
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r12, %rax
	cmpq	$31, %rax
	jg	LBB0_2
LBB0_5:
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_FRAME_TYPE_ACK,4,2      ## @QUICLY_FRAME_TYPE_ACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_encode_ack_frame        ; -- Begin function quicly_encode_ack_frame
	.p2align	2
_quicly_encode_ack_frame:               ; @quicly_encode_ack_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldrsw	x8, [x2]
	cmp	x8, #0
	cset	w0, ne
	sub	x24, x8, #1
	bl	_assert
Lloh0:
	adrp	x8, _QUICLY_FRAME_TYPE_ACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUICLY_FRAME_TYPE_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22], #4
	ldr	x8, [x19, #8]
	lsl	x23, x24, #3
	ldr	w8, [x8, x23]
	sub	w1, w8, #1
	mov	x0, x22
	bl	_quicly_encodev
	mov	x1, x21
	bl	_quicly_encodev
	ldr	w8, [x19]
	sub	w1, w8, #1
	bl	_quicly_encodev
	mov	x21, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldp	w26, w25, [x8]
	cmp	w26, w25
	cset	w0, gt
	bl	_assert
	sub	x8, x20, x21
	cmp	x8, #32
	b.lt	LBB0_5
; %bb.1:
	add	x22, x24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mvn	w8, w25
	add	w1, w26, w8
	mov	x0, x21
	bl	_quicly_encodev
	mov	x21, x0
	subs	x22, x22, #1
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldur	w24, [x8, #-8]
	ldr	w25, [x8, #4]
	cmp	w25, w24
	cset	w0, gt
	bl	_assert
	sub	x8, x20, x21
	cmp	x8, #32
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x27, x23, #8
	mvn	w8, w24
	add	w1, w25, w8
	mov	x0, x21
	bl	_quicly_encodev
	mov	x21, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldp	w26, w25, [x8, #-8]
	cmp	w26, w25
	cset	w0, gt
	bl	_assert
	sub	x8, x20, x21
	mov	x23, x27
	cmp	x8, #31
	b.gt	LBB0_2
LBB0_5:
	mov	x21, #0
LBB0_6:
	mov	x0, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_FRAME_TYPE_ACK,4,2      ; @QUICLY_FRAME_TYPE_ACK
.subsections_via_symbols
