	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_link
_led_link:                              ## @led_link
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$0, -36(%rbp)
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MDIO_CTRL2@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %rcx
	callq	_cphy_mdio_read
	andl	$1, %ebx
	movl	-36(%rbp), %ecx
	andl	$-2, %ecx
	orl	%ebx, %ecx
	movl	%ecx, -36(%rbp)
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_cphy_mdio_write
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL2,4,2                 ## @MDIO_CTRL2
	.comm	_LINK_ENABLE_BIT,4,2            ## @LINK_ENABLE_BIT
	.no_dead_strip	_led_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_link
_led_link:                              ; @led_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x21, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _MDIO_CTRL2@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MDIO_CTRL2@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #12
	bl	_cphy_mdio_read
	ldr	w3, [sp, #12]
	bfxil	w3, w19, #0, #1
	str	w3, [sp, #12]
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_cphy_mdio_write
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL2,4,2                 ; @MDIO_CTRL2
	.comm	_LINK_ENABLE_BIT,4,2            ; @LINK_ENABLE_BIT
	.no_dead_strip	_led_link
.subsections_via_symbols
