	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_get_eswitch_stats       ## -- Begin function qlcnic_get_eswitch_stats
	.p2align	4, 0x90
_qlcnic_get_eswitch_stats:              ## @qlcnic_get_eswitch_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rdi, %rbx
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_QLCNIC_MGMT_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_10
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_QLCNIC_STATS_NOT_AVAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r12)
	movq	%rax, 48(%r12)
	movq	%rax, 40(%r12)
	movq	%rax, 32(%r12)
	movq	%rax, 24(%r12)
	movq	%rax, 16(%r12)
	movq	%rax, 8(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	8(%rbx), %rax
	addq	$16, %r14
	cmpq	8(%rax), %r15
	jae	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax,%r14)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-136(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	(%rbx), %rax
	movl	8(%rax,%r14), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_qlcnic_get_port_stats
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-68(%rbp), %eax
	movl	%eax, 68(%r12)
	movl	-72(%rbp), %eax
	movl	%eax, 64(%r12)
	movq	56(%r12), %rdi
	movq	-80(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	48(%r12), %rdi
	movq	-88(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	40(%r12), %rdi
	movq	-96(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	32(%r12), %rdi
	movq	-104(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	24(%r12), %rdi
	movq	-112(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	16(%r12), %rdi
	movq	-120(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movq	8(%r12), %rdi
	movq	-128(%rbp), %rsi
	callq	_QLCNIC_ADD_ESW_STATS
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
LBB0_10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QLCNIC_MGMT_FUNC,8,3           ## @QLCNIC_MGMT_FUNC
	.comm	_QLCNIC_STATS_NOT_AVAIL,8,3     ## @QLCNIC_STATS_NOT_AVAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_get_eswitch_stats       ; -- Begin function qlcnic_get_eswitch_stats
	.p2align	2
_qlcnic_get_eswitch_stats:              ; @qlcnic_get_eswitch_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x3, LBB0_9
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _QLCNIC_MGMT_FUNC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLCNIC_MGMT_FUNC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.2:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.3:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x0, x3
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh6:
	adrp	x8, _QLCNIC_STATS_NOT_AVAIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_STATS_NOT_AVAIL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #48]
	stp	x8, x8, [x19, #32]
	stp	x8, x8, [x19, #16]
	stp	x21, x8, [x19]
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.4:
	mov	x24, #0
	mov	x25, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
	add	x24, x24, #16
	cmp	x25, x8
	b.hs	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x24]
	cmp	x8, x21
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	x8, [x22]
	add	x8, x8, x24
	ldr	w1, [x8, #8]
	add	x3, sp, #8
	mov	x0, x22
	mov	x2, x20
	bl	_qlcnic_get_port_stats
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	d0, [sp, #72]
	str	d0, [x19, #64]
	ldr	x0, [x19, #56]
	ldr	x1, [sp, #64]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #48]
	ldr	x1, [sp, #56]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #40]
	ldr	x1, [sp, #48]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #32]
	ldr	x1, [sp, #40]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #24]
	ldr	x1, [sp, #32]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #16]
	ldr	x1, [sp, #24]
	bl	_QLCNIC_ADD_ESW_STATS
	ldr	x0, [x19, #8]
	ldr	x1, [sp, #16]
	bl	_QLCNIC_ADD_ESW_STATS
	mov	w23, #0
	b	LBB0_5
LBB0_9:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QLCNIC_MGMT_FUNC,8,3           ; @QLCNIC_MGMT_FUNC
	.comm	_QLCNIC_STATS_NOT_AVAIL,8,3     ; @QLCNIC_STATS_NOT_AVAIL
.subsections_via_symbols
