	.file	"extr_ni_mio_common.c_ack_b_interrupt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ack_b_interrupt, @function
ack_b_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	and	ax, WORD PTR NISTC_AO_STATUS1_BC_TC[rip]
	cmovne	ax, WORD PTR NISTC_INTB_ACK_AO_BC_TC[rip]
	test	WORD PTR NISTC_AO_STATUS1_OVERRUN[rip], si
	je	.L3
	or	ax, WORD PTR NISTC_INTB_ACK_AO_ERR[rip]
.L3:
	test	WORD PTR NISTC_AO_STATUS1_START[rip], si
	je	.L4
	or	ax, WORD PTR NISTC_INTB_ACK_AO_START[rip]
.L4:
	test	WORD PTR NISTC_AO_STATUS1_START1[rip], si
	je	.L5
	or	ax, WORD PTR NISTC_INTB_ACK_AO_START1[rip]
.L5:
	test	WORD PTR NISTC_AO_STATUS1_UC_TC[rip], si
	je	.L6
	or	ax, WORD PTR NISTC_INTB_ACK_AO_UC_TC[rip]
.L6:
	test	WORD PTR NISTC_AO_STATUS1_UI2_TC[rip], si
	je	.L7
	or	ax, WORD PTR NISTC_INTB_ACK_AO_UI2_TC[rip]
.L7:
	test	WORD PTR NISTC_AO_STATUS1_UPDATE[rip], si
	je	.L8
	or	ax, WORD PTR NISTC_INTB_ACK_AO_UPDATE[rip]
.L8:
	test	ax, ax
	jne	.L31
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edx, DWORD PTR NISTC_INTB_ACK_REG[rip]
	movzx	esi, ax
	jmp	ni_stc_writew@PLT
	.cfi_endproc
.LFE0:
	.size	ack_b_interrupt, .-ack_b_interrupt
	.comm	NISTC_INTB_ACK_REG,4,4
	.comm	NISTC_INTB_ACK_AO_UPDATE,2,2
	.comm	NISTC_INTB_ACK_AO_UI2_TC,2,2
	.comm	NISTC_INTB_ACK_AO_UC_TC,2,2
	.comm	NISTC_INTB_ACK_AO_START1,2,2
	.comm	NISTC_INTB_ACK_AO_START,2,2
	.comm	NISTC_INTB_ACK_AO_ERR,2,2
	.comm	NISTC_INTB_ACK_AO_BC_TC,2,2
	.comm	NISTC_AO_STATUS1_UPDATE,2,2
	.comm	NISTC_AO_STATUS1_UI2_TC,2,2
	.comm	NISTC_AO_STATUS1_UC_TC,2,2
	.comm	NISTC_AO_STATUS1_START1,2,2
	.comm	NISTC_AO_STATUS1_START,2,2
	.comm	NISTC_AO_STATUS1_OVERRUN,2,2
	.comm	NISTC_AO_STATUS1_BC_TC,2,2
	.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_ack_b_interrupt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ack_b_interrupt, %function
ack_b_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r2, r1
	ldr	r3, .L32
	ldrh	r3, [r3]
	ands	r1, r1, r3
	ldrne	r3, .L32+4
	ldrhne	r1, [r3]
	ldr	r3, .L32+8
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+12
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	ldr	r3, .L32+16
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+20
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	ldr	r3, .L32+24
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+28
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	ldr	r3, .L32+32
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+36
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	ldr	r3, .L32+40
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+44
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	ldr	r3, .L32+48
	ldrh	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L32+52
	ldrhne	r3, [r3]
	orrne	r1, r1, r3
	cmp	r1, #0
	bxeq	lr
	ldr	r3, .L32+56
	ldr	r2, [r3]
	b	ni_stc_writew
.L33:
	.align	2
.L32:
	.word	NISTC_AO_STATUS1_BC_TC
	.word	NISTC_INTB_ACK_AO_BC_TC
	.word	NISTC_AO_STATUS1_OVERRUN
	.word	NISTC_INTB_ACK_AO_ERR
	.word	NISTC_AO_STATUS1_START
	.word	NISTC_INTB_ACK_AO_START
	.word	NISTC_AO_STATUS1_START1
	.word	NISTC_INTB_ACK_AO_START1
	.word	NISTC_AO_STATUS1_UC_TC
	.word	NISTC_INTB_ACK_AO_UC_TC
	.word	NISTC_AO_STATUS1_UI2_TC
	.word	NISTC_INTB_ACK_AO_UI2_TC
	.word	NISTC_AO_STATUS1_UPDATE
	.word	NISTC_INTB_ACK_AO_UPDATE
	.word	NISTC_INTB_ACK_REG
	.size	ack_b_interrupt, .-ack_b_interrupt
	.comm	NISTC_INTB_ACK_REG,4,4
	.comm	NISTC_INTB_ACK_AO_UPDATE,2,2
	.comm	NISTC_INTB_ACK_AO_UI2_TC,2,2
	.comm	NISTC_INTB_ACK_AO_UC_TC,2,2
	.comm	NISTC_INTB_ACK_AO_START1,2,2
	.comm	NISTC_INTB_ACK_AO_START,2,2
	.comm	NISTC_INTB_ACK_AO_ERR,2,2
	.comm	NISTC_INTB_ACK_AO_BC_TC,2,2
	.comm	NISTC_AO_STATUS1_UPDATE,2,2
	.comm	NISTC_AO_STATUS1_UI2_TC,2,2
	.comm	NISTC_AO_STATUS1_UC_TC,2,2
	.comm	NISTC_AO_STATUS1_START1,2,2
	.comm	NISTC_AO_STATUS1_START,2,2
	.comm	NISTC_AO_STATUS1_OVERRUN,2,2
	.comm	NISTC_AO_STATUS1_BC_TC,2,2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
