	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_basic
_test_basic:                            ## @test_basic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_quicly_maxsender_init
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$100, %edx
	movl	$512, %ecx                      ## imm = 0x200
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$100, %edx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	movq	%rbx, %rdi
	movl	$99, %esi
	movl	$100, %edx
	xorl	%ecx, %ecx
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$100, %esi
	movl	$100, %edx
	xorl	%ecx, %ecx
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	movq	%rbx, %rdi
	movl	$24, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$25, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	leaq	-20(%rbp), %r14
	movq	%rbx, %rdi
	movl	$125, %esi
	movq	%r14, %rdx
	callq	_quicly_maxsender_record
	movq	%rbx, %rdi
	movl	$49, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$50, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_quicly_maxsender_acked
	movq	%rbx, %rdi
	movl	$49, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movl	$50, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	movq	%rbx, %rdi
	movl	$150, %esi
	movq	%r14, %rdx
	callq	_quicly_maxsender_record
	movq	%rbx, %rdi
	movl	$74, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_quicly_maxsender_lost
	movq	%rbx, %rdi
	movl	$74, %esi
	movl	$100, %edx
	movl	$768, %ecx                      ## imm = 0x300
	callq	_quicly_maxsender_should_send_max
	movl	%eax, %edi
	callq	_ok
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_basic
_test_basic:                            ; @test_basic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x29, #4
	mov	w1, #100
	bl	_quicly_maxsender_init
	sub	x0, x29, #4
	mov	w1, #0
	mov	w2, #100
	mov	w3, #512
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #0
	mov	w2, #100
	mov	w3, #1024
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #99
	mov	w2, #100
	mov	w3, #0
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #100
	mov	w2, #100
	mov	w3, #0
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #24
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #25
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	sub	x0, x29, #4
	add	x2, sp, #8
	mov	w1, #125
	bl	_quicly_maxsender_record
	sub	x0, x29, #4
	mov	w1, #49
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #50
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_quicly_maxsender_acked
	sub	x0, x29, #4
	mov	w1, #49
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	mov	w1, #50
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	sub	x0, x29, #4
	add	x2, sp, #8
	mov	w1, #150
	bl	_quicly_maxsender_record
	sub	x0, x29, #4
	mov	w1, #74
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #4
	add	x1, sp, #8
	bl	_quicly_maxsender_lost
	sub	x0, x29, #4
	mov	w1, #74
	mov	w2, #100
	mov	w3, #768
	bl	_quicly_maxsender_should_send_max
	bl	_ok
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_basic
.subsections_via_symbols
