	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LSCRIU_CloudLinux_Checkpoint
_LSCRIU_CloudLinux_Checkpoint:          ## @LSCRIU_CloudLinux_Checkpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_s_lscapi_dump_me
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	jne	LBB0_2
## %bb.4:
	movq	_s_pid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_lscriu_err
	jmp	LBB0_5
LBB0_1:
	movq	_s_pid@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_lscriu_err
LBB0_2:
	movq	_s_restored@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_LSAPI_reset_server_state
	xorl	%eax, %eax
	callq	_LSCRIU_Wink_Server_is_Ready
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_getppid
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_lscriu_err
LBB0_5:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_LSCRIU_Set_Initial_Start_Reqs  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_native,4,2                   ## @s_native
	.comm	_s_pid,4,2                      ## @s_pid
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"LSCRIU: CloudLinux dump of PID: %d, error: %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"LSCRIU: Successful CloudLinux dump of PID: %d\n"

	.comm	_s_restored,4,2                 ## @s_restored
L_.str.3:                               ## @.str.3
	.asciz	"LSCRIU: Successful CloudLinux restore of PID: %d, parent: %d.\n"

	.no_dead_strip	_LSCRIU_CloudLinux_Checkpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LSCRIU_CloudLinux_Checkpoint
_LSCRIU_CloudLinux_Checkpoint:          ; @LSCRIU_CloudLinux_Checkpoint
	.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
	bl	_s_lscapi_dump_me
	tbnz	w0, #31, LBB0_3
; %bb.1:
	cbnz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _s_pid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_pid@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _s_pid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_pid@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_lscriu_err
LBB0_4:
Lloh13:
	adrp	x8, _s_restored@GOTPAGE
Lloh14:
	ldr	x8, [x8, _s_restored@GOTPAGEOFF]
	mov	w9, #1
Lloh15:
	str	w9, [x8]
	bl	_LSAPI_reset_server_state
	bl	_LSCRIU_Wink_Server_is_Ready
	bl	_getpid
	mov	x19, x0
	bl	_getppid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
LBB0_5:
	bl	_lscriu_err
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_LSCRIU_Set_Initial_Start_Reqs
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_s_native,4,2                   ; @s_native
	.comm	_s_pid,4,2                      ; @s_pid
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"LSCRIU: CloudLinux dump of PID: %d, error: %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"LSCRIU: Successful CloudLinux dump of PID: %d\n"

	.comm	_s_restored,4,2                 ; @s_restored
l_.str.3:                               ; @.str.3
	.asciz	"LSCRIU: Successful CloudLinux restore of PID: %d, parent: %d.\n"

	.no_dead_strip	_LSCRIU_CloudLinux_Checkpoint
.subsections_via_symbols
