	.file	"extr_ctrl.c_nfp_abm_ctrl_find_rtsym.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Symbol '%s' not found\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Symbol '%s' wrong size: expected %u got %llu\n"
	.text
	.p2align 4
	.type	nfp_abm_ctrl_find_rtsym, @function
nfp_abm_ctrl_find_rtsym:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	call	nfp_rtsym_lookup@PLT
	test	rax, rax
	je	.L7
	mov	rdi, rax
	mov	r12, rax
	call	nfp_rtsym_size@PLT
	cmp	eax, r14d
	jne	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r12
	call	nfp_rtsym_size@PLT
	mov	edi, DWORD PTR [rbx]
	mov	ecx, r14d
	mov	rdx, r13
	mov	r8d, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	nfp_err@PLT
	mov	edi, DWORD PTR EINVAL[rip]
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	neg	edi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r13
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	nfp_err@PLT
	mov	edi, DWORD PTR ENOENT[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	nfp_abm_ctrl_find_rtsym, .-nfp_abm_ctrl_find_rtsym
	.comm	ENOENT,4,4
	.comm	EINVAL,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_ctrl.c_nfp_abm_ctrl_find_rtsym.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Symbol '%s' not found\012\000"
	.align	2
.LC1:
	.ascii	"Symbol '%s' wrong size: expected %u got %llu\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_abm_ctrl_find_rtsym, %function
nfp_abm_ctrl_find_rtsym:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #4]
	mov	r6, r2
	mov	r7, r1
	bl	nfp_rtsym_lookup
	subs	r4, r0, #0
	beq	.L7
	bl	nfp_rtsym_size
	cmp	r0, r6
	mov	r0, r4
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	ldr	r4, [r5]
	bl	nfp_rtsym_size
	mov	r3, r6
	str	r0, [sp]
	mov	r2, r7
	mov	r0, r4
	ldr	r1, .L9
	bl	nfp_err
	ldr	r3, .L9+4
.L5:
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ERR_PTR
.L7:
	mov	r2, r7
	ldr	r0, [r5]
	ldr	r1, .L9+8
	bl	nfp_err
	ldr	r3, .L9+12
	b	.L5
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	ENOENT
	.size	nfp_abm_ctrl_find_rtsym, .-nfp_abm_ctrl_find_rtsym
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
