	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_check_sfp_rx_los
_xgbe_phy_check_sfp_rx_los:             ## @xgbe_phy_check_sfp_rx_los
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rcx
	movq	_XGBE_SFP_EXTD_OPT1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_XGBE_SFP_EXTD_OPT1_RX_LOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	testl	%esi, (%rcx,%rdx,4)
	je	LBB0_3
## %bb.1:
	movq	_XGBE_GPIO_NO_RX_LOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movl	4(%rdi), %ecx
	movl	8(%rdi), %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	setb	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_SFP_EXTD_OPT1,8,3         ## @XGBE_SFP_EXTD_OPT1
	.comm	_XGBE_SFP_EXTD_OPT1_RX_LOS,4,2  ## @XGBE_SFP_EXTD_OPT1_RX_LOS
	.comm	_XGBE_GPIO_NO_RX_LOS,4,2        ## @XGBE_GPIO_NO_RX_LOS
	.no_dead_strip	_xgbe_phy_check_sfp_rx_los
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_check_sfp_rx_los
_xgbe_phy_check_sfp_rx_los:             ; @xgbe_phy_check_sfp_rx_los
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _XGBE_SFP_EXTD_OPT1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_SFP_EXTD_OPT1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _XGBE_SFP_EXTD_OPT1_RX_LOS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XGBE_SFP_EXTD_OPT1_RX_LOS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _XGBE_GPIO_NO_RX_LOS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XGBE_GPIO_NO_RX_LOS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
	ldp	w8, w9, [x0, #4]
	lsr	w8, w8, w9
	and	w0, w8, #0x1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_SFP_EXTD_OPT1,8,3         ; @XGBE_SFP_EXTD_OPT1
	.comm	_XGBE_SFP_EXTD_OPT1_RX_LOS,4,2  ; @XGBE_SFP_EXTD_OPT1_RX_LOS
	.comm	_XGBE_GPIO_NO_RX_LOS,4,2        ; @XGBE_GPIO_NO_RX_LOS
	.no_dead_strip	_xgbe_phy_check_sfp_rx_los
.subsections_via_symbols
