	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtk_gmac_gephy_path_setup      ## -- Begin function mtk_gmac_gephy_path_setup
	.p2align	4, 0x90
_mtk_gmac_gephy_path_setup:             ## @mtk_gmac_gephy_path_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1, %esi
	jne	LBB0_2
## %bb.1:
	movq	_MTK_ETH_PATH_GMAC2_GEPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	popq	%rbp
	jmp	_mtk_eth_mux_setup              ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_ETH_PATH_GMAC2_GEPHY,4,2   ## @MTK_ETH_PATH_GMAC2_GEPHY
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtk_gmac_gephy_path_setup      ; -- Begin function mtk_gmac_gephy_path_setup
	.p2align	2
_mtk_gmac_gephy_path_setup:             ; @mtk_gmac_gephy_path_setup
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _MTK_ETH_PATH_GMAC2_GEPHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTK_ETH_PATH_GMAC2_GEPHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cbz	w1, LBB0_3
; %bb.2:
	b	_mtk_eth_mux_setup
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_ETH_PATH_GMAC2_GEPHY,4,2   ; @MTK_ETH_PATH_GMAC2_GEPHY
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
