	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_phy_module_type
_efx_mcdi_phy_module_type:              ## @efx_mcdi_phy_module_type
	.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), %rax
	movq	(%rax), %rbx
	movq	_MC_CMD_MEDIA_QSFP_PLUS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rbx
	jne	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_efx_mcdi_phy_get_module_eeprom_byte
                                        ## kill: def $eax killed $eax def $rax
	leal	-12(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.4:
	movq	(%r14), %rbx
	jmp	LBB0_5
LBB0_2:
	cmpl	$3, %eax
	jne	LBB0_5
## %bb.3:
	movq	_MC_CMD_MEDIA_SFP_PLUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_MEDIA_QSFP_PLUS,8,3     ## @MC_CMD_MEDIA_QSFP_PLUS
	.comm	_MC_CMD_MEDIA_SFP_PLUS,8,3      ## @MC_CMD_MEDIA_SFP_PLUS
	.no_dead_strip	_efx_mcdi_phy_module_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_mcdi_phy_module_type
_efx_mcdi_phy_module_type:              ; @efx_mcdi_phy_module_type
	.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	x8, x0
	ldr	x9, [x0]
	ldr	x0, [x9]
Lloh0:
	adrp	x19, _MC_CMD_MEDIA_QSFP_PLUS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MC_CMD_MEDIA_QSFP_PLUS@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x0, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x8
	mov	w1, #0
	mov	w2, #0
	bl	_efx_mcdi_phy_get_module_eeprom_byte
	sub	w8, w0, #12
	cmp	w8, #2
	b.hs	LBB0_3
; %bb.2:
	ldr	x0, [x19]
	b	LBB0_6
LBB0_3:
	cmp	w0, #3
	b.ne	LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _MC_CMD_MEDIA_SFP_PLUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MC_CMD_MEDIA_SFP_PLUS@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_MEDIA_QSFP_PLUS,8,3     ; @MC_CMD_MEDIA_QSFP_PLUS
	.comm	_MC_CMD_MEDIA_SFP_PLUS,8,3      ; @MC_CMD_MEDIA_SFP_PLUS
	.no_dead_strip	_efx_mcdi_phy_module_type
.subsections_via_symbols
