	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSCRIU_Init                    ## -- Begin function LSCRIU_Init
	.p2align	4, 0x90
_LSCRIU_Init:                           ## @LSCRIU_Init
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	_s_pid@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_LSCRIU_Debugging
	xorl	%eax, %eax
	callq	_LSCRIU_Init_Env_Parameters
	movq	_s_initial_start_reqs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_s_native@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_LSCRIU_load_liblscapi
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rax
LBB0_5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_LSCRIU_Wink_Server_is_Ready
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	callq	_lscriu_dbg
	movq	_LSCRIU_on_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LSAPI_Register_Pgrp_Timer_Callback
	xorl	%edi, %edi
	callq	_LSCRIU_Init_Global_Counter
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	setg	%bl
	jmp	LBB0_7
LBB0_3:
	movq	$0, (%r14)
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_pid,4,2                      ## @s_pid
	.comm	_s_initial_start_reqs,8,3       ## @s_initial_start_reqs
	.comm	_s_native,4,2                   ## @s_native
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LSCRIU (%d): LSAPI_Register_Pgrp_Timer_Callback\n"

	.comm	_LSCRIU_on_timer,4,2            ## @LSCRIU_on_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSCRIU_Init                    ; -- Begin function LSCRIU_Init
	.p2align	2
_LSCRIU_Init:                           ; @LSCRIU_Init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_getpid
Lloh0:
	adrp	x20, _s_pid@GOTPAGE
Lloh1:
	ldr	x20, [x20, _s_pid@GOTPAGEOFF]
	str	w0, [x20]
	bl	_LSCRIU_Debugging
	bl	_LSCRIU_Init_Env_Parameters
Lloh2:
	adrp	x19, _s_initial_start_reqs@GOTPAGE
Lloh3:
	ldr	x19, [x19, _s_initial_start_reqs@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _s_native@GOTPAGE
Lloh5:
	ldr	x9, [x9, _s_native@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_3
; %bb.1:
	bl	_LSCRIU_load_liblscapi
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x19]
LBB0_3:
	cbz	x8, LBB0_5
; %bb.4:
	bl	_LSCRIU_Wink_Server_is_Ready
	ldr	w1, [x20]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lscriu_dbg
Lloh9:
	adrp	x8, _LSCRIU_on_timer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LSCRIU_on_timer@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_LSAPI_Register_Pgrp_Timer_Callback
	mov	w0, #0
	bl	_LSCRIU_Init_Global_Counter
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, gt
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_s_pid,4,2                      ; @s_pid
	.comm	_s_initial_start_reqs,8,3       ; @s_initial_start_reqs
	.comm	_s_native,4,2                   ; @s_native
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LSCRIU (%d): LSAPI_Register_Pgrp_Timer_Callback\n"

	.comm	_LSCRIU_on_timer,4,2            ; @LSCRIU_on_timer
.subsections_via_symbols
