	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_interface_mode
_phy_interface_mode:                    ## @phy_interface_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BGX_MODE_QSGMII@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_BGX_MODE_RGMII@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_PHY_INTERFACE_MODE_RGMII@GOTPCREL(%rip), %rax
	cmpq	%rdi, %rcx
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rax
	cmpq	%rdi, %rcx
	jne	LBB0_5
LBB0_4:
	movq	_PHY_INTERFACE_MODE_QSGMII@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BGX_MODE_QSGMII,8,3            ## @BGX_MODE_QSGMII
	.comm	_PHY_INTERFACE_MODE_QSGMII,4,2  ## @PHY_INTERFACE_MODE_QSGMII
	.comm	_BGX_MODE_RGMII,8,3             ## @BGX_MODE_RGMII
	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ## @PHY_INTERFACE_MODE_RGMII
	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ## @PHY_INTERFACE_MODE_SGMII
	.no_dead_strip	_phy_interface_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_interface_mode
_phy_interface_mode:                    ; @phy_interface_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BGX_MODE_QSGMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BGX_MODE_QSGMII@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BGX_MODE_RGMII@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BGX_MODE_RGMII@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _PHY_INTERFACE_MODE_QSGMII@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_QSGMII@GOTPAGEOFF]
Lloh8:
	adrp	x11, _PHY_INTERFACE_MODE_RGMII@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PHY_INTERFACE_MODE_RGMII@GOTPAGEOFF]
Lloh10:
	adrp	x12, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh11:
	ldr	x12, [x12, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
	cmp	x9, x0
	csel	x9, x11, x12, eq
	cmp	x8, x0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BGX_MODE_QSGMII,8,3            ; @BGX_MODE_QSGMII
	.comm	_PHY_INTERFACE_MODE_QSGMII,4,2  ; @PHY_INTERFACE_MODE_QSGMII
	.comm	_BGX_MODE_RGMII,8,3             ; @BGX_MODE_RGMII
	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ; @PHY_INTERFACE_MODE_RGMII
	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ; @PHY_INTERFACE_MODE_SGMII
	.no_dead_strip	_phy_interface_mode
.subsections_via_symbols
