	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_num_stats
_bnxt_get_num_stats:                    ## @bnxt_get_num_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
	callq	_bnxt_get_num_ring_stats
	movq	_BNXT_NUM_SW_FUNC_STATS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	(%rbx), %ecx
	movq	_BNXT_FLAG_PORT_STATS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_2
## %bb.1:
	movq	_BNXT_NUM_PORT_STATS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	addl	%edx, %eax
	movq	_BNXT_FLAG_PORT_STATS_EXT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.3:
	movl	16(%rbx), %edx
	addl	24(%rbx), %edx
	addl	%edx, %eax
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_BNXT_NUM_STATS_PRI@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
LBB0_5:
	movq	_BNXT_FLAG_PCIE_STATS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	je	LBB0_7
## %bb.6:
	movq	_BNXT_NUM_PCIE_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_7:
	addl	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_NUM_SW_FUNC_STATS,8,3     ## @BNXT_NUM_SW_FUNC_STATS
	.comm	_BNXT_FLAG_PORT_STATS,4,2       ## @BNXT_FLAG_PORT_STATS
	.comm	_BNXT_NUM_PORT_STATS,8,3        ## @BNXT_NUM_PORT_STATS
	.comm	_BNXT_FLAG_PORT_STATS_EXT,4,2   ## @BNXT_FLAG_PORT_STATS_EXT
	.comm	_BNXT_NUM_STATS_PRI,8,3         ## @BNXT_NUM_STATS_PRI
	.comm	_BNXT_FLAG_PCIE_STATS,4,2       ## @BNXT_FLAG_PCIE_STATS
	.comm	_BNXT_NUM_PCIE_STATS,8,3        ## @BNXT_NUM_PCIE_STATS
	.no_dead_strip	_bnxt_get_num_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_get_num_stats
_bnxt_get_num_stats:                    ; @bnxt_get_num_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_bnxt_get_num_ring_stats
Lloh0:
	adrp	x8, _BNXT_NUM_SW_FUNC_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_NUM_SW_FUNC_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	w8, [x19]
Lloh3:
	adrp	x10, _BNXT_FLAG_PORT_STATS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BNXT_FLAG_PORT_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
Lloh6:
	adrp	x10, _BNXT_NUM_PORT_STATS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BNXT_NUM_PORT_STATS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	csel	w10, wzr, w10, eq
	add	w9, w0, w9
	add	w9, w9, w10
Lloh9:
	adrp	x10, _BNXT_FLAG_PORT_STATS_EXT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BNXT_FLAG_PORT_STATS_EXT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w10, [x19, #24]
	ldr	w11, [x19, #16]
	add	w10, w11, w10
	add	w9, w9, w10
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_3
; %bb.2:
Lloh12:
	adrp	x10, _BNXT_NUM_STATS_PRI@GOTPAGE
Lloh13:
	ldr	x10, [x10, _BNXT_NUM_STATS_PRI@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	add	w9, w9, w10
LBB0_3:
Lloh15:
	adrp	x10, _BNXT_FLAG_PCIE_STATS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _BNXT_FLAG_PCIE_STATS@GOTPAGEOFF]
Lloh17:
	adrp	x11, _BNXT_NUM_PCIE_STATS@GOTPAGE
Lloh18:
	ldr	x11, [x11, _BNXT_NUM_PCIE_STATS@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	add	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_NUM_SW_FUNC_STATS,8,3     ; @BNXT_NUM_SW_FUNC_STATS
	.comm	_BNXT_FLAG_PORT_STATS,4,2       ; @BNXT_FLAG_PORT_STATS
	.comm	_BNXT_NUM_PORT_STATS,8,3        ; @BNXT_NUM_PORT_STATS
	.comm	_BNXT_FLAG_PORT_STATS_EXT,4,2   ; @BNXT_FLAG_PORT_STATS_EXT
	.comm	_BNXT_NUM_STATS_PRI,8,3         ; @BNXT_NUM_STATS_PRI
	.comm	_BNXT_FLAG_PCIE_STATS,4,2       ; @BNXT_FLAG_PCIE_STATS
	.comm	_BNXT_NUM_PCIE_STATS,8,3        ; @BNXT_NUM_PCIE_STATS
	.no_dead_strip	_bnxt_get_num_stats
.subsections_via_symbols
