	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddr_poll_until_not_busy
_ddr_poll_until_not_busy:               ## @ddr_poll_until_not_busy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, -8(%rbp)
	movl	$1, -4(%rbp)
	movq	_C_DDR_STAT_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, -8(%rbp)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbp), %ecx
	cmpl	$1, %ecx
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %ecx
	movl	%ecx, -8(%rbp)
	cmpl	$0, -8(%rbp)
	js	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -4(%rbp)
	jmp	LBB0_1
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_DDR_STAT_REG,8,3             ## @C_DDR_STAT_REG
	.no_dead_strip	_ddr_poll_until_not_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddr_poll_until_not_busy
_ddr_poll_until_not_busy:               ; @ddr_poll_until_not_busy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	str	wzr, [sp, #12]
	mov	w8, #1
Lloh0:
	adrp	x9, _C_DDR_STAT_REG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _C_DDR_STAT_REG@GOTPAGEOFF]
	str	w8, [sp, #8]
Lloh2:
	ldr	x8, [x9]
	ldr	w9, [x8]
	str	w9, [sp, #12]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [sp, #8]
	cmp	w9, #1
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x8]
	str	w9, [sp, #12]
	ldr	w9, [sp, #12]
	tbnz	w9, #31, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [sp, #8]
	b	LBB0_1
LBB0_4:
	add	sp, sp, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C_DDR_STAT_REG,8,3             ; @C_DDR_STAT_REG
	.no_dead_strip	_ddr_poll_until_not_busy
.subsections_via_symbols
