	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_socket_stop               ## -- Begin function tipc_socket_stop
	.p2align	4, 0x90
_tipc_socket_stop:                      ## @tipc_socket_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sockets_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	$0, (%rax)
	movq	_tipc_family_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sock_unregister
	movq	_tipc_proto@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_proto_unregister               ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sockets_enabled,8,3            ## @sockets_enabled
	.comm	_tipc_family_ops,4,2            ## @tipc_family_ops
	.comm	_tipc_proto,4,2                 ## @tipc_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_socket_stop               ; -- Begin function tipc_socket_stop
	.p2align	2
_tipc_socket_stop:                      ; @tipc_socket_stop
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _sockets_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sockets_enabled@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	str	xzr, [x8]
Lloh2:
	adrp	x8, _tipc_family_ops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tipc_family_ops@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_sock_unregister
Lloh5:
	adrp	x0, _tipc_proto@GOTPAGE
Lloh6:
	ldr	x0, [x0, _tipc_proto@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_proto_unregister
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sockets_enabled,8,3            ; @sockets_enabled
	.comm	_tipc_family_ops,4,2            ; @tipc_family_ops
	.comm	_tipc_proto,4,2                 ; @tipc_proto
.subsections_via_symbols
