	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e1xxx_set_loopback
_mv88e1xxx_set_loopback:                ## @mv88e1xxx_set_loopback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_MII_BMCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_BMCR_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	callq	_mdio_set_bit
	jmp	LBB0_3
LBB0_2:
	callq	_mdio_clear_bit
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_LOOPBACK,4,2              ## @BMCR_LOOPBACK
	.no_dead_strip	_mv88e1xxx_set_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e1xxx_set_loopback
_mv88e1xxx_set_loopback:                ; @mv88e1xxx_set_loopback
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
Lloh0:
	adrp	x9, _MII_BMCR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MII_BMCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _BMCR_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BMCR_LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_mdio_set_bit
	b	LBB0_3
LBB0_2:
	bl	_mdio_clear_bit
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_LOOPBACK,4,2              ; @BMCR_LOOPBACK
	.no_dead_strip	_mv88e1xxx_set_loopback
.subsections_via_symbols
