	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_retransmit           ## -- Begin function tipc_link_retransmit
	.p2align	4, 0x90
_tipc_link_retransmit:                  ## @tipc_link_retransmit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_buf_msg
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_dbg
	movl	40(%r15), %edi
	movq	%r15, %rsi
	callq	_tipc_bearer_congested
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_skb_cloned
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_msg_dbg
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dbg_print_link
	movq	%r12, %rdi
	jmp	LBB0_4
LBB0_5:
	movq	(%r15), %r13
	movq	%r12, %rdi
	callq	_msg_seqno
	cmpq	%rax, %r13
	jne	LBB0_8
## %bb.6:
	movl	8(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%r15)
	cmpl	$100, %eax
	jl	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_link_retransmit_failure        ## TAILCALL
LBB0_8:
	movq	%r12, %rdi
	callq	_msg_seqno
	movq	%rax, (%r15)
	movl	$1, 8(%r15)
LBB0_9:
	testq	%r14, %r14
	je	LBB0_16
## %bb.10:
	cmpq	%rbx, 64(%r15)
	je	LBB0_16
## %bb.11:
	leaq	44(%r15), %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_skb_cloned
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_buf_msg
	movq	%rax, %r13
	movq	56(%r15), %rdi
	decq	%rdi
	callq	_mod
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_msg_set_ack
	movq	48(%r15), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_msg_set_bcast_ack
	movl	40(%r15), %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_tipc_bearer_send
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_buf_msg
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_msg_dbg
	movq	(%rbx), %rbx
	incl	36(%r15)
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	decq	%r14
	cmpq	64(%r15), %rbx
	jne	LBB0_12
LBB0_16:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	jmp	LBB0_17
LBB0_18:
	movl	40(%r15), %edi
	movq	%r15, %rsi
	callq	_tipc_bearer_schedule
	incl	32(%r15)
	movq	%rbx, %rdi
	callq	_buf_msg
	movq	%rax, %rdi
LBB0_4:
	callq	_msg_seqno
	movq	%rax, 24(%r15)
	movq	%r14, 16(%r15)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Retransmitting %u in link %x\n"

L_.str.1:                               ## @.str.1
	.asciz	">NO_RETR->BCONG>"

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

L_.str.3:                               ## @.str.3
	.asciz	">RETR>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_retransmit           ; -- Begin function tipc_link_retransmit
	.p2align	2
_tipc_link_retransmit:                  ; @tipc_link_retransmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	cbz	x1, LBB0_18
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_buf_msg
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_dbg
	ldr	w0, [x19, #40]
	mov	x1, x19
	bl	_tipc_bearer_congested
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_skb_cloned
	cbnz	w0, LBB0_8
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_msg_dbg
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dbg_print_link
	mov	x0, x22
	b	LBB0_17
LBB0_4:
	ldr	x23, [x19]
	mov	x0, x22
	bl	_msg_seqno
	cmp	x23, x0
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
	cmp	w8, #100
	b.lt	LBB0_8
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_link_retransmit_failure
LBB0_7:
	mov	x0, x22
	bl	_msg_seqno
	str	x0, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_8:
	cbz	x20, LBB0_15
; %bb.9:
	ldr	x8, [x19, #64]
	cmp	x8, x21
	b.eq	LBB0_15
; %bb.10:
	add	x22, x19, #44
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_cloned
	cbnz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_buf_msg
	mov	x24, x0
	ldr	x8, [x19, #56]
	sub	x0, x8, #1
	bl	_mod
	mov	x1, x0
	mov	x0, x24
	bl	_msg_set_ack
	ldr	x8, [x19, #48]
	ldr	w1, [x8]
	mov	x0, x24
	bl	_msg_set_bcast_ack
	ldr	w0, [x19, #40]
	mov	x1, x21
	mov	x2, x22
	bl	_tipc_bearer_send
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_buf_msg
	mov	x1, x23
	bl	_msg_dbg
	ldr	x21, [x21]
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	cbz	x21, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x20, x20, #1
	ldr	x8, [x19, #64]
	cmp	x21, x8
	b.ne	LBB0_11
LBB0_15:
	stp	xzr, xzr, [x19, #16]
	b	LBB0_18
LBB0_16:
	ldr	w0, [x19, #40]
	mov	x1, x19
	bl	_tipc_bearer_schedule
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	mov	x0, x21
	bl	_buf_msg
LBB0_17:
	bl	_msg_seqno
	stp	x20, x0, [x19, #16]
LBB0_18:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Retransmitting %u in link %x\n"

l_.str.1:                               ; @.str.1
	.asciz	">NO_RETR->BCONG>"

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

l_.str.3:                               ; @.str.3
	.asciz	">RETR>"

.subsections_via_symbols
