	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_rx_priv_buff_alloced
_hclge_get_rx_priv_buff_alloced:        ## @hclge_get_rx_priv_buff_alloced
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HCLGE_MAX_TC_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %r8
	cmpl	$1, %edx
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	xorl	%eax, %eax
LBB0_10:
	testb	$1, %dl
	je	LBB0_13
## %bb.11:
	shlq	$4, %rsi
	cmpq	$0, 8(%r8,%rsi)
	je	LBB0_13
## %bb.12:
	addl	(%r8,%rsi), %eax
LBB0_13:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %edi
	andl	$-2, %edi
	leaq	24(%r8), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rsi
	addq	$32, %rcx
	cmpq	%rsi, %rdi
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	-24(%rcx), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	-8(%rcx), %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MAX_TC_NUM,4,2           ## @HCLGE_MAX_TC_NUM
	.no_dead_strip	_hclge_get_rx_priv_buff_alloced
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_get_rx_priv_buff_alloced
_hclge_get_rx_priv_buff_alloced:        ; @hclge_get_rx_priv_buff_alloced
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _HCLGE_MAX_TC_NUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HCLGE_MAX_TC_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	add	x8, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #16
	subs	x9, x9, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x8, #-8]
	add	w0, w0, w10
	b	LBB0_2
LBB0_5:
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MAX_TC_NUM,4,2           ; @HCLGE_MAX_TC_NUM
	.no_dead_strip	_hclge_get_rx_priv_buff_alloced
.subsections_via_symbols
