	.file	"extr_mISDNisar.c_ISARVersion.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ISARVersion, @function
ISARVersion:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	xor	edx, edx
	mov	edi, DWORD PTR 20[rdi]
	mov	esi, DWORD PTR ISAR_IRQBIT[rip]
	call	[QWORD PTR 24[rbx]]
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR ISAR_MSG_HWVER[rip]
	xor	r8d, r8d
	movabs	rcx, 4294967296
	mov	rdi, rbx
	mov	DWORD PTR [rax], edx
	mov	esi, DWORD PTR ISAR_HIS_VNR[rip]
	xor	edx, edx
	mov	QWORD PTR 4[rax], rcx
	mov	ecx, 3
	call	send_mbox@PLT
	test	eax, eax
	je	.L3
	mov	esi, 1000
	mov	rdi, rbx
	call	poll_mbox@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR ISAR_IIS_VNR[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L5
	cmp	DWORD PTR 16[rbx], 1
	jne	.L6
	mov	rax, QWORD PTR [rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, DWORD PTR [rax]
	and	eax, 15
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, -4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, -3
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, -1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, -2
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ISARVersion, .-ISARVersion
	.comm	ISAR_MSG_HWVER,4,4
	.comm	ISAR_IRQBIT,4,4
	.comm	ISAR_IIS_VNR,8,8
	.comm	ISAR_HIS_VNR,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_mISDNisar.c_ISARVersion.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ISARVersion, %function
ISARVersion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r2, .L9
	mov	r4, r0
	ldr	r3, [r0, #16]
	ldr	r1, [r2]
	sub	sp, sp, #8
	mov	r2, #0
	ldr	r0, [r0, #12]
	blx	r3
	mov	r2, #0
	mov	r0, #1
	ldr	r1, .L9+4
	ldr	r3, [r4]
	ldr	ip, [r1]
	ldr	r1, .L9+8
	str	ip, [r3]
	str	r0, [r3, #8]
	str	r2, [r3, #4]
	str	r2, [sp]
	mov	r0, r4
	mov	r3, #3
	ldr	r1, [r1]
	bl	send_mbox
	cmp	r0, #0
	beq	.L3
	mov	r1, #1000
	mov	r0, r4
	bl	poll_mbox
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L9+12
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r3, [r4, #8]
	cmp	r3, #1
	bne	.L6
	ldr	r3, [r4]
	ldr	r0, [r3]
	and	r0, r0, #15
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L5:
	mvn	r0, #3
	b	.L1
.L6:
	mvn	r0, #2
	b	.L1
.L3:
	mvn	r0, #0
	b	.L1
.L4:
	mvn	r0, #1
	b	.L1
.L10:
	.align	2
.L9:
	.word	ISAR_IRQBIT
	.word	ISAR_MSG_HWVER
	.word	ISAR_HIS_VNR
	.word	ISAR_IIS_VNR
	.size	ISARVersion, .-ISARVersion
	.comm	ISAR_MSG_HWVER,4,4
	.comm	ISAR_IRQBIT,4,4
	.comm	ISAR_IIS_VNR,4,4
	.comm	ISAR_HIS_VNR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
