	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_sw_stats_get_count
_ionic_sw_stats_get_count:              ## @ionic_sw_stats_get_count
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IONIC_NUM_LIF_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_MAX_Q
	movl	%eax, %ebx
	movq	_IONIC_NUM_TX_STATS@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	addl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_MAX_Q
	movl	%eax, %r15d
	movq	_IONIC_NUM_RX_STATS@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	addl	%ebx, %r15d
	movq	_IONIC_LIF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_IONIC_LIF_SW_DEBUG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_MAX_Q
	movq	_IONIC_NUM_DBG_CQ_STATS@GOTPCREL(%rip), %r12
	movq	_IONIC_NUM_TX_Q_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%r12), %ebx
	movq	_IONIC_NUM_DBG_INTR_STATS@GOTPCREL(%rip), %r13
	addl	(%r13), %ebx
	movq	_IONIC_MAX_NUM_SG_CNTR@GOTPCREL(%rip), %rcx
	addl	(%rcx), %ebx
	imull	%eax, %ebx
	addl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_MAX_Q
	movl	(%r13), %r15d
	addl	(%r12), %r15d
	movq	_IONIC_NUM_DBG_NAPI_STATS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r15d
	movq	_IONIC_MAX_NUM_NAPI_CNTR@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r15d
	imull	%eax, %r15d
	addl	%ebx, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_NUM_LIF_STATS,8,3        ## @IONIC_NUM_LIF_STATS
	.comm	_IONIC_NUM_TX_STATS,4,2         ## @IONIC_NUM_TX_STATS
	.comm	_IONIC_NUM_RX_STATS,4,2         ## @IONIC_NUM_RX_STATS
	.comm	_IONIC_LIF_UP,4,2               ## @IONIC_LIF_UP
	.comm	_IONIC_LIF_SW_DEBUG_STATS,4,2   ## @IONIC_LIF_SW_DEBUG_STATS
	.comm	_IONIC_NUM_DBG_CQ_STATS,4,2     ## @IONIC_NUM_DBG_CQ_STATS
	.comm	_IONIC_NUM_TX_Q_STATS,4,2       ## @IONIC_NUM_TX_Q_STATS
	.comm	_IONIC_NUM_DBG_INTR_STATS,4,2   ## @IONIC_NUM_DBG_INTR_STATS
	.comm	_IONIC_MAX_NUM_SG_CNTR,4,2      ## @IONIC_MAX_NUM_SG_CNTR
	.comm	_IONIC_NUM_DBG_NAPI_STATS,4,2   ## @IONIC_NUM_DBG_NAPI_STATS
	.comm	_IONIC_MAX_NUM_NAPI_CNTR,4,2    ## @IONIC_MAX_NUM_NAPI_CNTR
	.no_dead_strip	_ionic_sw_stats_get_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_sw_stats_get_count
_ionic_sw_stats_get_count:              ; @ionic_sw_stats_get_count
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IONIC_NUM_LIF_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IONIC_NUM_LIF_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_MAX_Q
Lloh3:
	adrp	x8, _IONIC_NUM_TX_STATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IONIC_NUM_TX_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	madd	w20, w8, w0, w20
	mov	x0, x19
	bl	_MAX_Q
Lloh6:
	adrp	x8, _IONIC_NUM_RX_STATS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IONIC_NUM_RX_STATS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	madd	w20, w8, w0, w20
Lloh9:
	adrp	x8, _IONIC_LIF_UP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IONIC_LIF_UP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
Lloh12:
	adrp	x8, _IONIC_LIF_SW_DEBUG_STATS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IONIC_LIF_SW_DEBUG_STATS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_MAX_Q
Lloh15:
	adrp	x21, _IONIC_NUM_DBG_CQ_STATS@GOTPAGE
Lloh16:
	ldr	x21, [x21, _IONIC_NUM_DBG_CQ_STATS@GOTPAGEOFF]
Lloh17:
	adrp	x8, _IONIC_NUM_TX_Q_STATS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IONIC_NUM_TX_Q_STATS@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x22, _IONIC_NUM_DBG_INTR_STATS@GOTPAGE
Lloh21:
	ldr	x22, [x22, _IONIC_NUM_DBG_INTR_STATS@GOTPAGEOFF]
	ldr	w10, [x22]
	add	w8, w8, w9
	add	w8, w8, w10
Lloh22:
	adrp	x9, _IONIC_MAX_NUM_SG_CNTR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IONIC_MAX_NUM_SG_CNTR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	add	w8, w8, w9
	madd	w20, w8, w0, w20
	mov	x0, x19
	bl	_MAX_Q
	ldr	w8, [x21]
	ldr	w9, [x22]
Lloh25:
	adrp	x10, _IONIC_NUM_DBG_NAPI_STATS@GOTPAGE
Lloh26:
	ldr	x10, [x10, _IONIC_NUM_DBG_NAPI_STATS@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
Lloh28:
	adrp	x9, _IONIC_MAX_NUM_NAPI_CNTR@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IONIC_MAX_NUM_NAPI_CNTR@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	add	w8, w8, w9
	madd	w20, w8, w0, w20
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_NUM_LIF_STATS,8,3        ; @IONIC_NUM_LIF_STATS
	.comm	_IONIC_NUM_TX_STATS,4,2         ; @IONIC_NUM_TX_STATS
	.comm	_IONIC_NUM_RX_STATS,4,2         ; @IONIC_NUM_RX_STATS
	.comm	_IONIC_LIF_UP,4,2               ; @IONIC_LIF_UP
	.comm	_IONIC_LIF_SW_DEBUG_STATS,4,2   ; @IONIC_LIF_SW_DEBUG_STATS
	.comm	_IONIC_NUM_DBG_CQ_STATS,4,2     ; @IONIC_NUM_DBG_CQ_STATS
	.comm	_IONIC_NUM_TX_Q_STATS,4,2       ; @IONIC_NUM_TX_Q_STATS
	.comm	_IONIC_NUM_DBG_INTR_STATS,4,2   ; @IONIC_NUM_DBG_INTR_STATS
	.comm	_IONIC_MAX_NUM_SG_CNTR,4,2      ; @IONIC_MAX_NUM_SG_CNTR
	.comm	_IONIC_NUM_DBG_NAPI_STATS,4,2   ; @IONIC_NUM_DBG_NAPI_STATS
	.comm	_IONIC_MAX_NUM_NAPI_CNTR,4,2    ; @IONIC_MAX_NUM_NAPI_CNTR
	.no_dead_strip	_ionic_sw_stats_get_count
.subsections_via_symbols
