	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execvp_noalloc                 ## -- Begin function execvp_noalloc
	.p2align	4, 0x90
_execvp_noalloc:                        ## @execvp_noalloc
	.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
	cmpb	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_execv
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_14
LBB0_1:
	movl	$-132, %eax
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r12
	cmovneq	%rax, %r12
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r13d
	movq	%r12, %rdi
	callq	_strlen
	cltq
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movq	%rax, %r15
	movb	$47, -1(%rax)
	movq	%rax, %r13
	decq	%r13
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	addq	%r12, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdx
	movq	%r15, %rdi
	subq	%r12, %rdx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	subq	%rdx, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	%rax, %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rsi
	callq	_execv
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	-128(%rcx), %eax
	cmpl	$6, %eax
	jae	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %r12
	cmpb	$0, (%rbx)
	jne	LBB0_5
	jmp	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$134, %ecx
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %r12
	movl	$-134, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpb	$0, (%rbx)
	jne	LBB0_5
	jmp	LBB0_15
LBB0_13:
	movl	$-134, %eax
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_15
LBB0_14:
	negl	%ecx
	movl	%ecx, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PATH"

L_.str.1:                               ## @.str.1
	.asciz	":/bin:/usr/bin"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execvp_noalloc                 ; -- Begin function execvp_noalloc
	.p2align	2
_execvp_noalloc:                        ; @execvp_noalloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldrb	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	w24, #47
	mov	x0, x1
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_execv
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	b	LBB0_14
LBB0_3:
	mov	w0, #-132
	b	LBB0_15
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x21, x8, x0, eq
	mov	x0, x20
	bl	_strlen
	add	w23, w0, #1
	mov	x0, x21
	bl	_strlen
	add	x8, x22, w0, sxtw
	add	x0, x8, #1
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	mov	x20, x0
	mov	x23, x0
	strb	w24, [x23, #-1]!
	mov	w24, #1
Lloh7:
	adrp	x25, _errno@GOTPAGE
Lloh8:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
	mov	x22, x0
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_strlen
	add	x22, x21, x0
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	subs	x2, x22, x21
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x23, x2
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x19
	bl	_execv
	ldr	w8, [x25]
	sub	w9, w8, #128
	cmp	w9, #6
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x22], #1
	mov	x21, x22
	cbnz	w9, LBB0_5
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #134
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w24, #0
	ldrb	w8, [x22], #1
	mov	w0, #-134
	mov	x21, x22
	cbnz	w8, LBB0_5
	b	LBB0_15
LBB0_13:
	tbz	w24, #0, LBB0_16
LBB0_14:
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	w0, #-134
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PATH"

l_.str.1:                               ; @.str.1
	.asciz	":/bin:/usr/bin"

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