	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_stats          ## -- Begin function qlcnic_83xx_get_stats
	.p2align	4, 0x90
_qlcnic_83xx_get_stats:                 ## @qlcnic_83xx_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_QLCNIC_CMD_GET_STATISTICS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	%eax, -28(%rbp)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_BIT_1@GOTPCREL(%rip), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	shll	$16, %ecx
	orl	(%rax), %ecx
	movq	-40(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	_QLC_83XX_TX_STAT_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_QLC_83XX_STAT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-28(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_qlcnic_83xx_fill_stats
	cmpl	$0, -28(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_3:
	movq	%rax, %r15
	movq	_BIT_2@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	shll	$16, %ecx
	orl	(%rax), %ecx
	movq	-40(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	_QLC_83XX_MAC_STAT_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, -48(%rbp)
	movl	-44(%rbp), %edi
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_QLC_83XX_STAT_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-28(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_qlcnic_83xx_fill_stats
	cmpl	$0, -28(%rbp)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	shll	$16, %eax
	movq	-40(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	_QLC_83XX_RX_STAT_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, -48(%rbp)
	movl	-44(%rbp), %edi
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_QLC_83XX_STAT_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-28(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_qlcnic_83xx_fill_stats
	cmpl	$0, -28(%rbp)
	je	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	movq	%r14, %rdi
	callq	_netdev_err
LBB0_8:
	leaq	-48(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_GET_STATISTICS,4,2  ## @QLCNIC_CMD_GET_STATISTICS
	.comm	_BIT_1,4,2                      ## @BIT_1
	.comm	_QLC_83XX_TX_STAT_REGS,4,2      ## @QLC_83XX_TX_STAT_REGS
	.comm	_QLC_83XX_STAT_TX,4,2           ## @QLC_83XX_STAT_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error getting Tx stats\n"

	.comm	_BIT_2,4,2                      ## @BIT_2
	.comm	_QLC_83XX_MAC_STAT_REGS,4,2     ## @QLC_83XX_MAC_STAT_REGS
	.comm	_QLC_83XX_STAT_MAC,4,2          ## @QLC_83XX_STAT_MAC
L_.str.1:                               ## @.str.1
	.asciz	"Error getting MAC stats\n"

	.comm	_QLC_83XX_RX_STAT_REGS,4,2      ## @QLC_83XX_RX_STAT_REGS
	.comm	_QLC_83XX_STAT_RX,4,2           ## @QLC_83XX_STAT_RX
L_.str.2:                               ## @.str.2
	.asciz	"Error getting Rx stats\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_stats          ; -- Begin function qlcnic_83xx_get_stats
	.p2align	2
_qlcnic_83xx_get_stats:                 ; @qlcnic_83xx_get_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x8, _QLCNIC_CMD_GET_STATISTICS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_GET_STATISTICS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #16
	mov	x1, x20
	bl	_qlcnic_alloc_mbx_args
	str	w0, [sp, #12]
	cbnz	w0, LBB0_9
; %bb.1:
Lloh3:
	adrp	x8, _BIT_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIT_1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x20, #16]
	ldr	w9, [x9]
	orr	w8, w8, w9, lsl #16
	ldr	x9, [sp, #24]
Lloh6:
	adrp	x10, _QLC_83XX_TX_STAT_REGS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QLC_83XX_TX_STAT_REGS@GOTPAGEOFF]
	str	w8, [x9, #4]
Lloh8:
	ldr	w8, [x10]
	str	w8, [sp, #16]
Lloh9:
	adrp	x8, _QLC_83XX_STAT_TX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLC_83XX_STAT_TX@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_qlcnic_83xx_fill_stats
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.2:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_3:
	mov	x21, x0
Lloh14:
	adrp	x8, _BIT_2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BIT_2@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w8, w9, lsl #16
	ldr	x9, [sp, #24]
	str	w8, [x9, #4]
Lloh17:
	adrp	x8, _QLC_83XX_MAC_STAT_REGS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QLC_83XX_MAC_STAT_REGS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w0, [sp, #20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh20:
	adrp	x8, _QLC_83XX_STAT_MAC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _QLC_83XX_STAT_MAC@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_qlcnic_83xx_fill_stats
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.4:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	lsl	w8, w8, #16
	ldr	x9, [sp, #24]
	str	w8, [x9, #4]
Lloh25:
	adrp	x8, _QLC_83XX_RX_STAT_REGS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _QLC_83XX_RX_STAT_REGS@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w0, [sp, #20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh28:
	adrp	x8, _QLC_83XX_STAT_RX@GOTPAGE
Lloh29:
	ldr	x8, [x8, _QLC_83XX_STAT_RX@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_qlcnic_83xx_fill_stats
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.6:
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_netdev_err
LBB0_8:
	add	x0, sp, #16
	bl	_qlcnic_free_mbx_args
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_GET_STATISTICS,4,2  ; @QLCNIC_CMD_GET_STATISTICS
	.comm	_BIT_1,4,2                      ; @BIT_1
	.comm	_QLC_83XX_TX_STAT_REGS,4,2      ; @QLC_83XX_TX_STAT_REGS
	.comm	_QLC_83XX_STAT_TX,4,2           ; @QLC_83XX_STAT_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error getting Tx stats\n"

	.comm	_BIT_2,4,2                      ; @BIT_2
	.comm	_QLC_83XX_MAC_STAT_REGS,4,2     ; @QLC_83XX_MAC_STAT_REGS
	.comm	_QLC_83XX_STAT_MAC,4,2          ; @QLC_83XX_STAT_MAC
l_.str.1:                               ; @.str.1
	.asciz	"Error getting MAC stats\n"

	.comm	_QLC_83XX_RX_STAT_REGS,4,2      ; @QLC_83XX_RX_STAT_REGS
	.comm	_QLC_83XX_STAT_RX,4,2           ; @QLC_83XX_STAT_RX
l_.str.2:                               ; @.str.2
	.asciz	"Error getting Rx stats\n"

.subsections_via_symbols
