	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_tunnel               ## -- Begin function tipc_link_tunnel
	.p2align	4, 0x90
_tipc_link_tunnel:                      ## @tipc_link_tunnel
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_msg_size
	movl	%eax, %r14d
	movq	8(%r13), %rax
	movq	(%rax), %rax
	andl	$1, %ebx
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	callq	_tipc_link_is_up
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_INT_H_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	%r14d, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_msg_set_size
	movl	(%rbx), %edi
	addl	%r14d, %edi
	callq	_buf_acquire
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movl	(%rbx), %edx
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_skb_copy_to_linear_data
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_skb_copy_to_linear_data_offset
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	callq	_dbg
	movq	%r13, %rdi
	callq	_buf_msg
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_msg_dbg
	movq	%r12, %rdi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_link_send_buf             ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Link changeover error, tunnel link no longer available\n"

	.comm	_INT_H_SIZE,4,2                 ## @INT_H_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Link changeover error, unable to send tunnel msg\n"

L_.str.2:                               ## @.str.2
	.asciz	"%c->%c:"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_tunnel               ; -- Begin function tipc_link_tunnel
	.p2align	2
_tipc_link_tunnel:                      ; @tipc_link_tunnel
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
	mov	x0, x2
	bl	_msg_size
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	and	w9, w19, #0x1
	ldr	x19, [x8, w9, uxtw #3]
	mov	x0, x19
	bl	_tipc_link_is_up
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x25, _INT_H_SIZE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INT_H_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w1, w8, w22
	mov	x0, x24
	bl	_msg_set_size
	ldr	w8, [x25]
	add	w0, w8, w22
	bl	_buf_acquire
	cbz	x0, LBB0_4
; %bb.2:
	mov	x23, x0
	ldr	w2, [x25]
	mov	x1, x24
	bl	_skb_copy_to_linear_data
	ldr	w1, [x25]
	mov	x0, x23
	mov	x2, x21
	mov	x3, x22
	bl	_skb_copy_to_linear_data_offset
	ldr	x8, [x20]
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg
	mov	x0, x23
	bl	_buf_msg
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_msg_dbg
	mov	x0, x19
	mov	x1, x23
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_tipc_link_send_buf
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_warn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Link changeover error, tunnel link no longer available\n"

	.comm	_INT_H_SIZE,4,2                 ; @INT_H_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Link changeover error, unable to send tunnel msg\n"

l_.str.2:                               ; @.str.2
	.asciz	"%c->%c:"

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

.subsections_via_symbols
