	.file	"extr_nios2-dis.c_print_insn_nios2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	print_insn_nios2, @function
print_insn_nios2:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	mov	r13d, edi
	push	r12
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -48
	mov	ebx, edx
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR INSNLEN[rip]
	mov	rcx, rsp
	mov	r8, rax
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L15:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L15
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L16
.L4:
	mov	r14, rsp
	mov	rcx, r12
	mov	edx, r8d
	mov	edi, r13d
	mov	rsi, r14
	call	[QWORD PTR [r12]]
	test	eax, eax
	jne	.L5
	cmp	DWORD PTR BFD_ENDIAN_BIG[rip], ebx
	mov	rdi, r14
	je	.L17
	call	bfd_getl32@PLT
	mov	rsi, rax
.L7:
	mov	rdx, r12
	mov	edi, r13d
	call	nios2_disassemble@PLT
.L1:
	mov	rbx, QWORD PTR -40[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	call	bfd_getb32@PLT
	mov	rsi, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L5:
	mov	rdx, r12
	mov	esi, r13d
	mov	edi, eax
	call	[QWORD PTR 8[r12]]
	mov	eax, -1
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_insn_nios2, .-print_insn_nios2
	.comm	INSNLEN,4,4
	.comm	BFD_ENDIAN_BIG,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_nios2-dis.c_print_insn_nios2.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_insn_nios2, %function
print_insn_nios2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12
	ldr	ip, .L11
	mov	r4, r1
	ldr	ip, [ip]
	mov	r8, r2
	lsl	r3, ip, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r7, sp
	mov	r2, ip
	ldr	ip, .L11+4
	mov	r1, r7
	mov	r3, r4
	ldr	r6, [r4]
	ldr	ip, [ip]
	str	ip, [fp, #-32]
	mov	ip,#0
	mov	r5, r0
	blx	r6
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L11+8
	mov	r0, r7
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L9
	bl	bfd_getl32
	mov	r1, r0
.L4:
	mov	r2, r4
	mov	r0, r5
	bl	nios2_disassemble
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L9:
	bl	bfd_getb32
	mov	r1, r0
	b	.L4
.L2:
	mov	r1, r5
	mov	r2, r4
	ldr	r3, [r4, #4]
	blx	r3
	mvn	r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	INSNLEN
	.word	.LC0
	.word	BFD_ENDIAN_BIG
	.size	print_insn_nios2, .-print_insn_nios2
	.comm	INSNLEN,4,4
	.comm	BFD_ENDIAN_BIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
