	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pexecute                       ## -- Begin function pexecute
	.p2align	4, 0x90
_pexecute:                              ## @pexecute
	.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
	movq	%r9, %r14
	movq	%r8, %r12
	movq	%rsi, %r8
	movq	%rdi, %r13
	movl	16(%rbp), %ebx
	movq	_PEXECUTE_FIRST@GOTPCREL(%rip), %rax
	movq	_pex@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_11
LBB0_5:
	movq	_PEX_USE_PIPES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	movq	%r8, %r14
	callq	_pex_init
	movq	%r14, %r8
	movq	%r12, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %rdi
	movq	%rax, (%r15)
	movq	_idx@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_6:
	movq	_PEXECUTE_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	je	LBB0_8
## %bb.7:
	movq	_PEX_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movq	_PEXECUTE_SEARCH@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	je	LBB0_10
## %bb.9:
	movq	_PEX_SEARCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_10:
	orl	%eax, %ebx
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r8, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pex_run
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	%rax, (%r12)
	movq	$0, (%r14)
	movl	$-1, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_idx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	incl	%eax
	movl	%eax, (%rcx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_PEXECUTE_FIRST,4,2             ## @PEXECUTE_FIRST
	.comm	_pex,8,3                        ## @pex
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pexecute already in progress"

	.comm	_PEX_USE_PIPES,4,2              ## @PEX_USE_PIPES
	.comm	_idx,4,2                        ## @idx
L_.str.1:                               ## @.str.1
	.asciz	"pexecute not in progress"

	.comm	_PEXECUTE_LAST,4,2              ## @PEXECUTE_LAST
	.comm	_PEX_LAST,4,2                   ## @PEX_LAST
	.comm	_PEXECUTE_SEARCH,4,2            ## @PEXECUTE_SEARCH
	.comm	_PEX_SEARCH,4,2                 ## @PEX_SEARCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pexecute                       ; -- Begin function pexecute
	.p2align	2
_pexecute:                              ; @pexecute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _PEXECUTE_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEXECUTE_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x24, _pex@GOTPAGE
Lloh4:
	ldr	x24, [x24, _pex@GOTPAGEOFF]
	ldr	x0, [x24]
	tst	w8, w6
	b.eq	LBB0_3
; %bb.1:
	cbz	x0, LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	cbnz	x0, LBB0_7
; %bb.4:
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_5:
	str	x8, [x20]
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _PEX_USE_PIPES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PEX_USE_PIPES@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x2
	mov	x2, x3
	bl	_pex_init
	str	x0, [x24]
Lloh12:
	adrp	x8, _idx@GOTPAGE
Lloh13:
	ldr	x8, [x8, _idx@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
LBB0_7:
Lloh15:
	adrp	x8, _PEXECUTE_LAST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PEXECUTE_LAST@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _PEX_LAST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PEX_LAST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w8, w23
	csel	w8, wzr, w9, eq
Lloh21:
	adrp	x9, _PEXECUTE_SEARCH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PEXECUTE_SEARCH@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _PEX_SEARCH@GOTPAGE
Lloh25:
	ldr	x10, [x10, _PEX_SEARCH@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w9, w23
	csel	w9, wzr, w10, eq
	orr	w1, w9, w8
	add	x6, sp, #12
	mov	x2, x22
	mov	x3, x21
	mov	x4, #0
	mov	x5, #0
	bl	_pex_run
	cbz	x0, LBB0_11
; %bb.8:
	str	x0, [x20]
LBB0_9:
	str	xzr, [x19]
	mov	w0, #-1
LBB0_10:
	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
	add	sp, sp, #80
	ret
LBB0_11:
Lloh27:
	adrp	x8, _idx@GOTPAGE
Lloh28:
	ldr	x8, [x8, _idx@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w0, w9, #1
	str	w0, [x8]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PEXECUTE_FIRST,4,2             ; @PEXECUTE_FIRST
	.comm	_pex,8,3                        ; @pex
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pexecute already in progress"

	.comm	_PEX_USE_PIPES,4,2              ; @PEX_USE_PIPES
	.comm	_idx,4,2                        ; @idx
l_.str.1:                               ; @.str.1
	.asciz	"pexecute not in progress"

	.comm	_PEXECUTE_LAST,4,2              ; @PEXECUTE_LAST
	.comm	_PEX_LAST,4,2                   ; @PEX_LAST
	.comm	_PEXECUTE_SEARCH,4,2            ; @PEXECUTE_SEARCH
	.comm	_PEX_SEARCH,4,2                 ; @PEX_SEARCH
.subsections_via_symbols
