	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_mdio_links_ok              ## -- Begin function ef4_mdio_links_ok
	.p2align	4, 0x90
_ef4_mdio_links_ok:                     ## @ef4_mdio_links_ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_LOOPBACK_INTERNAL
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	%r15, %rdi
	callq	_LOOPBACK_MASK
	movq	_LOOPBACKS_WS@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.2:
	movl	12(%r15), %edi
	callq	_ef4_phy_mode_disabled
	testq	%rax, %rax
	je	LBB0_3
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r15), %rax
	movq	_LOOPBACK_PHYXS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_MDIO_DEVS_PHYXS@GOTPCREL(%rip), %rax
	movq	_MDIO_DEVS_PCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MDIO_DEVS_PMAPMD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_LOOPBACK_PCS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_MDIO_DEVS_PCS@GOTPCREL(%rip), %rax
	movq	_MDIO_DEVS_PMAPMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_7:
	orl	(%rax), %ecx
	movq	_MDIO_DEVS_AN@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r14d
LBB0_11:
	addq	$8, %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mdio45_links_ok                ## TAILCALL
LBB0_8:
	movq	_LOOPBACK_PMAPMD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	_MDIO_DEVS_PMAPMD@GOTPCREL(%rip), %rax
	movq	_MDIO_DEVS_AN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_LOOPBACKS_WS,4,2               ## @LOOPBACKS_WS
	.comm	_LOOPBACK_PHYXS,8,3             ## @LOOPBACK_PHYXS
	.comm	_MDIO_DEVS_PHYXS,4,2            ## @MDIO_DEVS_PHYXS
	.comm	_MDIO_DEVS_PCS,4,2              ## @MDIO_DEVS_PCS
	.comm	_MDIO_DEVS_PMAPMD,4,2           ## @MDIO_DEVS_PMAPMD
	.comm	_MDIO_DEVS_AN,4,2               ## @MDIO_DEVS_AN
	.comm	_LOOPBACK_PCS,8,3               ## @LOOPBACK_PCS
	.comm	_LOOPBACK_PMAPMD,8,3            ## @LOOPBACK_PMAPMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_mdio_links_ok              ; -- Begin function ef4_mdio_links_ok
	.p2align	2
_ef4_mdio_links_ok:                     ; @ef4_mdio_links_ok
	.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, x1
	mov	x20, x0
	bl	_LOOPBACK_INTERNAL
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_LOOPBACK_MASK
Lloh0:
	adrp	x8, _LOOPBACKS_WS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOOPBACKS_WS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_ef4_phy_mode_disabled
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _LOOPBACK_PHYXS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LOOPBACK_PHYXS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _MDIO_DEVS_PHYXS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_DEVS_PHYXS@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MDIO_DEVS_PCS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MDIO_DEVS_PCS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _MDIO_DEVS_PMAPMD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MDIO_DEVS_PMAPMD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_10
LBB0_8:
Lloh15:
	adrp	x9, _LOOPBACK_PCS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LOOPBACK_PCS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.9:
Lloh18:
	adrp	x8, _MDIO_DEVS_PCS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MDIO_DEVS_PCS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _MDIO_DEVS_PMAPMD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MDIO_DEVS_PMAPMD@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_10:
Lloh24:
	adrp	x9, _MDIO_DEVS_AN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MDIO_DEVS_AN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_11:
	bic	w19, w19, w8
LBB0_12:
	add	x0, x20, #8
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mdio45_links_ok
LBB0_13:
Lloh27:
	adrp	x9, _LOOPBACK_PMAPMD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _LOOPBACK_PMAPMD@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.14:
Lloh30:
	adrp	x8, _MDIO_DEVS_PMAPMD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MDIO_DEVS_PMAPMD@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _MDIO_DEVS_AN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MDIO_DEVS_AN@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_LOOPBACKS_WS,4,2               ; @LOOPBACKS_WS
	.comm	_LOOPBACK_PHYXS,8,3             ; @LOOPBACK_PHYXS
	.comm	_MDIO_DEVS_PHYXS,4,2            ; @MDIO_DEVS_PHYXS
	.comm	_MDIO_DEVS_PCS,4,2              ; @MDIO_DEVS_PCS
	.comm	_MDIO_DEVS_PMAPMD,4,2           ; @MDIO_DEVS_PMAPMD
	.comm	_MDIO_DEVS_AN,4,2               ; @MDIO_DEVS_AN
	.comm	_LOOPBACK_PCS,8,3               ; @LOOPBACK_PCS
	.comm	_LOOPBACK_PMAPMD,8,3            ; @LOOPBACK_PMAPMD
.subsections_via_symbols
