	.file	"extr_comedi_8255.c_subdev_8255_do_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	subdev_8255_do_config, @function
subdev_8255_do_config:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR 8[rsi]
	mov	eax, DWORD PTR [rsi]
	mov	ecx, DWORD PTR I8255_CTRL_CW[rip]
	mov	r8, QWORD PTR [rdx]
	test	al, al
	jne	.L2
	or	ecx, DWORD PTR I8255_CTRL_A_IO[rip]
.L2:
	test	ah, -1
	jne	.L3
	or	ecx, DWORD PTR I8255_CTRL_B_IO[rip]
.L3:
	test	eax, 983040
	jne	.L4
	or	ecx, DWORD PTR I8255_CTRL_C_LO_IO[rip]
.L4:
	test	eax, 15728640
	jne	.L5
	or	ecx, DWORD PTR I8255_CTRL_C_HI_IO[rip]
.L5:
	mov	rax, QWORD PTR 8[rdx]
	mov	esi, 1
	mov	edx, DWORD PTR I8255_CTRL_REG[rip]
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	subdev_8255_do_config, .-subdev_8255_do_config
	.comm	I8255_CTRL_REG,4,4
	.comm	I8255_CTRL_C_LO_IO,4,4
	.comm	I8255_CTRL_C_HI_IO,4,4
	.comm	I8255_CTRL_CW,4,4
	.comm	I8255_CTRL_B_IO,4,4
	.comm	I8255_CTRL_A_IO,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_comedi_8255.c_subdev_8255_do_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	subdev_8255_do_config, %function
subdev_8255_do_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1]
	push	{r4, lr}
	tst	r2, #255
	ldreq	lr, .L8
	ldr	r3, .L8+4
	ldreq	lr, [lr]
	ldr	r3, [r3]
	ldr	r1, [r1, #4]
	orreq	r3, r3, lr
	tst	r2, #65280
	ldreq	lr, .L8+8
	ldr	ip, [r1]
	ldreq	lr, [lr]
	sub	sp, sp, #8
	orreq	r3, r3, lr
	tst	r2, #983040
	ldreq	lr, .L8+12
	ldreq	lr, [lr]
	orreq	r3, r3, lr
	tst	r2, #15728640
	ldreq	r2, .L8+16
	ldreq	r2, [r2]
	str	ip, [sp]
	orreq	r3, r3, r2
	ldr	r2, .L8+20
	ldr	r4, [r1, #4]
	ldr	r2, [r2]
	mov	r1, #1
	blx	r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	I8255_CTRL_A_IO
	.word	I8255_CTRL_CW
	.word	I8255_CTRL_B_IO
	.word	I8255_CTRL_C_LO_IO
	.word	I8255_CTRL_C_HI_IO
	.word	I8255_CTRL_REG
	.size	subdev_8255_do_config, .-subdev_8255_do_config
	.comm	I8255_CTRL_REG,4,4
	.comm	I8255_CTRL_C_LO_IO,4,4
	.comm	I8255_CTRL_C_HI_IO,4,4
	.comm	I8255_CTRL_CW,4,4
	.comm	I8255_CTRL_B_IO,4,4
	.comm	I8255_CTRL_A_IO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
