	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsapi_notify_pid
_lsapi_notify_pid:                      ## @lsapi_notify_pid
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_LSAPI_STDERR_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LSAPI_PACKET_HEADER_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	$8, %rdx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_lsapi_buildPacketHeader
	leaq	-40(%rbp), %rdi
	leaq	l_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memmove
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -36(%rbp)
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_write
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$16, %ecx
	setl	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-24(%rbp), %rdx
	jne	LBB0_2
## %bb.1:
	movb	%cl, %al
	negl	%eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LSAPI_STDERR_STREAM,4,2        ## @LSAPI_STDERR_STREAM
	.comm	_LSAPI_PACKET_HEADER_LEN,8,3    ## @LSAPI_PACKET_HEADER_LEN
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.asciz	"\000PID"

	.no_dead_strip	_lsapi_notify_pid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsapi_notify_pid
_lsapi_notify_pid:                      ; @lsapi_notify_pid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _LSAPI_STDERR_STREAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LSAPI_STDERR_STREAM@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x8, _LSAPI_PACKET_HEADER_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LSAPI_PACKET_HEADER_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x2, x8, #8
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_lsapi_buildPacketHeader
	add	x0, x20, #8
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memmove
	bl	_getpid
	str	w0, [sp, #20]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_write
	cmp	w0, #16
	csetm	w0, lt
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LSAPI_STDERR_STREAM,4,2        ; @LSAPI_STDERR_STREAM
	.comm	_LSAPI_PACKET_HEADER_LEN,8,3    ; @LSAPI_PACKET_HEADER_LEN
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.asciz	"\000PID"

	.no_dead_strip	_lsapi_notify_pid
.subsections_via_symbols
