	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSCRIU_inc_req_procssed        ## -- Begin function LSCRIU_inc_req_procssed
	.p2align	4, 0x90
_LSCRIU_inc_req_procssed:               ## @LSCRIU_inc_req_procssed
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_LSCRIU_Get_Global_Counter_Type
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_s_requests_count@GOTPCREL(%rip), %rax
	incq	(%rax)
LBB0_2:
	xorl	%eax, %eax
	callq	_getpid
	movq	_s_requests_count@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	_s_initial_start_reqs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_lscriu_dbg
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_9
## %bb.3:
	cmpq	%rax, (%r14)
	jg	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	callq	_LSCRIU_Get_Global_Counter_Type
	movq	_CRIU_GCOUNTER_SHM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_LSCRIU_Increase_Global_Counter
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jge	LBB0_6
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_LSAPI_Get_ppid
	movq	_SIGUSR2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kill
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rbx
LBB0_8:
	xorl	%eax, %eax
	callq	_getpid
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lscriu_dbg                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_requests_count,8,3           ## @s_requests_count
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LSCRIU (%d): s_requests_count %d counter %d\n"

	.comm	_s_initial_start_reqs,8,3       ## @s_initial_start_reqs
	.comm	_CRIU_GCOUNTER_SHM,8,3          ## @CRIU_GCOUNTER_SHM
L_.str.1:                               ## @.str.1
	.asciz	"LSCRIU (%d): Time to dump main process with semaphore\n"

	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
L_.str.2:                               ## @.str.2
	.asciz	"LSCRIU (%d): Send kill to main process with signals\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSCRIU_inc_req_procssed        ; -- Begin function LSCRIU_inc_req_procssed
	.p2align	2
_LSCRIU_inc_req_procssed:               ; @LSCRIU_inc_req_procssed
	.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	_LSCRIU_Get_Global_Counter_Type
Lloh0:
	adrp	x19, _s_requests_count@GOTPAGE
Lloh1:
	ldr	x19, [x19, _s_requests_count@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_2:
	bl	_getpid
	mov	x1, x0
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _s_initial_start_reqs@GOTPAGE
Lloh3:
	ldr	x20, [x20, _s_initial_start_reqs@GOTPAGEOFF]
	ldr	x9, [x20]
	stp	x8, x9, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lscriu_dbg
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, #1
	ccmp	x9, x8, #0, ge
	b.le	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	_LSCRIU_Get_Global_Counter_Type
Lloh6:
	adrp	x8, _CRIU_GCOUNTER_SHM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CRIU_GCOUNTER_SHM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	bl	_LSCRIU_Increase_Global_Counter
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.6:
Lloh9:
	adrp	x19, l_.str.1@PAGE
Lloh10:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	bl	_LSAPI_Get_ppid
Lloh11:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_kill
Lloh14:
	adrp	x19, l_.str.2@PAGE
Lloh15:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_8:
	bl	_getpid
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_lscriu_dbg
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_s_requests_count,8,3           ; @s_requests_count
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LSCRIU (%d): s_requests_count %d counter %d\n"

	.comm	_s_initial_start_reqs,8,3       ; @s_initial_start_reqs
	.comm	_CRIU_GCOUNTER_SHM,8,3          ; @CRIU_GCOUNTER_SHM
l_.str.1:                               ; @.str.1
	.asciz	"LSCRIU (%d): Time to dump main process with semaphore\n"

	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
l_.str.2:                               ; @.str.2
	.asciz	"LSCRIU (%d): Send kill to main process with signals\n"

.subsections_via_symbols
