	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mingw_execv                    ## -- Begin function mingw_execv
	.p2align	4, 0x90
_mingw_execv:                           ## @mingw_execv
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_try_shell_exec
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_trace2_exec
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_mingw_spawnv
	testl	%eax, %eax
	jns	LBB0_4
## %bb.2:
	movl	%r14d, %edi
	movl	$-1, %esi
	callq	_trace2_exec_result
LBB0_3:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-28(%rbp), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_waitpid
	testq	%rax, %rax
	jns	LBB0_5
## %bb.6:
	movl	$255, -28(%rbp)
	movl	$255, %esi
	jmp	LBB0_7
LBB0_5:
	movl	-28(%rbp), %esi
LBB0_7:
	movl	%r14d, %edi
	callq	_trace2_exec_result
	movl	-28(%rbp), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mingw_execv                    ; -- Begin function mingw_execv
	.p2align	2
_mingw_execv:                           ; @mingw_execv
	.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	x20, x1
	mov	x21, x0
	bl	_try_shell_exec
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_trace2_exec
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_mingw_spawnv
	tbz	w0, #31, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #-1
	bl	_trace2_exec_result
LBB0_3:
	mov	w0, #-1
	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_4:
	add	x1, sp, #12
	mov	w2, #0
	bl	_waitpid
	tbz	x0, #63, LBB0_6
; %bb.5:
	mov	w1, #255
	str	w1, [sp, #12]
	b	LBB0_7
LBB0_6:
	ldr	w1, [sp, #12]
LBB0_7:
	mov	x0, x19
	bl	_trace2_exec_result
	ldr	w0, [sp, #12]
	bl	_exit
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
