	.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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -40(%rbp)
	movq	(%rdi), %r14
	movq	$16, -32(%rbp)
	xorl	%ebx, %ebx
	cmpq	%rsi, (%r14)
	jg	LBB0_4
## %bb.1:
	movq	_userspace_is_remote_recovering.limit(%rip), %rdi
	movq	_jiffies@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_time_after
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movslq	(%r15), %rax
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movq	%rcx, _userspace_is_remote_recovering.limit(%rip)
	movl	8(%r14), %esi
	movq	_DM_ULOG_IS_REMOTE_RECOVERING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-40(%rbp), %rcx
	leaq	-56(%rbp), %r9
	movq	%r14, %rdi
	movl	$8, %r8d
	callq	_userspace_do_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	movl	-56(%rbp), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_userspace_is_remote_recovering.limit,8,3 ## @userspace_is_remote_recovering.limit
	.comm	_jiffies,4,2                    ## @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, #80
	.cfi_def_cfa_offset 80
	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
	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_5
LBB0_2:
	adrp	x20, _userspace_is_remote_recovering.limit@PAGE
	ldr	x0, [x20, _userspace_is_remote_recovering.limit@PAGEOFF]
Lloh0:
	adrp	x21, _jiffies@GOTPAGE
Lloh1:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_time_after
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
	ldrsw	x9, [x21]
Lloh4:
	ldr	w8, [x8]
	add	w10, w8, #3
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #2
	add	x8, x9, w8, sxtw
	str	x8, [x20, _userspace_is_remote_recovering.limit@PAGEOFF]
	ldr	w1, [x19, #8]
Lloh5:
	adrp	x8, _DM_ULOG_IS_REMOTE_RECOVERING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DM_ULOG_IS_REMOTE_RECOVERING@GOTPAGEOFF]
Lloh7:
	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_6
LBB0_4:
	mov	w0, #1
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
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x8, [sp, #16]
	str	x8, [x19]
	ldr	w0, [sp, #8]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_userspace_is_remote_recovering.limit,8,3 ; @userspace_is_remote_recovering.limit
	.comm	_jiffies,4,2                    ; @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
