	.file	"extr_s626.c_s626_dio_insn_bits.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"comedi%d: s626: s626_dio_insn_bits(): Invalid instruction length\n"
	.text
	.p2align 4
	.type	s626_dio_insn_bits, @function
s626_dio_insn_bits:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR [rdx]
	test	r12d, r12d
	je	.L1
	cmp	r12d, 2
	jne	.L14
	mov	edx, DWORD PTR [rcx]
	mov	rbx, rcx
	test	edx, edx
	je	.L4
	mov	eax, DWORD PTR [rsi]
	and	eax, edx
	cmp	edx, eax
	je	.L5
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	printk@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	not	edx
	and	edx, DWORD PTR 4[rsi]
	mov	QWORD PTR 8[rsp], rdi
	mov	DWORD PTR 4[rsi], edx
	mov	eax, DWORD PTR [rcx]
	and	eax, DWORD PTR 4[rcx]
	or	edx, eax
	mov	rax, QWORD PTR diopriv[rip]
	mov	DWORD PTR 4[rsi], edx
	mov	esi, DWORD PTR 4[rax]
	call	DEBIwrite@PLT
	mov	rdi, QWORD PTR 8[rsp]
.L4:
	mov	rax, QWORD PTR diopriv[rip]
	mov	esi, DWORD PTR [rax]
	call	DEBIread@PLT
	mov	DWORD PTR 4[rbx], eax
	add	rsp, 24
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	s626_dio_insn_bits, .-s626_dio_insn_bits
	.comm	diopriv,8,8
	.comm	EIO,4,4
	.comm	EINVAL,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_s626.c_s626_dio_insn_bits.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"comedi%d: s626: s626_dio_insn_bits(): Invalid instr"
	.ascii	"uction length\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s626_dio_insn_bits, %function
s626_dio_insn_bits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r2]
	cmp	r4, #0
	beq	.L1
	cmp	r4, #2
	mov	r6, r0
	bne	.L14
	ldr	r2, [r3]
	mov	r5, r3
	cmp	r2, #0
	ldreq	r7, .L15
	beq	.L4
	ldr	r3, [r1]
	bics	r3, r2, r3
	beq	.L5
	ldr	r3, .L15+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r1, [r0]
	ldr	r0, .L15+8
	bl	printk
	ldr	r3, .L15+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, [r1, #4]
	ldr	r7, .L15
	bic	r3, r3, r2
	str	r3, [r1, #4]
	ldm	r5, {r2, ip}
	and	r2, r2, ip
	ldr	ip, [r7]
	orr	r2, r2, r3
	str	r2, [r1, #4]
	ldr	r1, [ip, #4]
	bl	DEBIwrite
.L4:
	ldr	r3, [r7]
	mov	r0, r6
	ldr	r1, [r3]
	bl	DEBIread
	str	r0, [r5, #4]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	diopriv
	.word	EIO
	.word	.LC0
	.word	EINVAL
	.size	s626_dio_insn_bits, .-s626_dio_insn_bits
	.comm	diopriv,4,4
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
