	.file	"extr_ecard.c_resource_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%08x %08x %08lx\n"
	.text
	.p2align 4
	.type	resource_show, @function
resource_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	ECARD_DEV@PLT
	mov	edx, DWORD PTR ECARD_NUM_RESOURCES[rip]
	test	edx, edx
	jle	.L4
	mov	r14, rax
	mov	r13, r12
	lea	rbp, .LC0[rip]
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [r14]
	lea	rdx, [rbx+rbx*2]
	mov	rdi, r13
	mov	rsi, rbp
	add	rbx, 1
	lea	rax, [rax+rdx*4]
	mov	ecx, DWORD PTR 4[rax]
	mov	r8d, DWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	call	sprintf@PLT
	cdqe
	add	r13, rax
	cmp	DWORD PTR ECARD_NUM_RESOURCES[rip], ebx
	jg	.L3
	mov	eax, r13d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	sub	eax, r12d
	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
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.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
	.cfi_endproc
.LFE0:
	.size	resource_show, .-resource_show
	.comm	ECARD_NUM_RESOURCES,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_ecard.c_resource_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%08x %08x %08lx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	resource_show, %function
resource_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r7, .L8
	sub	sp, sp, #12
	mov	r8, r2
	bl	ECARD_DEV
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L4
	mov	r6, r0
	mov	r5, r8
	mov	r4, #0
	ldr	r9, .L8+4
.L3:
	ldr	r3, [r6]
	add	lr, r4, r4, lsl #1
	add	ip, r3, lr, lsl #2
	ldr	r1, [ip, #8]
	ldr	r2, [r3, lr, lsl #2]
	mov	r0, r5
	ldr	r3, [ip, #4]
	str	r1, [sp]
	mov	r1, r9
	bl	sprintf
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, r0
	bgt	.L3
	sub	r0, r5, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	.align	2
.L8:
	.word	ECARD_NUM_RESOURCES
	.word	.LC0
	.size	resource_show, .-resource_show
	.comm	ECARD_NUM_RESOURCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
