	.file	"extr_addi-dataAPCI1710_Chrono.c_i_APCI1710_InsnReadChrono.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"In Chrono Read Interrupt\n"
.LC1:
	.string	"ReadType Parameter wrong\n"
	.text
	.p2align 4
	.globl	i_APCI1710_InsnReadChrono
	.type	i_APCI1710_InsnReadChrono, @function
i_APCI1710_InsnReadChrono:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 16[rdx]
	mov	r13d, DWORD PTR [rdx]
	call	CR_CHAN@PLT
	cmp	al, -126
	je	.L2
	ja	.L3
	cmp	al, -128
	je	.L4
	cmp	al, -127
	jne	.L6
	lea	rdi, .LC0[rip]
	call	printk@PLT
	mov	rcx, QWORD PTR devpriv[rip]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	lea	rsi, [rax+rax*2]
	add	rax, 1
	lea	rdx, [rdx+rsi*4]
	mov	esi, DWORD PTR [rdx]
	mov	DWORD PTR [r12], esi
	mov	esi, DWORD PTR 4[rdx]
	mov	DWORD PTR 4[r12], esi
	mov	edx, DWORD PTR 8[rdx]
	movsx	rsi, DWORD PTR APCI1710_SAVE_INTERRUPT[rip]
	mov	DWORD PTR 8[r12], edx
	xor	edx, edx
	div	rsi
	mov	QWORD PTR [rcx], rdx
.L8:
	test	r13d, r13d
	js	.L1
	mov	r13d, DWORD PTR [rbx]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	al, -125
	jne	.L6
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	r13, QWORD PTR [rax]
	call	CR_AREF@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rcx, r12
	mov	rdi, rbp
	movzx	esi, al
	lea	rax, 20[r12]
	lea	r9, 8[r12]
	mov	edx, r13d
	push	rax
	.cfi_def_cfa_offset 64
	lea	rax, 16[r12]
	lea	r8, 4[r12]
	push	rax
	.cfi_def_cfa_offset 72
	lea	rax, 12[r12]
	push	rax
	.cfi_def_cfa_offset 80
	call	i_APCI1710_ConvertChronoValue@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	mov	r13d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 16[rbx]
	call	CR_AREF@PLT
	mov	rdx, r12
	mov	rdi, rbp
	movzx	esi, al
	call	i_APCI1710_GetChronoProgressStatus@PLT
	mov	r13d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	r13, QWORD PTR [rax]
	call	CR_AREF@PLT
	lea	r8, 4[r12]
	mov	rcx, r12
	mov	rdi, rbp
	mov	edx, r13d
	movzx	esi, al
	call	i_APCI1710_ReadChronoValue@PLT
	mov	r13d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, .LC1[rip]
	call	printk@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	i_APCI1710_InsnReadChrono, .-i_APCI1710_InsnReadChrono
	.comm	devpriv,8,8
	.comm	APCI1710_SAVE_INTERRUPT,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_addi-dataAPCI1710_Chrono.c_i_APCI1710_InsnReadChrono.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"In Chrono Read Interrupt\012\000"
	.global	__aeabi_uidivmod
	.align	2
.LC1:
	.ascii	"ReadType Parameter wrong\012\000"
	.text
	.align	2
	.global	i_APCI1710_InsnReadChrono
	.syntax unified
	.arm
	.fpu softvfp
	.type	i_APCI1710_InsnReadChrono, %function
i_APCI1710_InsnReadChrono:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r0
	sub	sp, sp, #28
	ldr	r0, [r2, #8]
	mov	r5, r3
	mov	r4, r2
	ldr	r6, [r2]
	bl	CR_CHAN
	sub	r3, r0, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r0, [r4, #8]
	bl	CR_AREF
	ldr	r2, [r4, #4]
	add	r3, r5, #20
	ldr	r2, [r2]
	add	ip, r5, #16
	str	r3, [sp, #16]
	add	r3, r5, #12
	str	ip, [sp, #12]
	str	r3, [sp, #8]
	add	ip, r5, #8
	add	r3, r5, #4
	stm	sp, {r3, ip}
	and	r1, r0, #255
	mov	r3, r5
	mov	r0, r7
	bl	i_APCI1710_ConvertChronoValue
	mov	r6, r0
.L8:
	cmp	r6, #0
	ldrge	r6, [r4]
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r0, [r4, #8]
	bl	CR_AREF
	ldr	r2, [r4, #4]
	add	r3, r5, #4
	ldr	r2, [r2]
	and	r1, r0, #255
	str	r3, [sp]
	mov	r0, r7
	mov	r3, r5
	bl	i_APCI1710_ReadChronoValue
	mov	r6, r0
	b	.L8
.L6:
	ldr	r0, .L12
	bl	printk
	ldr	r3, .L12+4
	ldr	r1, .L12+8
	ldr	r7, [r3]
	ldm	r7, {r0, r3}
	add	r2, r0, r0, lsl #1
	ldr	ip, [r3, r2, lsl #2]
	add	r3, r3, r2, lsl #2
	str	ip, [r5]
	ldr	r2, [r3, #4]
	ldr	r1, [r1]
	str	r2, [r5, #4]
	ldr	r3, [r3, #8]
	add	r0, r0, #1
	str	r3, [r5, #8]
	bl	__aeabi_uidivmod
	str	r1, [r7]
	b	.L8
.L5:
	ldr	r0, [r4, #8]
	bl	CR_AREF
	mov	r2, r5
	and	r1, r0, #255
	mov	r0, r7
	bl	i_APCI1710_GetChronoProgressStatus
	mov	r6, r0
	b	.L8
.L2:
	ldr	r0, .L12+12
	bl	printk
	b	.L8
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	devpriv
	.word	APCI1710_SAVE_INTERRUPT
	.word	.LC1
	.size	i_APCI1710_InsnReadChrono, .-i_APCI1710_InsnReadChrono
	.comm	devpriv,4,4
	.comm	APCI1710_SAVE_INTERRUPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
