	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CcpRecvResetAck
_CcpRecvResetAck:                       ## @CcpRecvResetAck
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_fsm2ccp
	movq	%rax, %rbx
	movl	(%rax), %r8d
	cmpl	$-1, %r8d
	je	LBB0_3
## %bb.1:
	cmpl	%r14d, %r8d
	je	LBB0_5
## %bb.2:
	movq	_LogCCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_Printf                     ## TAILCALL
LBB0_3:
	movq	_LogCCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	(%rax), %edx
	cmpl	%r14d, 4(%rbx)
	jne	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movl	(%rbx), %r14d
LBB0_5:
	movl	%r14d, 4(%rbx)
	movl	$-1, (%rbx)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.8:
	movq	_algorithm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_Printf                     ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogCCP,4,2                     ## @LogCCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Incorrect ResetAck (id %d, not %d) ignored\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Duplicate ResetAck (resetting again)\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Unexpected ResetAck (id %d) ignored\n"

	.comm	_algorithm,8,3                  ## @algorithm
	.no_dead_strip	_CcpRecvResetAck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CcpRecvResetAck
_CcpRecvResetAck:                       ; @CcpRecvResetAck
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_fsm2ccp
	mov	x19, x0
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, w20
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _LogCCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LogCCP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	x9, [x21]
	ldr	w2, [x9]
	stp	x20, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_3:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _LogCCP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LogCCP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	ldr	x9, [x21]
	ldr	w2, [x9]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	ldr	w20, [x19]
LBB0_5:
	mov	w8, #-1
	stp	w8, w20, [x19]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.6:
Lloh10:
	adrp	x8, _algorithm@GOTPAGE
Lloh11:
	ldr	x8, [x8, _algorithm@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x1, [x8]
	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
	add	sp, sp, #64
	br	x1
LBB0_7:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	bl	_log_Printf
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LogCCP,4,2                     ; @LogCCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Incorrect ResetAck (id %d, not %d) ignored\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Duplicate ResetAck (resetting again)\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Unexpected ResetAck (id %d) ignored\n"

	.comm	_algorithm,8,3                  ; @algorithm
	.no_dead_strip	_CcpRecvResetAck
.subsections_via_symbols
