	.file	"extr_ctf_types.c_ctf_type_reference.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ctf_type_reference
	.type	ctf_type_reference, @function
ctf_type_reference:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	QWORD PTR 8[rsp], rdi
	lea	rdi, 8[rsp]
	call	ctf_lookup_by_id@PLT
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR 4[rax]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rbx, rax
	call	LCTF_INFO_KIND@PLT
	add	eax, -128
	cmp	eax, 4
	ja	.L4
	mov	eax, DWORD PTR [rbx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR ECTF_NOTREF[rip]
	mov	rdi, rbp
	call	ctf_set_errno@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR CTF_ERR[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ctf_type_reference, .-ctf_type_reference
	.comm	ECTF_NOTREF,4,4
	.comm	CTF_ERR,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_ctf_types.c_ctf_type_reference.c"
	.text
	.align	2
	.global	ctf_type_reference
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctf_type_reference, %function
ctf_type_reference:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	str	r0, [sp, #4]
	mov	r5, r0
	add	r0, sp, #4
	bl	ctf_lookup_by_id
	subs	r4, r0, #0
	beq	.L7
	ldr	r1, [r4, #4]
	ldr	r0, [sp, #4]
	bl	LCTF_INFO_KIND
	sub	r0, r0, #128
	cmp	r0, #4
	bhi	.L4
	ldr	r0, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	ldr	r3, .L8
	mov	r0, r5
	ldr	r1, [r3]
	bl	ctf_set_errno
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	.align	2
.L8:
	.word	ECTF_NOTREF
	.word	CTF_ERR
	.size	ctf_type_reference, .-ctf_type_reference
	.comm	ECTF_NOTREF,4,4
	.comm	CTF_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
