	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_stop               ## -- Begin function tipc_bclink_stop
	.p2align	4, 0x90
_tipc_bclink_stop:                      ## @tipc_bclink_stop
	.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	_bc_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	_bcbearer@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.1:
	movq	_bcl@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_tipc_link_stop
	movq	_BCLINK_LOG_BUF_SIZE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_kfree
LBB0_3:
	movq	$0, (%r14)
	movq	_bclink@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_kfree
	movq	$0, (%rbx)
	movq	(%r15), %rdi
	callq	_kfree
	movq	$0, (%r15)
LBB0_4:
	movq	_bc_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bc_lock,4,2                    ## @bc_lock
	.comm	_bcbearer,8,3                   ## @bcbearer
	.comm	_bcl,8,3                        ## @bcl
	.comm	_BCLINK_LOG_BUF_SIZE,8,3        ## @BCLINK_LOG_BUF_SIZE
	.comm	_bclink,8,3                     ## @bclink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_stop               ; -- Begin function tipc_bclink_stop
	.p2align	2
_tipc_bclink_stop:                      ; @tipc_bclink_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _bc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bc_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
Lloh2:
	adrp	x19, _bcbearer@GOTPAGE
Lloh3:
	ldr	x19, [x19, _bcbearer@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
Lloh4:
	adrp	x20, _bcl@GOTPAGE
Lloh5:
	ldr	x20, [x20, _bcl@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_tipc_link_stop
Lloh6:
	adrp	x8, _BCLINK_LOG_BUF_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BCLINK_LOG_BUF_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_kfree
LBB0_3:
	str	xzr, [x20]
Lloh9:
	adrp	x20, _bclink@GOTPAGE
Lloh10:
	ldr	x20, [x20, _bclink@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_kfree
	str	xzr, [x20]
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_4:
Lloh11:
	adrp	x0, _bc_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _bc_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_bc_lock,4,2                    ; @bc_lock
	.comm	_bcbearer,8,3                   ; @bcbearer
	.comm	_bcl,8,3                        ; @bcl
	.comm	_BCLINK_LOG_BUF_SIZE,8,3        ; @BCLINK_LOG_BUF_SIZE
	.comm	_bclink,8,3                     ; @bclink
.subsections_via_symbols
