	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function docmd
_docmd:                                 ## @docmd
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MOREARGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	addl	$3, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_ai_fam_default@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ai_fam_templ@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_strlen
	movq	_MAXLINE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jge	LBB0_1
## %bb.3:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tokenize
	cmpl	$0, -52(%rbp)
	je	LBB0_48
## %bb.4:
	movq	(%r14), %rdi
	movq	_builtins@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_opcmds@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	callq	_findcmd
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.2:
	decq	%rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_48:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.52:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%r14), %rax
	movq	%rax, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	_MAXARGS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.11:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	movq	%r14, %r13
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rdi
	movq	(%rdi), %rcx
	movl	(%rcx,%r12,4), %esi
	movq	_NO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	je	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	(%r12,%rbx), %rcx
	movslq	-52(%rbp), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r13,%rbx,8), %rdi
	movq	_OPT@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$62, (%rdi)
	je	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=2
	callq	_getarg
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.50:                              ##   in Loop: Header=BB0_13 Depth=2
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jl	LBB0_13
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, %eax
	je	LBB0_48
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	movq	%r12, -80(%rbp)
	movq	_MAXARGS@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %r12
	jl	LBB0_12
LBB0_22:
	movl	%r12d, %r13d
	jmp	LBB0_23
LBB0_10:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_23:
	movq	_MOREARGS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmpl	%eax, %r13d
	jge	LBB0_31
## %bb.24:
	movl	%r13d, %r13d
	leaq	(%r14,%r13,8), %r15
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movslq	%ebx, %rbx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rbx,%r13), %rax
	movslq	-52(%rbp), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	(%r15,%rbx,8), %rdi
	movq	_NTP_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_getarg
	cmpl	$-1, %eax
	jne	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=2
	incq	%rbx
	movq	_MAXARGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_MOREARGS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rax, %rcx
	cmpq	%rcx, %r13
	jl	LBB0_26
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	testl	%eax, %eax
	je	LBB0_48
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%r12
	movq	%r12, -80(%rbp)
	incq	%r13
	movq	_MAXARGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_MOREARGS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rax, %rcx
	addq	$8, %r15
	cmpq	%rcx, %r13
	jl	LBB0_25
LBB0_31:
	addl	%ebx, %r13d
	movl	-52(%rbp), %eax
	cmpl	%eax, %r13d
	jge	LBB0_39
## %bb.32:
	movslq	%r13d, %rcx
	movq	(%r14,%rcx,8), %rbx
	cmpb	$62, (%rbx)
	jne	LBB0_39
## %bb.33:
	cmpb	$0, 1(%rbx)
	je	LBB0_35
## %bb.34:
	incq	%rbx
	jmp	LBB0_37
LBB0_39:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_current_output@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	jmp	LBB0_40
LBB0_15:
	movl	%r12d, %r13d
	movq	_OPT@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	jne	LBB0_23
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_printusage
	jmp	LBB0_48
LBB0_35:
	incl	%r13d
	cmpl	%eax, %r13d
	jge	LBB0_51
## %bb.36:
	movslq	%r13d, %rax
	movq	(%r14,%rax,8), %rbx
LBB0_37:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %rsi
	movq	_current_output@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	testq	%rsi, %rsi
	je	LBB0_38
LBB0_40:
	movq	_interactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_44
## %bb.41:
	movq	_interrupt_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SETJMP
	testl	%eax, %eax
	je	LBB0_42
## %bb.43:
	movq	_current_output@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_fflush
	movq	_stderr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	leaq	L_.str.7(%rip), %rdi
	movl	$26, %esi
	movl	$1, %edx
	callq	_fwrite
	movq	(%rbx), %rdi
	callq	_fflush
	jmp	LBB0_45
LBB0_44:
	movq	_jump@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	-64(%rbp), %rax
	leaq	-88(%rbp), %rdi
	callq	*8(%rax)
	jmp	LBB0_45
LBB0_42:
	movq	_jump@GOTPCREL(%rip), %rbx
	movl	$1, (%rbx)
	movq	-64(%rbp), %rax
	movq	_current_output@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	leaq	-88(%rbp), %rdi
	callq	*8(%rax)
	movl	$0, (%rbx)
LBB0_45:
	movq	_current_output@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.46:
	movq	_stdout@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_48
## %bb.47:
	callq	_fclose
	movq	$0, (%rbx)
	jmp	LBB0_48
LBB0_51:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.3(%rip), %rdi
	movl	$24, %esi
	movl	$1, %edx
	callq	_fwrite
	jmp	LBB0_48
LBB0_38:
	movq	%rbx, %rdi
	callq	_docmd.cold.1
	jmp	LBB0_48
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function docmd.cold.1
_docmd.cold.1:                          ## @docmd.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
	movq	%rdi, %rdx
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.6(%rip), %rdi
	callq	_perror
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXARGS,4,2                    ## @MAXARGS
	.comm	_MOREARGS,4,2                   ## @MOREARGS
	.comm	_ai_fam_default,4,2             ## @ai_fam_default
	.comm	_ai_fam_templ,4,2               ## @ai_fam_templ
	.comm	_MAXLINE,8,3                    ## @MAXLINE
	.comm	_stderr,8,3                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"***Command ignored, more than %d characters:\n%s\n"

	.comm	_builtins,4,2                   ## @builtins
	.comm	_opcmds,4,2                     ## @opcmds
L_.str.1:                               ## @.str.1
	.asciz	"***Command `%s' unknown\n"

L_.str.2:                               ## @.str.2
	.asciz	"***Command `%s' ambiguous\n"

	.comm	_NO,4,2                         ## @NO
	.comm	_OPT,4,2                        ## @OPT
	.comm	_NTP_STR,4,2                    ## @NTP_STR
L_.str.3:                               ## @.str.3
	.asciz	"***No file for redirect\n"

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

	.comm	_current_output,8,3             ## @current_output
L_.str.5:                               ## @.str.5
	.asciz	"***Error opening %s: "

L_.str.6:                               ## @.str.6
	.space	1

	.comm	_stdout,8,3                     ## @stdout
	.comm	_interactive,8,3                ## @interactive
	.comm	_interrupt_buf,4,2              ## @interrupt_buf
	.comm	_jump,4,2                       ## @jump
L_.str.7:                               ## @.str.7
	.asciz	"\n >>> command aborted <<<\n"

	.no_dead_strip	_docmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function docmd
_docmd:                                 ; @docmd
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	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, #-88]
Lloh3:
	adrp	x21, _MAXARGS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAXARGS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x22, _MOREARGS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MOREARGS@GOTPAGEOFF]
	ldr	w9, [x22]
	add	w8, w8, w9
	add	w8, w8, #3
	lsl	x9, x8, #3
	add	x8, x9, #15
	and	x8, x8, #0xffffffff0
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x19, x9, x8
	mov	sp, x19
Lloh9:
	adrp	x8, _ai_fam_default@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ai_fam_default@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ai_fam_templ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ai_fam_templ@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	bl	_strlen
Lloh15:
	adrp	x8, _MAXLINE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAXLINE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_5
; %bb.1:
	sub	x2, x29, #116
	mov	x0, x20
	mov	x1, x19
	bl	_tokenize
	ldur	w8, [x29, #-116]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x0, [x19]
Lloh18:
	adrp	x8, _builtins@GOTPAGE
Lloh19:
	ldr	x8, [x8, _builtins@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _opcmds@GOTPAGE
Lloh22:
	ldr	x8, [x8, _opcmds@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	sub	x3, x29, #128
	bl	_findcmd
	cbz	w0, LBB0_9
; %bb.3:
	cmp	w0, #1
	b.le	LBB0_10
; %bb.4:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	x0, [x8]
	ldr	x8, [x19]
	str	x8, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh29:
	adrp	x9, _stderr@GOTPAGE
Lloh30:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	x0, [x9]
	sub	x8, x8, #1
	stp	x8, x20, [sp, #-16]!
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	bl	_fprintf
	add	sp, sp, #16
LBB0_7:
	ldur	x8, [x29, #-88]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.8:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	x0, [x8]
	ldr	x8, [x19]
	str	x8, [sp, #-16]!
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_10:
	ldr	x8, [x19]
	stp	x8, xzr, [x29, #-112]
	ldr	w8, [x21]
Lloh42:
	adrp	x20, _OPT@GOTPAGE
Lloh43:
	ldr	x20, [x20, _OPT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.11:
	mov	x23, #0
	mov	w24, #1
Lloh44:
	adrp	x25, _NO@GOTPAGE
Lloh45:
	ldr	x25, [x25, _NO@GOTPAGEOFF]
	mov	x26, x19
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	sxtw	x24, w24
LBB0_13:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x0, [x29, #-128]
	ldr	x9, [x0]
	ldr	w1, [x9, x23, lsl #2]
	ldr	w9, [x25]
	cmp	w1, w9
	b.eq	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldursw	x9, [x29, #-116]
	add	x10, x23, x24
	cmp	x10, x9
	b.ge	LBB0_47
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w9, [x20]
	ldr	x0, [x26, x24, lsl #3]
	tst	w9, w1
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	ldrb	w9, [x0]
	cmp	w9, #62
	b.eq	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	bl	_getarg
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_13
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w0, LBB0_7
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	stur	x23, [x29, #-104]
	ldrsw	x9, [x21]
	mov	x8, x9
	add	x26, x26, #8
	cmp	x23, x9
	b.lt	LBB0_12
LBB0_21:
	mov	x25, x23
	b	LBB0_23
LBB0_22:
	mov	x23, #0
	mov	w25, #0
	mov	w24, #1
LBB0_23:
	ldr	w9, [x22]
	add	w8, w9, w8
	cmp	w25, w8
	b.ge	LBB0_31
; %bb.24:
	add	x26, x19, w25, uxtw #3
	mov	w25, w25
Lloh46:
	adrp	x27, _NTP_STR@GOTPAGE
Lloh47:
	ldr	x27, [x27, _NTP_STR@GOTPAGEOFF]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x24, w24
LBB0_26:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldursw	x8, [x29, #-116]
	add	x9, x25, x24
	cmp	x9, x8
	b.ge	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	x0, [x26, x24, lsl #3]
	ldr	w8, [x20]
	ldr	w9, [x27]
	orr	w1, w9, w8
	bl	_getarg
	cmn	w0, #1
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x21]
	ldrsw	x9, [x22]
	add	x8, x9, x8
	cmp	x25, x8
	b.lt	LBB0_26
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=1
	cbz	w0, LBB0_7
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x23, x23, #1
	stur	x23, [x29, #-104]
	add	x25, x25, #1
	ldrsw	x8, [x21]
	ldrsw	x9, [x22]
	add	x26, x26, #8
	add	x8, x9, x8
	cmp	x25, x8
	b.lt	LBB0_25
	b	LBB0_32
LBB0_31:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_32:
	ldur	w8, [x29, #-116]
	add	w9, w24, w25
	cmp	w9, w8
Lloh48:
	adrp	x21, _current_output@GOTPAGE
Lloh49:
	ldr	x21, [x21, _current_output@GOTPAGEOFF]
Lloh50:
	adrp	x22, _stdout@GOTPAGE
Lloh51:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
	b.ge	LBB0_39
; %bb.33:
	ldr	x20, [x19, w9, sxtw #3]
	ldrb	w10, [x20]
	cmp	w10, #62
	b.ne	LBB0_39
; %bb.34:
	ldrb	w10, [x20, #1]!
	cbnz	w10, LBB0_37
; %bb.35:
	sxtw	x9, w9
	add	x9, x9, #1
	cmp	w9, w8
	b.ge	LBB0_49
; %bb.36:
	ldr	x20, [x19, x9, lsl #3]
LBB0_37:
Lloh52:
	adrp	x1, l_.str.4@PAGE
Lloh53:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_fopen
	mov	x1, x0
	str	x0, [x21]
	cbnz	x0, LBB0_40
; %bb.38:
	mov	x0, x20
	bl	_docmd.cold.1
	b	LBB0_7
LBB0_39:
	ldr	x1, [x22]
	str	x1, [x21]
LBB0_40:
Lloh54:
	adrp	x8, _interactive@GOTPAGE
Lloh55:
	ldr	x8, [x8, _interactive@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	cbz	x8, LBB0_43
; %bb.41:
Lloh57:
	adrp	x8, _interrupt_buf@GOTPAGE
Lloh58:
	ldr	x8, [x8, _interrupt_buf@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	bl	_SETJMP
	cbz	w0, LBB0_44
; %bb.42:
	ldr	x0, [x21]
	bl	_fflush
Lloh60:
	adrp	x19, _stderr@GOTPAGE
Lloh61:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	x3, [x19]
Lloh62:
	adrp	x0, l_.str.7@PAGE
Lloh63:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #26
	mov	w2, #1
	bl	_fwrite
	ldr	x0, [x19]
	bl	_fflush
	b	LBB0_45
LBB0_43:
Lloh64:
	adrp	x8, _jump@GOTPAGE
Lloh65:
	ldr	x8, [x8, _jump@GOTPAGEOFF]
Lloh66:
	str	wzr, [x8]
	ldur	x8, [x29, #-128]
	ldr	x8, [x8, #8]
	sub	x0, x29, #112
	blr	x8
	b	LBB0_45
LBB0_44:
Lloh67:
	adrp	x19, _jump@GOTPAGE
Lloh68:
	ldr	x19, [x19, _jump@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x19]
	ldur	x8, [x29, #-128]
	ldr	x8, [x8, #8]
	ldr	x1, [x21]
	sub	x0, x29, #112
	blr	x8
	str	wzr, [x19]
LBB0_45:
	ldr	x0, [x21]
	ldr	x8, [x22]
	cmp	x0, #0
	ccmp	x8, x0, #4, ne
	b.eq	LBB0_7
; %bb.46:
	bl	_fclose
	str	xzr, [x21]
	b	LBB0_7
LBB0_47:
	ldr	w9, [x20]
	mov	x25, x23
	tst	w9, w1
	b.ne	LBB0_23
; %bb.48:
Lloh69:
	adrp	x8, _stderr@GOTPAGE
Lloh70:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh71:
	ldr	x1, [x8]
	bl	_printusage
	b	LBB0_7
LBB0_49:
Lloh72:
	adrp	x8, _stderr@GOTPAGE
Lloh73:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh74:
	ldr	x3, [x8]
Lloh75:
	adrp	x0, l_.str.3@PAGE
Lloh76:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #24
	mov	w2, #1
	bl	_fwrite
	b	LBB0_7
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function docmd.cold.1
_docmd.cold.1:                          ; @docmd.cold.1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh77:
	adrp	x8, _stderr@GOTPAGE
Lloh78:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh79:
	ldr	x8, [x8]
	str	x0, [sp]
Lloh80:
	adrp	x1, l_.str.5@PAGE
Lloh81:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_fprintf
Lloh82:
	adrp	x0, l_.str.6@PAGE
Lloh83:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_perror
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXARGS,4,2                    ; @MAXARGS
	.comm	_MOREARGS,4,2                   ; @MOREARGS
	.comm	_ai_fam_default,4,2             ; @ai_fam_default
	.comm	_ai_fam_templ,4,2               ; @ai_fam_templ
	.comm	_MAXLINE,8,3                    ; @MAXLINE
	.comm	_stderr,8,3                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"***Command ignored, more than %d characters:\n%s\n"

	.comm	_builtins,4,2                   ; @builtins
	.comm	_opcmds,4,2                     ; @opcmds
l_.str.1:                               ; @.str.1
	.asciz	"***Command `%s' unknown\n"

l_.str.2:                               ; @.str.2
	.asciz	"***Command `%s' ambiguous\n"

	.comm	_NO,4,2                         ; @NO
	.comm	_OPT,4,2                        ; @OPT
	.comm	_NTP_STR,4,2                    ; @NTP_STR
l_.str.3:                               ; @.str.3
	.asciz	"***No file for redirect\n"

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

	.comm	_current_output,8,3             ; @current_output
l_.str.5:                               ; @.str.5
	.asciz	"***Error opening %s: "

l_.str.6:                               ; @.str.6
	.space	1

	.comm	_stdout,8,3                     ; @stdout
	.comm	_interactive,8,3                ; @interactive
	.comm	_interrupt_buf,4,2              ; @interrupt_buf
	.comm	_jump,4,2                       ; @jump
l_.str.7:                               ; @.str.7
	.asciz	"\n >>> command aborted <<<\n"

	.no_dead_strip	_docmd
.subsections_via_symbols
