	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function miphy_osc_is_ready
_miphy_osc_is_ready:                    ## @miphy_osc_is_ready
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_SYSCFG_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.2:
	movq	16(%rbx), %r13
	movq	_jiffies@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movl	(%r13), %edi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	-44(%rbp), %eax
	movq	_MIPHY_OSC_RDY@GOTPCREL(%rip), %r12
	notl	%eax
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.3:
	leaq	(%r15,%r15,4), %r14
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_time_after_eq
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movq	_SYSCFG_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r13), %edi
	movq	%r15, %rdx
	callq	_regmap_read
	movl	-44(%rbp), %eax
	notl	%eax
	testl	%eax, (%r12)
	jne	LBB0_4
## %bb.6:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_SYSCFG_STATUS,8,3              ## @SYSCFG_STATUS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MIPHY_OSC_RDY,4,2              ## @MIPHY_OSC_RDY
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_miphy_osc_is_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function miphy_osc_is_ready
_miphy_osc_is_ready:                    ; @miphy_osc_is_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _SYSCFG_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SYSCFG_STATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w1, [x8, x9, lsl #2]
	cbz	w1, LBB0_7
; %bb.2:
Lloh2:
	adrp	x22, _jiffies@GOTPAGE
Lloh3:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x23, [x19, #16]
	ldrsw	x20, [x22]
Lloh4:
	adrp	x8, _HZ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh6:
	ldrsw	x25, [x8]
	ldr	w0, [x23]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x24, _MIPHY_OSC_RDY@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MIPHY_OSC_RDY@GOTPAGEOFF]
	ldr	w9, [x24]
	bics	wzr, w9, w8
	b.eq	LBB0_6
; %bb.3:
	add	x8, x25, x25, lsl #2
	add	x20, x8, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cpu_relax
	ldr	w0, [x22]
	mov	x1, x20
	bl	_time_after_eq
	cbnz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w1, [x8, x9, lsl #2]
	ldr	w0, [x23]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w8, [sp, #12]
	ldr	w9, [x24]
	bics	wzr, w9, w8
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_SYSCFG_STATUS,8,3              ; @SYSCFG_STATUS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MIPHY_OSC_RDY,4,2              ; @MIPHY_OSC_RDY
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_miphy_osc_is_ready
.subsections_via_symbols
