	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_state_event
_link_state_event:                      ## @link_state_event
	.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, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	cmpl	$132, %esi
	je	LBB0_2
## %bb.1:
	cmpl	$0, 4(%r15)
	je	LBB0_55
LBB0_2:
	movq	%r15, %rdi
	callq	_link_blocked
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpl	$131, %ebx
	je	LBB0_4
LBB0_55:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	24(%r15), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	8(%r15), %esi
	leal	-128(%rsi), %eax
	cmpl	$6, %eax
	ja	LBB0_54
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	leal	-130(%rbx), %eax
	cmpl	$6, %eax
	ja	LBB0_20
## %bb.9:
	leaq	LJTI0_4(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	jmp	LBB0_11
LBB0_22:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	leal	-130(%rbx), %eax
	cmpl	$6, %eax
	ja	LBB0_33
## %bb.23:
	leaq	LJTI0_3(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_24:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
LBB0_25:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movq	$128, 8(%r15)
	jmp	LBB0_4
LBB0_54:
	leaq	L_.str.29(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_err                            ## TAILCALL
LBB0_34:
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	leal	-130(%rbx), %eax
	cmpl	$6, %eax
	ja	LBB0_48
## %bb.35:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_36:
	leaq	L_.str.18(%rip), %rdi
	jmp	LBB0_12
LBB0_49:
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	leal	-130(%rbx), %eax
	cmpl	$6, %eax
	ja	LBB0_53
## %bb.50:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_37:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
LBB0_38:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_40
## %bb.39:
	callq	_link_working_unknown
	testl	%eax, %eax
	je	LBB0_40
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_12
LBB0_40:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movq	$128, 8(%r15)
	movq	%r15, %rdi
	callq	_link_activate
	movq	_STATE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r15, %rdi
	jmp	LBB0_42
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dbg_link
	movl	32(%r15), %eax
	cmpl	36(%r15), %eax
	jne	LBB0_14
## %bb.17:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movq	$129, 8(%r15)
	movq	_STATE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tipc_link_send_proto_msg
	incl	12(%r15)
	leal	3(%r14), %esi
	testl	%r14d, %r14d
	cmovnsl	%r14d, %esi
	sarl	$2, %esi
	movq	%r15, %rdi
	jmp	LBB0_5
LBB0_20:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	24(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_19
LBB0_27:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	32(%r15), %eax
	cmpl	36(%r15), %eax
	jne	LBB0_28
## %bb.30:
	movl	12(%r15), %esi
	movl	28(%r15), %edx
	cmpl	%edx, %esi
	jge	LBB0_32
## %bb.31:
	leal	3(%r14), %ebx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %ebx
	sarl	$2, %ebx
	leaq	L_.str.13(%rip), %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dbg_link
	movq	_STATE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tipc_link_send_proto_msg
	incl	12(%r15)
	movq	%r15, %rdi
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_33:
	leaq	L_.str.16(%rip), %rdi
	jmp	LBB0_21
LBB0_26:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	24(%r15), %esi
	leaq	L_.str.11(%rip), %rdi
LBB0_19:
	callq	_info
	movq	%r15, %rdi
	callq	_tipc_link_reset
	movq	$134, 8(%r15)
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$136, %esi
	xorl	%edx, %edx
	jmp	LBB0_43
LBB0_52:
	leaq	L_.str.26(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$136, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tipc_link_send_proto_msg
	incl	12(%r15)
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_link_set_timer
	movl	12(%r15), %esi
	leaq	L_.str.27(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg_link                       ## TAILCALL
LBB0_53:
	leaq	L_.str.28(%rip), %rdi
	jmp	LBB0_21
LBB0_51:
	leaq	L_.str.25(%rip), %rdi
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg_link                       ## TAILCALL
LBB0_44:
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	$1, 4(%r15)
LBB0_45:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
LBB0_46:
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$135, %esi
	xorl	%edx, %edx
	jmp	LBB0_43
LBB0_48:
	leaq	L_.str.23(%rip), %rdi
LBB0_21:
	movl	%ebx, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_err                            ## TAILCALL
LBB0_41:
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movq	$134, 8(%r15)
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$136, %esi
LBB0_42:
	movl	$1, %edx
LBB0_43:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tipc_link_send_proto_msg
	incl	12(%r15)
LBB0_4:
	movq	%r15, %rdi
	movl	%r14d, %esi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_link_set_timer                 ## TAILCALL
LBB0_14:
	movl	%eax, 36(%r15)
	movq	16(%r15), %rdi
	callq	_tipc_bclink_acks_missing
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	44(%r15), %eax
	movl	$1, %ebx
	cmpl	40(%r15), %eax
	jge	LBB0_4
LBB0_16:
	movq	_STATE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	%ebx, %edx
	jmp	LBB0_43
LBB0_28:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movq	$128, 8(%r15)
	movl	32(%r15), %eax
	movl	%eax, 36(%r15)
	movq	16(%r15), %rdi
	callq	_tipc_bclink_acks_missing
	testl	%eax, %eax
	je	LBB0_4
## %bb.29:
	movq	_STATE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	jmp	LBB0_43
LBB0_32:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_link
	movl	24(%r15), %esi
	leaq	L_.str.15(%rip), %rdi
	callq	_warn
	movq	%r15, %rdi
	callq	_tipc_link_reset
	movq	$133, 8(%r15)
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_22
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_34
	.long	L0_0_set_49
.set L0_1_set_37, LBB0_37-LJTI0_1
.set L0_1_set_52, LBB0_52-LJTI0_1
.set L0_1_set_53, LBB0_53-LJTI0_1
.set L0_1_set_51, LBB0_51-LJTI0_1
.set L0_1_set_38, LBB0_38-LJTI0_1
LJTI0_1:
	.long	L0_1_set_37
	.long	L0_1_set_52
	.long	L0_1_set_53
	.long	L0_1_set_53
	.long	L0_1_set_53
	.long	L0_1_set_51
	.long	L0_1_set_38
.set L0_2_set_36, LBB0_36-LJTI0_2
.set L0_2_set_45, LBB0_45-LJTI0_2
.set L0_2_set_44, LBB0_44-LJTI0_2
.set L0_2_set_48, LBB0_48-LJTI0_2
.set L0_2_set_41, LBB0_41-LJTI0_2
.set L0_2_set_38, LBB0_38-LJTI0_2
LJTI0_2:
	.long	L0_2_set_36
	.long	L0_2_set_45
	.long	L0_2_set_44
	.long	L0_2_set_48
	.long	L0_2_set_48
	.long	L0_2_set_41
	.long	L0_2_set_38
.set L0_3_set_24, LBB0_24-LJTI0_3
.set L0_3_set_27, LBB0_27-LJTI0_3
.set L0_3_set_33, LBB0_33-LJTI0_3
.set L0_3_set_26, LBB0_26-LJTI0_3
.set L0_3_set_25, LBB0_25-LJTI0_3
LJTI0_3:
	.long	L0_3_set_24
	.long	L0_3_set_27
	.long	L0_3_set_33
	.long	L0_3_set_33
	.long	L0_3_set_33
	.long	L0_3_set_26
	.long	L0_3_set_25
.set L0_4_set_10, LBB0_10-LJTI0_4
.set L0_4_set_13, LBB0_13-LJTI0_4
.set L0_4_set_20, LBB0_20-LJTI0_4
.set L0_4_set_18, LBB0_18-LJTI0_4
.set L0_4_set_11, LBB0_11-LJTI0_4
LJTI0_4:
	.long	L0_4_set_10
	.long	L0_4_set_13
	.long	L0_4_set_20
	.long	L0_4_set_20
	.long	L0_4_set_20
	.long	L0_4_set_18
	.long	L0_4_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STATE_EV: <%s> "

L_.str.1:                               ## @.str.1
	.asciz	"WW/"

L_.str.2:                               ## @.str.2
	.asciz	"TRF-"

L_.str.3:                               ## @.str.3
	.asciz	"ACT\n"

L_.str.4:                               ## @.str.4
	.asciz	"TIM "

	.comm	_STATE_MSG,4,2                  ## @STATE_MSG
L_.str.5:                               ## @.str.5
	.asciz	" -> WU\n"

L_.str.6:                               ## @.str.6
	.asciz	"RES -> RR\n"

L_.str.7:                               ## @.str.7
	.asciz	"Resetting link <%s>, requested by peer\n"

L_.str.8:                               ## @.str.8
	.asciz	"Unknown link event %u in WW state\n"

L_.str.9:                               ## @.str.9
	.asciz	"WU/"

L_.str.10:                              ## @.str.10
	.asciz	"ACT -> WW\n"

L_.str.11:                              ## @.str.11
	.asciz	"Resetting link <%s>, requested by peer while probing\n"

L_.str.12:                              ## @.str.12
	.asciz	"-> WW \n"

L_.str.13:                              ## @.str.13
	.asciz	"Probing %u/%u,timer = %u ms)\n"

L_.str.14:                              ## @.str.14
	.asciz	"-> RU (%u probes unanswered)\n"

L_.str.15:                              ## @.str.15
	.asciz	"Resetting link <%s>, peer not responding\n"

L_.str.16:                              ## @.str.16
	.asciz	"Unknown link event %u in WU state\n"

L_.str.17:                              ## @.str.17
	.asciz	"RU/"

L_.str.18:                              ## @.str.18
	.asciz	"TRF-\n"

L_.str.19:                              ## @.str.19
	.asciz	"RES \n"

L_.str.20:                              ## @.str.20
	.asciz	" -> RR\n"

L_.str.21:                              ## @.str.21
	.asciz	"START-"

L_.str.22:                              ## @.str.22
	.asciz	"TIM \n"

L_.str.23:                              ## @.str.23
	.asciz	"Unknown link event %u in RU state\n"

L_.str.24:                              ## @.str.24
	.asciz	"RR/ "

L_.str.25:                              ## @.str.25
	.asciz	"RES\n"

L_.str.26:                              ## @.str.26
	.asciz	"TIM\n"

L_.str.27:                              ## @.str.27
	.asciz	"fsm_msg_cnt %u\n"

L_.str.28:                              ## @.str.28
	.asciz	"Unknown link event %u in RR state\n"

L_.str.29:                              ## @.str.29
	.asciz	"Unknown link state %u/%u\n"

	.no_dead_strip	_link_state_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function link_state_event
lCPI0_0:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
lCPI0_1:
	.long	134                             ; 0x86
	.long	0                               ; 0x0
lCPI0_2:
	.long	133                             ; 0x85
	.long	0                               ; 0x0
lCPI0_3:
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_link_state_event:                      ; @link_state_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	ldr	w20, [x0]
	cmp	w1, #132
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_link_blocked
	cbz	x0, LBB0_5
; %bb.3:
	cmp	w21, #131
	b.eq	LBB0_47
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	w8, [x19, #24]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_link
	ldr	w1, [x19, #8]
	sub	w8, w1, #128
	cmp	w8, #6
	b.hi	LBB0_14
; %bb.6:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg_link
	sub	w8, w21, #130
	cmp	w8, #6
	b.hi	LBB0_27
; %bb.8:
Lloh6:
	adrp	x9, lJTI0_4@PAGE
Lloh7:
	add	x9, x9, lJTI0_4@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg_link
	b	LBB0_23
LBB0_10:
Lloh10:
	adrp	x0, l_.str.9@PAGE
Lloh11:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_dbg_link
	sub	w8, w21, #130
	cmp	w8, #6
	b.hi	LBB0_32
; %bb.11:
Lloh12:
	adrp	x9, lJTI0_3@PAGE
Lloh13:
	add	x9, x9, lJTI0_3@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg_link
LBB0_13:
Lloh16:
	adrp	x0, l_.str.10@PAGE
Lloh17:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_dbg_link
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	b	LBB0_47
LBB0_14:
	str	x21, [sp]
Lloh20:
	adrp	x0, l_.str.29@PAGE
Lloh21:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_err
	b	LBB0_4
LBB0_15:
Lloh22:
	adrp	x0, l_.str.17@PAGE
Lloh23:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_dbg_link
	sub	w8, w21, #130
	cmp	w8, #6
	b.hi	LBB0_42
; %bb.16:
Lloh24:
	adrp	x9, lJTI0_2@PAGE
Lloh25:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
Lloh26:
	adrp	x0, l_.str.18@PAGE
Lloh27:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_38
LBB0_18:
Lloh28:
	adrp	x0, l_.str.24@PAGE
Lloh29:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_dbg_link
	sub	w8, w21, #130
	cmp	w8, #6
	b.hi	LBB0_36
; %bb.19:
Lloh30:
	adrp	x9, lJTI0_1@PAGE
Lloh31:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_20
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_20:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg_link
LBB0_21:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_24
; %bb.22:
	bl	_link_working_unknown
	cbz	w0, LBB0_24
LBB0_23:
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_38
LBB0_24:
Lloh36:
	adrp	x0, l_.str.10@PAGE
Lloh37:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_dbg_link
Lloh38:
	adrp	x8, lCPI0_0@PAGE
Lloh39:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	mov	x0, x19
	bl	_link_activate
Lloh40:
	adrp	x8, _STATE_MSG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _STATE_MSG@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	b	LBB0_45
LBB0_25:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dbg_link
	ldp	w8, w9, [x19, #32]
	cmp	w8, w9
	b.ne	LBB0_49
; %bb.26:
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dbg_link
Lloh47:
	adrp	x8, lCPI0_3@PAGE
Lloh48:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	str	d0, [x19, #8]
Lloh49:
	adrp	x8, _STATE_MSG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _STATE_MSG@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_tipc_link_send_proto_msg
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	w8, w20, #3
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w1, w8, #2
	mov	x0, x19
	b	LBB0_48
LBB0_27:
Lloh52:
	adrp	x0, l_.str.8@PAGE
Lloh53:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_43
LBB0_28:
Lloh54:
	adrp	x0, l_.str.6@PAGE
Lloh55:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dbg_link
	ldr	w1, [x19, #24]
Lloh56:
	adrp	x0, l_.str.7@PAGE
Lloh57:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_34
LBB0_29:
Lloh58:
	adrp	x0, l_.str.4@PAGE
Lloh59:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dbg_link
	ldp	w8, w9, [x19, #32]
	cmp	w8, w9
	b.ne	LBB0_51
; %bb.30:
	ldr	w8, [x19, #12]
	ldr	w9, [x19, #28]
	cmp	w8, w9
	b.ge	LBB0_53
; %bb.31:
	add	w10, w20, #3
	cmp	w20, #0
	csel	w10, w10, w20, lt
	asr	w20, w10, #2
	stp	x8, x9, [sp]
	str	x20, [sp, #16]
Lloh60:
	adrp	x0, l_.str.13@PAGE
Lloh61:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_dbg_link
Lloh62:
	adrp	x8, _STATE_MSG@GOTPAGE
Lloh63:
	ldr	x8, [x8, _STATE_MSG@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_tipc_link_send_proto_msg
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x19
	mov	x1, x20
	b	LBB0_48
LBB0_32:
Lloh65:
	adrp	x0, l_.str.16@PAGE
Lloh66:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_43
LBB0_33:
Lloh67:
	adrp	x0, l_.str.6@PAGE
Lloh68:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dbg_link
	ldr	w1, [x19, #24]
Lloh69:
	adrp	x0, l_.str.11@PAGE
Lloh70:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_34:
	bl	_info
	mov	x0, x19
	bl	_tipc_link_reset
Lloh71:
	adrp	x8, lCPI0_1@PAGE
Lloh72:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x19, #8]
	mov	x0, x19
	mov	w1, #136
	mov	w2, #0
	b	LBB0_46
LBB0_35:
Lloh73:
	adrp	x0, l_.str.26@PAGE
Lloh74:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_dbg_link
	mov	x0, x19
	mov	w1, #136
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_tipc_link_send_proto_msg
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_link_set_timer
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh75:
	adrp	x0, l_.str.27@PAGE
Lloh76:
	add	x0, x0, l_.str.27@PAGEOFF
	bl	_dbg_link
	b	LBB0_4
LBB0_36:
Lloh77:
	adrp	x0, l_.str.28@PAGE
Lloh78:
	add	x0, x0, l_.str.28@PAGEOFF
	b	LBB0_43
LBB0_37:
Lloh79:
	adrp	x0, l_.str.25@PAGE
Lloh80:
	add	x0, x0, l_.str.25@PAGEOFF
LBB0_38:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dbg_link
LBB0_39:
Lloh81:
	adrp	x0, l_.str.21@PAGE
Lloh82:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_dbg_link
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_40:
Lloh83:
	adrp	x0, l_.str.22@PAGE
Lloh84:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_dbg_link
LBB0_41:
	mov	x0, x19
	mov	w1, #135
	mov	w2, #0
	b	LBB0_46
LBB0_42:
Lloh85:
	adrp	x0, l_.str.23@PAGE
Lloh86:
	add	x0, x0, l_.str.23@PAGEOFF
LBB0_43:
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_err
LBB0_44:
Lloh87:
	adrp	x0, l_.str.19@PAGE
Lloh88:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_dbg_link
Lloh89:
	adrp	x0, l_.str.20@PAGE
Lloh90:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_dbg_link
Lloh91:
	adrp	x8, lCPI0_1@PAGE
Lloh92:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x19, #8]
	mov	x0, x19
	mov	w1, #136
LBB0_45:
	mov	w2, #1
LBB0_46:
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_tipc_link_send_proto_msg
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_47:
	mov	x0, x19
	mov	x1, x20
LBB0_48:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_link_set_timer
LBB0_49:
	str	w8, [x19, #36]
	ldr	x0, [x19, #16]
	bl	_tipc_bclink_acks_missing
	cbz	w0, LBB0_54
; %bb.50:
	mov	w2, #0
	b	LBB0_56
LBB0_51:
Lloh93:
	adrp	x0, l_.str.12@PAGE
Lloh94:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_dbg_link
Lloh95:
	adrp	x8, lCPI0_0@PAGE
Lloh96:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	ldr	w8, [x19, #32]
	str	w8, [x19, #36]
	ldr	x0, [x19, #16]
	bl	_tipc_bclink_acks_missing
	cbz	w0, LBB0_47
; %bb.52:
Lloh97:
	adrp	x8, _STATE_MSG@GOTPAGE
Lloh98:
	ldr	x8, [x8, _STATE_MSG@GOTPAGEOFF]
Lloh99:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	b	LBB0_46
LBB0_53:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh100:
	adrp	x0, l_.str.14@PAGE
Lloh101:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_dbg_link
	ldr	w1, [x19, #24]
Lloh102:
	adrp	x0, l_.str.15@PAGE
Lloh103:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_tipc_link_reset
Lloh104:
	adrp	x8, lCPI0_2@PAGE
Lloh105:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [x19, #8]
	b	LBB0_41
LBB0_54:
	ldp	w9, w8, [x19, #40]
	cmp	w8, w9
	b.ge	LBB0_47
; %bb.55:
	mov	w2, #1
LBB0_56:
Lloh106:
	adrp	x8, _STATE_MSG@GOTPAGE
Lloh107:
	ldr	x8, [x8, _STATE_MSG@GOTPAGEOFF]
Lloh108:
	ldr	w1, [x8]
	mov	x0, x19
	b	LBB0_46
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdrp	Lloh47, Lloh49
	.loh AdrpLdr	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdr	Lloh71, Lloh72
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdr	Lloh91, Lloh92
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdr	Lloh95, Lloh96
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdr	Lloh104, Lloh105
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_35-LBB0_20)>>2
	.byte	(LBB0_36-LBB0_20)>>2
	.byte	(LBB0_36-LBB0_20)>>2
	.byte	(LBB0_36-LBB0_20)>>2
	.byte	(LBB0_37-LBB0_20)>>2
	.byte	(LBB0_21-LBB0_20)>>2
lJTI0_2:
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_40-LBB0_17)>>2
	.byte	(LBB0_39-LBB0_17)>>2
	.byte	(LBB0_42-LBB0_17)>>2
	.byte	(LBB0_42-LBB0_17)>>2
	.byte	(LBB0_44-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
lJTI0_3:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_29-LBB0_12)>>2
	.byte	(LBB0_32-LBB0_12)>>2
	.byte	(LBB0_32-LBB0_12)>>2
	.byte	(LBB0_32-LBB0_12)>>2
	.byte	(LBB0_33-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
lJTI0_4:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_25-LBB0_9)>>2
	.byte	(LBB0_27-LBB0_9)>>2
	.byte	(LBB0_27-LBB0_9)>>2
	.byte	(LBB0_27-LBB0_9)>>2
	.byte	(LBB0_28-LBB0_9)>>2
	.byte	(LBB0_23-LBB0_9)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STATE_EV: <%s> "

l_.str.1:                               ; @.str.1
	.asciz	"WW/"

l_.str.2:                               ; @.str.2
	.asciz	"TRF-"

l_.str.3:                               ; @.str.3
	.asciz	"ACT\n"

l_.str.4:                               ; @.str.4
	.asciz	"TIM "

	.comm	_STATE_MSG,4,2                  ; @STATE_MSG
l_.str.5:                               ; @.str.5
	.asciz	" -> WU\n"

l_.str.6:                               ; @.str.6
	.asciz	"RES -> RR\n"

l_.str.7:                               ; @.str.7
	.asciz	"Resetting link <%s>, requested by peer\n"

l_.str.8:                               ; @.str.8
	.asciz	"Unknown link event %u in WW state\n"

l_.str.9:                               ; @.str.9
	.asciz	"WU/"

l_.str.10:                              ; @.str.10
	.asciz	"ACT -> WW\n"

l_.str.11:                              ; @.str.11
	.asciz	"Resetting link <%s>, requested by peer while probing\n"

l_.str.12:                              ; @.str.12
	.asciz	"-> WW \n"

l_.str.13:                              ; @.str.13
	.asciz	"Probing %u/%u,timer = %u ms)\n"

l_.str.14:                              ; @.str.14
	.asciz	"-> RU (%u probes unanswered)\n"

l_.str.15:                              ; @.str.15
	.asciz	"Resetting link <%s>, peer not responding\n"

l_.str.16:                              ; @.str.16
	.asciz	"Unknown link event %u in WU state\n"

l_.str.17:                              ; @.str.17
	.asciz	"RU/"

l_.str.18:                              ; @.str.18
	.asciz	"TRF-\n"

l_.str.19:                              ; @.str.19
	.asciz	"RES \n"

l_.str.20:                              ; @.str.20
	.asciz	" -> RR\n"

l_.str.21:                              ; @.str.21
	.asciz	"START-"

l_.str.22:                              ; @.str.22
	.asciz	"TIM \n"

l_.str.23:                              ; @.str.23
	.asciz	"Unknown link event %u in RU state\n"

l_.str.24:                              ; @.str.24
	.asciz	"RR/ "

l_.str.25:                              ; @.str.25
	.asciz	"RES\n"

l_.str.26:                              ; @.str.26
	.asciz	"TIM\n"

l_.str.27:                              ; @.str.27
	.asciz	"fsm_msg_cnt %u\n"

l_.str.28:                              ; @.str.28
	.asciz	"Unknown link event %u in RR state\n"

l_.str.29:                              ; @.str.29
	.asciz	"Unknown link state %u/%u\n"

	.no_dead_strip	_link_state_event
.subsections_via_symbols
