	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_docmd                          ## -- Begin function docmd
	.p2align	4, 0x90
_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	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	movb	(%r12), %al
	movq	%r13, %rbx
	testb	%al, %al
	je	LBB0_23
## %bb.1:
	movq	%r13, %rbx
	cmpl	$2, %r14d
	jl	LBB0_23
## %bb.2:
	movslq	%r14d, %rcx
	leaq	(%rcx,%r13), %r14
	decq	%r14
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r12), %r15
	movq	%r15, -56(%rbp)
	cmpb	$36, %al
	jne	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	subq	%rbx, %r14
	movsbl	(%r15), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdx
	callq	_strncpy
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
	jmp	LBB0_21
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r15), %eax
	cmpb	$77, %al
	jg	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$72, %al
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r12
	movq	%r12, -56(%rbp)
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$78, %al
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$86, %al
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r12
	movq	%r12, -56(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	leaq	L_.str(%rip), %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_snprintf
	jmp	LBB0_10
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r12
	movq	%r12, -56(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	jmp	LBB0_8
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r12
	movq	%r12, -56(%rbp)
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	%al, (%rbx)
	incq	%rbx
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r12
	movzbl	(%r12), %eax
	testb	%al, %al
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rcx,%r13), %r14
	decq	%r14
	cmpq	%r14, %rbx
	jb	LBB0_3
LBB0_23:
	movb	$0, (%rbx)
	movq	_verbose@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_25
## %bb.24:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_25:
	movq	%r13, %rdi
	callq	_system
	testl	%eax, %eax
	je	LBB0_28
## %bb.26:
	cmpl	$2, (%rbx)
	jl	LBB0_28
## %bb.27:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE,4,2                       ## @SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_verbose,4,2                    ## @verbose
L_.str.1:                               ## @.str.1
	.asciz	"system '%s'\n"

L_.str.2:                               ## @.str.2
	.asciz	"return code = 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_docmd                          ; -- Begin function docmd
	.p2align	2
_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, #32
	mov	x20, x4
	mov	x21, x3
	stur	x2, [x29, #-104]                ; 8-byte Folded Spill
	mov	x23, x1
	mov	x24, 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	x26, _SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	sxtw	x12, w8
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x22, [x0]
	ldrb	w8, [x22]
	cmp	w8, #0
	ccmp	w12, #2, #8, ne
	mov	x25, x19
	b.ge	LBB0_7
LBB0_1:
	strb	wzr, [x25]
Lloh7:
	adrp	x20, _verbose@GOTPAGE
Lloh8:
	ldr	x20, [x20, _verbose@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.2:
	str	x19, [sp, #-16]!
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_3:
	mov	x0, x19
	bl	_system
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x20]
	cmp	w0, #0
	ccmp	w8, #2, #8, ne
	b.lt	LBB0_5
; %bb.4:
	str	x0, [sp, #-16]!
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.6:
	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_7:
	add	x9, x12, x19
	sub	x9, x9, #1
	mov	x25, x19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x22, #1
	stur	x28, [x29, #-96]
	cmp	w8, #36
	b.ne	LBB0_25
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x27, x9, x25
	ldrsb	w0, [x28]
	bl	_isdigit
	cbz	x0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x1, x29, #96
	mov	x0, x28
	mov	w2, #10
	bl	_strtol
	subs	w8, w0, #1
	b.lt	LBB0_26
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, w21
	b.gt	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x20, w8, uxtw #3]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x27
	bl	_strncpy
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_strlen
	add	x25, x25, w0, sxtw
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x28]
	cmp	w8, #77
	b.gt	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	w8, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #72
	b.ne	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x22, #2
	stur	x8, [x29, #-96]
	mov	x0, x25
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #78
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #86
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x22, #2
	stur	x8, [x29, #-96]
	mov	x0, x25
	mov	x1, x27
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x23
	bl	_snprintf
	b	LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x22, #2
	stur	x8, [x29, #-96]
	ldr	x1, [x24, #8]
	b	LBB0_13
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x22, #2
	stur	x9, [x29, #-96]
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w8, [x25], #1
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x22, [x29, #-96]
	ldrb	w8, [x22]
	cbz	w8, LBB0_1
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x9, [x26]
	add	x9, x9, x19
	sub	x9, x9, #1
	cmp	x25, x9
	b.lo	LBB0_8
	b	LBB0_1
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE,4,2                       ; @SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_verbose,4,2                    ; @verbose
l_.str.1:                               ; @.str.1
	.asciz	"system '%s'\n"

l_.str.2:                               ; @.str.2
	.asciz	"return code = 0x%x\n"

.subsections_via_symbols
