	.file	"extr_ni_mio_common.c_ni_ao_cmdtest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ni_ao_cmdtest, @function
ni_ao_cmdtest:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 129
	mov	r15d, 1
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR [rdi]
	mov	rdi, rdx
	call	comedi_check_trigger_src@PLT
	mov	esi, DWORD PTR TRIG_TIMER[rip]
	lea	rdi, 4[rbx]
	mov	ebp, eax
	or	sil, -127
	call	comedi_check_trigger_src@PLT
	mov	esi, DWORD PTR TRIG_NOW[rip]
	lea	rdi, 8[rbx]
	or	ebp, eax
	call	comedi_check_trigger_src@PLT
	mov	esi, DWORD PTR TRIG_COUNT[rip]
	lea	rdi, 12[rbx]
	or	ebp, eax
	call	comedi_check_trigger_src@PLT
	mov	esi, DWORD PTR TRIG_COUNT[rip]
	lea	rdi, 16[rbx]
	or	esi, DWORD PTR TRIG_NONE[rip]
	or	ebp, eax
	call	comedi_check_trigger_src@PLT
	or	ebp, eax
	je	.L15
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	r15d, 2
	call	comedi_check_trigger_is_unique@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	ebp, eax
	call	comedi_check_trigger_is_unique@PLT
	mov	edi, DWORD PTR 16[rbx]
	or	ebp, eax
	call	comedi_check_trigger_is_unique@PLT
	or	ebp, eax
	jne	.L1
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 128
	je	.L3
	cmp	eax, 129
	je	.L4
.L5:
	mov	eax, DWORD PTR TRIG_TIMER[rip]
	cmp	DWORD PTR 4[rbx], eax
	je	.L16
.L6:
	mov	edi, DWORD PTR 24[rbx]
	mov	r14d, DWORD PTR NI_AO_SampleClock[rip]
	mov	r15d, ebp
	call	CR_CHAN@PLT
	lea	rdx, 4[r13]
	mov	esi, r14d
	mov	edi, eax
	call	ni_check_trigger_arg@PLT
	or	r15d, eax
.L7:
	xor	esi, esi
	lea	rdi, 28[rbx]
	call	comedi_check_trigger_arg_is@PLT
	mov	esi, DWORD PTR 44[rbx]
	lea	rdi, 32[rbx]
	or	r15d, eax
	call	comedi_check_trigger_arg_is@PLT
	lea	rdi, 36[rbx]
	mov	esi, 16777215
	or	r15d, eax
	call	comedi_check_trigger_arg_max@PLT
	or	r15d, eax
	jne	.L11
	mov	eax, DWORD PTR TRIG_TIMER[rip]
	cmp	DWORD PTR 4[rbx], eax
	jne	.L1
	mov	ebp, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR 40[rbx]
	mov	rdi, r12
	mov	esi, ebp
	call	ni_ns_to_timer@PLT
	mov	rdi, r12
	mov	esi, eax
	call	ni_timer_to_ns@PLT
	cmp	eax, ebp
	mov	DWORD PTR 24[rbx], eax
	mov	eax, 4
	cmovne	r15d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 20[rbx]
	mov	ebp, DWORD PTR NI_AO_StartTrigger[rip]
	call	CR_CHAN@PLT
	mov	esi, ebp
	lea	rdx, 4[r13]
	mov	ecx, 1
	mov	edi, eax
	call	ni_check_trigger_arg_roffs@PLT
	mov	ebp, eax
	mov	eax, DWORD PTR TRIG_TIMER[rip]
	cmp	DWORD PTR 4[rbx], eax
	jne	.L6
.L16:
	mov	esi, DWORD PTR [r14]
	lea	rdi, 24[rbx]
	mov	QWORD PTR 8[rsp], rdi
	call	comedi_check_trigger_arg_min@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r15d, eax
	mov	eax, DWORD PTR 0[r13]
	mov	esi, eax
	sal	esi, 24
	sub	esi, eax
	call	comedi_check_trigger_arg_max@PLT
	or	r15d, eax
	or	r15d, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdi, 20[rbx]
	xor	esi, esi
	call	comedi_check_trigger_arg_is@PLT
	mov	ebp, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r15d, 3
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ni_ao_cmdtest, .-ni_ao_cmdtest
	.comm	TRIG_TIMER,4,4
	.comm	TRIG_NOW,4,4
	.comm	TRIG_NONE,4,4
	.comm	TRIG_COUNT,4,4
	.comm	NI_AO_StartTrigger,4,4
	.comm	NI_AO_SampleClock,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_ao_cmdtest.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ni_ao_cmdtest, %function
ni_ao_cmdtest:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r1, #129
	ldm	r6, {r8, r9}
	mov	r0, r2
	mov	r4, r2
	bl	comedi_check_trigger_src
	ldr	r7, .L17
	mov	r5, r0
	ldr	r1, [r7]
	add	r0, r4, #4
	orr	r1, r1, #129
	bl	comedi_check_trigger_src
	mov	r3, r0
	ldr	r2, .L17+4
	add	r0, r4, #8
	ldr	r1, [r2]
	orr	r5, r5, r3
	bl	comedi_check_trigger_src
	mov	r3, r0
	ldr	r10, .L17+8
	add	r0, r4, #12
	ldr	r1, [r10]
	orr	r5, r5, r3
	bl	comedi_check_trigger_src
	mov	r3, r0
	ldr	r2, .L17+12
	ldr	r1, [r10]
	ldr	r2, [r2]
	add	r0, r4, #16
	orr	r1, r1, r2
	orr	r5, r5, r3
	bl	comedi_check_trigger_src
	orrs	r3, r5, r0
	movne	r5, #1
	beq	.L15
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r0, [r4]
	bl	comedi_check_trigger_is_unique
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	comedi_check_trigger_is_unique
	mov	r3, r0
	ldr	r0, [r4, #16]
	orr	r5, r5, r3
	bl	comedi_check_trigger_is_unique
	orrs	r5, r5, r0
	movne	r5, #2
	bne	.L1
	ldr	r3, [r4]
	cmp	r3, #128
	beq	.L3
	cmp	r3, #129
	beq	.L4
.L5:
	ldr	r2, [r4, #4]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L16
.L6:
	ldr	r0, [r4, #24]
	bl	CR_CHAN
	ldr	r3, .L17+16
	add	r2, r8, #4
	ldr	r1, [r3]
	bl	ni_check_trigger_arg
	orr	r5, r5, r0
.L7:
	mov	r1, #0
	add	r0, r4, #28
	bl	comedi_check_trigger_arg_is
	mov	r3, r0
	ldr	r1, [r4, #44]
	add	r0, r4, #32
	orr	r5, r5, r3
	bl	comedi_check_trigger_arg_is
	mov	r3, r0
	mvn	r1, #-16777216
	add	r0, r4, #36
	orr	r5, r5, r3
	bl	comedi_check_trigger_arg_max
	orrs	r5, r5, r0
	movne	r5, #3
	bne	.L1
	ldr	r3, [r7]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	bne	.L1
	ldr	r7, [r4, #24]
	ldr	r2, [r4, #40]
	mov	r1, r7
	mov	r0, r6
	bl	ni_ns_to_timer
	mov	r1, r0
	mov	r0, r6
	bl	ni_timer_to_ns
	cmp	r0, r7
	movne	r5, #4
	str	r0, [r4, #24]
	b	.L1
.L4:
	ldr	r0, [r4, #20]
	bl	CR_CHAN
	ldr	r2, .L17+20
	mov	r3, #1
	ldr	r1, [r2]
	add	r2, r8, #4
	bl	ni_check_trigger_arg_roffs
	ldr	r2, [r4, #4]
	ldr	r3, [r7]
	mov	r5, r0
	cmp	r2, r3
	bne	.L6
.L16:
	add	r3, r4, #24
	ldr	r1, [r9]
	mov	r0, r3
	mov	r9, r3
	bl	comedi_check_trigger_arg_min
	mov	r3, r0
	ldr	r1, [r8]
	mov	r0, r9
	rsb	r1, r1, r1, lsl #24
	mov	r8, r3
	bl	comedi_check_trigger_arg_max
	orr	r0, r8, r0
	orr	r5, r0, r5
	b	.L7
.L3:
	mov	r1, r5
	add	r0, r4, #20
	bl	comedi_check_trigger_arg_is
	mov	r5, r0
	b	.L5
.L18:
	.align	2
.L17:
	.word	TRIG_TIMER
	.word	TRIG_NOW
	.word	TRIG_COUNT
	.word	TRIG_NONE
	.word	NI_AO_SampleClock
	.word	NI_AO_StartTrigger
	.size	ni_ao_cmdtest, .-ni_ao_cmdtest
	.comm	TRIG_TIMER,4,4
	.comm	TRIG_NOW,4,4
	.comm	TRIG_NONE,4,4
	.comm	TRIG_COUNT,4,4
	.comm	NI_AO_StartTrigger,4,4
	.comm	NI_AO_SampleClock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
