	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_raw_stat_mask
_efx_ef10_raw_stat_mask:                ## @efx_ef10_raw_stat_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_HUNT_COMMON_STAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_efx_mcdi_phy_get_caps
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	movq	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %ecx
	jae	LBB0_1
## %bb.2:
	movq	8(%rbx), %rcx
	movq	_MC_CMD_PHY_CAP_40000FDX_LBN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %eax
	jae	LBB0_4
## %bb.3:
	movq	_HUNT_40G_EXTRA_STAT_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	(%rcx), %eax
	movq	_MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %eax
	jae	LBB0_5
LBB0_4:
	movq	_HUNT_10G_ONLY_STAT_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_5:
	movl	4(%rcx), %ecx
	movq	_MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	jae	LBB0_7
## %bb.6:
	movq	_HUNT_PM_AND_RXDP_STAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%r14d, %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HUNT_COMMON_STAT_MASK,4,2      ## @HUNT_COMMON_STAT_MASK
	.comm	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL,4,2 ## @MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL
	.comm	_MC_CMD_PHY_CAP_40000FDX_LBN,4,2 ## @MC_CMD_PHY_CAP_40000FDX_LBN
	.comm	_HUNT_40G_EXTRA_STAT_MASK,4,2   ## @HUNT_40G_EXTRA_STAT_MASK
	.comm	_MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN,4,2 ## @MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN
	.comm	_HUNT_10G_ONLY_STAT_MASK,4,2    ## @HUNT_10G_ONLY_STAT_MASK
	.comm	_MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN,4,2 ## @MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN
	.comm	_HUNT_PM_AND_RXDP_STAT_MASK,4,2 ## @HUNT_PM_AND_RXDP_STAT_MASK
	.no_dead_strip	_efx_ef10_raw_stat_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_raw_stat_mask
_efx_ef10_raw_stat_mask:                ; @efx_ef10_raw_stat_mask
	.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
Lloh0:
	adrp	x8, _HUNT_COMMON_STAT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HUNT_COMMON_STAT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_efx_mcdi_phy_get_caps
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _MC_CMD_PHY_CAP_40000FDX_LBN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_40000FDX_LBN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsr	w9, w0, w9
	tbz	w9, #0, LBB0_5
; %bb.2:
Lloh9:
	adrp	x9, _HUNT_40G_EXTRA_STAT_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HUNT_40G_EXTRA_STAT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w9, w20
	ldr	w10, [x8]
Lloh12:
	adrp	x11, _MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	lsr	w10, w10, w11
	tbz	w10, #0, LBB0_6
; %bb.3:
Lloh15:
	adrp	x10, _HUNT_10G_ONLY_STAT_MASK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _HUNT_10G_ONLY_STAT_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh18:
	adrp	x9, _HUNT_10G_ONLY_STAT_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HUNT_10G_ONLY_STAT_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w9, w9, w20
LBB0_6:
	ldr	w8, [x8, #4]
Lloh21:
	adrp	x10, _MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN@GOTPAGEOFF]
Lloh23:
	adrp	x11, _HUNT_PM_AND_RXDP_STAT_MASK@GOTPAGE
Lloh24:
	ldr	x11, [x11, _HUNT_PM_AND_RXDP_STAT_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	ldr	w11, [x11]
	lsr	w8, w8, w10
	sbfx	w8, w8, #0, #1
	and	w8, w8, w11
	orr	w0, w8, w9
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_HUNT_COMMON_STAT_MASK,4,2      ; @HUNT_COMMON_STAT_MASK
	.comm	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL,4,2 ; @MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_LINKCTRL
	.comm	_MC_CMD_PHY_CAP_40000FDX_LBN,4,2 ; @MC_CMD_PHY_CAP_40000FDX_LBN
	.comm	_HUNT_40G_EXTRA_STAT_MASK,4,2   ; @HUNT_40G_EXTRA_STAT_MASK
	.comm	_MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN,4,2 ; @MC_CMD_GET_CAPABILITIES_V2_OUT_MAC_STATS_40G_TX_SIZE_BINS_LBN
	.comm	_HUNT_10G_ONLY_STAT_MASK,4,2    ; @HUNT_10G_ONLY_STAT_MASK
	.comm	_MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN,4,2 ; @MC_CMD_GET_CAPABILITIES_OUT_PM_AND_RXDP_COUNTERS_LBN
	.comm	_HUNT_PM_AND_RXDP_STAT_MASK,4,2 ; @HUNT_PM_AND_RXDP_STAT_MASK
	.no_dead_strip	_efx_ef10_raw_stat_mask
.subsections_via_symbols
