	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_cscope
_run_cscope:                            ## @run_cscope
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$-1, -56(%rbp)
	movq	$-1, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_pipe
	leaq	L_.str(%rip), %rbx
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	leaq	-56(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:
	callq	_vfork
	movl	%eax, 32(%r12)
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:
	movl	-48(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	movl	-44(%rbp), %edi
	movl	%edi, 8(%r12)
	leaq	L_.str.6(%rip), %rsi
	callq	_fdopen
	movq	%rax, 24(%r12)
	movl	-56(%rbp), %edi
	movl	%edi, 12(%r12)
	leaq	L_.str.7(%rip), %rsi
	callq	_fdopen
	movq	%rax, 16(%r12)
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str.1(%rip), %rbx
LBB0_6:
	movq	%rbx, %rdx
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_msgq
	movl	-48(%rbp), %edi
	cmpl	$-1, %edi
	je	LBB0_8
## %bb.7:
	callq	_close
LBB0_8:
	movl	-44(%rbp), %edi
	cmpl	$-1, %edi
	je	LBB0_10
## %bb.9:
	callq	_close
LBB0_10:
	movl	-56(%rbp), %edi
	cmpl	$-1, %edi
	je	LBB0_12
## %bb.11:
	callq	_close
LBB0_12:
	movl	-52(%rbp), %edi
	movl	$1, %ebx
	cmpl	$-1, %edi
	je	LBB0_14
## %bb.13:
	callq	_close
LBB0_14:
	movl	%ebx, %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
LBB0_18:
	movl	-48(%rbp), %edi
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dup2
	movl	-52(%rbp), %edi
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dup2
	movl	-52(%rbp), %edi
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dup2
	movl	-44(%rbp), %edi
	callq	_close
	movl	-56(%rbp), %edi
	callq	_close
	movq	(%r12), %rdi
	callq	_quote
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_quote
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_22
LBB0_21:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rax
	movl	%eax, %esi
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_asprintf
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	jne	LBB0_23
LBB0_22:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	movl	%eax, %edx
	movq	%r14, %rdi
	callq	_msgq
	movl	$1, %edi
	callq	__exit
LBB0_23:
	movq	__PATH_BSHELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	movl	%eax, %r8d
	callq	_execl
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdx
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	callq	_msgq_str
	movq	-64(%rbp), %rdi
	callq	_free
	movl	$127, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pipe"

L_.str.1:                               ## @.str.1
	.asciz	"vfork"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
L_.str.2:                               ## @.str.2
	.asciz	"cd %s && exec cscope -dl -f %s"

	.comm	__PATH_BSHELL,4,2               ## @_PATH_BSHELL
L_.str.3:                               ## @.str.3
	.asciz	"sh"

L_.str.4:                               ## @.str.4
	.asciz	"-c"

L_.str.5:                               ## @.str.5
	.asciz	"execl: %s"

L_.str.6:                               ## @.str.6
	.asciz	"w"

L_.str.7:                               ## @.str.7
	.asciz	"r"

	.comm	_CSCOPE_CMD_FMT,4,2             ## @CSCOPE_CMD_FMT
	.no_dead_strip	_run_cscope
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_cscope
_run_cscope:                            ; @run_cscope
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	movi.2d	v0, #0xffffffffffffffff
                                        ; kill: def $d0 killed $d0 killed $q0
	stp	d0, d0, [sp, #16]
	add	x0, sp, #24
	bl	_pipe
	tbnz	x0, #63, LBB0_5
; %bb.1:
	add	x0, sp, #16
	bl	_pipe
	tbnz	x0, #63, LBB0_5
; %bb.2:
	bl	_vfork
	str	w0, [x20, #32]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	cbz	w0, LBB0_17
; %bb.4:
	ldr	w0, [sp, #24]
	bl	_close
	ldr	w0, [sp, #20]
	bl	_close
	ldr	w0, [sp, #28]
	str	w0, [x20, #8]
Lloh0:
	adrp	x1, l_.str.6@PAGE
Lloh1:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fdopen
	str	x0, [x20, #24]
	ldr	w0, [sp, #16]
	str	w0, [x20, #12]
Lloh2:
	adrp	x1, l_.str.7@PAGE
Lloh3:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fdopen
	mov	w1, #0
	str	x0, [x20, #16]
	mov	w0, #0
	b	LBB0_16
LBB0_5:
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
Lloh8:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_msgq
	ldr	w0, [sp, #24]
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.8:
	bl	_close
LBB0_9:
	ldr	w0, [sp, #28]
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.10:
	bl	_close
LBB0_11:
	ldr	w0, [sp, #16]
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.12:
	bl	_close
LBB0_13:
	ldr	w0, [sp, #20]
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.14:
	bl	_close
LBB0_15:
	mov	w0, #1
LBB0_16:
	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
	add	sp, sp, #80
	ret
LBB0_17:
	ldr	w0, [sp, #24]
Lloh11:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_dup2
	ldr	w0, [sp, #20]
Lloh14:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_dup2
	ldr	w0, [sp, #20]
Lloh17:
	adrp	x8, _STDERR_FILENO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STDERR_FILENO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_dup2
	ldr	w0, [sp, #28]
	bl	_close
	ldr	w0, [sp, #16]
	bl	_close
	ldr	x0, [x20]
	bl	_quote
	cbz	x0, LBB0_21
; %bb.18:
	mov	x20, x0
	mov	x0, x21
	bl	_quote
	cbnz	x0, LBB0_20
; %bb.19:
	mov	x0, x20
	bl	_free
	b	LBB0_21
LBB0_20:
	mov	x21, x0
Lloh20:
	adrp	x8, l_.str.2@PAGE
Lloh21:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x1, x8
	add	x0, sp, #8
	mov	x2, x20
	mov	x3, x21
	bl	_asprintf
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_free
	ldr	x3, [sp, #8]
	cbnz	x3, LBB0_22
LBB0_21:
Lloh22:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, #0
	mov	x0, x19
	bl	_msgq
	mov	w0, #1
	bl	__exit
LBB0_22:
Lloh25:
	adrp	x8, __PATH_BSHELL@GOTPAGE
Lloh26:
	ldr	x8, [x8, __PATH_BSHELL@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh30:
	adrp	x2, l_.str.4@PAGE
Lloh31:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x4, #0
	bl	_execl
Lloh32:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
Lloh35:
	adrp	x3, l_.str.5@PAGE
Lloh36:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_msgq_str
	ldr	x0, [sp, #8]
	bl	_free
	mov	w0, #127
	bl	__exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pipe"

l_.str.1:                               ; @.str.1
	.asciz	"vfork"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
l_.str.2:                               ; @.str.2
	.asciz	"cd %s && exec cscope -dl -f %s"

	.comm	__PATH_BSHELL,4,2               ; @_PATH_BSHELL
l_.str.3:                               ; @.str.3
	.asciz	"sh"

l_.str.4:                               ; @.str.4
	.asciz	"-c"

l_.str.5:                               ; @.str.5
	.asciz	"execl: %s"

l_.str.6:                               ; @.str.6
	.asciz	"w"

l_.str.7:                               ; @.str.7
	.asciz	"r"

	.comm	_CSCOPE_CMD_FMT,4,2             ; @CSCOPE_CMD_FMT
	.no_dead_strip	_run_cscope
.subsections_via_symbols
