	.file	"extr_gdbtypes.c_lookup_template_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"<"
.LC1:
	.string	" >"
.LC2:
	.string	"No template type named %s."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"This context has class, union or enum %s, not a struct."
	.text
	.p2align 4
	.globl	lookup_template_type
	.type	lookup_template_type, @function
lookup_template_type:
.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	strlen@PLT
	mov	rdi, r13
	mov	rbx, rax
	call	TYPE_NAME@PLT
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rsp
	lea	rax, 27[rbx+rax]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	lea	r15, 15[rsp]
	mov	rsi, r12
	and	r15, -16
	mov	rdi, r15
	call	strcpy@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	call	strcat@PLT
	mov	rdi, r13
	call	TYPE_NAME@PLT
	mov	rdi, r15
	mov	rsi, rax
	call	strcat@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	call	strcat@PLT
	mov	edx, DWORD PTR VAR_DOMAIN[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rsi, r14
	mov	rdi, r15
	call	lookup_symbol@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L5
	mov	rsi, r12
	lea	rdi, .LC2[rip]
	call	error@PLT
.L5:
	mov	rdi, r13
	call	SYMBOL_TYPE@PLT
	mov	rdi, rax
	call	TYPE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_CODE_STRUCT[rip]
	je	.L6
	mov	rsi, r12
	lea	rdi, .LC3[rip]
	call	error@PLT
.L6:
	mov	rdi, r13
	call	SYMBOL_TYPE@PLT
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L15
	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
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lookup_template_type, .-lookup_template_type
	.comm	VAR_DOMAIN,4,4
	.comm	TYPE_CODE_STRUCT,8,8
	.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_template_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"<\000"
	.align	2
.LC1:
	.ascii	" >\000"
	.align	2
.LC2:
	.ascii	"No template type named %s.\000"
	.align	2
.LC3:
	.ascii	"This context has class, union or enum %s, not a str"
	.ascii	"uct.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lookup_template_type
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_template_type, %function
lookup_template_type:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r3, .L9
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r5, r1
	mov	r6, r0
	bl	strlen
	mov	r4, r0
	mov	r0, r5
	bl	TYPE_NAME
	bl	strlen
	add	r4, r4, r0
	add	r4, r4, #11
	bic	r4, r4, #7
	sub	sp, sp, r4
	add	r4, sp, #8
	mov	r1, r6
	mov	r0, r4
	bl	strcpy
	mov	r0, r4
	bl	strlen
	mov	r2, #2
	ldr	r1, .L9+4
	add	r0, r4, r0
	bl	memcpy
	mov	r0, r5
	bl	TYPE_NAME
	mov	r1, r0
	mov	r0, r4
	bl	strcat
	mov	r0, r4
	bl	strlen
	mov	r2, #3
	ldr	r1, .L9+8
	add	r0, r4, r0
	bl	memcpy
	mov	r3, #0
	ldr	r2, .L9+12
	str	r3, [sp]
	mov	r0, r4
	mov	r1, r7
	ldr	r2, [r2]
	bl	lookup_symbol
	subs	r4, r0, #0
	beq	.L7
.L2:
	mov	r0, r4
	bl	SYMBOL_TYPE
	bl	TYPE_CODE
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L3
	mov	r1, r6
	ldr	r0, .L9+20
	bl	error
.L3:
	mov	r0, r4
	bl	SYMBOL_TYPE
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L7:
	mov	r1, r6
	ldr	r0, .L9+24
	bl	error
	b	.L2
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	VAR_DOMAIN
	.word	TYPE_CODE_STRUCT
	.word	.LC3
	.word	.LC2
	.size	lookup_template_type, .-lookup_template_type
	.comm	VAR_DOMAIN,4,4
	.comm	TYPE_CODE_STRUCT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
