	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_mcp_send_protocol_stats
_qed_mcp_send_protocol_stats:           ## @qed_mcp_send_protocol_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %rbx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	jae	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	cltq
	leaq	l_switch.table.qed_mcp_send_protocol_stats(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.qed_mcp_send_protocol_stats.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %r13d
	movl	(%rcx), %esi
	movl	(%rbx), %edi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdx
	callq	_qed_get_protocol_stats
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_DRV_MSG_CODE_GET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	%r13d, -56(%rbp)
	movq	%r15, -64(%rbp)
	movl	$4, -72(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_qed_mcp_cmd_and_union
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP_NOTICE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MCP_LAN_STATS,4,2          ## @QED_MCP_LAN_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_LAN,4,2 ## @DRV_MSG_CODE_STATS_TYPE_LAN
	.comm	_QED_MCP_FCOE_STATS,4,2         ## @QED_MCP_FCOE_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_FCOE,4,2 ## @DRV_MSG_CODE_STATS_TYPE_FCOE
	.comm	_QED_MCP_ISCSI_STATS,4,2        ## @QED_MCP_ISCSI_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_ISCSI,4,2 ## @DRV_MSG_CODE_STATS_TYPE_ISCSI
	.comm	_QED_MCP_RDMA_STATS,4,2         ## @QED_MCP_RDMA_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_RDMA,4,2 ## @DRV_MSG_CODE_STATS_TYPE_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid protocol type %d\n"

	.comm	_DRV_MSG_CODE_GET_STATS,4,2     ## @DRV_MSG_CODE_GET_STATS
	.no_dead_strip	_qed_mcp_send_protocol_stats
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.qed_mcp_send_protocol_stats
l_switch.table.qed_mcp_send_protocol_stats:
	.quad	_QED_MCP_RDMA_STATS
	.quad	_QED_MCP_LAN_STATS
	.quad	_QED_MCP_ISCSI_STATS
	.quad	_QED_MCP_FCOE_STATS

	.p2align	3                               ## @switch.table.qed_mcp_send_protocol_stats.1
l_switch.table.qed_mcp_send_protocol_stats.1:
	.quad	_DRV_MSG_CODE_STATS_TYPE_RDMA
	.quad	_DRV_MSG_CODE_STATS_TYPE_LAN
	.quad	_DRV_MSG_CODE_STATS_TYPE_ISCSI
	.quad	_DRV_MSG_CODE_STATS_TYPE_FCOE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_mcp_send_protocol_stats
_qed_mcp_send_protocol_stats:           ; @qed_mcp_send_protocol_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	x19, x0
	sub	w8, w2, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
	mov	x20, x1
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.qed_mcp_send_protocol_stats@PAGE
Lloh1:
	add	x9, x9, l_switch.table.qed_mcp_send_protocol_stats@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.qed_mcp_send_protocol_stats.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.qed_mcp_send_protocol_stats.1@PAGEOFF
	ldr	x8, [x10, x8]
	ldr	w21, [x8]
	ldr	w1, [x9]
	ldr	w0, [x19]
	add	x22, sp, #24
	add	x2, sp, #24
	bl	_qed_get_protocol_stats
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh4:
	adrp	x8, _DRV_MSG_CODE_GET_STATS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRV_MSG_CODE_GET_STATS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #16]
	str	x22, [sp, #8]
	mov	w8, #4
	str	w8, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	bl	_qed_mcp_cmd_and_union
	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
LBB0_2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_DP_NOTICE
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MCP_LAN_STATS,4,2          ; @QED_MCP_LAN_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_LAN,4,2 ; @DRV_MSG_CODE_STATS_TYPE_LAN
	.comm	_QED_MCP_FCOE_STATS,4,2         ; @QED_MCP_FCOE_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_FCOE,4,2 ; @DRV_MSG_CODE_STATS_TYPE_FCOE
	.comm	_QED_MCP_ISCSI_STATS,4,2        ; @QED_MCP_ISCSI_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_ISCSI,4,2 ; @DRV_MSG_CODE_STATS_TYPE_ISCSI
	.comm	_QED_MCP_RDMA_STATS,4,2         ; @QED_MCP_RDMA_STATS
	.comm	_DRV_MSG_CODE_STATS_TYPE_RDMA,4,2 ; @DRV_MSG_CODE_STATS_TYPE_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid protocol type %d\n"

	.comm	_DRV_MSG_CODE_GET_STATS,4,2     ; @DRV_MSG_CODE_GET_STATS
	.no_dead_strip	_qed_mcp_send_protocol_stats
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.qed_mcp_send_protocol_stats
l_switch.table.qed_mcp_send_protocol_stats:
	.quad	_QED_MCP_RDMA_STATS
	.quad	_QED_MCP_LAN_STATS
	.quad	_QED_MCP_ISCSI_STATS
	.quad	_QED_MCP_FCOE_STATS

	.p2align	3                               ; @switch.table.qed_mcp_send_protocol_stats.1
l_switch.table.qed_mcp_send_protocol_stats.1:
	.quad	_DRV_MSG_CODE_STATS_TYPE_RDMA
	.quad	_DRV_MSG_CODE_STATS_TYPE_LAN
	.quad	_DRV_MSG_CODE_STATS_TYPE_ISCSI
	.quad	_DRV_MSG_CODE_STATS_TYPE_FCOE

.subsections_via_symbols
