	.file	"extr_gdbtypes.c_lookup_fundamental_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"internal error - invalid fundamental type id %d"
	.text
	.p2align 4
	.globl	lookup_fundamental_type
	.type	lookup_fundamental_type, @function
lookup_fundamental_type:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	esi, esi
	js	.L2
	cmp	DWORD PTR FT_NUM_MEMBERS[rip], esi
	jle	.L2
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	je	.L8
.L4:
	movsx	rdx, ebp
	lea	rbx, [rax+rdx*8]
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	call	error@PLT
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	jne	.L4
.L8:
	mov	eax, DWORD PTR FT_NUM_MEMBERS[rip]
	lea	rdi, 8[r12]
	lea	r13d, 0[0+rax*8]
	mov	esi, r13d
	call	obstack_alloc@PLT
	mov	edx, r13d
	xor	esi, esi
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	call	memset@PLT
	mov	esi, DWORD PTR FT_NUM_MEMBERS[rip]
	mov	rdi, r12
	add	esi, DWORD PTR n_types[rip]
	mov	DWORD PTR n_types[rip], esi
	call	OBJSTAT@PLT
	mov	rax, QWORD PTR [r12]
	movsx	rdx, ebp
	lea	rbx, [rax+rdx*8]
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L1
.L9:
	mov	esi, ebp
	mov	rdi, r12
	call	create_fundamental_type@PLT
	mov	QWORD PTR [rbx], rax
	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	lookup_fundamental_type, .-lookup_fundamental_type
	.comm	n_types,4,4
	.comm	FT_NUM_MEMBERS,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_gdbtypes.c_lookup_fundamental_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"internal error - invalid fundamental type id %d\000"
	.text
	.align	2
	.global	lookup_fundamental_type
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_fundamental_type, %function
lookup_fundamental_type:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r1, #0
	mov	r5, r0
	blt	.L2
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r3, r4
	ble	.L2
	ldr	r6, [r5]
	cmp	r6, #0
	beq	.L8
.L4:
	ldr	r0, [r6, r4, lsl #2]
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	mov	r1, r4
	bl	create_fundamental_type
	str	r0, [r6, r4, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, r4
	ldr	r0, .L9+4
	bl	error
	ldr	r6, [r5]
	cmp	r6, #0
	bne	.L4
.L8:
	ldr	r8, .L9
	add	r0, r5, #4
	ldr	r7, [r8]
	lsl	r7, r7, #2
	mov	r1, r7
	bl	obstack_alloc
	mov	r1, r6
	mov	r2, r7
	str	r0, [r5]
	bl	memset
	ldr	r3, .L9+8
	ldr	r2, [r8]
	ldr	r1, [r3]
	mov	r0, r5
	add	r1, r1, r2
	str	r1, [r3]
	bl	OBJSTAT
	ldr	r6, [r5]
	b	.L4
.L10:
	.align	2
.L9:
	.word	FT_NUM_MEMBERS
	.word	.LC0
	.word	n_types
	.size	lookup_fundamental_type, .-lookup_fundamental_type
	.comm	n_types,4,4
	.comm	FT_NUM_MEMBERS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
