	.file	"extr_lscriu.c_LSCRIU_Init_Env_Parameters.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pipe"
.LC1:
	.string	"signals"
.LC2:
	.string	"LSAPI_INITIAL_START"
.LC3:
	.string	"LSAPI_BACKEND_INITIAL_START"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"LSCRIU (%d): Set start requests based on environment (%d)\n"
	.align 8
.LC5:
	.string	"LSCRIU (%d): LSAPI_INITIAL_START set to 0 disabled\n"
	.align 8
.LC6:
	.string	"LSCRIU (%d): LSAPI_INITIAL_START NOT set - disabled\n"
	.section	.rodata.str1.1
.LC7:
	.string	"LSCRIU (%d): Listening...\n"
.LC8:
	.string	"LSAPI_CRIU_USE_SHM"
.LC9:
	.string	"LSAPI_SIGNALS"
.LC10:
	.string	"LSCRIU (%d): Use %s\n"
	.section	.rodata.str1.8
	.align 8
.LC11:
	.string	"LSCRIU (%d): Use shared memory\n"
	.section	.rodata.str1.1
.LC12:
	.string	"LSCRIU (%d): NOT Listening\n"
.LC13:
	.string	"LSAPI_CRIU"
	.section	.rodata.str1.8
	.align 8
.LC14:
	.string	"LSCRIU (%d): Disabled by environment.\n"
	.text
	.p2align 4
	.type	LSCRIU_Init_Env_Parameters, @function
LSCRIU_Init_Env_Parameters:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC2[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getenv@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L35
.L2:
	call	atoi@PLT
	mov	ebp, eax
	xor	eax, eax
	test	ebp, ebp
	jle	.L4
	call	getpid@PLT
	mov	edx, ebp
	lea	rdi, .LC4[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	mov	edi, ebp
	call	LSCRIU_Set_Initial_Start_Reqs@PLT
	xor	eax, eax
	call	LSAPI_Is_Listen@PLT
	test	rax, rax
	jne	.L5
	xor	eax, eax
	call	getpid@PLT
	lea	rdi, .LC12[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
.L16:
	lea	rdi, .LC13[rip]
	call	getenv@PLT
	test	rax, rax
	je	.L17
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	je	.L36
	cmp	al, 50
	je	.L37
.L17:
	mov	eax, DWORD PTR s_native[rip]
	test	eax, eax
	jne	.L19
.L26:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	eax, eax
	call	getpid@PLT
	lea	rdi, .LC7[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	lea	rdi, .LC8[rip]
	mov	rbp, QWORD PTR CRIU_GCOUNTER_SHM[rip]
	call	getenv@PLT
	test	rax, rax
	je	.L8
	movzx	eax, BYTE PTR [rax]
	and	eax, -33
	cmp	al, 83
	jne	.L9
.L11:
	mov	rbp, QWORD PTR CRIU_GCOUNTER_SIG[rip]
	mov	rbx, QWORD PTR CRIU_GCOUNTER_SHM[rip]
	lea	r12, .LC1[rip]
	cmp	rbp, rbx
	jne	.L14
.L13:
	xor	eax, eax
	mov	rbp, rbx
	call	getpid@PLT
	lea	rdi, .LC11[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
.L15:
	mov	rdi, rbp
	call	LSCRIU_Set_Global_Counter_Type@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L4:
	call	getpid@PLT
	lea	rdi, .LC5[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	cmp	cl, 2
	cmove	rbp, QWORD PTR CRIU_GCOUNTER_PIPE[rip]
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	QWORD PTR CRIU_GCOUNTER_SHM[rip], rbp
	je	.L21
	cmp	QWORD PTR CRIU_GCOUNTER_SIG[rip], rbp
	lea	r12, .LC1[rip]
	lea	rdx, .LC0[rip]
	cmovne	r12, rdx
.L14:
	xor	eax, eax
	call	getpid@PLT
	mov	rdx, r12
	lea	rdi, .LC10[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	mov	esi, DWORD PTR lsapi_siguser2[rip]
	mov	edi, DWORD PTR SIGUSR2[rip]
	call	lsapi_criu_signal@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L37:
	xor	eax, eax
	call	getpid@PLT
	lea	rdi, .LC14[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	mov	DWORD PTR s_native[rip], 1
.L19:
	xor	eax, eax
	call	init_native_env@PLT
	cmp	eax, -1
	jne	.L26
	xor	edi, edi
	call	LSCRIU_Set_Initial_Start_Reqs@PLT
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L35:
	lea	rdi, .LC3[rip]
	call	getenv@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L2
	xor	eax, eax
	call	getpid@PLT
	lea	rdi, .LC6[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	xor	eax, eax
	call	getpid@PLT
	lea	rdi, .LC14[rip]
	mov	esi, eax
	xor	eax, eax
	call	lscriu_dbg@PLT
	xor	edi, edi
	call	LSCRIU_Set_Initial_Start_Reqs@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdi, .LC9[rip]
	call	getenv@PLT
	test	rax, rax
	je	.L9
	movzx	ecx, BYTE PTR [rax]
	mov	edx, ecx
	and	edx, -33
	cmp	dl, 84
	sete	dil
	cmp	dl, 89
	sete	sil
	or	dil, sil
	jne	.L11
	cmp	cl, 49
	je	.L11
	cmp	dl, 79
	jne	.L12
	movzx	eax, BYTE PTR 1[rax]
	and	eax, -33
	cmp	al, 78
	jne	.L9
	jmp	.L11
.L21:
	mov	rbx, rbp
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	LSCRIU_Init_Env_Parameters, .-LSCRIU_Init_Env_Parameters
	.comm	s_native,4,4
	.comm	lsapi_siguser2,4,4
	.comm	SIGUSR2,4,4
	.comm	CRIU_GCOUNTER_SIG,8,8
	.comm	CRIU_GCOUNTER_SHM,8,8
	.comm	CRIU_GCOUNTER_PIPE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_lscriu.c_LSCRIU_Init_Env_Parameters.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"signals\000"
	.align	2
.LC1:
	.ascii	"pipe\000"
	.align	2
.LC2:
	.ascii	"LSAPI_INITIAL_START\000"
	.align	2
.LC3:
	.ascii	"LSAPI_BACKEND_INITIAL_START\000"
	.align	2
.LC4:
	.ascii	"LSCRIU (%d): Set start requests based on environmen"
	.ascii	"t (%d)\012\000"
	.align	2
.LC5:
	.ascii	"LSCRIU (%d): LSAPI_INITIAL_START set to 0 disabled\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"LSCRIU (%d): LSAPI_INITIAL_START NOT set - disabled"
	.ascii	"\012\000"
	.align	2
.LC7:
	.ascii	"LSCRIU (%d): Listening...\012\000"
	.align	2
.LC8:
	.ascii	"LSAPI_CRIU_USE_SHM\000"
	.align	2
.LC9:
	.ascii	"LSAPI_SIGNALS\000"
	.align	2
.LC10:
	.ascii	"LSCRIU (%d): Use %s\012\000"
	.align	2
.LC11:
	.ascii	"LSCRIU (%d): Use shared memory\012\000"
	.align	2
.LC12:
	.ascii	"LSCRIU (%d): NOT Listening\012\000"
	.align	2
.LC13:
	.ascii	"LSAPI_CRIU\000"
	.align	2
.LC14:
	.ascii	"LSCRIU (%d): Disabled by environment.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LSCRIU_Init_Env_Parameters, %function
LSCRIU_Init_Env_Parameters:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, .L33
	bl	getenv
	cmp	r0, #0
	beq	.L30
.L2:
	bl	atoi
	subs	r4, r0, #0
	ble	.L4
	bl	getpid
	mov	r2, r4
	mov	r1, r0
	ldr	r0, .L33+4
	bl	lscriu_dbg
	mov	r0, r4
	bl	LSCRIU_Set_Initial_Start_Reqs
	bl	LSAPI_Is_Listen
	cmp	r0, #0
	bne	.L5
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+8
	bl	lscriu_dbg
.L15:
	ldr	r0, .L33+12
	bl	getenv
	cmp	r0, #0
	beq	.L16
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L31
	cmp	r3, #50
	beq	.L32
.L16:
	ldr	r3, .L33+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	bl	getpid
	ldr	r5, .L33+20
	mov	r1, r0
	ldr	r0, .L33+24
	bl	lscriu_dbg
	ldr	r0, .L33+28
	ldr	r4, [r5]
	bl	getenv
	cmp	r0, #0
	beq	.L8
	ldrb	r3, [r0]	@ zero_extendqisi2
	and	r3, r3, #223
	cmp	r3, #83
	bne	.L9
.L10:
	ldr	r3, .L33+32
	ldr	r4, [r3]
.L9:
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L12
	bl	getpid
	ldr	r3, .L33+32
	mov	r1, r0
	ldr	ip, [r3]
	ldr	r3, .L33+36
	cmp	ip, r4
	ldr	r2, .L33+40
	ldr	r0, .L33+44
	movne	r2, r3
	bl	lscriu_dbg
	ldr	r2, .L33+48
	ldr	r3, .L33+52
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	lsapi_criu_signal
.L14:
	mov	r0, r4
	bl	LSCRIU_Set_Global_Counter_Type
	b	.L15
.L4:
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+56
	bl	lscriu_dbg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+60
	bl	lscriu_dbg
	b	.L14
.L32:
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+64
	bl	lscriu_dbg
	mov	r2, #1
	ldr	r3, .L33+16
	str	r2, [r3]
.L18:
	bl	init_native_env
	cmn	r0, #1
	bne	.L7
	mov	r0, #0
	bl	LSCRIU_Set_Initial_Start_Reqs
	b	.L7
.L30:
	ldr	r0, .L33+68
	bl	getenv
	cmp	r0, #0
	bne	.L2
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+72
	bl	lscriu_dbg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L31:
	bl	getpid
	mov	r1, r0
	ldr	r0, .L33+64
	bl	lscriu_dbg
	mov	r0, #0
	bl	LSCRIU_Set_Initial_Start_Reqs
	b	.L16
.L8:
	ldr	r0, .L33+76
	bl	getenv
	cmp	r0, #0
	beq	.L9
	ldrb	r1, [r0]	@ zero_extendqisi2
	and	r2, r1, #223
	cmp	r2, #84
	cmpne	r2, #89
	moveq	r3, #1
	movne	r3, #0
	cmp	r1, #49
	orreq	r3, r3, #1
	cmp	r3, #0
	bne	.L10
	cmp	r2, #79
	bne	.L11
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	and	r3, r3, #223
	cmp	r3, #78
	bne	.L9
	b	.L10
.L11:
	cmp	r1, #2
	ldreq	r3, .L33+80
	ldreq	r4, [r3]
	b	.L9
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	.LC4
	.word	.LC12
	.word	.LC13
	.word	s_native
	.word	CRIU_GCOUNTER_SHM
	.word	.LC7
	.word	.LC8
	.word	CRIU_GCOUNTER_SIG
	.word	.LC1
	.word	.LC0
	.word	.LC10
	.word	lsapi_siguser2
	.word	SIGUSR2
	.word	.LC5
	.word	.LC11
	.word	.LC14
	.word	.LC3
	.word	.LC6
	.word	.LC9
	.word	CRIU_GCOUNTER_PIPE
	.size	LSCRIU_Init_Env_Parameters, .-LSCRIU_Init_Env_Parameters
	.comm	s_native,4,4
	.comm	lsapi_siguser2,4,4
	.comm	SIGUSR2,4,4
	.comm	CRIU_GCOUNTER_SIG,4,4
	.comm	CRIU_GCOUNTER_SHM,4,4
	.comm	CRIU_GCOUNTER_PIPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
