	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mscc_miim_wait_ready
_mscc_miim_wait_ready:                  ## @mscc_miim_wait_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_MSCC_MIIM_REG_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	movl	$1, %edx
	movl	$100, %ecx
	movl	$250000, %r8d                   ## imm = 0x3D090
	callq	_readl_poll_timeout
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSCC_MIIM_REG_STATUS,8,3       ## @MSCC_MIIM_REG_STATUS
	.comm	_MSCC_MIIM_STATUS_STAT_BUSY,4,2 ## @MSCC_MIIM_STATUS_STAT_BUSY
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_mscc_miim_wait_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mscc_miim_wait_ready
_mscc_miim_wait_ready:                  ; @mscc_miim_wait_ready
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MSCC_MIIM_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSCC_MIIM_REG_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w2, #1
	mov	w3, #100
	mov	w4, #53392
	movk	w4, #3, lsl #16
	bl	_readl_poll_timeout
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSCC_MIIM_REG_STATUS,8,3       ; @MSCC_MIIM_REG_STATUS
	.comm	_MSCC_MIIM_STATUS_STAT_BUSY,4,2 ; @MSCC_MIIM_STATUS_STAT_BUSY
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_mscc_miim_wait_ready
.subsections_via_symbols
