	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_net_stop                  ## -- Begin function tipc_net_stop
	.p2align	4, 0x90
_tipc_net_stop:                         ## @tipc_net_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_tipc_mode@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_TIPC_NET_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_tipc_net_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_write_lock_bh
	xorl	%eax, %eax
	callq	_tipc_bearer_stop
	movq	_TIPC_NODE_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_tipc_bclink_stop
	xorl	%eax, %eax
	callq	_net_stop
	movq	%r14, %rdi
	callq	_write_unlock_bh
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_info                           ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tipc_mode,8,3                  ## @tipc_mode
	.comm	_TIPC_NET_MODE,8,3              ## @TIPC_NET_MODE
	.comm	_tipc_net_lock,4,2              ## @tipc_net_lock
	.comm	_TIPC_NODE_MODE,8,3             ## @TIPC_NODE_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Left network mode \n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_net_stop                  ; -- Begin function tipc_net_stop
	.p2align	2
_tipc_net_stop:                         ; @tipc_net_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	x20, _tipc_mode@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tipc_mode@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _TIPC_NET_MODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TIPC_NET_MODE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x19, _tipc_net_lock@GOTPAGE
Lloh6:
	ldr	x19, [x19, _tipc_net_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_write_lock_bh
	bl	_tipc_bearer_stop
Lloh7:
	adrp	x8, _TIPC_NODE_MODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TIPC_NODE_MODE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x20]
	bl	_tipc_bclink_stop
	bl	_net_stop
	mov	x0, x19
	bl	_write_unlock_bh
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_info
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_tipc_mode,8,3                  ; @tipc_mode
	.comm	_TIPC_NET_MODE,8,3              ; @TIPC_NET_MODE
	.comm	_tipc_net_lock,4,2              ; @tipc_net_lock
	.comm	_TIPC_NODE_MODE,8,3             ; @TIPC_NODE_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Left network mode \n"

.subsections_via_symbols
