	.file	"extr_ni_6527.c_ni6527_di_insn_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ni6527_di_insn_config, @function
ni6527_di_insn_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 4[rdx]
	call	CR_CHAN@PLT
	mov	r12d, DWORD PTR [r12]
	cmp	r12d, 2
	jne	.L4
	mov	esi, DWORD PTR INSN_CONFIG_FILTER[rip]
	cmp	DWORD PTR [rbx], esi
	je	.L10
.L4:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	rdx, QWORD PTR devpriv[rip]
	mov	ecx, eax
	mov	edi, 1
	mov	esi, DWORD PTR 4[rbx]
	sal	edi, cl
	mov	rcx, QWORD PTR 8[rdx]
	mov	r15d, edi
	mov	r13, QWORD PTR [rcx]
	test	esi, esi
	je	.L5
	lea	ebp, 100[rsi]
	imul	rbp, rbp, 1374389535
	mov	r14, rbp
	shr	rbp, 38
	imul	eax, ebp, 200
	shr	r14, 32
	mov	DWORD PTR 4[rbx], eax
	cmp	DWORD PTR [rdx], ebp
	jne	.L11
.L6:
	or	DWORD PTR 4[rdx], r15d
.L7:
	xor	edi, edi
	call	Filter_Enable@PLT
	lea	rsi, [rax+r13]
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, DWORD PTR 4[rax]
	call	writeb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, 1
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR [rax]
	call	Filter_Enable@PLT
	lea	rsi, [rbx+rax]
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, DWORD PTR 4[rax]
	sar	edi, 8
	call	writeb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, 2
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR [rax]
	call	Filter_Enable@PLT
	lea	rsi, [rbx+rax]
	mov	rax, QWORD PTR devpriv[rip]
	movsx	edi, WORD PTR 6[rax]
	call	writeb@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, edi
	not	eax
	and	DWORD PTR 4[rdx], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	xor	edi, edi
	call	Filter_Interval@PLT
	movzx	edi, bpl
	lea	rsi, [rax+r13]
	call	writeb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, 1
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR [rax]
	call	Filter_Interval@PLT
	mov	edi, r14d
	shr	edi, 14
	lea	rsi, [rbx+rax]
	movzx	edi, dil
	call	writeb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, 2
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR [rax]
	call	Filter_Interval@PLT
	mov	edi, r14d
	shr	edi, 22
	lea	rsi, [rbx+rax]
	and	edi, 15
	call	writeb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	edi, DWORD PTR ClrInterval[rip]
	mov	rsi, QWORD PTR Clear_Register[rip]
	mov	rax, QWORD PTR 8[rax]
	add	rsi, QWORD PTR [rax]
	call	writeb@PLT
	mov	rdx, QWORD PTR devpriv[rip]
	mov	rax, QWORD PTR 8[rdx]
	mov	DWORD PTR [rdx], ebp
	mov	r13, QWORD PTR [rax]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ni6527_di_insn_config, .-ni6527_di_insn_config
	.comm	devpriv,8,8
	.comm	INSN_CONFIG_FILTER,4,4
	.comm	EINVAL,4,4
	.comm	ClrInterval,4,4
	.comm	Clear_Register,8,8
	.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_6527.c_ni6527_di_insn_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ni6527_di_insn_config, %function
ni6527_di_insn_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	ldr	r0, [r2, #4]
	mov	r6, r3
	bl	CR_CHAN
	ldr	r4, [r4]
	cmp	r4, #2
	bne	.L4
	ldr	r2, .L12
	ldr	r1, [r6]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L10
.L4:
	ldr	r3, .L12+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r9, #1
	ldr	r7, .L12+8
	ldr	r3, [r6, #4]
	ldr	r2, [r7]
	cmp	r3, #0
	ldr	r1, [r2, #8]
	lsl	r5, r9, r0
	ldr	r10, [r1]
	beq	.L5
	ldr	r8, .L12+12
	add	r3, r3, #100
	umull	r1, r8, r3, r8
	lsr	fp, r8, #6
	add	r3, fp, fp, lsl #2
	add	r3, r3, r3, lsl #2
	lsl	r3, r3, #3
	str	r3, [r6, #4]
	ldr	r3, [r2]
	cmp	r3, fp
	bne	.L11
.L6:
	ldr	r0, [r2, #4]
	orr	r5, r5, r0
	str	r5, [r2, #4]
.L7:
	mov	r0, #0
	bl	Filter_Enable
	mov	r1, r0
	mov	r0, r5
	add	r1, r1, r10
	bl	writeb
	ldr	r3, [r7]
	mov	r0, #1
	ldr	r5, [r3, #4]
	ldr	r3, [r3, #8]
	asr	r5, r5, #8
	ldr	r6, [r3]
	bl	Filter_Enable
	mov	r1, r0
	mov	r0, r5
	add	r1, r6, r1
	bl	writeb
	ldr	r3, [r7]
	mov	r0, #2
	ldr	r2, [r3, #8]
	ldrsh	r6, [r3, #6]
	ldr	r5, [r2]
	bl	Filter_Enable
	mov	r1, r0
	mov	r0, r6
	add	r1, r5, r1
	bl	writeb
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r0, [r2, #4]
	bic	r5, r0, r5
	str	r5, [r2, #4]
	b	.L7
.L11:
	mov	r0, #0
	bl	Filter_Interval
	add	r1, r0, r10
	and	r0, fp, #255
	bl	writeb
	ldr	r3, [r7]
	mov	r0, r9
	ldr	r3, [r3, #8]
	ldr	r6, [r3]
	bl	Filter_Interval
	lsr	r3, r8, #14
	add	r1, r6, r0
	and	r0, r3, #255
	bl	writeb
	ldr	r3, [r7]
	mov	r0, r4
	ldr	r3, [r3, #8]
	lsr	r8, r8, #22
	ldr	r6, [r3]
	bl	Filter_Interval
	add	r1, r6, r0
	and	r0, r8, #15
	bl	writeb
	ldr	r3, [r7]
	ldr	r2, .L12+16
	ldr	r3, [r3, #8]
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, .L12+20
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	writeb
	ldr	r2, [r7]
	ldr	r3, [r2, #8]
	str	fp, [r2]
	ldr	r10, [r3]
	b	.L6
.L13:
	.align	2
.L12:
	.word	INSN_CONFIG_FILTER
	.word	EINVAL
	.word	devpriv
	.word	1374389535
	.word	Clear_Register
	.word	ClrInterval
	.size	ni6527_di_insn_config, .-ni6527_di_insn_config
	.comm	devpriv,4,4
	.comm	INSN_CONFIG_FILTER,4,4
	.comm	EINVAL,4,4
	.comm	ClrInterval,4,4
	.comm	Clear_Register,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
