	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand                         ## -- Begin function expand
	.p2align	4, 0x90
_expand:                                ## @expand
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NARG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	8(%r12), %esi
	leaq	-104(%rbp), %rdi
	callq	_copytokenrow
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.2:
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_gatherargs
	movl	-52(%rbp), %ebx
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	(%r12), %rdi
	callq	_rowlen
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.6:
	leaq	-104(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_substargs
	cmpl	$0, -52(%rbp)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rax
	movq	16(%rax), %rdi
	callq	_dofree
	movq	(%r13,%rbx,8), %rdi
	callq	_dofree
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movl	$1, %r14d
LBB0_9:
	leaq	-104(%rbp), %rdi
	callq	_doconcat
	movq	24(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_newhideset
	movq	%rax, %r12
	movq	-88(%rbp), %rbx
	movq	-72(%rbp), %rax
	cmpq	%rax, %rbx
	jae	LBB0_17
## %bb.10:
	movq	_NAME@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r12d, %esi
	callq	_unionhideset
	movl	%eax, (%rbx)
	movq	-72(%rbp), %rax
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$40, %rbx
	cmpq	%rax, %rbx
	jae	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r12d, (%rbx)
	jmp	LBB0_15
LBB0_16:
	movq	-88(%rbp), %rbx
LBB0_17:
	movq	%rbx, -80(%rbp)
	leaq	-104(%rbp), %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_insertrow
	movq	%rbx, %rdi
	callq	_rowlen
	cltq
	negq	%rax
	leaq	(%rax,%rax,4), %rax
	shlq	$3, %rax
	addq	%rax, 24(%r15)
	movq	-88(%rbp), %rdi
	callq	_dofree
	jmp	LBB0_18
LBB0_3:
	addq	$40, 24(%r15)
	jmp	LBB0_18
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_error
	movq	24(%r15), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_newhideset
	movq	24(%r15), %rcx
	movl	%eax, (%rcx)
	movslq	%r14d, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, 24(%r15)
LBB0_18:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NARG,4,2                       ## @NARG
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disagreement in number of macro arguments"

	.comm	_NAME,8,3                       ## @NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand                         ; -- Begin function expand
	.p2align	2
_expand:                                ; @expand
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #64
	mov	x21, x1
	mov	x19, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _NARG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NARG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w1, [x1, #8]
	sub	x0, x29, #112
	bl	_copytokenrow
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.1:
	sub	x2, x29, #116
	mov	x0, x19
	mov	x1, x22
	bl	_gatherargs
	ldur	w24, [x29, #-116]
	tbnz	w24, #31, LBB0_16
; %bb.2:
	mov	x20, x0
	ldr	x0, [x21]
	bl	_rowlen
	cmp	w24, w0
	b.ne	LBB0_17
; %bb.3:
	sub	x1, x29, #112
	mov	x0, x21
	mov	x2, x22
	bl	_substargs
	ldur	w8, [x29, #-116]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x24, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x25, x24, #3
	ldr	x8, [x22, x25]
	ldr	x0, [x8, #16]
	bl	_dofree
	ldr	x0, [x22, x25]
	bl	_dofree
	add	x24, x24, #1
	ldursw	x8, [x29, #-116]
	cmp	x24, x8
	b.lt	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w20, #1
LBB0_7:
	sub	x0, x29, #112
	bl	_doconcat
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_newhideset
	ldur	x22, [x29, #-96]
	ldur	x8, [x29, #-80]
	cmp	x22, x8
	b.hs	LBB0_15
; %bb.8:
	mov	x21, x0
Lloh8:
	adrp	x24, _NAME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _NAME@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x1, x21
	bl	_unionhideset
	str	w0, [x22]
	ldur	x8, [x29, #-80]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #40
	cmp	x22, x8
	b.hs	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x22]
	cbnz	w0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	str	w21, [x22]
	b	LBB0_10
LBB0_14:
	ldur	x22, [x29, #-96]
LBB0_15:
	stur	x22, [x29, #-88]
	sub	x2, x29, #112
	mov	x0, x19
	mov	x1, x20
	bl	_insertrow
	sub	x0, x29, #112
	bl	_rowlen
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #24]
	sxtw	x9, w0
	mov	w10, #40
	mneg	x9, x9, x10
	add	x8, x8, x9
	str	x8, [x19, #24]
	ldur	x0, [x29, #-96]
	bl	_dofree
	b	LBB0_19
LBB0_16:
	ldr	x8, [x19, #24]
	add	x8, x8, #40
	b	LBB0_18
LBB0_17:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_error
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_newhideset
	ldr	x8, [x19, #24]
	str	w0, [x8]
	mov	w9, #40
	smaddl	x8, w20, w9, x8
LBB0_18:
	str	x8, [x19, #24]
LBB0_19:
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NARG,4,2                       ; @NARG
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disagreement in number of macro arguments"

	.comm	_NAME,8,3                       ; @NAME
.subsections_via_symbols
