	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cmd                         ## -- Begin function do_cmd
	.p2align	4, 0x90
_do_cmd:                                ## @do_cmd
	.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	$840, %rsp                      ## imm = 0x348
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_pipe
	leaq	-56(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	js	LBB0_1
## %bb.4:
	leaq	-64(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movl	-72(%rbp), %edi
	callq	_close
	movl	-68(%rbp), %edi
	callq	_close
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	je	LBB0_7
## %bb.26:
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-60(%rbp), %edi
	callq	_close
	movl	-64(%rbp), %eax
	movl	%eax, (%r13)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.3:
	xorl	%eax, %eax
	addq	$840, %rsp                      ## imm = 0x348
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	callq	_do_cmd.cold.1
	jmp	LBB0_2
LBB0_5:
	callq	_do_cmd.cold.2
	jmp	LBB0_2
LBB0_7:
	movl	-52(%rbp), %edi
	callq	_close
	movl	-64(%rbp), %edi
	callq	_close
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_dup2
	movl	-60(%rbp), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_dup2
	movl	-56(%rbp), %edi
	callq	_close
	movl	-60(%rbp), %edi
	callq	_close
	movq	_RSH_PROGRAM@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	%rdi, -880(%rbp)
	movq	_usekrb4@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -872(%rbp)
	movl	$2, %ebx
LBB0_9:
	movq	_usekrb5@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_11:
	movq	_usebroken@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.3(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_13:
	movq	_doencrypt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_15:
	movq	_forwardtkt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.5(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_17:
	movq	_noencrypt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.6(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_19:
	movq	_port@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	%ebx, %ecx
	leaq	L_.str.7(%rip), %rdx
	movq	%rdx, -880(%rbp,%rcx,8)
	addl	$2, %ebx
	movq	%rax, -872(%rbp,%rcx,8)
LBB0_21:
	movq	_eflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	incl	%ebx
	leaq	L_.str.8(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
LBB0_23:
	testq	%r12, %r12
	je	LBB0_25
## %bb.24:
	movl	%ebx, %eax
	leaq	L_.str.9(%rip), %rcx
	movq	%rcx, -880(%rbp,%rax,8)
	addl	$2, %ebx
	movq	%r12, -872(%rbp,%rax,8)
LBB0_25:
	movl	%ebx, %eax
	movq	%r15, -880(%rbp,%rax,8)
	movq	%r14, -872(%rbp,%rax,8)
	movq	$0, -864(%rbp,%rax,8)
	leaq	-880(%rbp), %rsi
	callq	_execvp
	movq	(%r13), %rdi
	callq	_perror
	movl	$1, %edi
	callq	_exit
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function do_cmd.cold.1
_do_cmd.cold.1:                         ## @do_cmd.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$255, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function do_cmd.cold.2
_do_cmd.cold.2:                         ## @do_cmd.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$255, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pipe"

	.comm	_RSH_PROGRAM,8,3                ## @RSH_PROGRAM
	.comm	_usekrb4,8,3                    ## @usekrb4
L_.str.1:                               ## @.str.1
	.asciz	"-4"

	.comm	_usekrb5,8,3                    ## @usekrb5
L_.str.2:                               ## @.str.2
	.asciz	"-5"

	.comm	_usebroken,8,3                  ## @usebroken
L_.str.3:                               ## @.str.3
	.asciz	"-K"

	.comm	_doencrypt,8,3                  ## @doencrypt
L_.str.4:                               ## @.str.4
	.asciz	"-x"

	.comm	_forwardtkt,8,3                 ## @forwardtkt
L_.str.5:                               ## @.str.5
	.asciz	"-F"

	.comm	_noencrypt,8,3                  ## @noencrypt
L_.str.6:                               ## @.str.6
	.asciz	"-z"

	.comm	_port,8,3                       ## @port
L_.str.7:                               ## @.str.7
	.asciz	"-p"

	.comm	_eflag,8,3                      ## @eflag
L_.str.8:                               ## @.str.8
	.asciz	"-e"

L_.str.9:                               ## @.str.9
	.asciz	"-l"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cmd                         ; -- Begin function do_cmd
	.p2align	2
_do_cmd:                                ; @do_cmd
	.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
	sub	sp, sp, #832
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	sub	x0, x29, #80
	bl	_pipe
	sub	x0, x29, #64
	bl	_pipe
	tbnz	x0, #63, LBB0_5
; %bb.1:
	sub	x0, x29, #72
	bl	_pipe
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldur	w0, [x29, #-80]
	bl	_close
	ldur	w0, [x29, #-76]
	bl	_close
	bl	_fork
	cbz	x0, LBB0_7
; %bb.3:
	ldur	w0, [x29, #-64]
	bl	_close
	ldur	w8, [x29, #-60]
	str	w8, [x23]
	ldur	w0, [x29, #-68]
	bl	_close
	ldur	w8, [x29, #-72]
	str	w8, [x22]
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.4:
	mov	w0, #0
	add	sp, sp, #832
	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
LBB0_5:
	bl	_do_cmd.cold.1
LBB0_6:
	bl	_do_cmd.cold.2
LBB0_7:
	ldur	w0, [x29, #-60]
	bl	_close
	ldur	w0, [x29, #-72]
	bl	_close
	ldur	w0, [x29, #-64]
	mov	w1, #0
	bl	_dup2
	ldur	w0, [x29, #-68]
	mov	w23, #1
	mov	w1, #1
	bl	_dup2
	ldur	w0, [x29, #-64]
	bl	_close
	ldur	w0, [x29, #-68]
	bl	_close
Lloh6:
	adrp	x22, _RSH_PROGRAM@GOTPAGE
Lloh7:
	ldr	x22, [x22, _RSH_PROGRAM@GOTPAGEOFF]
	ldr	x0, [x22]
	str	x0, [sp]
Lloh8:
	adrp	x8, _usekrb4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _usekrb4@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp, #8]
	mov	w23, #2
LBB0_9:
Lloh13:
	adrp	x8, _usekrb5@GOTPAGE
Lloh14:
	ldr	x8, [x8, _usekrb5@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh16:
	adrp	x8, l_.str.2@PAGE
Lloh17:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_11:
Lloh18:
	adrp	x8, _usebroken@GOTPAGE
Lloh19:
	ldr	x8, [x8, _usebroken@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.12:
Lloh21:
	adrp	x8, l_.str.3@PAGE
Lloh22:
	add	x8, x8, l_.str.3@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_13:
Lloh23:
	adrp	x8, _doencrypt@GOTPAGE
Lloh24:
	ldr	x8, [x8, _doencrypt@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
Lloh26:
	adrp	x8, l_.str.4@PAGE
Lloh27:
	add	x8, x8, l_.str.4@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_15:
Lloh28:
	adrp	x8, _forwardtkt@GOTPAGE
Lloh29:
	ldr	x8, [x8, _forwardtkt@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.16:
Lloh31:
	adrp	x8, l_.str.5@PAGE
Lloh32:
	add	x8, x8, l_.str.5@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_17:
Lloh33:
	adrp	x8, _noencrypt@GOTPAGE
Lloh34:
	ldr	x8, [x8, _noencrypt@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:
Lloh36:
	adrp	x8, l_.str.6@PAGE
Lloh37:
	add	x8, x8, l_.str.6@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_19:
Lloh38:
	adrp	x8, _port@GOTPAGE
Lloh39:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.20:
	add	w9, w23, #1
Lloh41:
	adrp	x10, l_.str.7@PAGE
Lloh42:
	add	x10, x10, l_.str.7@PAGEOFF
	mov	x11, sp
	str	x10, [x11, w23, uxtw #3]
	add	w23, w23, #2
	str	x8, [x11, w9, uxtw #3]
LBB0_21:
Lloh43:
	adrp	x8, _eflag@GOTPAGE
Lloh44:
	ldr	x8, [x8, _eflag@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.22:
Lloh46:
	adrp	x8, l_.str.8@PAGE
Lloh47:
	add	x8, x8, l_.str.8@PAGEOFF
	mov	x9, sp
	str	x8, [x9, w23, uxtw #3]
	add	w23, w23, #1
LBB0_23:
	cbz	x21, LBB0_25
; %bb.24:
	add	w8, w23, #1
Lloh48:
	adrp	x9, l_.str.9@PAGE
Lloh49:
	add	x9, x9, l_.str.9@PAGEOFF
	mov	x10, sp
	str	x9, [x10, w23, uxtw #3]
	add	w23, w23, #2
	str	x21, [x10, w8, uxtw #3]
LBB0_25:
	mov	x8, sp
	str	x20, [x8, w23, uxtw #3]
	add	w9, w23, #1
	add	w10, w23, #2
	str	x19, [x8, w9, uxtw #3]
	str	xzr, [x8, w10, uxtw #3]
	mov	x1, sp
	bl	_execvp
	ldr	x0, [x22]
	bl	_perror
	mov	w0, #1
	bl	_exit
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function do_cmd.cold.1
_do_cmd.cold.1:                         ; @do_cmd.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh50:
	adrp	x0, l_.str@PAGE
Lloh51:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #255
	bl	_exit
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function do_cmd.cold.2
_do_cmd.cold.2:                         ; @do_cmd.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh52:
	adrp	x0, l_.str@PAGE
Lloh53:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #255
	bl	_exit
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pipe"

	.comm	_RSH_PROGRAM,8,3                ; @RSH_PROGRAM
	.comm	_usekrb4,8,3                    ; @usekrb4
l_.str.1:                               ; @.str.1
	.asciz	"-4"

	.comm	_usekrb5,8,3                    ; @usekrb5
l_.str.2:                               ; @.str.2
	.asciz	"-5"

	.comm	_usebroken,8,3                  ; @usebroken
l_.str.3:                               ; @.str.3
	.asciz	"-K"

	.comm	_doencrypt,8,3                  ; @doencrypt
l_.str.4:                               ; @.str.4
	.asciz	"-x"

	.comm	_forwardtkt,8,3                 ; @forwardtkt
l_.str.5:                               ; @.str.5
	.asciz	"-F"

	.comm	_noencrypt,8,3                  ; @noencrypt
l_.str.6:                               ; @.str.6
	.asciz	"-z"

	.comm	_port,8,3                       ; @port
l_.str.7:                               ; @.str.7
	.asciz	"-p"

	.comm	_eflag,8,3                      ; @eflag
l_.str.8:                               ; @.str.8
	.asciz	"-e"

l_.str.9:                               ; @.str.9
	.asciz	"-l"

.subsections_via_symbols
