	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_mac_update_stats_defective
_hclge_mac_update_stats_defective:      ## @hclge_mac_update_stats_defective
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HCLGE_OPC_STATS_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-224(%rbp), %r14
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	leaq	8(%r13), %rdi
	movq	%r14, %rsi
	movl	$21, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_12
LBB0_2:
	addq	$12, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpq	$21, %r14
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-224(%rbp,%r14,8), %rbx
	movq	_HCLGE_RD_FIRST_STATS_NUM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-224(,%r14,8), %rbx
	addq	%rbp, %rbx
	movq	_HCLGE_RD_OTHER_STATS_NUM@GOTPCREL(%rip), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, -232(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r14,4), %edi
	callq	_le64_to_cpu
	addl	%eax, (%r13,%r14,4)
	incq	%r14
	addq	$-4, %r12
	cmpl	%r14d, %r15d
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	subq	%r12, %r13
	movq	-232(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_10
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_STATS_MAC,4,2        ## @HCLGE_OPC_STATS_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Get MAC pkt stats fail, status = %d.\n"

	.comm	_HCLGE_RD_FIRST_STATS_NUM,4,2   ## @HCLGE_RD_FIRST_STATS_NUM
	.comm	_HCLGE_RD_OTHER_STATS_NUM,4,2   ## @HCLGE_RD_OTHER_STATS_NUM
	.comm	_HCLGE_MAC_CMD_NUM,4,2          ## @HCLGE_MAC_CMD_NUM
	.no_dead_strip	_hclge_mac_update_stats_defective
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_mac_update_stats_defective
_hclge_mac_update_stats_defective:      ; @hclge_mac_update_stats_defective
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _HCLGE_OPC_STATS_MAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_OPC_STATS_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x21, sp
	mov	x0, sp
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x0, x19, #8
	mov	x1, sp
	mov	w2, #21
	bl	_hclge_cmd_send
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_10
LBB0_2:
	mov	x20, #0
	add	x19, x19, #12
Lloh8:
	adrp	x22, _HCLGE_RD_OTHER_STATS_NUM@GOTPAGE
Lloh9:
	ldr	x22, [x22, _HCLGE_RD_OTHER_STATS_NUM@GOTPAGEOFF]
Lloh10:
	adrp	x23, _HCLGE_RD_FIRST_STATS_NUM@GOTPAGE
Lloh11:
	ldr	x23, [x23, _HCLGE_RD_FIRST_STATS_NUM@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, #21
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	x20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x21, x20, lsl #3]
	mov	x8, x23
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x21, x20, lsl #3
	mov	x8, x22
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w25, [x8]
	cmp	w25, #1
	b.lt	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x24], #4
	bl	_le64_to_cpu
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19], #4
	subs	w25, w25, #1
	b.ne	LBB0_8
	b	LBB0_3
LBB0_9:
	mov	w20, #0
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_STATS_MAC,4,2        ; @HCLGE_OPC_STATS_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Get MAC pkt stats fail, status = %d.\n"

	.comm	_HCLGE_RD_FIRST_STATS_NUM,4,2   ; @HCLGE_RD_FIRST_STATS_NUM
	.comm	_HCLGE_RD_OTHER_STATS_NUM,4,2   ; @HCLGE_RD_OTHER_STATS_NUM
	.comm	_HCLGE_MAC_CMD_NUM,4,2          ; @HCLGE_MAC_CMD_NUM
	.no_dead_strip	_hclge_mac_update_stats_defective
.subsections_via_symbols
