	.file	"extr_addi-dataAPCI1710_Pwm.c_i_APCI1710_InsnReadGetPWMStatus.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PWM not enabled \n"
.LC1:
	.string	"PWM not initialised\n"
.LC2:
	.string	"Tor PWM selection is wrong\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"The module is not a PWM module\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Module number error\n"
	.text
	.p2align 4
	.globl	i_APCI1710_InsnReadGetPWMStatus
	.type	i_APCI1710_InsnReadGetPWMStatus, @function
i_APCI1710_InsnReadGetPWMStatus:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdx]
	mov	r12d, DWORD PTR [rdx]
	call	CR_AREF@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	rbp, rax
	call	CR_CHAN@PLT
	cmp	bpl, 3
	ja	.L2
	mov	rcx, QWORD PTR devpriv[rip]
	movzx	edx, bpl
	mov	rsi, QWORD PTR [rcx]
	movsx	rdx, DWORD PTR [rsi+rdx*4]
	movsx	rsi, DWORD PTR APCI1710_PWM[rip]
	and	edx, 4294901760
	cmp	rdx, rsi
	jne	.L3
	cmp	al, 1
	ja	.L4
	movzx	eax, al
	sal	rbp, 6
	lea	eax, [rax+rax*4]
	and	ebp, 16320
	sal	eax, 2
	cdqe
	add	rax, QWORD PTR 8[rcx]
	lea	rdi, 12[rax+rbp]
	call	inl@PLT
	test	al, 16
	je	.L5
	test	al, 1
	je	.L6
	mov	edx, eax
	shr	eax, 6
	shr	dl, 7
	and	eax, 1
	mov	BYTE PTR [rbx], dl
	mov	BYTE PTR 4[rbx], al
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	mov	r12d, -4
	call	DPRINTK@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdi, .LC3[rip]
	mov	r12d, -3
	call	DPRINTK@PLT
	jmp	.L1
.L2:
	lea	rdi, .LC4[rip]
	mov	r12d, -2
	call	DPRINTK@PLT
	jmp	.L1
.L5:
	lea	rdi, .LC1[rip]
	mov	r12d, -5
	call	DPRINTK@PLT
	jmp	.L1
.L6:
	lea	rdi, .LC0[rip]
	mov	r12d, -6
	call	DPRINTK@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	i_APCI1710_InsnReadGetPWMStatus, .-i_APCI1710_InsnReadGetPWMStatus
	.comm	devpriv,8,8
	.comm	APCI1710_PWM,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_Pwm.c_i_APCI1710_InsnReadGetPWMStatus.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PWM not enabled \012\000"
	.align	2
.LC1:
	.ascii	"PWM not initialised\012\000"
	.align	2
.LC2:
	.ascii	"Tor PWM selection is wrong\012\000"
	.align	2
.LC3:
	.ascii	"The module is not a PWM module\012\000"
	.align	2
.LC4:
	.ascii	"Module number error\012\000"
	.text
	.align	2
	.global	i_APCI1710_InsnReadGetPWMStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	i_APCI1710_InsnReadGetPWMStatus, %function
i_APCI1710_InsnReadGetPWMStatus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r2, #4]
	mov	r6, r2
	mov	r4, r3
	ldr	r5, [r2]
	bl	CR_AREF
	mov	r7, r0
	ldr	r0, [r6, #4]
	and	r7, r7, #255
	bl	CR_CHAN
	cmp	r7, #3
	bhi	.L2
	ldr	r1, .L10
	ldr	r3, .L10+4
	ldr	r1, [r1]
	ldr	ip, [r3]
	ldr	r3, [r1]
	ldr	r3, [r3, r7, lsl #2]
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	cmp	r3, ip
	bne	.L3
	and	r0, r0, #255
	cmp	r0, #1
	bhi	.L4
	ldr	r3, [r1, #4]
	add	r0, r0, r0, lsl #2
	add	r3, r3, #12
	add	r0, r3, r0, lsl #2
	add	r0, r0, r7, lsl #6
	bl	inl
	tst	r0, #16
	beq	.L5
	tst	r0, #1
	beq	.L6
	lsr	r3, r0, #7
	lsr	r0, r0, #6
	and	r3, r3, #1
	and	r0, r0, #1
	strb	r3, [r4]
	strb	r0, [r4, #4]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r0, .L10+8
	bl	DPRINTK
	mvn	r5, #3
	b	.L1
.L3:
	ldr	r0, .L10+12
	bl	DPRINTK
	mvn	r5, #2
	b	.L1
.L2:
	ldr	r0, .L10+16
	bl	DPRINTK
	mvn	r5, #1
	b	.L1
.L5:
	ldr	r0, .L10+20
	bl	DPRINTK
	mvn	r5, #4
	b	.L1
.L6:
	ldr	r0, .L10+24
	bl	DPRINTK
	mvn	r5, #5
	b	.L1
.L11:
	.align	2
.L10:
	.word	devpriv
	.word	APCI1710_PWM
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC1
	.word	.LC0
	.size	i_APCI1710_InsnReadGetPWMStatus, .-i_APCI1710_InsnReadGetPWMStatus
	.comm	devpriv,4,4
	.comm	APCI1710_PWM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
