	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LSCRIU_Wait_Dump_Finsh_Or_Restored
_LSCRIU_Wait_Dump_Finsh_Or_Restored:    ## @LSCRIU_Wait_Dump_Finsh_Or_Restored
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	leaq	-28(%rbp), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_usleep
	movq	%r14, %rdi
	callq	_time
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_getppid
	cmpl	%r15d, %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-28(%rbp), %eax
	subl	%ebx, %eax
	cmpl	$10, %eax
	jg	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	jl	LBB0_1
	jmp	LBB0_6
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-28(%rbp), %ebx
	jmp	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_LSCRIU_Restored_Error
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timed out waiting to be dumped"

	.no_dead_strip	_LSCRIU_Wait_Dump_Finsh_Or_Restored
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LSCRIU_Wait_Dump_Finsh_Or_Restored
_LSCRIU_Wait_Dump_Finsh_Or_Restored:    ; @LSCRIU_Wait_Dump_Finsh_Or_Restored
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w20, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1000
	bl	_usleep
	add	x0, sp, #12
	bl	_time
	cbz	w20, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_getppid
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #12]
	sub	w8, w8, w20
	cmp	w8, #10
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #6
	b.lt	LBB0_1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w20, [sp, #12]
	b	LBB0_1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_LSCRIU_Restored_Error
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timed out waiting to be dumped"

	.no_dead_strip	_LSCRIU_Wait_Dump_Finsh_Or_Restored
.subsections_via_symbols
