	.file	"extr_ni_pcimio.c_init_6143.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_6143, @function
init_6143:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR NISTC_INT_CTRL_REG[rip]
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rdi]
	mov	r12, QWORD PTR 8[rdi]
	call	ni_stc_writew@PLT
	mov	edx, DWORD PTR NI6143_MAGIC_REG[rip]
	mov	rdi, rbp
	xor	esi, esi
	call	ni_writeb@PLT
	mov	edx, DWORD PTR NI6143_PIPELINE_DELAY_REG[rip]
	mov	rdi, rbp
	mov	esi, 128
	call	ni_writeb@PLT
	mov	edx, DWORD PTR NI6143_EOC_SET_REG[rip]
	mov	rdi, rbp
	xor	esi, esi
	call	ni_writeb@PLT
	mov	eax, DWORD PTR [r12]
	mov	edx, DWORD PTR NI6143_AI_FIFO_FLAG_REG[rip]
	mov	rdi, rbp
	mov	esi, eax
	shr	esi, 31
	add	esi, eax
	sar	esi
	call	ni_writel@PLT
	mov	edx, DWORD PTR NI6143_CALIB_CHAN_REG[rip]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], 0
	or	esi, DWORD PTR NI6143_CALIB_CHAN_RELAY_OFF[rip]
	call	ni_writew@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edx, DWORD PTR NI6143_CALIB_CHAN_REG[rip]
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ni_writew@PLT
	.cfi_endproc
.LFE0:
	.size	init_6143, .-init_6143
	.comm	NISTC_INT_CTRL_REG,4,4
	.comm	NI6143_PIPELINE_DELAY_REG,4,4
	.comm	NI6143_MAGIC_REG,4,4
	.comm	NI6143_EOC_SET_REG,4,4
	.comm	NI6143_CALIB_CHAN_RELAY_OFF,4,4
	.comm	NI6143_CALIB_CHAN_REG,4,4
	.comm	NI6143_AI_FIFO_FLAG_REG,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_pcimio.c_init_6143.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_6143, %function
init_6143:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r5, r6}
	mov	r4, r0
	ldr	r3, .L4
	mov	r1, #0
	ldr	r2, [r3]
	bl	ni_stc_writew
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r2, [r3]
	mov	r1, #0
	bl	ni_writeb
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r2, [r3]
	mov	r1, #128
	bl	ni_writeb
	ldr	r3, .L4+12
	mov	r0, r4
	ldr	r2, [r3]
	mov	r1, #0
	bl	ni_writeb
	ldr	r1, [r6]
	ldr	r3, .L4+16
	add	r1, r1, r1, lsr #31
	ldr	r2, [r3]
	mov	r0, r4
	asr	r1, r1, #1
	bl	ni_writel
	mov	r2, #0
	ldr	r3, .L4+20
	ldr	r1, [r5]
	ldr	r6, .L4+24
	ldr	r3, [r3]
	str	r2, [r5, #4]
	mov	r0, r4
	ldr	r2, [r6]
	orr	r1, r1, r3
	bl	ni_writew
	mov	r0, r4
	ldr	r1, [r5]
	ldr	r2, [r6]
	pop	{r4, r5, r6, lr}
	b	ni_writew
.L5:
	.align	2
.L4:
	.word	NISTC_INT_CTRL_REG
	.word	NI6143_MAGIC_REG
	.word	NI6143_PIPELINE_DELAY_REG
	.word	NI6143_EOC_SET_REG
	.word	NI6143_AI_FIFO_FLAG_REG
	.word	NI6143_CALIB_CHAN_RELAY_OFF
	.word	NI6143_CALIB_CHAN_REG
	.size	init_6143, .-init_6143
	.comm	NISTC_INT_CTRL_REG,4,4
	.comm	NI6143_PIPELINE_DELAY_REG,4,4
	.comm	NI6143_MAGIC_REG,4,4
	.comm	NI6143_EOC_SET_REG,4,4
	.comm	NI6143_CALIB_CHAN_RELAY_OFF,4,4
	.comm	NI6143_CALIB_CHAN_REG,4,4
	.comm	NI6143_AI_FIFO_FLAG_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
