	.file	"extr_ni_mio_common.c_get_last_sample_611x.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_last_sample_611x, @function
get_last_sample_611x:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ni_reg_611x[rip]
	cmp	QWORD PTR boardtype[rip], rax
	je	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	mov	edi, DWORD PTR XXX_Status[rip]
	movsx	rbx, DWORD PTR NI_AI_SUBDEV[rip]
	call	ni_readb@PLT
	test	al, -128
	jne	.L14
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR ADC_FIFO_Data_611x[rip]
	call	ni_readl@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, 0[rbp+rbx*4]
	movsx	esi, ax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	cfc_write_to_buffer@PLT
	.cfi_endproc
.LFE0:
	.size	get_last_sample_611x, .-get_last_sample_611x
	.comm	ni_reg_611x,8,8
	.comm	boardtype,8,8
	.comm	XXX_Status,4,4
	.comm	NI_AI_SUBDEV,4,4
	.comm	ADC_FIFO_Data_611x,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_get_last_sample_611x.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_last_sample_611x, %function
get_last_sample_611x:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	cmp	r1, r2
	bxne	lr
	mov	r3, r0
	ldr	r1, .L13+8
	ldr	r2, .L13+12
	push	{r4, r5, r6, lr}
	ldr	r0, [r1]
	ldr	r4, [r3]
	ldr	r5, [r2]
	bl	ni_readb
	tst	r0, #128
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L13+16
	ldr	r0, [r3]
	bl	ni_readl
	lsl	r1, r0, #16
	asr	r1, r1, #16
	add	r0, r4, r5, lsl #2
	pop	{r4, r5, r6, lr}
	b	cfc_write_to_buffer
.L14:
	.align	2
.L13:
	.word	boardtype
	.word	ni_reg_611x
	.word	XXX_Status
	.word	NI_AI_SUBDEV
	.word	ADC_FIFO_Data_611x
	.size	get_last_sample_611x, .-get_last_sample_611x
	.comm	ni_reg_611x,4,4
	.comm	boardtype,4,4
	.comm	XXX_Status,4,4
	.comm	NI_AI_SUBDEV,4,4
	.comm	ADC_FIFO_Data_611x,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
