	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LSCRIU_Native_Dump
_LSCRIU_Native_Dump:                    ## @LSCRIU_Native_Dump
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movl	%edi, %ebx
	leaq	-48(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	%ebx, -40(%rbp)
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	-48(%rbp), %edi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	$0, 1(%rax)
LBB0_2:
	movq	_s_pid@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_lscriu_dbg
	leaq	-48(%rbp), %rsi
	movl	%r14d, %edi
	movl	$12, %edx
	callq	_write
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%rbx), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_lscriu_err
	movl	$-1, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LSCRIU (%d): Sent the dump request to the listener\n"

	.comm	_s_pid,4,2                      ## @s_pid
L_.str.1:                               ## @.str.1
	.asciz	"LSCRIU (%d): Error sending dump request to the listener: %s\n"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_LSCRIU_Native_Dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LSCRIU_Native_Dump
_LSCRIU_Native_Dump:                    ; @LSCRIU_Native_Dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	str	w21, [sp, #8]
	ldr	w0, [sp, #4]
	mov	x1, x20
	mov	w2, #4
	bl	_strncpy
	ldr	w0, [sp]
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_2
; %bb.1:
	strb	wzr, [x0, #1]
LBB0_2:
Lloh0:
	adrp	x20, _s_pid@GOTPAGE
Lloh1:
	ldr	x20, [x20, _s_pid@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lscriu_dbg
	mov	x1, sp
	mov	x0, x19
	mov	w2, #12
	bl	_write
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	w19, [x20]
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_lscriu_err
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LSCRIU (%d): Sent the dump request to the listener\n"

	.comm	_s_pid,4,2                      ; @s_pid
l_.str.1:                               ; @.str.1
	.asciz	"LSCRIU (%d): Error sending dump request to the listener: %s\n"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_LSCRIU_Native_Dump
.subsections_via_symbols
