	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_phy_supports_gige
_emac_phy_supports_gige:                ## @emac_phy_supports_gige
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_phy_interface_mode_is_rgmii
	testq	%rax, %rax
	setne	%al
	movq	_PHY_INTERFACE_MODE_GMII@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	sete	%cl
	orb	%al, %cl
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	sete	%al
	movq	_PHY_INTERFACE_MODE_TBI@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	sete	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movq	_PHY_INTERFACE_MODE_RTBI@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	sete	%al
	orb	%dl, %al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ## @PHY_INTERFACE_MODE_GMII
	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ## @PHY_INTERFACE_MODE_SGMII
	.comm	_PHY_INTERFACE_MODE_TBI,4,2     ## @PHY_INTERFACE_MODE_TBI
	.comm	_PHY_INTERFACE_MODE_RTBI,4,2    ## @PHY_INTERFACE_MODE_RTBI
	.no_dead_strip	_emac_phy_supports_gige
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_phy_supports_gige
_emac_phy_supports_gige:                ; @emac_phy_supports_gige
	.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
	mov	x19, x0
	bl	_phy_interface_mode_is_rgmii
	cmp	x0, #0
Lloh0:
	adrp	x8, _PHY_INTERFACE_MODE_GMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_GMII@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, eq
Lloh3:
	adrp	x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
Lloh6:
	adrp	x8, _PHY_INTERFACE_MODE_TBI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_TBI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
Lloh9:
	adrp	x8, _PHY_INTERFACE_MODE_RTBI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_RTBI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ; @PHY_INTERFACE_MODE_GMII
	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ; @PHY_INTERFACE_MODE_SGMII
	.comm	_PHY_INTERFACE_MODE_TBI,4,2     ; @PHY_INTERFACE_MODE_TBI
	.comm	_PHY_INTERFACE_MODE_RTBI,4,2    ; @PHY_INTERFACE_MODE_RTBI
	.no_dead_strip	_emac_phy_supports_gige
.subsections_via_symbols
