	.file	"extr_readelf.c_dump_mips_abiflags.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"elf_rawdata failed: %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"invalid MIPS abiflags section size"
	.section	.rodata.str1.1
.LC2:
	.string	"MIPS ABI Flags Version: %u"
.LC3:
	.string	" (unknown)\n"
.LC4:
	.string	"\n"
.LC5:
	.string	"ISA: "
.LC6:
	.string	"MIPS%u\n"
.LC7:
	.string	"MIPS%ur%u\n"
.LC8:
	.string	"GPR size: %d\n"
.LC9:
	.string	"CPR1 size: %d\n"
.LC10:
	.string	"CPR2 size: %d\n"
.LC11:
	.string	"FP ABI: "
.LC12:
	.string	"Soft float"
.LC13:
	.string	"%u"
.LC14:
	.string	"\nISA Extension: %u\n"
.LC15:
	.string	"ASEs: %u\n"
.LC16:
	.string	"FLAGS 1: %08x\n"
.LC17:
	.string	"FLAGS 2: %08x\n"
	.text
	.p2align 4
	.type	dump_mips_abiflags, @function
dump_mips_abiflags:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r8, rsi
	xor	esi, esi
	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
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR [r8]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	elf_rawdata@PLT
	test	rax, rax
	je	.L17
	cmp	DWORD PTR [rax], 24
	jne	.L18
	mov	rax, QWORD PTR 8[rax]
	lea	rbp, 32[rsp]
	mov	esi, 2
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], rax
	call	[QWORD PTR [rbx]]
	lea	rdi, .LC2[rip]
	mov	r12d, eax
	mov	esi, eax
	xor	eax, eax
	call	printf@PLT
	test	r12d, r12d
	jne	.L19
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rdi, rbp
	mov	esi, 1
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 1
	mov	DWORD PTR 28[rsp], eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 1
	mov	DWORD PTR 24[rsp], eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 1
	mov	r15d, eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 1
	mov	r14d, eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 1
	mov	r13d, eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 4
	mov	r12d, eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 4
	mov	DWORD PTR 12[rsp], eax
	call	[QWORD PTR [rbx]]
	mov	rdi, rbp
	mov	esi, 4
	mov	DWORD PTR 16[rsp], eax
	call	[QWORD PTR [rbx]]
	mov	esi, 4
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], eax
	call	[QWORD PTR [rbx]]
	lea	rdi, .LC5[rip]
	mov	ebp, eax
	xor	eax, eax
	call	printf@PLT
	mov	edx, DWORD PTR 24[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	cmp	edx, 1
	mov	esi, r8d
	jle	.L20
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	printf@PLT
.L7:
	mov	edi, r15d
	call	get_mips_register_size@PLT
	lea	rdi, .LC8[rip]
	mov	esi, eax
	xor	eax, eax
	call	printf@PLT
	mov	edi, r14d
	call	get_mips_register_size@PLT
	lea	rdi, .LC9[rip]
	mov	esi, eax
	xor	eax, eax
	call	printf@PLT
	mov	edi, r13d
	call	get_mips_register_size@PLT
	lea	rdi, .LC10[rip]
	mov	esi, eax
	xor	eax, eax
	call	printf@PLT
	xor	eax, eax
	lea	rdi, .LC11[rip]
	call	printf@PLT
	cmp	r12d, 3
	je	.L21
	mov	esi, r12d
	lea	rdi, .LC13[rip]
	xor	eax, eax
	call	printf@PLT
.L9:
	mov	esi, DWORD PTR 12[rsp]
	lea	rdi, .LC14[rip]
	xor	eax, eax
	call	printf@PLT
	mov	esi, DWORD PTR 16[rsp]
	lea	rdi, .LC15[rip]
	xor	eax, eax
	call	printf@PLT
	mov	esi, DWORD PTR 20[rsp]
	lea	rdi, .LC16[rip]
	xor	eax, eax
	call	printf@PLT
	mov	esi, ebp
	lea	rdi, .LC17[rip]
	xor	eax, eax
	call	printf@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L19:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	warnx@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rdi, .LC12[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	call	elf_errno@PLT
	test	eax, eax
	je	.L1
	mov	edi, eax
	call	elf_errmsg@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	warnx@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dump_mips_abiflags, .-dump_mips_abiflags
	.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_readelf.c_dump_mips_abiflags.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"elf_rawdata failed: %s\000"
	.align	2
.LC1:
	.ascii	"invalid MIPS abiflags section size\000"
	.align	2
.LC2:
	.ascii	"MIPS ABI Flags Version: %u\000"
	.align	2
.LC3:
	.ascii	" (unknown)\012\000"
	.align	2
.LC4:
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"ISA: \000"
	.align	2
.LC6:
	.ascii	"MIPS%u\012\000"
	.align	2
.LC7:
	.ascii	"MIPS%ur%u\012\000"
	.align	2
.LC8:
	.ascii	"GPR size: %d\012\000"
	.align	2
.LC9:
	.ascii	"CPR1 size: %d\012\000"
	.align	2
.LC10:
	.ascii	"CPR2 size: %d\012\000"
	.align	2
.LC11:
	.ascii	"FP ABI: \000"
	.align	2
.LC12:
	.ascii	"Soft float\000"
	.align	2
.LC13:
	.ascii	"%u\000"
	.align	2
.LC14:
	.ascii	"\012ISA Extension: %u\012\000"
	.align	2
.LC15:
	.ascii	"ASEs: %u\012\000"
	.align	2
.LC16:
	.ascii	"FLAGS 1: %08x\012\000"
	.align	2
.LC17:
	.ascii	"FLAGS 2: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_mips_abiflags, %function
dump_mips_abiflags:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r0, [r3]
	ldr	r3, .L23
	sub	sp, sp, #20
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	elf_rawdata
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r0]
	cmp	r3, #24
	bne	.L18
	ldr	r3, [r0, #4]
	mov	r1, #2
	str	r3, [sp, #8]
	add	r0, sp, #8
	ldr	r3, [r4]
	blx	r3
	mov	r5, r0
	ldr	r0, .L23+4
	mov	r1, r5
	bl	printf
	cmp	r5, #0
	bne	.L19
	ldr	r0, .L23+8
	bl	puts
	ldr	r3, [r4]
	mov	r1, #1
	add	r0, sp, #8
	blx	r3
	mov	r3, r0
	ldr	r2, [r4]
	mov	r1, #1
	add	r0, sp, #8
	str	r3, [sp, #4]
	blx	r2
	mov	r2, r0
	ldr	r5, [r4]
	mov	r1, #1
	add	r0, sp, #8
	str	r2, [sp]
	blx	r5
	ldr	r5, [r4]
	mov	r1, #1
	mov	r10, r0
	add	r0, sp, #8
	blx	r5
	ldr	r5, [r4]
	mov	r1, #1
	mov	r9, r0
	add	r0, sp, #8
	blx	r5
	ldr	r5, [r4]
	mov	r1, #1
	mov	r8, r0
	add	r0, sp, #8
	blx	r5
	ldr	r6, [r4]
	mov	r1, #4
	mov	r5, r0
	add	r0, sp, #8
	blx	r6
	ldr	r6, [r4]
	mov	r1, #4
	mov	r7, r0
	add	r0, sp, #8
	blx	r6
	ldr	fp, [r4]
	mov	r1, #4
	mov	r6, r0
	add	r0, sp, #8
	blx	fp
	mov	r1, #4
	ldr	r4, [r4]
	mov	fp, r0
	add	r0, sp, #8
	blx	r4
	mov	r4, r0
	ldr	r0, .L23+12
	bl	printf
	ldr	r2, [sp]
	ldr	r3, [sp, #4]
	cmp	r2, #1
	mov	r1, r3
	ble	.L20
	ldr	r0, .L23+16
	bl	printf
.L7:
	mov	r0, r10
	bl	get_mips_register_size
	mov	r1, r0
	ldr	r0, .L23+20
	bl	printf
	mov	r0, r9
	bl	get_mips_register_size
	mov	r1, r0
	ldr	r0, .L23+24
	bl	printf
	mov	r0, r8
	bl	get_mips_register_size
	mov	r1, r0
	ldr	r0, .L23+28
	bl	printf
	ldr	r0, .L23+32
	bl	printf
	cmp	r5, #3
	beq	.L21
	mov	r1, r5
	ldr	r0, .L23+36
	bl	printf
.L9:
	mov	r1, r7
	ldr	r0, .L23+40
	bl	printf
	mov	r1, r6
	ldr	r0, .L23+44
	bl	printf
	mov	r1, fp
	ldr	r0, .L23+48
	bl	printf
	mov	r1, r4
	ldr	r0, .L23+52
	bl	printf
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r0, .L23+56
	bl	puts
	b	.L1
.L18:
	ldr	r0, .L23+60
	bl	warnx
	b	.L1
.L20:
	ldr	r0, .L23+64
	bl	printf
	b	.L7
.L21:
	ldr	r0, .L23+68
	bl	printf
	b	.L9
.L17:
	bl	elf_errno
	cmp	r0, #0
	beq	.L1
	bl	elf_errmsg
	mov	r1, r0
	ldr	r0, .L23+72
	bl	warnx
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC18
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC3
	.word	.LC1
	.word	.LC6
	.word	.LC12
	.word	.LC0
	.size	dump_mips_abiflags, .-dump_mips_abiflags
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
