	.file	"extr_mep-desc.c_build_operand_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	build_operand_table, @function
build_operand_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR MAX_OPERANDS[rip]
	mov	rbx, QWORD PTR mep_cgen_operand_table[rip]
	mov	ebp, DWORD PTR [rdi]
	lea	edi, 0[0+rax*8]
	call	xmalloc@PLT
	mov	QWORD PTR 24[r13], rbx
	xor	esi, esi
	mov	r12, rax
	mov	DWORD PTR 8[r13], 16
	mov	eax, DWORD PTR MAX_OPERANDS[rip]
	mov	rdi, r12
	lea	edx, 0[0+rax*8]
	call	memset@PLT
	cmp	QWORD PTR 8[rbx], 0
	je	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR CGEN_OPERAND_MACH[rip]
	mov	rdi, rbx
	call	CGEN_OPERAND_ATTR_VALUE@PLT
	test	eax, ebp
	je	.L3
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR [r12+rax*8], rbx
.L3:
	add	rbx, 16
	cmp	QWORD PTR 8[rbx], 0
	jne	.L4
.L2:
	mov	eax, DWORD PTR MAX_OPERANDS[rip]
	mov	QWORD PTR 16[r13], r12
	mov	DWORD PTR 12[r13], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	build_operand_table, .-build_operand_table
	.comm	mep_cgen_operand_table,8,8
	.comm	MAX_OPERANDS,4,4
	.comm	CGEN_OPERAND_MACH,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_mep-desc.c_build_operand_table.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_operand_table, %function
build_operand_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	ldr	r8, .L14
	ldr	r3, .L14+4
	ldr	r0, [r8]
	ldr	r4, [r3]
	lsl	r0, r0, #2
	ldr	r5, [r7]
	bl	xmalloc
	mov	r3, #8
	ldr	r2, [r8]
	str	r3, [r7, #4]
	mov	r1, #0
	str	r4, [r7, #16]
	lsl	r2, r2, #2
	mov	r6, r0
	bl	memset
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r9, .L14+8
.L4:
	mov	r0, r4
	ldr	r1, [r9]
	bl	CGEN_OPERAND_ATTR_VALUE
	tst	r0, r5
	ldrne	r3, [r4]
	strne	r4, [r6, r3, lsl #2]
	ldr	r3, [r4, #12]
	add	r4, r4, #8
	cmp	r3, #0
	bne	.L4
.L2:
	ldr	r3, [r8]
	str	r6, [r7, #12]
	str	r3, [r7, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	MAX_OPERANDS
	.word	mep_cgen_operand_table
	.word	CGEN_OPERAND_MACH
	.size	build_operand_table, .-build_operand_table
	.comm	mep_cgen_operand_table,4,4
	.comm	MAX_OPERANDS,4,4
	.comm	CGEN_OPERAND_MACH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
