	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_module_info
_xgbe_phy_module_info:                  ## @xgbe_phy_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_XGBE_PORT_MODE_SFP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movl	(%rdi), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_XGBE_SFP_DIAGS_SUPPORTED
	testq	%rax, %rax
	je	LBB0_8
## %bb.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_9
LBB0_8:
	movq	_ETH_MODULE_SFF_8079@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_ETH_MODULE_SFF_8079_LEN@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_PORT_MODE_SFP,8,3         ## @XGBE_PORT_MODE_SFP
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EIO,4,2                        ## @EIO
	.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_8079,4,2        ## @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ## @ETH_MODULE_SFF_8079_LEN
	.no_dead_strip	_xgbe_phy_module_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_module_info
_xgbe_phy_module_info:                  ; @xgbe_phy_module_info
	.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
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _XGBE_PORT_MODE_SFP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_PORT_MODE_SFP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	w0, [x0]
	bl	_netif_running
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	add	x0, x20, #8
	bl	_XGBE_SFP_DIAGS_SUPPORTED
	cbz	x0, LBB0_9
; %bb.8:
	mov	w0, #0
Lloh7:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ETH_MODULE_SFF_8472_LEN@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _ETH_MODULE_SFF_8079@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_MODULE_SFF_8079@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ETH_MODULE_SFF_8079_LEN@GOTPAGEOFF]
LBB0_10:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_PORT_MODE_SFP,8,3         ; @XGBE_PORT_MODE_SFP
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EIO,4,2                        ; @EIO
	.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_8079,4,2        ; @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ; @ETH_MODULE_SFF_8079_LEN
	.no_dead_strip	_xgbe_phy_module_info
.subsections_via_symbols
