	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_send_msg           ## -- Begin function tipc_bclink_send_msg
	.p2align	4, 0x90
_tipc_bclink_send_msg:                  ## @tipc_bclink_send_msg
	.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
	movq	%rdi, %rbx
	movq	_bc_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	_bcl@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_tipc_link_send_buf
	movl	%eax, %r14d
	movq	_ELINKCONG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	addl	%r14d, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_buf_discard
	movq	(%r15), %rax
	jmp	LBB0_3
LBB0_2:
	movq	(%r15), %rax
	incl	24(%rax)
LBB0_3:
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
	jle	LBB0_5
## %bb.4:
	movq	%rcx, 8(%rax)
LBB0_5:
	incl	20(%rax)
	addl	%ecx, 16(%rax)
	movq	_bc_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bc_lock,4,2                    ## @bc_lock
	.comm	_bcl,8,3                        ## @bcl
	.comm	_ELINKCONG,4,2                  ## @ELINKCONG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_send_msg           ; -- Begin function tipc_bclink_send_msg
	.p2align	2
_tipc_bclink_send_msg:                  ; @tipc_bclink_send_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x0, _bc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bc_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
Lloh2:
	adrp	x21, _bcl@GOTPAGE
Lloh3:
	ldr	x21, [x21, _bcl@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x1, x20
	bl	_tipc_link_send_buf
	mov	x19, x0
Lloh4:
	adrp	x8, _ELINKCONG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ELINKCONG@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_buf_discard
	ldr	x8, [x21]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21]
	ldr	w9, [x8, #24]
	add	w9, w9, #1
	str	w9, [x8, #24]
LBB0_3:
	ldp	x9, x10, [x8]
	cmp	x9, x10
	b.le	LBB0_5
; %bb.4:
	str	x9, [x8, #8]
LBB0_5:
	ldr	d0, [x8, #16]
	movi.2s	v1, #1
	mov.s	v1[0], w9
	add.2s	v0, v0, v1
	str	d0, [x8, #16]
Lloh7:
	adrp	x0, _bc_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _bc_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bc_lock,4,2                    ; @bc_lock
	.comm	_bcl,8,3                        ; @bcl
	.comm	_ELINKCONG,4,2                  ; @ELINKCONG
.subsections_via_symbols
