	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function subprocess_start
LCPI0_0:
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_subprocess_start
	.p2align	4, 0x90
_subprocess_start:                      ## @subprocess_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rdx, (%rsi)
	leaq	16(%rsi), %r14
	movq	%r14, %rdi
	callq	_child_process_init
	leaq	44(%rbx), %rdi
	movq	%r15, %rsi
	callq	_argv_array_push
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,4294967295,4294967295,1]
	movups	%xmm0, 16(%rbx)
	movq	_subprocess_exit_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	leaq	L_.str(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%r14, %rdi
	callq	_start_command
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_error
	jmp	LBB0_5
LBB0_2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %r14
	movq	%r15, %rdi
	callq	_strhash
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_hashmap_entry_init
	movq	%rbx, %rdi
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_error
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_subprocess_stop
	jmp	LBB0_5
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_hashmap_add
	xorl	%r13d, %r13d
LBB0_5:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_subprocess_exit_handler,4,2    ## @subprocess_exit_handler
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subprocess"

L_.str.1:                               ## @.str.1
	.asciz	"cannot fork to run subprocess '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"initialization for subprocess '%s' failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function subprocess_start
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_subprocess_start
	.p2align	2
_subprocess_start:                      ; @subprocess_start
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	x2, [x1]
	add	x23, x1, #16
	mov	x0, x23
	bl	_child_process_init
	add	x0, x21, #44
	mov	x1, x20
	bl	_argv_array_push
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x8, _subprocess_exit_handler@GOTPAGE
Lloh3:
	ldr	x8, [x8, _subprocess_exit_handler@GOTPAGEOFF]
	str	q0, [x21, #16]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #40]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x21, #32]
	mov	x0, x23
	bl	_start_command
	cbz	w0, LBB0_2
; %bb.1:
	mov	x23, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_error
	b	LBB0_5
LBB0_2:
	add	x24, x21, #8
	mov	x0, x20
	bl	_strhash
	mov	x1, x0
	mov	x0, x24
	bl	_hashmap_entry_init
	mov	x0, x21
	blr	x22
	mov	x23, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_error
	mov	x0, x19
	mov	x1, x21
	bl	_subprocess_stop
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x24
	bl	_hashmap_add
LBB0_5:
	mov	x0, x23
	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
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_subprocess_exit_handler,4,2    ; @subprocess_exit_handler
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subprocess"

l_.str.1:                               ; @.str.1
	.asciz	"cannot fork to run subprocess '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"initialization for subprocess '%s' failed"

.subsections_via_symbols
