	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetStartupData
_GetStartupData:                        ## @GetStartupData
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_exit_event@GOTPCREL(%rip), %rdx
	movl	$1, %esi
	callq	_PeekNamedPipeAsync
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	cmpl	$7, %eax
	ja	LBB0_4
## %bb.2:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
	movq	_ERROR_STARTUP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	l_.str.3(%rip), %rdx
	movq	_exit_event@GOTPCREL(%rip), %r8
	movl	%r12d, %edi
	movl	$1, %ecx
	callq	_ReturnError
	jmp	LBB0_10
LBB0_3:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
	leaq	l_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r15
	movq	_exit_event@GOTPCREL(%rip), %r8
	movl	%r12d, %edi
	movq	%rax, %rsi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_ReadPipeAsync
	cmpl	%eax, %ebx
	jne	LBB0_13
## %bb.6:
	movslq	%ebx, %rbx
	shrq	$3, %rbx
	cmpq	$0, -8(%r15,%rbx,8)
	je	LBB0_14
## %bb.7:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_18
LBB0_8:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
	leaq	l_.str.5(%rip), %rsi
LBB0_9:
	movl	%r12d, %edi
	callq	_ReturnLastError
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	$0, (%r14)
	movq	%r15, %rdi
	callq	_free
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
	leaq	l_.str.7(%rip), %rsi
	movl	%r12d, %edi
	callq	_ReturnLastError
	jmp	LBB0_11
LBB0_14:
	movq	%r15, (%r14)
	movq	%r15, %rdi
	callq	_wcslen
	incl	%eax
	movslq	%eax, %r13
	cmpq	%r13, %rbx
	jne	LBB0_16
## %bb.15:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_18
LBB0_16:
	leaq	(%r15,%r13,8), %rdi
	movq	%rdi, 8(%r14)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_wcslen
	cltq
	leaq	(%rax,%r13), %rcx
	incq	%rcx
	cmpq	%rcx, %rbx
	jne	LBB0_19
## %bb.17:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.10(%rip), %rdi
LBB0_18:
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MsgToEventLog
	movq	_ERROR_STARTUP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	l_.str.3(%rip), %rdx
	movq	_exit_event@GOTPCREL(%rip), %r8
	movl	%r12d, %edi
	movl	$1, %ecx
	callq	_ReturnError
	jmp	LBB0_11
LBB0_19:
	incq	%rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, 16(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_exit_event,4,2                 ## @exit_event
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PeekNamedPipeAsync failed"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	80                              ## 0x50
	.long	101                             ## 0x65
	.long	101                             ## 0x65
	.long	107                             ## 0x6b
	.long	78                              ## 0x4e
	.long	97                              ## 0x61
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	80                              ## 0x50
	.long	105                             ## 0x69
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	65                              ## 0x41
	.long	115                             ## 0x73
	.long	121                             ## 0x79
	.long	110                             ## 0x6e
	.long	99                              ## 0x63
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"malformed startup data: 1 byte received"

	.comm	_ERROR_STARTUP_DATA,4,2         ## @ERROR_STARTUP_DATA
	.section	__TEXT,__const
	.p2align	2                               ## @.str.3
l_.str.3:
	.long	71                              ## 0x47
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	83                              ## 0x53
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	116                             ## 0x74
	.long	117                             ## 0x75
	.long	112                             ## 0x70
	.long	68                              ## 0x44
	.long	97                              ## 0x61
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"malloc failed"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.5
l_.str.5:
	.long	109                             ## 0x6d
	.long	97                              ## 0x61
	.long	108                             ## 0x6c
	.long	108                             ## 0x6c
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"ReadPipeAsync failed"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.7
l_.str.7:
	.long	82                              ## 0x52
	.long	101                             ## 0x65
	.long	97                              ## 0x61
	.long	100                             ## 0x64
	.long	80                              ## 0x50
	.long	105                             ## 0x69
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	65                              ## 0x41
	.long	115                             ## 0x73
	.long	121                             ## 0x79
	.long	110                             ## 0x6e
	.long	99                              ## 0x63
	.long	0                               ## 0x0

	.comm	_M_ERR,4,2                      ## @M_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str.8:                               ## @.str.8
	.asciz	"Startup data is not NULL terminated"

L_.str.9:                               ## @.str.9
	.asciz	"Startup data ends at working directory"

L_.str.10:                              ## @.str.10
	.asciz	"Startup data ends at command line options"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_GetStartupData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetStartupData
_GetStartupData:                        ; @GetStartupData
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, _exit_event@GOTPAGE
Lloh1:
	ldr	x2, [x2, _exit_event@GOTPAGEOFF]
	mov	w1, #1
	bl	_PeekNamedPipeAsync
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, x0
	cmp	w0, #7
	b.hi	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x21
	bl	_MsgToEventLog
Lloh7:
	adrp	x8, _ERROR_STARTUP_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR_STARTUP_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh12:
	adrp	x4, _exit_event@GOTPAGE
Lloh13:
	ldr	x4, [x4, _exit_event@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #1
	bl	_ReturnError
	b	LBB0_10
LBB0_3:
Lloh14:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x21
	bl	_MsgToEventLog
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
Lloh21:
	adrp	x4, _exit_event@GOTPAGE
Lloh22:
	ldr	x4, [x4, _exit_event@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #1
	bl	_ReadPipeAsync
	cmp	w22, w0
	b.ne	LBB0_13
; %bb.6:
	sxtw	x8, w22
	lsr	x23, x8, #3
	add	x8, x21, x23, lsl #3
	ldur	x8, [x8, #-8]
	cbz	x8, LBB0_14
; %bb.7:
Lloh23:
	adrp	x8, _M_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_8:
Lloh28:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh30:
	ldr	w21, [x8]
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x21
	bl	_MsgToEventLog
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_9:
	mov	x0, x20
	bl	_ReturnLastError
LBB0_10:
	mov	x21, #0
LBB0_11:
	str	xzr, [x19]
	mov	x0, x21
	bl	_free
Lloh35:
	adrp	x8, _FALSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh37:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh39:
	ldr	w22, [x8]
Lloh40:
	adrp	x0, l_.str.6@PAGE
Lloh41:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x22
	bl	_MsgToEventLog
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_ReturnLastError
	b	LBB0_11
LBB0_14:
	str	x21, [x19]
	mov	x0, x21
	bl	_wcslen
	add	w8, w0, #1
	sxtw	x24, w8
	cmp	x23, x24
	b.ne	LBB0_16
; %bb.15:
Lloh44:
	adrp	x8, _M_ERR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh46:
	ldr	w22, [x8]
Lloh47:
	adrp	x0, l_.str.9@PAGE
Lloh48:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_18
LBB0_16:
	add	x22, x21, x24, lsl #3
	str	x22, [x19, #8]
	mov	x0, x22
	bl	_wcslen
	add	w8, w0, #1
	sxtw	x8, w8
	add	x9, x8, x24
	cmp	x23, x9
	b.ne	LBB0_19
; %bb.17:
Lloh49:
	adrp	x8, _M_ERR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh51:
	ldr	w22, [x8]
Lloh52:
	adrp	x0, l_.str.10@PAGE
Lloh53:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_18:
	bl	_TEXT
	mov	x1, x0
	mov	x0, x22
	bl	_MsgToEventLog
Lloh54:
	adrp	x8, _ERROR_STARTUP_DATA@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ERROR_STARTUP_DATA@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x2, l_.str.3@PAGE
Lloh58:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh59:
	adrp	x4, _exit_event@GOTPAGE
Lloh60:
	ldr	x4, [x4, _exit_event@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #1
	bl	_ReturnError
	b	LBB0_11
LBB0_19:
	add	x8, x22, x8, lsl #3
	str	x8, [x19, #16]
Lloh61:
	adrp	x8, _TRUE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_exit_event,4,2                 ; @exit_event
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PeekNamedPipeAsync failed"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	80                              ; 0x50
	.long	101                             ; 0x65
	.long	101                             ; 0x65
	.long	107                             ; 0x6b
	.long	78                              ; 0x4e
	.long	97                              ; 0x61
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	80                              ; 0x50
	.long	105                             ; 0x69
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	65                              ; 0x41
	.long	115                             ; 0x73
	.long	121                             ; 0x79
	.long	110                             ; 0x6e
	.long	99                              ; 0x63
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"malformed startup data: 1 byte received"

	.comm	_ERROR_STARTUP_DATA,4,2         ; @ERROR_STARTUP_DATA
	.section	__TEXT,__const
	.p2align	2                               ; @.str.3
l_.str.3:
	.long	71                              ; 0x47
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	83                              ; 0x53
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	116                             ; 0x74
	.long	117                             ; 0x75
	.long	112                             ; 0x70
	.long	68                              ; 0x44
	.long	97                              ; 0x61
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"malloc failed"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.5
l_.str.5:
	.long	109                             ; 0x6d
	.long	97                              ; 0x61
	.long	108                             ; 0x6c
	.long	108                             ; 0x6c
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"ReadPipeAsync failed"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.7
l_.str.7:
	.long	82                              ; 0x52
	.long	101                             ; 0x65
	.long	97                              ; 0x61
	.long	100                             ; 0x64
	.long	80                              ; 0x50
	.long	105                             ; 0x69
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	65                              ; 0x41
	.long	115                             ; 0x73
	.long	121                             ; 0x79
	.long	110                             ; 0x6e
	.long	99                              ; 0x63
	.long	0                               ; 0x0

	.comm	_M_ERR,4,2                      ; @M_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str.8:                               ; @.str.8
	.asciz	"Startup data is not NULL terminated"

l_.str.9:                               ; @.str.9
	.asciz	"Startup data ends at working directory"

l_.str.10:                              ; @.str.10
	.asciz	"Startup data ends at command line options"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_GetStartupData
.subsections_via_symbols
