	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_ae_get_stats
_hns_ae_get_stats:                      ## @hns_ae_get_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r12
	callq	_hns_ae_get_vf_cb
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_hns_get_mac_cb
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_hns_get_ppe_cb
	cmpl	$0, (%r12)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	movq	_ETH_SS_STATS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r14,4), %edi
	movq	%rbx, %rsi
	callq	_hns_rcb_get_stats
	movl	(%r13), %edi
	callq	_hns_rcb_get_ring_sset_count
	cltq
	leaq	(%rbx,%rax,4), %rbx
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jl	LBB0_4
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_hns_ppe_get_stats
	movq	_ETH_SS_STATS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_hns_ppe_get_sset_count
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hns_mac_get_stats
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_hns_mac_get_sset_count
	movq	(%r15), %rcx
	movq	_HNAE_PORT_SERVICE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.8:
	cltq
	leaq	(%rbx,%rax,4), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	4(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns_dsaf_get_stats             ## TAILCALL
LBB0_7:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hns_ae_get_stats NULL handle or data pointer!\n"

	.comm	_ETH_SS_STATS,8,3               ## @ETH_SS_STATS
	.comm	_HNAE_PORT_SERVICE,8,3          ## @HNAE_PORT_SERVICE
	.no_dead_strip	_hns_ae_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_ae_get_stats
_hns_ae_get_stats:                      ; @hns_ae_get_stats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x22, x0
	bl	_hns_ae_get_vf_cb
	mov	x19, x0
	mov	x0, x22
	bl	_hns_get_mac_cb
	mov	x21, x0
	mov	x0, x22
	bl	_hns_get_ppe_cb
	mov	x23, x0
	ldr	w8, [x22]
Lloh0:
	adrp	x24, _ETH_SS_STATS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ETH_SS_STATS@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x25, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x25, lsl #2]
	mov	x1, x20
	bl	_hns_rcb_get_stats
	ldr	w0, [x24]
	bl	_hns_rcb_get_ring_sset_count
	add	x20, x20, w0, sxtw #2
	add	x25, x25, #1
	ldrsw	x8, [x22]
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x23
	mov	x1, x20
	bl	_hns_ppe_get_stats
	ldr	w0, [x24]
	bl	_hns_ppe_get_sset_count
	add	x20, x20, w0, sxtw #2
	mov	x0, x21
	mov	x1, x20
	bl	_hns_mac_get_stats
	ldr	w1, [x24]
	mov	x0, x21
	bl	_hns_mac_get_sset_count
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _HNAE_PORT_SERVICE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HNAE_PORT_SERVICE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	add	x1, x20, w0, sxtw #2
	ldp	w2, w0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_hns_dsaf_get_stats
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pr_err
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hns_ae_get_stats NULL handle or data pointer!\n"

	.comm	_ETH_SS_STATS,8,3               ; @ETH_SS_STATS
	.comm	_HNAE_PORT_SERVICE,8,3          ; @HNAE_PORT_SERVICE
	.no_dead_strip	_hns_ae_get_stats
.subsections_via_symbols
