	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function userspace_is_remote_recovering
_userspace_is_remote_recovering:        ## @userspace_is_remote_recovering
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, -32(%rbp)
	movq	(%rdi), %r14
	movq	$16, -24(%rbp)
	xorl	%ebx, %ebx
	cmpq	%rsi, (%r14)
	jg	LBB0_4
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, %ebx
	cmpq	_userspace_is_remote_recovering.limit(%rip), %rax
	jb	LBB0_4
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rcx
	addq	%rcx, %rax
	movq	%rax, _userspace_is_remote_recovering.limit(%rip)
	movl	8(%r14), %esi
	movq	_DM_ULOG_IS_REMOTE_RECOVERING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-32(%rbp), %rcx
	leaq	-48(%rbp), %r9
	movq	%r14, %rdi
	movl	$8, %r8d
	callq	_userspace_do_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	movl	-48(%rbp), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_userspace_is_remote_recovering.limit,8,3 ## @userspace_is_remote_recovering.limit
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_DM_ULOG_IS_REMOTE_RECOVERING,4,2 ## @DM_ULOG_IS_REMOTE_RECOVERING
	.no_dead_strip	_userspace_is_remote_recovering
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function userspace_is_remote_recovering
_userspace_is_remote_recovering:        ; @userspace_is_remote_recovering
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	x1, [sp, #24]
	ldr	x19, [x0]
	mov	w8, #16
	str	x8, [sp]
	ldr	x8, [x19]
	cmp	x8, x1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	adrp	x9, _userspace_is_remote_recovering.limit@PAGE
	ldr	x10, [x9, _userspace_is_remote_recovering.limit@PAGEOFF]
	cmp	x8, x10
	b.lo	LBB0_4
; %bb.3:
Lloh3:
	adrp	x10, _HZ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #2
	add	x8, x8, w10, sxtw
	str	x8, [x9, _userspace_is_remote_recovering.limit@PAGEOFF]
	ldr	w1, [x19, #8]
Lloh6:
	adrp	x8, _DM_ULOG_IS_REMOTE_RECOVERING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_ULOG_IS_REMOTE_RECOVERING@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #24
	add	x5, sp, #8
	mov	x6, sp
	mov	x0, x19
	mov	w4, #8
	bl	_userspace_do_request
	cbz	w0, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #16]
	str	x8, [x19]
	ldr	w0, [sp, #8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_userspace_is_remote_recovering.limit,8,3 ; @userspace_is_remote_recovering.limit
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_DM_ULOG_IS_REMOTE_RECOVERING,4,2 ; @DM_ULOG_IS_REMOTE_RECOVERING
	.no_dead_strip	_userspace_is_remote_recovering
.subsections_via_symbols
