	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _spawnvp
__spawnvp:                              ## @_spawnvp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	leaq	-28(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_wait
	cmpl	%ebx, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_3
LBB0_5:
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.9:
	movl	-28(%rbp), %eax
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$100, %eax
	jmp	LBB0_12
LBB0_6:
	movl	$-1, -28(%rbp)
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$256, %eax                      ## imm = 0x100
	orl	-28(%rbp), %eax
LBB0_11:
	movzbl	%ah, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	__spawnvp.cold.1
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function _spawnvp.cold.1
__spawnvp.cold.1:                       ## @_spawnvp.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_execvp
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_perror
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	pushq	$100
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: no more processes\n"

	.comm	_progname,8,3                   ## @progname
L_.str.1:                               ## @.str.1
	.asciz	"%s: "

	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"%s: fatal error in %s\n"

	.no_dead_strip	__spawnvp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _spawnvp
__spawnvp:                              ; @_spawnvp
	.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	x21, x2
	mov	x19, x1
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
	cbz	w0, LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_wait
	cmp	w0, w20
	ccmn	w0, #1, #4, ne
	b.ne	LBB0_2
; %bb.3:
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [sp, #12]
	tst	w8, #0xff
	b.ne	LBB0_7
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _progname@GOTPAGE
Lloh4:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #100
	b	LBB0_9
LBB0_6:
	mov	w8, #-1
	str	w8, [sp, #12]
LBB0_7:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _progname@GOTPAGE
Lloh12:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh13:
	ldr	x2, [x8]
	str	x19, [sp]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w8, [sp, #12]
	orr	w8, w8, #0x100
LBB0_8:
	ubfx	w0, w8, #8, #8
LBB0_9:
	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
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	__spawnvp.cold.1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function _spawnvp.cold.1
__spawnvp.cold.1:                       ; @_spawnvp.cold.1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_execvp
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _progname@GOTPAGE
Lloh20:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh21:
	ldr	x2, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	x0, x19
	bl	_perror
Lloh24:
	adrp	x8, _stdout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #100
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: no more processes\n"

	.comm	_progname,8,3                   ; @progname
l_.str.1:                               ; @.str.1
	.asciz	"%s: "

	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"%s: fatal error in %s\n"

	.no_dead_strip	__spawnvp
.subsections_via_symbols
