	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_macro
_cmd_macro:                             ## @cmd_macro
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movsbl	(%rsi), %ecx
	leal	-40(%rcx), %eax
	cmpl	$23, %eax
	ja	LBB0_1
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_help_msg_lparen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_r_core_cmd_help
	jmp	LBB0_20
LBB0_1:
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.2:
	movq	(%r14), %rdi
	callq	_r_cmd_macro_list
	jmp	LBB0_20
LBB0_8:
	movq	%rsi, %rdi
	callq	_strdup
	movq	%rax, %rbx
	movb	(%rax), %cl
	xorl	%r12d, %r12d
	testb	%cl, %cl
	je	LBB0_14
## %bb.9:
	movl	$1, %eax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movzbl	(%rbx,%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	je	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$41, %cl
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$40, (%rbx,%rax)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movb	$0, (%rbx,%rax)
	leal	1(%rax), %r12d
	jmp	LBB0_13
LBB0_14:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%rbx)
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_r_cmd_macro_add
	testl	%r12d, %r12d
	je	LBB0_19
## %bb.15:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_18
LBB0_17:
	movb	$32, (%r15)
	incq	%r15
	movslq	%r12d, %rax
	movq	%rbx, %r12
	addq	%rax, %r12
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_memmove
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_r_cmd_macro_call
LBB0_19:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_20
LBB0_4:
	movq	(%r14), %rdi
	incq	%rsi
	callq	_r_cmd_macro_break
	jmp	LBB0_20
LBB0_6:
	movq	(%r14), %rdi
	callq	_r_cmd_macro_meta
	jmp	LBB0_20
LBB0_5:
	movq	(%r14), %rdi
	incq	%rsi
	callq	_r_cmd_macro_rm
LBB0_20:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_help_msg_lparen,4,2            ## @help_msg_lparen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid syntax for macro\n"

	.no_dead_strip	_cmd_macro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_macro
_cmd_macro:                             ; @cmd_macro
	.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
	mov	x19, x0
	ldrsb	w8, [x1]
	sub	w9, w8, #40
	cmp	w9, #23
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _help_msg_lparen@GOTPAGE
Lloh3:
	ldr	x8, [x8, _help_msg_lparen@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_r_core_cmd_help
	b	LBB0_20
LBB0_3:
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	bl	_r_cmd_macro_list
	b	LBB0_20
LBB0_5:
	mov	x0, x1
	bl	_strdup
	mov	x20, x0
	ldrb	w9, [x0]
	cbz	w9, LBB0_14
; %bb.6:
	mov	w22, #0
	mov	w8, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x20, x8]
	add	x8, x8, #1
	cbz	w9, LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #41
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x20, x8]
	cmp	w9, #40
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x20, x8]
	add	w22, w8, #1
	b	LBB0_7
LBB0_11:
	ldr	x0, [x19]
	add	x1, x1, #1
	bl	_r_cmd_macro_break
	b	LBB0_20
LBB0_12:
	ldr	x0, [x19]
	bl	_r_cmd_macro_meta
	b	LBB0_20
LBB0_13:
	ldr	x0, [x19]
	add	x1, x1, #1
	bl	_r_cmd_macro_rm
	b	LBB0_20
LBB0_14:
	mov	w22, #0
LBB0_15:
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw
	sturb	wzr, [x8, #-1]
	ldr	x0, [x19]
	mov	x1, x20
	bl	_r_cmd_macro_add
	cbz	w22, LBB0_19
; %bb.16:
	mov	w23, #32
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_18
; %bb.17:
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_21
LBB0_18:
	strb	w23, [x21], #1
	add	x22, x20, w22, sxtw
	mov	x0, x22
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
	ldr	x0, [x19]
	mov	x1, x20
	bl	_r_cmd_macro_call
LBB0_19:
	mov	x0, x20
	bl	_free
LBB0_20:
	mov	w0, #0
	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_21:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_help_msg_lparen,4,2            ; @help_msg_lparen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid syntax for macro\n"

	.no_dead_strip	_cmd_macro
.subsections_via_symbols
