	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LSCRIU_load_liblscapi
_LSCRIU_load_liblscapi:                 ## @LSCRIU_load_liblscapi
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_s_native@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DL_LOAD
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_dlsym
	movq	_s_lscapi_dump_me@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	leaq	L_.str.3(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dlsym
	movq	_s_lscapi_prepare_me@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	leaq	L_.str.4(%rip), %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_dlsym
	movq	_psem_open@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.5(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_dlsym
	movq	_psem_post@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.6(%rip), %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_dlsym
	movq	_psem_close@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_10
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_s_pid@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_fprintf
	movq	%r14, %rdi
	callq	_dlclose
	jmp	LBB0_9
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_s_pid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	%r14d, %edx
	movq	%rax, %r8
	callq	_fprintf
LBB0_9:
	movl	$-1, %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_native,8,3                   ## @s_native
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"liblscapi.so"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"LSCRIU (%d): failed to dlopen %s: %s - ignore CRIU\n"

	.comm	_s_pid,4,2                      ## @s_pid
L_.str.2:                               ## @.str.2
	.asciz	"lscapi_dump_me"

	.comm	_s_lscapi_dump_me,8,3           ## @s_lscapi_dump_me
L_.str.3:                               ## @.str.3
	.asciz	"lscapi_prepare_me"

	.comm	_s_lscapi_prepare_me,8,3        ## @s_lscapi_prepare_me
L_.str.4:                               ## @.str.4
	.asciz	"sem_open"

	.comm	_psem_open,8,3                  ## @psem_open
L_.str.5:                               ## @.str.5
	.asciz	"sem_post"

	.comm	_psem_post,8,3                  ## @psem_post
L_.str.6:                               ## @.str.6
	.asciz	"sem_close"

	.comm	_psem_close,8,3                 ## @psem_close
L_.str.7:                               ## @.str.7
	.asciz	"LSCRIU (%d): failed to dlsym %s: %s - ignore CRIU\n"

	.no_dead_strip	_LSCRIU_load_liblscapi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LSCRIU_load_liblscapi
_LSCRIU_load_liblscapi:                 ; @LSCRIU_load_liblscapi
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _s_native@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_native@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_11
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DL_LOAD
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
Lloh5:
	adrp	x20, l_.str.2@PAGE
Lloh6:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_dlsym
Lloh7:
	adrp	x8, _s_lscapi_dump_me@GOTPAGE
Lloh8:
	ldr	x8, [x8, _s_lscapi_dump_me@GOTPAGEOFF]
Lloh9:
	str	x0, [x8]
	cbz	x0, LBB0_8
; %bb.4:
Lloh10:
	adrp	x20, l_.str.3@PAGE
Lloh11:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_dlsym
Lloh12:
	adrp	x8, _s_lscapi_prepare_me@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_lscapi_prepare_me@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	cbz	x0, LBB0_8
; %bb.5:
Lloh15:
	adrp	x20, l_.str.4@PAGE
Lloh16:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	bl	_dlsym
Lloh17:
	adrp	x8, _psem_open@GOTPAGE
Lloh18:
	ldr	x8, [x8, _psem_open@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
	cbz	x0, LBB0_8
; %bb.6:
Lloh20:
	adrp	x20, l_.str.5@PAGE
Lloh21:
	add	x20, x20, l_.str.5@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	bl	_dlsym
Lloh22:
	adrp	x8, _psem_post@GOTPAGE
Lloh23:
	ldr	x8, [x8, _psem_post@GOTPAGEOFF]
Lloh24:
	str	x0, [x8]
	cbz	x0, LBB0_8
; %bb.7:
Lloh25:
	adrp	x20, l_.str.6@PAGE
Lloh26:
	add	x20, x20, l_.str.6@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	bl	_dlsym
Lloh27:
	adrp	x8, _psem_close@GOTPAGE
Lloh28:
	ldr	x8, [x8, _psem_close@GOTPAGEOFF]
Lloh29:
	str	x0, [x8]
	cbnz	x0, LBB0_1
LBB0_8:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
Lloh33:
	adrp	x8, _s_pid@GOTPAGE
Lloh34:
	ldr	x8, [x8, _s_pid@GOTPAGEOFF]
Lloh35:
	ldr	w22, [x8]
	bl	_dlerror
	mov	x4, x0
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x20
	bl	_fprintf
	mov	x0, x19
	bl	_dlclose
	b	LBB0_10
LBB0_9:
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w19, [x8]
Lloh41:
	adrp	x8, _s_pid@GOTPAGE
Lloh42:
	ldr	x8, [x8, _s_pid@GOTPAGEOFF]
Lloh43:
	ldr	w20, [x8]
	bl	_dlerror
	mov	x4, x0
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh46:
	adrp	x3, l_.str@PAGE
Lloh47:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_fprintf
LBB0_10:
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_s_native,8,3                   ; @s_native
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"liblscapi.so"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"LSCRIU (%d): failed to dlopen %s: %s - ignore CRIU\n"

	.comm	_s_pid,4,2                      ; @s_pid
l_.str.2:                               ; @.str.2
	.asciz	"lscapi_dump_me"

	.comm	_s_lscapi_dump_me,8,3           ; @s_lscapi_dump_me
l_.str.3:                               ; @.str.3
	.asciz	"lscapi_prepare_me"

	.comm	_s_lscapi_prepare_me,8,3        ; @s_lscapi_prepare_me
l_.str.4:                               ; @.str.4
	.asciz	"sem_open"

	.comm	_psem_open,8,3                  ; @psem_open
l_.str.5:                               ; @.str.5
	.asciz	"sem_post"

	.comm	_psem_post,8,3                  ; @psem_post
l_.str.6:                               ; @.str.6
	.asciz	"sem_close"

	.comm	_psem_close,8,3                 ; @psem_close
l_.str.7:                               ; @.str.7
	.asciz	"LSCRIU (%d): failed to dlsym %s: %s - ignore CRIU\n"

	.no_dead_strip	_LSCRIU_load_liblscapi
.subsections_via_symbols
