	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcdi_to_ethtool_cap
_mcdi_to_ethtool_cap:                   ## @mcdi_to_ethtool_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-128(%rdi), %eax
	cmpl	$2, %eax
	jb	LBB0_7
## %bb.1:
	cmpl	$131, %edi
	je	LBB0_8
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$130, %edi
	jne	LBB0_23
## %bb.3:
	movq	_SUPPORTED_Backplane@GOTPCREL(%rip), %rax
	movq	_MC_CMD_PHY_CAP_1000FDX_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	btl	%edx, %esi
	jae	LBB0_5
## %bb.4:
	movq	_SUPPORTED_1000baseKX_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	(%rax), %ecx
	movq	_MC_CMD_PHY_CAP_10000FDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	jae	LBB0_23
## %bb.6:
	movq	_SUPPORTED_10000baseKX4_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_7:
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_23
LBB0_8:
	movq	_MC_CMD_PHY_CAP_10HDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r8d, %r8d
	btl	%eax, %esi
	movl	$0, %ecx
	jae	LBB0_10
## %bb.9:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_10:
	movq	_MC_CMD_PHY_CAP_10FDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	movl	$0, %edx
	jae	LBB0_12
## %bb.11:
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_12:
	movq	_MC_CMD_PHY_CAP_100HDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	movl	$0, %eax
	jae	LBB0_14
## %bb.13:
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %r9
	movq	_MC_CMD_PHY_CAP_100FDX_LBN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	btl	%edi, %esi
	movl	$0, %edi
	jae	LBB0_16
## %bb.15:
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_16:
	orl	(%r9), %ecx
	orl	%eax, %edx
	movq	_MC_CMD_PHY_CAP_1000HDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	movl	$0, %eax
	jae	LBB0_18
## %bb.17:
	movq	_SUPPORTED_1000baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	orl	%eax, %edi
	orl	%edx, %ecx
	movq	_MC_CMD_PHY_CAP_1000FDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	jae	LBB0_20
## %bb.19:
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_20:
	orl	%r8d, %edi
	orl	%edi, %ecx
	movq	_MC_CMD_PHY_CAP_10000FDX_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %esi
	jae	LBB0_23
## %bb.21:
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rax
LBB0_22:
	orl	(%rax), %ecx
LBB0_23:
	movq	_MC_CMD_PHY_CAP_PAUSE_LBN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	btl	%eax, %esi
	movl	$0, %eax
	jae	LBB0_25
## %bb.24:
	movq	_SUPPORTED_Pause@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:
	movq	_MC_CMD_PHY_CAP_ASYM_LBN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	btl	%edi, %esi
	movl	$0, %edi
	jae	LBB0_27
## %bb.26:
	movq	_SUPPORTED_Asym_Pause@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_27:
	orl	%ecx, %eax
	movq	_MC_CMD_PHY_CAP_AN_LBN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %esi
	jae	LBB0_29
## %bb.28:
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_29:
	orl	%edx, %edi
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_Backplane,4,2        ## @SUPPORTED_Backplane
	.comm	_MC_CMD_PHY_CAP_1000FDX_LBN,4,2 ## @MC_CMD_PHY_CAP_1000FDX_LBN
	.comm	_SUPPORTED_1000baseKX_Full,4,2  ## @SUPPORTED_1000baseKX_Full
	.comm	_MC_CMD_PHY_CAP_10000FDX_LBN,4,2 ## @MC_CMD_PHY_CAP_10000FDX_LBN
	.comm	_SUPPORTED_10000baseKX4_Full,4,2 ## @SUPPORTED_10000baseKX4_Full
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_MC_CMD_PHY_CAP_10HDX_LBN,4,2   ## @MC_CMD_PHY_CAP_10HDX_LBN
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_MC_CMD_PHY_CAP_10FDX_LBN,4,2   ## @MC_CMD_PHY_CAP_10FDX_LBN
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_MC_CMD_PHY_CAP_100HDX_LBN,4,2  ## @MC_CMD_PHY_CAP_100HDX_LBN
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_MC_CMD_PHY_CAP_100FDX_LBN,4,2  ## @MC_CMD_PHY_CAP_100FDX_LBN
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_MC_CMD_PHY_CAP_1000HDX_LBN,4,2 ## @MC_CMD_PHY_CAP_1000HDX_LBN
	.comm	_SUPPORTED_1000baseT_Half,4,2   ## @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_MC_CMD_PHY_CAP_PAUSE_LBN,4,2   ## @MC_CMD_PHY_CAP_PAUSE_LBN
	.comm	_SUPPORTED_Pause,4,2            ## @SUPPORTED_Pause
	.comm	_MC_CMD_PHY_CAP_ASYM_LBN,4,2    ## @MC_CMD_PHY_CAP_ASYM_LBN
	.comm	_SUPPORTED_Asym_Pause,4,2       ## @SUPPORTED_Asym_Pause
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ## @MC_CMD_PHY_CAP_AN_LBN
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.no_dead_strip	_mcdi_to_ethtool_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcdi_to_ethtool_cap
_mcdi_to_ethtool_cap:                   ; @mcdi_to_ethtool_cap
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_5
; %bb.1:
	cmp	w0, #131
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_9
; %bb.3:
Lloh0:
	adrp	x8, _SUPPORTED_Backplane@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_Backplane@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MC_CMD_PHY_CAP_1000FDX_LBN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_1000FDX_LBN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SUPPORTED_1000baseKX_Full@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SUPPORTED_1000baseKX_Full@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MC_CMD_PHY_CAP_10000FDX_LBN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_10000FDX_LBN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsr	w9, w1, w9
	tbz	w9, #0, LBB0_10
; %bb.4:
Lloh12:
	adrp	x9, _SUPPORTED_10000baseKX4_Full@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUPPORTED_10000baseKX4_Full@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _SUPPORTED_FIBRE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	b	LBB0_10
LBB0_6:
Lloh17:
	adrp	x8, _SUPPORTED_TP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SUPPORTED_TP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _MC_CMD_PHY_CAP_10HDX_LBN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_10HDX_LBN@GOTPAGEOFF]
Lloh22:
	adrp	x10, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh23:
	ldr	x10, [x10, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _MC_CMD_PHY_CAP_10FDX_LBN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_10FDX_LBN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh30:
	ldr	x10, [x10, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _MC_CMD_PHY_CAP_100HDX_LBN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_100HDX_LBN@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh36:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _MC_CMD_PHY_CAP_100FDX_LBN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_100FDX_LBN@GOTPAGEOFF]
Lloh40:
	adrp	x10, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _MC_CMD_PHY_CAP_1000HDX_LBN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_1000HDX_LBN@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _SUPPORTED_1000baseT_Half@GOTPAGE
Lloh48:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Half@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _MC_CMD_PHY_CAP_1000FDX_LBN@GOTPAGE
Lloh51:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_1000FDX_LBN@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh54:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh56:
	adrp	x9, _MC_CMD_PHY_CAP_10000FDX_LBN@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_10000FDX_LBN@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	lsr	w9, w1, w9
	tbz	w9, #0, LBB0_10
; %bb.7:
Lloh59:
	adrp	x9, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_9:
	mov	w8, #0
LBB0_10:
Lloh61:
	adrp	x9, _MC_CMD_PHY_CAP_PAUSE_LBN@GOTPAGE
Lloh62:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_PAUSE_LBN@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
Lloh64:
	adrp	x10, _SUPPORTED_Pause@GOTPAGE
Lloh65:
	ldr	x10, [x10, _SUPPORTED_Pause@GOTPAGEOFF]
Lloh66:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _MC_CMD_PHY_CAP_ASYM_LBN@GOTPAGE
Lloh68:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_ASYM_LBN@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
Lloh70:
	adrp	x10, _SUPPORTED_Asym_Pause@GOTPAGE
Lloh71:
	ldr	x10, [x10, _SUPPORTED_Asym_Pause@GOTPAGEOFF]
Lloh72:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w8, w8, w9
Lloh73:
	adrp	x9, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGE
Lloh74:
	ldr	x9, [x9, _MC_CMD_PHY_CAP_AN_LBN@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
Lloh76:
	adrp	x10, _SUPPORTED_Autoneg@GOTPAGE
Lloh77:
	ldr	x10, [x10, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	lsr	w9, w1, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_Backplane,4,2        ; @SUPPORTED_Backplane
	.comm	_MC_CMD_PHY_CAP_1000FDX_LBN,4,2 ; @MC_CMD_PHY_CAP_1000FDX_LBN
	.comm	_SUPPORTED_1000baseKX_Full,4,2  ; @SUPPORTED_1000baseKX_Full
	.comm	_MC_CMD_PHY_CAP_10000FDX_LBN,4,2 ; @MC_CMD_PHY_CAP_10000FDX_LBN
	.comm	_SUPPORTED_10000baseKX4_Full,4,2 ; @SUPPORTED_10000baseKX4_Full
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_MC_CMD_PHY_CAP_10HDX_LBN,4,2   ; @MC_CMD_PHY_CAP_10HDX_LBN
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_MC_CMD_PHY_CAP_10FDX_LBN,4,2   ; @MC_CMD_PHY_CAP_10FDX_LBN
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_MC_CMD_PHY_CAP_100HDX_LBN,4,2  ; @MC_CMD_PHY_CAP_100HDX_LBN
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_MC_CMD_PHY_CAP_100FDX_LBN,4,2  ; @MC_CMD_PHY_CAP_100FDX_LBN
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_MC_CMD_PHY_CAP_1000HDX_LBN,4,2 ; @MC_CMD_PHY_CAP_1000HDX_LBN
	.comm	_SUPPORTED_1000baseT_Half,4,2   ; @SUPPORTED_1000baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_MC_CMD_PHY_CAP_PAUSE_LBN,4,2   ; @MC_CMD_PHY_CAP_PAUSE_LBN
	.comm	_SUPPORTED_Pause,4,2            ; @SUPPORTED_Pause
	.comm	_MC_CMD_PHY_CAP_ASYM_LBN,4,2    ; @MC_CMD_PHY_CAP_ASYM_LBN
	.comm	_SUPPORTED_Asym_Pause,4,2       ; @SUPPORTED_Asym_Pause
	.comm	_MC_CMD_PHY_CAP_AN_LBN,4,2      ; @MC_CMD_PHY_CAP_AN_LBN
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.no_dead_strip	_mcdi_to_ethtool_cap
.subsections_via_symbols
