	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_ack_frame
_handle_ack_frame:                      ## @handle_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	16(%rsi), %rdi
	movl	12(%rsi), %esi
	movq	(%rbx), %rax
	movq	_QUICLY_FRAME_TYPE_ACK_ECN@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	leaq	-144(%rbp), %rdx
	callq	_quicly_decode_ack_frame
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	-144(%rbp), %r13
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.3:
	movq	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_21
LBB0_4:
	movl	$0, 28(%r15)
LBB0_5:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_init_acks_iter
	movq	-136(%rbp), %rcx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	-128(%rbp), %rax
	movq	(%rax,%rcx,8), %r14
	testq	%r14, %r14
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_QUICTRACE_RECV_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_probe_now
	leaq	(%r14,%r13), %r8
	decq	%r8
	movl	%ebx, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_quicly_sentmap_get
	cmpq	%r13, (%rax)
	jge	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rdi
	callq	_quicly_sentmap_skip
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_quicly_sentmap_skip
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%r13
	decq	%r14
	je	LBB0_16
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_quicly_sentmap_get
	cmpq	(%rax), %r13
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rax, %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	incl	24(%r15)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	8(%rax), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	32(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	16(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_PACKET_ACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_probe_now
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	%r13, %rcx
	movl	$1, %r8d
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_QUICLY_SENTMAP_EVENT_ACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	-48(%rbp), %rsi
	movq	%r15, %rcx
	movq	%rsi, %r15
	callq	_quicly_sentmap_update
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	subq	$1, %rcx
	jb	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rax
	addq	(%rax,%rcx,8), %r13
	jmp	LBB0_6
LBB0_13:
	movl	%eax, %r12d
LBB0_21:
	movl	%r12d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_QUICTRACE_RECV_ACK_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_probe_now
	movslq	-108(%rbp), %rcx
	movl	%ebx, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-108(%rbp), %r8d
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_quicly_loss_on_ack_received
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_20
## %bb.19:
	leaq	16(%rbx), %rdi
	movl	-112(%rbp), %edx
	movl	8(%rbx), %ecx
	addl	%r15d, %ecx
	movl	%r15d, %esi
	callq	_quicly_cc_on_acked
	movq	_QUICTRACE_CC_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_probe_now
	movl	16(%rbx), %r8d
	movq	8(%rbx), %r9
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
LBB0_20:
	movq	_CC_ACK_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_probe_now
	movslq	-112(%rbp), %rcx
	movl	16(%rbx), %r9d
	movq	8(%rbx), %rdx
	movq	%rdx, (%rsp)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movl	-112(%rbp), %esi
	movq	_do_detect_loss@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_quicly_loss_detect_loss
	movq	%rbx, %rdi
	callq	_update_loss_alarm
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_QUICLY_FRAME_TYPE_ACK_ECN,8,3  ## @QUICLY_FRAME_TYPE_ACK_ECN
	.comm	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ## @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
	.comm	_QUICTRACE_RECV_ACK,4,2         ## @QUICTRACE_RECV_ACK
	.comm	_PACKET_ACKED,4,2               ## @PACKET_ACKED
	.comm	_QUICLY_SENTMAP_EVENT_ACKED,4,2 ## @QUICLY_SENTMAP_EVENT_ACKED
	.comm	_QUICTRACE_RECV_ACK_DELAY,4,2   ## @QUICTRACE_RECV_ACK_DELAY
	.comm	_now,4,2                        ## @now
	.comm	_QUICTRACE_CC_ACK,4,2           ## @QUICTRACE_CC_ACK
	.comm	_CC_ACK_RECEIVED,4,2            ## @CC_ACK_RECEIVED
	.comm	_do_detect_loss,4,2             ## @do_detect_loss
	.no_dead_strip	_handle_ack_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_ack_frame
_handle_ack_frame:                      ; @handle_ack_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x23, [x8]
Lloh3:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	add	x0, x1, #16
	ldr	w1, [x1, #12]
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _QUICLY_FRAME_TYPE_ACK_ECN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QUICLY_FRAME_TYPE_ACK_ECN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w3, eq
	add	x2, sp, #56
	bl	_quicly_decode_ack_frame
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	ldr	x25, [sp, #56]
	ldr	w8, [x22, #8]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_1
LBB0_5:
	str	wzr, [x19, #28]
LBB0_6:
	add	x1, sp, #52
	mov	x0, x19
	bl	_init_acks_iter
	mov	x20, #0
	mov	w24, #0
	ldr	x9, [sp, #64]
	add	x8, x19, #8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [sp, #72]
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x26, [x8, x9, lsl #3]
	cbz	x26, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh12:
	adrp	x8, _QUICTRACE_RECV_ACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUICTRACE_RECV_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	bl	_probe_now
	mov	x2, x0
	add	x8, x25, x26
	sub	x8, x8, #1
	str	x8, [sp]
	mov	x0, x27
	mov	x1, x19
	mov	x3, x25
	bl	_QUICLY_PROBE
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #52
	bl	_quicly_sentmap_get
	ldr	x8, [x0]
	cmp	x8, x25
	b.ge	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #52
	bl	_quicly_sentmap_skip
	b	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x0, sp, #52
	bl	_quicly_sentmap_skip
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x25, x25, #1
	subs	x26, x26, #1
	b.eq	LBB0_17
LBB0_13:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #52
	bl	_quicly_sentmap_get
	ldr	x8, [x0]
	cmp	x25, x8
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x27, x0
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	ldrsw	x8, [x22, #8]
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w21, [x27, #32]
	ldr	w28, [x27, #16]
Lloh15:
	adrp	x8, _PACKET_ACKED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PACKET_ACKED@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	bl	_probe_now
	mov	x2, x0
	mov	w8, #1
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x19
	mov	x3, x25
	bl	_QUICLY_PROBE
	ldr	x23, [x27, #24]
Lloh18:
	adrp	x8, _QUICLY_SENTMAP_EVENT_ACKED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QUICLY_SENTMAP_EVENT_ACKED@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x1, sp, #52
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x19
	bl	_quicly_sentmap_update
	cbnz	w0, LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	orr	w24, w28, w24
	add	x20, x23, x20
	mov	x23, x25
	b	LBB0_12
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x9, x9, #1
	ldr	x8, [sp, #80]
	ldr	x8, [x8, x9, lsl #3]
	add	x25, x8, x25
	b	LBB0_7
LBB0_19:
Lloh21:
	adrp	x8, _QUICTRACE_RECV_ACK_DELAY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QUICTRACE_RECV_ACK_DELAY@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
	bl	_probe_now
	mov	x2, x0
	ldrsw	x3, [sp, #92]
	mov	x0, x22
	mov	x1, x19
	bl	_QUICLY_PROBE
Lloh24:
	adrp	x8, _now@GOTPAGE
Lloh25:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldr	w4, [sp, #92]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x21
	mov	x5, x24
	bl	_quicly_loss_on_ack_received
	cbz	x20, LBB0_21
; %bb.20:
	add	x0, x19, #16
	ldr	w2, [sp, #88]
	ldr	w8, [x19, #8]
	add	w3, w8, w20
	mov	x1, x20
	bl	_quicly_cc_on_acked
Lloh27:
	adrp	x8, _QUICTRACE_CC_ACK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QUICTRACE_CC_ACK@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	bl	_probe_now
	mov	x2, x0
	ldr	x8, [x19, #8]
	ldr	w9, [x19, #16]
	stp	x9, x8, [sp]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x19
	bl	_QUICLY_PROBE
LBB0_21:
Lloh30:
	adrp	x8, _CC_ACK_RECEIVED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CC_ACK_RECEIVED@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	bl	_probe_now
	mov	x2, x0
	ldrsw	x3, [sp, #88]
	ldr	x8, [x19, #8]
	ldr	w9, [x19, #16]
	stp	x9, x8, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	mov	x1, x19
	bl	_QUICLY_PROBE
	ldr	w1, [sp, #88]
Lloh33:
	adrp	x8, _do_detect_loss@GOTPAGE
Lloh34:
	ldr	x8, [x8, _do_detect_loss@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_quicly_loss_detect_loss
	mov	x0, x19
	bl	_update_loss_alarm
	mov	w0, #0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_QUICLY_FRAME_TYPE_ACK_ECN,8,3  ; @QUICLY_FRAME_TYPE_ACK_ECN
	.comm	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ; @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
	.comm	_QUICTRACE_RECV_ACK,4,2         ; @QUICTRACE_RECV_ACK
	.comm	_PACKET_ACKED,4,2               ; @PACKET_ACKED
	.comm	_QUICLY_SENTMAP_EVENT_ACKED,4,2 ; @QUICLY_SENTMAP_EVENT_ACKED
	.comm	_QUICTRACE_RECV_ACK_DELAY,4,2   ; @QUICTRACE_RECV_ACK_DELAY
	.comm	_now,4,2                        ; @now
	.comm	_QUICTRACE_CC_ACK,4,2           ; @QUICTRACE_CC_ACK
	.comm	_CC_ACK_RECEIVED,4,2            ; @CC_ACK_RECEIVED
	.comm	_do_detect_loss,4,2             ; @do_detect_loss
	.no_dead_strip	_handle_ack_frame
.subsections_via_symbols
