	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ack_encode
_test_ack_encode:                       ## @test_ack_encode
	.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	$1080, %rsp                     ## imm = 0x438
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1116(%rbp), %r14
	movq	%r14, %rdi
	callq	_quicly_ranges_init
	movq	%r14, %rdi
	movl	$18, %esi
	movl	$20, %edx
	callq	_quicly_ranges_add
	leaq	3024(%rbp), %rbx
	leaq	-1072(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$63, %ecx
	callq	_quicly_encode_ack_frame
	movq	%rax, %r15
	subq	%r12, %rax
	xorl	%edi, %edi
	cmpq	$20, %rax
	sete	%dil
	callq	_ok
	leaq	-1068(%rbp), %rax
	movq	%rax, -1080(%rbp)
	leaq	-1080(%rbp), %r13
	leaq	-1112(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_quicly_decode_ack_frame
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	%r15, -1080(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$63, -1112(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -1108(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$19, -1104(%rbp)
	sete	%dil
	callq	_ok
	movq	-1096(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$2, (%rax)
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	movl	$16, %esi
	movl	$17, %edx
	callq	_quicly_ranges_add
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$63, %ecx
	callq	_quicly_encode_ack_frame
	movq	%rax, %rbx
	subq	%r12, %rax
	xorl	%edi, %edi
	cmpq	$28, %rax
	sete	%dil
	callq	_ok
	leaq	-1068(%rbp), %rax
	movq	%rax, -1080(%rbp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	-1112(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_quicly_decode_ack_frame
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpq	%rbx, -1080(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$63, -1112(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$1, -1108(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$19, -1104(%rbp)
	sete	%dil
	callq	_ok
	movq	-1096(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$2, (%rax)
	sete	%dil
	callq	_ok
	movq	-1088(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$1, (%rax)
	sete	%dil
	callq	_ok
	movq	-1096(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$1, 4(%rax)
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_quicly_ranges_clear
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$1080, %rsp                     ## imm = 0x438
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_ack_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ack_encode
_test_ack_encode:                       ; @test_ack_encode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1088
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x0, sp, #52
	bl	_quicly_ranges_init
	add	x0, sp, #52
	mov	w1, #18
	mov	w2, #20
	bl	_quicly_ranges_add
	add	x21, sp, #56
	add	x19, x21, #1, lsl #12           ; =4096
	add	x0, sp, #56
	add	x2, sp, #52
	mov	x1, x19
	mov	w3, #63
	bl	_quicly_encode_ack_frame
	mov	x20, x0
	sub	x8, x0, x21
	cmp	x8, #20
	cset	w0, eq
	bl	_ok
	add	x22, x21, #4
	str	x22, [sp, #40]
	add	x0, sp, #40
	add	x2, sp, #8
	mov	x1, x20
	mov	w3, #0
	bl	_quicly_decode_ack_frame
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #40]
	cmp	x8, x20
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #8]
	cmp	w8, #63
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #16]
	cmp	w8, #19
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	cmp	w8, #2
	cset	w0, eq
	bl	_ok
	add	x0, sp, #52
	mov	w1, #16
	mov	w2, #17
	bl	_quicly_ranges_add
	add	x0, sp, #56
	add	x2, sp, #52
	mov	x1, x19
	mov	w3, #63
	bl	_quicly_encode_ack_frame
	mov	x19, x0
	sub	x8, x0, x21
	cmp	x8, #28
	cset	w0, eq
	bl	_ok
	str	x22, [sp, #40]
	add	x0, sp, #40
	add	x2, sp, #8
	mov	x1, x19
	mov	w3, #0
	bl	_quicly_decode_ack_frame
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #40]
	cmp	x8, x19
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #8]
	cmp	w8, #63
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #12]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #16]
	cmp	w8, #19
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	cmp	w8, #2
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #32]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #24]
	ldr	w8, [x8, #4]
	cmp	w8, #1
	cset	w0, eq
	bl	_ok
	add	x0, sp, #52
	bl	_quicly_ranges_clear
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #1088
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_ack_encode
.subsections_via_symbols
