	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_get_stats_tqps
_hns3_get_stats_tqps:                   ## @hns3_get_stats_tqps
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r8
	movq	_HNS3_TXQ_STATS_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	%r10, %r9
	decq	%r9
	movl	%r10d, %r11d
	andl	$3, %r11d
	movl	%r10d, %r12d
	andl	$-4, %r12d
	xorl	%r15d, %r15d
	movq	_hns3_txq_stats@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpq	%r14, %r15
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	testl	%r10d, %r10d
	jle	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r8), %rax
	movq	(%rax,%r15,8), %rdi
	xorl	%ecx, %ecx
	cmpq	$3, %r9
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rbx
	testq	%r11, %r11
	jne	LBB0_10
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rbx
	movq	(%rdx), %rax
	movslq	(%rax,%rcx,4), %rax
	movq	(%rdi,%rax,4), %rax
	movq	%rax, (%rsi,%rcx,8)
	movq	(%rdx), %rax
	movslq	4(%rax,%rcx,4), %rax
	movq	(%rdi,%rax,4), %rax
	movq	%rax, 8(%rsi,%rcx,8)
	movq	(%rdx), %rax
	movslq	8(%rax,%rcx,4), %rax
	movq	(%rdi,%rax,4), %rax
	movq	%rax, 16(%rsi,%rcx,8)
	movq	(%rdx), %rax
	movslq	12(%rax,%rcx,4), %rax
	movq	(%rdi,%rax,4), %rax
	movq	%rax, 24(%rsi,%rcx,8)
	leaq	(%rsi,%rcx,8), %rax
	addq	$32, %rax
	addq	$4, %rcx
	cmpq	%rcx, %r12
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$32, %rbx
	movq	%rbx, %rsi
	testq	%r11, %r11
	je	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, %rax
	movq	%rbx, %rsi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx), %rbx
	movslq	(%rbx,%rcx,4), %rbx
	movq	(%rdi,%rbx,4), %rbx
	movq	%rbx, (%rsi)
	addq	$8, %rsi
	incq	%rcx
	decq	%rax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movq	_HNS3_RXQ_STATS_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	%r10, %r9
	decq	%r9
	movl	%r10d, %r11d
	andl	$3, %r11d
	movl	%r10d, %r12d
	andl	$-4, %r12d
	xorl	%r15d, %r15d
	movq	_hns3_rxq_stats@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rsi, %rax
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r15
	movq	%rax, %rsi
	cmpq	%r14, %r15
	je	LBB0_25
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	testl	%r10d, %r10d
	jle	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	(%r15,%r14), %rax
	movq	(%r8), %rcx
	movq	(%rcx,%rax,8), %rcx
	cmpq	$3, %r9
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
                                        ## implicit-def: $rax
	xorl	%edi, %edi
	testq	%r11, %r11
	jne	LBB0_22
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edi, %edi
	movq	%rsi, %rdx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %rax
	movq	(%rbx), %rdx
	movslq	(%rdx,%rdi,4), %rdx
	movq	(%rcx,%rdx,4), %rdx
	movq	%rdx, (%rsi,%rdi,8)
	movq	(%rbx), %rdx
	movslq	4(%rdx,%rdi,4), %rdx
	movq	(%rcx,%rdx,4), %rdx
	movq	%rdx, 8(%rsi,%rdi,8)
	movq	(%rbx), %rdx
	movslq	8(%rdx,%rdi,4), %rdx
	movq	(%rcx,%rdx,4), %rdx
	movq	%rdx, 16(%rsi,%rdi,8)
	movq	(%rbx), %rdx
	movslq	12(%rdx,%rdi,4), %rdx
	movq	(%rcx,%rdx,4), %rdx
	movq	%rdx, 24(%rsi,%rdi,8)
	leaq	(%rsi,%rdi,8), %rdx
	addq	$32, %rdx
	addq	$4, %rdi
	cmpq	%rdi, %r12
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	$32, %rax
	movq	%rax, %rsi
	testq	%r11, %r11
	je	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r11, %rdx
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rsi
	movslq	(%rsi,%rdi,4), %rsi
	movq	(%rcx,%rsi,4), %rsi
	movq	%rsi, (%rax)
	addq	$8, %rax
	incq	%rdi
	decq	%rdx
	jne	LBB0_23
	jmp	LBB0_24
LBB0_1:
	movq	%rsi, %rax
LBB0_25:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS3_TXQ_STATS_COUNT,4,2       ## @HNS3_TXQ_STATS_COUNT
	.comm	_hns3_txq_stats,8,3             ## @hns3_txq_stats
	.comm	_HNS3_RXQ_STATS_COUNT,4,2       ## @HNS3_RXQ_STATS_COUNT
	.comm	_hns3_rxq_stats,8,3             ## @hns3_rxq_stats
	.no_dead_strip	_hns3_get_stats_tqps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_get_stats_tqps
_hns3_get_stats_tqps:                   ; @hns3_get_stats_tqps
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x10, #0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x11, _HNS3_TXQ_STATS_COUNT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _HNS3_TXQ_STATS_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	lsl	x12, x11, #2
Lloh3:
	adrp	x13, _hns3_txq_stats@GOTPAGE
Lloh4:
	ldr	x13, [x13, _hns3_txq_stats@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
	ldr	x15, [x9]
	ldr	x15, [x15, x10, lsl #3]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x13]
	ldrsw	x16, [x16, x14]
	lsl	x16, x16, #2
	ldr	x16, [x15, x16]
	str	x16, [x1], #8
	add	x14, x14, #4
	cmp	x12, x14
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	mov	x10, #0
Lloh5:
	adrp	x11, _HNS3_RXQ_STATS_COUNT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _HNS3_RXQ_STATS_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	lsl	x12, x11, #2
Lloh8:
	adrp	x13, _hns3_rxq_stats@GOTPAGE
Lloh9:
	ldr	x13, [x13, _hns3_rxq_stats@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	cmp	w11, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x14, #0
	ldr	x15, [x9]
	add	x16, x10, x8
	ldr	x15, [x15, x16, lsl #3]
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x13]
	ldrsw	x16, [x16, x14]
	lsl	x16, x16, #2
	ldr	x16, [x15, x16]
	str	x16, [x1], #8
	add	x14, x14, #4
	cmp	x12, x14
	b.ne	LBB0_10
	b	LBB0_7
LBB0_11:
	mov	x0, x1
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS3_TXQ_STATS_COUNT,4,2       ; @HNS3_TXQ_STATS_COUNT
	.comm	_hns3_txq_stats,8,3             ; @hns3_txq_stats
	.comm	_HNS3_RXQ_STATS_COUNT,4,2       ; @HNS3_RXQ_STATS_COUNT
	.comm	_hns3_rxq_stats,8,3             ; @hns3_rxq_stats
	.no_dead_strip	_hns3_get_stats_tqps
.subsections_via_symbols
