	.file	"extr_addi-dataAPCI1710_INCCPT.c_i_APCI1710_InitCompareLogic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Counter not initialised\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"The selected module number parameter is wrong\n"
	.text
	.p2align 4
	.globl	i_APCI1710_InitCompareLogic
	.type	i_APCI1710_InitCompareLogic, @function
i_APCI1710_InitCompareLogic:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	sil, 3
	ja	.L2
	mov	edi, edx
	mov	rdx, QWORD PTR devpriv[rip]
	movzx	eax, sil
	lea	rbx, 0[0+rax*8]
	mov	rcx, QWORD PTR [rdx]
	cmp	DWORD PTR [rcx+rax*8], 1
	jne	.L3
	mov	rax, QWORD PTR 8[rdx]
	sal	rsi, 6
	and	esi, 16320
	lea	rsi, 28[rax+rsi]
	call	outl@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 4[rax+rbx], 1
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	DPRINTK@PLT
	mov	eax, -3
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	DPRINTK@PLT
	mov	eax, -2
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	i_APCI1710_InitCompareLogic, .-i_APCI1710_InitCompareLogic
	.comm	devpriv,8,8
	.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_INCCPT.c_i_APCI1710_InitCompareLogic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Counter not initialised\012\000"
	.align	2
.LC1:
	.ascii	"The selected module number parameter is wrong\012\000"
	.text
	.align	2
	.global	i_APCI1710_InitCompareLogic
	.syntax unified
	.arm
	.fpu softvfp
	.type	i_APCI1710_InitCompareLogic, %function
i_APCI1710_InitCompareLogic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #3
	push	{r4, r5, r6, lr}
	bhi	.L2
	ldr	r5, .L7
	mov	r0, r2
	ldr	r2, [r5]
	lsl	r6, r1, #3
	ldr	r3, [r2]
	ldr	r4, [r3, r1, lsl #3]
	cmp	r4, #1
	bne	.L3
	ldr	r2, [r2, #4]
	add	r2, r2, #28
	add	r1, r2, r1, lsl #6
	bl	outl
	ldr	r3, [r5]
	mov	r0, #0
	ldr	r3, [r3]
	add	r3, r3, r6
	str	r4, [r3, #4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r0, .L7+4
	bl	DPRINTK
	mvn	r0, #2
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, .L7+8
	bl	DPRINTK
	mvn	r0, #1
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	devpriv
	.word	.LC0
	.word	.LC1
	.size	i_APCI1710_InitCompareLogic, .-i_APCI1710_InitCompareLogic
	.comm	devpriv,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
