	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execcmd                        ## -- Begin function execcmd
	.p2align	4, 0x90
_execcmd:                               ## @execcmd
	.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
	cmpl	$2, %edi
	jl	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	8(%rsi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	addl	$-3, %ebx
	cmpl	$-3, %ebx
	ja	LBB0_8
## %bb.3:
	addq	$8, %r14
LBB0_4:
	movq	_iflag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_mflag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_optschanged
	movq	_cmdenviron@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_VEXPORT@GOTPCREL(%rip), %r12
	movq	_VSTACK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	orl	(%r12), %esi
	callq	_setvareq
	incq	%rbx
	movq	(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_6
LBB0_7:
	addq	$8, %r14
	xorl	%eax, %eax
	callq	_environment
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_pathval
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_shellexec
LBB0_8:
	xorl	%eax, %eax
	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	"--"

	.comm	_iflag,8,3                      ## @iflag
	.comm	_mflag,8,3                      ## @mflag
	.comm	_cmdenviron,8,3                 ## @cmdenviron
	.comm	_VEXPORT,4,2                    ## @VEXPORT
	.comm	_VSTACK,4,2                     ## @VSTACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execcmd                        ; -- Begin function execcmd
	.p2align	2
_execcmd:                               ; @execcmd
	.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
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, x1
	ldr	x0, [x21, #8]!
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.2:
	sub	w8, w20, #3
	mov	x19, x21
	cmn	w8, #3
	b.hi	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _iflag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _mflag@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mflag@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
	bl	_optschanged
Lloh8:
	adrp	x20, _cmdenviron@GOTPAGE
Lloh9:
	ldr	x20, [x20, _cmdenviron@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
Lloh10:
	adrp	x22, _VEXPORT@GOTPAGE
Lloh11:
	ldr	x22, [x22, _VEXPORT@GOTPAGEOFF]
Lloh12:
	adrp	x23, _VSTACK@GOTPAGE
Lloh13:
	ldr	x23, [x23, _VSTACK@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x21, lsl #2]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w1, w9, w8
	bl	_setvareq
	add	x21, x21, #1
	ldr	x8, [x20]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_5
LBB0_6:
	add	x19, x19, #8
	bl	_environment
	mov	x20, x0
	bl	_pathval
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_shellexec
LBB0_7:
	mov	w0, #0
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.comm	_iflag,8,3                      ; @iflag
	.comm	_mflag,8,3                      ; @mflag
	.comm	_cmdenviron,8,3                 ; @cmdenviron
	.comm	_VEXPORT,4,2                    ; @VEXPORT
	.comm	_VSTACK,4,2                     ; @VSTACK
.subsections_via_symbols
