	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_cmd_reset_stats      ## -- Begin function tipc_link_cmd_reset_stats
	.p2align	4, 0x90
_tipc_link_cmd_reset_stats:             ## @tipc_link_cmd_reset_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_TIPC_TLV_LINK_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_TLV_CHECK
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_TLV_DATA
	movq	%rax, %rbx
	movq	_tipc_bclink_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.7:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_link_find_link
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	-16(%rbp), %rdi
	callq	_tipc_node_lock
	movq	%rbx, %rdi
	callq	_link_reset_statistics
	movq	-16(%rbp), %rdi
	callq	_tipc_node_unlock
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	xorl	%eax, %eax
	callq	_tipc_cfg_reply_none
	jmp	LBB0_10
LBB0_1:
	movq	_TIPC_CFG_TLV_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	callq	_tipc_bclink_reset_stats
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rdi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tipc_cfg_reply_error_string    ## TAILCALL
LBB0_8:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	leaq	L_.str(%rip), %rdi
	callq	_tipc_cfg_reply_error_string
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tipc_cfg_reply_none            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIPC_TLV_LINK_NAME,4,2         ## @TIPC_TLV_LINK_NAME
	.comm	_TIPC_CFG_TLV_ERROR,8,3         ## @TIPC_CFG_TLV_ERROR
	.comm	_tipc_bclink_name,4,2           ## @tipc_bclink_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link not found"

	.comm	_tipc_net_lock,4,2              ## @tipc_net_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_cmd_reset_stats      ; -- Begin function tipc_link_cmd_reset_stats
	.p2align	2
_tipc_link_cmd_reset_stats:             ; @tipc_link_cmd_reset_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _TIPC_TLV_LINK_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIPC_TLV_LINK_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_TLV_CHECK
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_TLV_DATA
	mov	x19, x0
Lloh3:
	adrp	x8, _tipc_bclink_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tipc_bclink_name@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_lock_bh
	add	x1, sp, #8
	mov	x0, x19
	bl	_link_find_link
	cbz	x0, LBB0_8
; %bb.3:
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_tipc_node_lock
	mov	x0, x19
	bl	_link_reset_statistics
	ldr	x0, [sp, #8]
	bl	_tipc_node_unlock
Lloh8:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	bl	_tipc_cfg_reply_none
	b	LBB0_9
LBB0_4:
Lloh10:
	adrp	x8, _TIPC_CFG_TLV_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TIPC_CFG_TLV_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_5:
	bl	_tipc_bclink_reset_stats
	cbz	x0, LBB0_10
; %bb.6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_tipc_cfg_reply_error_string
LBB0_8:
Lloh15:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tipc_cfg_reply_error_string
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_tipc_cfg_reply_none
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TIPC_TLV_LINK_NAME,4,2         ; @TIPC_TLV_LINK_NAME
	.comm	_TIPC_CFG_TLV_ERROR,8,3         ; @TIPC_CFG_TLV_ERROR
	.comm	_tipc_bclink_name,4,2           ; @tipc_bclink_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link not found"

	.comm	_tipc_net_lock,4,2              ; @tipc_net_lock
.subsections_via_symbols
