	.file	"extr_macro.c_expand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Disagreement in number of macro arguments"
	.text
	.p2align 4
	.globl	expand
	.type	expand, @function
expand:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 88
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR NARG[rip]
	mov	rcx, rsp
	mov	QWORD PTR -120[rbp], rsp
	add	eax, 1
	cdqe
	lea	rax, 15[0+rax*8]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	esi, DWORD PTR 8[r12]
	lea	r14, -96[rbp]
	mov	r13, rsp
	mov	rdi, r14
	call	copytokenrow@PLT
	cmp	QWORD PTR [r12], 0
	je	.L16
	lea	rdx, -100[rbp]
	mov	rsi, r13
	mov	rdi, rbx
	call	gatherargs@PLT
	mov	edx, DWORD PTR -100[rbp]
	mov	DWORD PTR -124[rbp], eax
	test	edx, edx
	js	.L26
	mov	rdi, QWORD PTR [r12]
	call	rowlen@PLT
	cmp	eax, DWORD PTR -100[rbp]
	je	.L8
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC0[rip]
	call	error@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax]
	call	newhideset@PLT
	movsx	rdx, DWORD PTR -124[rbp]
	mov	r8, rax
	mov	rax, QWORD PTR 24[rbx]
	lea	rdx, [rdx+rdx*4]
	mov	DWORD PTR [rax], r8d
	lea	rax, [rax+rdx*8]
	mov	QWORD PTR 24[rbx], rax
.L7:
	mov	rsp, QWORD PTR -120[rbp]
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	DWORD PTR -124[rbp], 1
.L5:
	mov	rdi, r14
	call	doconcat@PLT
	mov	rax, QWORD PTR 24[rbx]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax]
	call	newhideset@PLT
	mov	r12, QWORD PTR -80[rbp]
	mov	r13d, eax
	cmp	r12, QWORD PTR -64[rbp]
	jb	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	add	r12, 40
	cmp	QWORD PTR -64[rbp], r12
	jbe	.L28
.L13:
	mov	rax, QWORD PTR NAME[rip]
	cmp	QWORD PTR 8[r12], rax
	jne	.L11
	mov	edi, DWORD PTR [r12]
	test	edi, edi
	jne	.L12
	mov	DWORD PTR [r12], r13d
	add	r12, 40
	cmp	QWORD PTR -64[rbp], r12
	ja	.L13
.L28:
	mov	r12, QWORD PTR -80[rbp]
.L10:
	mov	esi, DWORD PTR -124[rbp]
	mov	rdx, r14
	mov	rdi, rbx
	mov	QWORD PTR -72[rbp], r12
	call	insertrow@PLT
	mov	rdi, r14
	call	rowlen@PLT
	mov	rdi, QWORD PTR -80[rbp]
	cdqe
	lea	rax, [rax+rax*4]
	sal	rax, 3
	sub	QWORD PTR 24[rbx], rax
	call	dofree@PLT
	mov	rsp, QWORD PTR -120[rbp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, r13d
	call	unionhideset@PLT
	mov	DWORD PTR [r12], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	add	QWORD PTR 24[rbx], 40
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, r12
	call	substargs@PLT
	mov	eax, DWORD PTR -100[rbp]
	test	eax, eax
	jle	.L5
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 0[r13+r15*8]
	mov	rdi, QWORD PTR 16[rax]
	call	dofree@PLT
	mov	rdi, QWORD PTR 0[r13+r15*8]
	add	r15, 1
	call	dofree@PLT
	cmp	DWORD PTR -100[rbp], r15d
	jg	.L9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	expand, .-expand
	.comm	NARG,4,4
	.comm	NAME,8,8
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_macro.c_expand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Disagreement in number of macro arguments\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	expand
	.syntax unified
	.arm
	.fpu softvfp
	.type	expand, %function
expand:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #32
	mov	r4, r1
	ldr	r3, .L21
	mov	r5, sp
	ldr	r3, [r3]
	mov	r6, r0
	lsl	r3, r3, #2
	add	r3, r3, #11
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L21+4
	ldr	r1, [r1, #4]
	sub	r0, fp, #52
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	copytokenrow
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L13
	mov	r8, sp
	mov	r0, r6
	mov	r1, r8
	sub	r2, fp, #56
	bl	gatherargs
	ldr	r3, [fp, #-56]
	mov	r7, r0
	cmp	r3, #0
	blt	.L18
	ldr	r0, [r4]
	bl	rowlen
	ldr	r3, [fp, #-56]
	cmp	r0, r3
	beq	.L5
	ldr	r3, .L21+8
	ldr	r1, .L21+12
	ldr	r0, [r3]
	bl	error
	ldr	r3, [r6, #12]
	mov	r1, r4
	ldr	r0, [r3]
	bl	newhideset
	ldr	r3, [r6, #12]
	add	r7, r7, r7, lsl #2
	add	r7, r3, r7, lsl #2
	str	r0, [r3]
	str	r7, [r6, #12]
.L4:
	mov	sp, r5
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L18:
	ldr	r3, [r6, #12]
	add	r3, r3, #20
	str	r3, [r6, #12]
	b	.L4
.L13:
	mov	r7, #1
.L2:
	sub	r0, fp, #52
	bl	doconcat
	ldr	r3, [r6, #12]
	mov	r1, r4
	ldr	r0, [r3]
	bl	newhideset
	ldr	r4, [fp, #-44]
	ldr	ip, [fp, #-36]
	mov	r9, r0
	cmp	r4, ip
	bcs	.L7
	ldr	r8, .L21+16
	b	.L10
.L8:
	add	r4, r4, #20
	cmp	ip, r4
	bls	.L20
.L10:
	ldr	r2, [r4, #4]
	ldr	r3, [r8]
	cmp	r2, r3
	bne	.L8
	ldr	r0, [r4]
	cmp	r0, #0
	streq	r9, [r4]
	beq	.L8
	mov	r1, r9
	bl	unionhideset
	ldr	ip, [fp, #-36]
	add	r4, r4, #20
	str	r0, [r4, #-20]
	cmp	ip, r4
	bhi	.L10
.L20:
	ldr	r4, [fp, #-44]
.L7:
	mov	r1, r7
	sub	r2, fp, #52
	mov	r0, r6
	str	r4, [fp, #-40]
	bl	insertrow
	sub	r0, fp, #52
	bl	rowlen
	ldr	r3, [r6, #12]
	add	r0, r0, r0, lsl #2
	sub	r0, r3, r0, lsl #2
	str	r0, [r6, #12]
	ldr	r0, [fp, #-44]
	bl	dofree
	mov	sp, r5
	b	.L1
.L5:
	mov	r2, r8
	mov	r0, r4
	sub	r1, fp, #52
	bl	substargs
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	ble	.L2
	mov	r9, #0
	sub	r8, r8, #4
.L6:
	ldr	r3, [r8, #4]!
	add	r9, r9, #1
	ldr	r0, [r3, #8]
	bl	dofree
	ldr	r0, [r8]
	bl	dofree
	ldr	r3, [fp, #-56]
	cmp	r3, r9
	bgt	.L6
	b	.L2
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	NARG
	.word	.LC1
	.word	ERROR
	.word	.LC0
	.word	NAME
	.size	expand, .-expand
	.comm	NARG,4,4
	.comm	NAME,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
