	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_phy_get_module_info
_efx_mcdi_phy_get_module_info:          ## @efx_mcdi_phy_get_module_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_efx_mcdi_phy_module_type
	cmpl	$129, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_efx_mcdi_phy_sff_8472_level
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_efx_mcdi_phy_diag_type
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	movq	_SFF_DIAG_ADDR_CHANGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_5:
	movq	_ETH_MODULE_SFF_8079@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8079_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_8:
	movq	_ETH_MODULE_SFF_8436@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8436_LEN@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ETH_MODULE_SFF_8472@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8472_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SFF_DIAG_ADDR_CHANGE,4,2       ## @SFF_DIAG_ADDR_CHANGE
	.comm	_ETH_MODULE_SFF_8079,4,2        ## @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ## @ETH_MODULE_SFF_8079_LEN
	.comm	_ETH_MODULE_SFF_8472,4,2        ## @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ## @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ## @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ## @ETH_MODULE_SFF_8436_LEN
	.no_dead_strip	_efx_mcdi_phy_get_module_info
.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_get_module_info
_efx_mcdi_phy_get_module_info:          ; @efx_mcdi_phy_get_module_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	bl	_efx_mcdi_phy_module_type
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_efx_mcdi_phy_sff_8472_level
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x21, x0
	mov	x0, x20
	bl	_efx_mcdi_phy_diag_type
	cbz	w21, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _SFF_DIAG_ADDR_CHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SFF_DIAG_ADDR_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
LBB0_5:
	mov	w0, #0
Lloh3:
	adrp	x8, _ETH_MODULE_SFF_8079@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_MODULE_SFF_8079@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	mov	w0, #0
Lloh11:
	adrp	x8, _ETH_MODULE_SFF_8436@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_MODULE_SFF_8436@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ETH_MODULE_SFF_8436_LEN@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #0
Lloh16:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SFF_DIAG_ADDR_CHANGE,4,2       ; @SFF_DIAG_ADDR_CHANGE
	.comm	_ETH_MODULE_SFF_8079,4,2        ; @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ; @ETH_MODULE_SFF_8079_LEN
	.comm	_ETH_MODULE_SFF_8472,4,2        ; @ETH_MODULE_SFF_8472
	.comm	_ETH_MODULE_SFF_8472_LEN,4,2    ; @ETH_MODULE_SFF_8472_LEN
	.comm	_ETH_MODULE_SFF_8436,4,2        ; @ETH_MODULE_SFF_8436
	.comm	_ETH_MODULE_SFF_8436_LEN,4,2    ; @ETH_MODULE_SFF_8436_LEN
	.no_dead_strip	_efx_mcdi_phy_get_module_info
.subsections_via_symbols
