	.file	"extr_ni_mio_common.c_init_ao_67xx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_ao_67xx, @function
init_ao_67xx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	jle	.L2
	mov	r13, rsi
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	mov	r12d, DWORD PTR NI67XX_AO_CFG2_REG[rip]
	add	ebx, 1
	call	NI_E_AO_DACSEL@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r12d
	call	ni_ao_win_outw@PLT
	cmp	DWORD PTR 0[r13], ebx
	jg	.L3
.L2:
	mov	edx, DWORD PTR NI67XX_AO_SP_UPDATES_REG[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	esi, esi
	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
	jmp	ni_ao_win_outw@PLT
	.cfi_endproc
.LFE0:
	.size	init_ao_67xx, .-init_ao_67xx
	.comm	NI67XX_AO_SP_UPDATES_REG,4,4
	.comm	NI67XX_AO_CFG2_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_mio_common.c_init_ao_67xx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_ao_67xx, %function
init_ao_67xx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r5, r0
	ble	.L2
	mov	r6, r1
	mov	r4, #0
	ldr	r7, .L7
.L3:
	mov	r0, r4
	bl	NI_E_AO_DACSEL
	ldr	r2, [r7]
	mov	r1, r0
	mov	r0, r5
	bl	ni_ao_win_outw
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	ldr	r3, .L7+4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	ldr	r2, [r3]
	b	ni_ao_win_outw
.L8:
	.align	2
.L7:
	.word	NI67XX_AO_CFG2_REG
	.word	NI67XX_AO_SP_UPDATES_REG
	.size	init_ao_67xx, .-init_ao_67xx
	.comm	NI67XX_AO_SP_UPDATES_REG,4,4
	.comm	NI67XX_AO_CFG2_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
