	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mingw_spawnvpe                 ## -- Begin function mingw_spawnvpe
	.p2align	4, 0x90
_mingw_spawnvpe:                        ## @mingw_spawnvpe
	.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
	movl	%r9d, %r13d
	movl	%r8d, %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r14
	xorl	%esi, %esi
	callq	_path_lookup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_parse_interpreter
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_path_lookup
	movq	%r12, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, %r8d
	movl	%ebx, %r9d
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_mingw_spawnve_fd
	addq	$16, %rsp
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r13
	callq	_mingw_spawnve_fd
	addq	$16, %rsp
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %ebx
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
LBB0_8:
	movq	%r12, %rdi
	callq	_free
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mingw_spawnvpe                 ; -- Begin function mingw_spawnvpe
	.p2align	2
_mingw_spawnvpe:                        ; @mingw_spawnvpe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	w1, #0
	bl	_path_lookup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_parse_interpreter
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x27, [x20]
	mov	w1, #1
	bl	_path_lookup
	str	x19, [x20]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x26, x0
	mov	x1, x20
	mov	x2, x25
	mov	x3, x24
	mov	w4, #1
	mov	x5, x23
	mov	x6, x22
	mov	x7, x21
	bl	_mingw_spawnve_fd
	mov	x21, x0
	mov	x0, x26
	bl	_free
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w21, #-1
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x24
	mov	w4, #0
	mov	x5, x23
	mov	x6, x22
	mov	x7, x21
	bl	_mingw_spawnve_fd
	mov	x21, x0
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w21, #-1
LBB0_7:
	str	x27, [x20]
LBB0_8:
	mov	x0, x19
	bl	_free
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
