	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_flush_arl
_b53_flush_arl:                         ## @b53_flush_arl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_B53_CTRL_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B53_FAST_AGE_CTRL@GOTPCREL(%rip), %r12
	movq	_FAST_AGE_DONE@GOTPCREL(%rip), %r13
	movq	_FAST_AGE_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%r13), %ecx
	movl	(%r12), %edx
	movq	_FAST_AGE_STATIC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	callq	_b53_write8
	movl	$10, %r15d
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_B53_CTRL_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_b53_read8
	movl	(%r13), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_mdelay
	decl	%r15d
	jne	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_CTRL_PAGE,4,2              ## @B53_CTRL_PAGE
	.comm	_B53_FAST_AGE_CTRL,4,2          ## @B53_FAST_AGE_CTRL
	.comm	_FAST_AGE_DONE,4,2              ## @FAST_AGE_DONE
	.comm	_FAST_AGE_DYNAMIC,4,2           ## @FAST_AGE_DYNAMIC
	.comm	_FAST_AGE_STATIC,4,2            ## @FAST_AGE_STATIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"time out while flushing ARL\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_b53_flush_arl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_flush_arl
_b53_flush_arl:                         ; @b53_flush_arl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _B53_CTRL_PAGE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _B53_CTRL_PAGE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _B53_FAST_AGE_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _B53_FAST_AGE_CTRL@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh4:
	adrp	x22, _FAST_AGE_DONE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FAST_AGE_DONE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh6:
	adrp	x9, _FAST_AGE_DYNAMIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FAST_AGE_DYNAMIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _FAST_AGE_STATIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FAST_AGE_STATIC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w8, w9
	bl	_b53_write8
	mov	w23, #10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x3, sp, #12
	mov	x0, x19
	bl	_b53_read8
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_mdelay
	subs	w23, w23, #1
	b.ne	LBB0_1
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_CTRL_PAGE,4,2              ; @B53_CTRL_PAGE
	.comm	_B53_FAST_AGE_CTRL,4,2          ; @B53_FAST_AGE_CTRL
	.comm	_FAST_AGE_DONE,4,2              ; @FAST_AGE_DONE
	.comm	_FAST_AGE_DYNAMIC,4,2           ; @FAST_AGE_DYNAMIC
	.comm	_FAST_AGE_STATIC,4,2            ; @FAST_AGE_STATIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"time out while flushing ARL\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_b53_flush_arl
.subsections_via_symbols
