	.file	"extr_ni_mio_common.c_ni_gpct_read_register.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ni_gpct_read_register, @function
ni_gpct_read_register:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rdi
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edi, esi
	mov	rax, QWORD PTR [r8]
	mov	rbp, QWORD PTR [rax]
	cmp	esi, 132
	ja	.L2
	cmp	esi, 130
	ja	.L3
	jne	.L8
	mov	edi, DWORD PTR M_Offset_G1_DMA_Status[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	ni_readw@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	esi, 133
	jne	.L5
	mov	edi, DWORD PTR M_Offset_G0_DMA_Status[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	ni_readw@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	esi, 127
	ja	.L3
.L5:
	call	ni_gpct_to_stc_register@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	esi, eax
	mov	rax, QWORD PTR devpriv[rip]
	mov	rax, QWORD PTR 8[rax]
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	ni_gpct_to_stc_register@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	esi, eax
	mov	rax, QWORD PTR devpriv[rip]
	mov	rax, QWORD PTR [rax]
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	ni_gpct_read_register, .-ni_gpct_read_register
	.comm	devpriv,8,8
	.comm	M_Offset_G1_DMA_Status,4,4
	.comm	M_Offset_G0_DMA_Status,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_ni_mio_common.c_ni_gpct_read_register.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ni_gpct_read_register, %function
ni_gpct_read_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	sub	r3, r1, #128
	push	{r4, lr}
	ldr	r4, [r2]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L5
	.word	.L5
	.word	.L6
	.word	.L5
	.word	.L5
	.word	.L3
.L5:
	mov	r0, r1
	bl	ni_gpct_to_stc_register
	ldr	r3, .L9
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r4
	pop	{r4, lr}
	ldr	r3, [r3]
	bx	r3
.L3:
	ldr	r3, .L9+4
	pop	{r4, lr}
	ldr	r0, [r3]
	b	ni_readw
.L6:
	ldr	r3, .L9+8
	pop	{r4, lr}
	ldr	r0, [r3]
	b	ni_readw
.L2:
	mov	r0, r1
	bl	ni_gpct_to_stc_register
	ldr	r3, .L9
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r4
	pop	{r4, lr}
	ldr	r3, [r3, #4]
	bx	r3
.L10:
	.align	2
.L9:
	.word	devpriv
	.word	M_Offset_G0_DMA_Status
	.word	M_Offset_G1_DMA_Status
	.size	ni_gpct_read_register, .-ni_gpct_read_register
	.comm	devpriv,4,4
	.comm	M_Offset_G1_DMA_Status,4,4
	.comm	M_Offset_G0_DMA_Status,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
