	.file	"extr_module_64.c_get_stubs_size.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Found relocations in section %u\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Ptr: %p.  Number: %lu\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Looks like a total of %lu stubs, max\n"
	.text
	.p2align 4
	.type	get_stubs_size, @function
get_stubs_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	DWORD PTR [rdi], 1
	jbe	.L5
	mov	r12, rdi
	mov	r13, rsi
	mov	ebx, 1
	mov	r14d, 1
	lea	r15, .LC0[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebx, 1
	cmp	DWORD PTR [r12], ebx
	jbe	.L9
.L4:
	mov	esi, ebx
	lea	rax, [rsi+rsi*2]
	lea	rbp, 0[r13+rax*8]
	mov	rax, QWORD PTR SHT_RELA[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L3
	mov	rdi, r15
	xor	eax, eax
	add	ebx, 1
	call	DEBUGP@PLT
	movsx	rdx, DWORD PTR 8[rbp]
	mov	rsi, QWORD PTR 16[rbp]
	xor	eax, eax
	lea	rdi, .LC1[rip]
	shr	rdx, 2
	call	DEBUGP@PLT
	movsx	rsi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, 4
	mov	r8d, DWORD PTR relaswap[rip]
	mov	ecx, DWORD PTR relacmp[rip]
	shr	rsi, 2
	call	sort@PLT
	movsx	rsi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	shr	rsi, 2
	call	count_relocs@PLT
	add	r14, rax
	cmp	DWORD PTR [r12], ebx
	ja	.L4
.L9:
	lea	r12, 0[0+r14*4]
.L2:
	mov	rsi, r14
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	DEBUGP@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	r12d, 4
	mov	r14d, 1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	get_stubs_size, .-get_stubs_size
	.comm	relaswap,4,4
	.comm	relacmp,4,4
	.comm	SHT_RELA,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_module_64.c_get_stubs_size.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Found relocations in section %u\012\000"
	.align	2
.LC1:
	.ascii	"Ptr: %p.  Number: %lu\012\000"
	.align	2
.LC2:
	.ascii	"Looks like a total of %lu stubs, max\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_stubs_size, %function
get_stubs_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, [r0]
	sub	sp, sp, #12
	cmp	ip, #1
	bls	.L5
	mov	r5, #1
	mov	r8, r0
	mov	r4, r1
	mov	r7, r5
	ldr	r6, .L10
	ldr	fp, .L10+4
	ldr	r10, .L10+8
	ldr	r9, .L10+12
	b	.L4
.L3:
	add	r5, r5, #1
	cmp	ip, r5
	add	r4, r4, #12
	bls	.L9
.L4:
	ldr	r2, [r4, #12]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L3
	mov	r1, r5
	mov	r0, fp
	bl	DEBUGP
	ldr	r2, [r4, #16]
	ldr	r1, [r4, #20]
	lsr	r2, r2, #2
	mov	r0, r10
	bl	DEBUGP
	ldr	r3, [r9]
	ldr	r1, [r4, #16]
	ldr	r0, [r4, #20]
	str	r3, [sp]
	ldr	r3, .L10+16
	mov	r2, #4
	ldr	r3, [r3]
	lsr	r1, r1, #2
	bl	sort
	ldr	r1, [r4, #16]
	ldr	r0, [r4, #20]
	lsr	r1, r1, #2
	bl	count_relocs
	ldr	ip, [r8]
	add	r5, r5, #1
	cmp	ip, r5
	add	r7, r7, r0
	add	r4, r4, #12
	bhi	.L4
.L9:
	lsl	r4, r7, #2
.L2:
	mov	r1, r7
	ldr	r0, .L10+20
	bl	DEBUGP
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r4, #4
	mov	r7, #1
	b	.L2
.L11:
	.align	2
.L10:
	.word	SHT_RELA
	.word	.LC0
	.word	.LC1
	.word	relaswap
	.word	relacmp
	.word	.LC2
	.size	get_stubs_size, .-get_stubs_size
	.comm	relaswap,4,4
	.comm	relacmp,4,4
	.comm	SHT_RELA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
