	.file	"extr_aio_iiro_16.c_aio_iiro_16_attach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"comedi%d: aio_iiro_16: "
.LC1:
	.string	"I/O port conflict"
.LC2:
	.string	"attached\n"
	.text
	.p2align 4
	.type	aio_iiro_16_attach, @function
aio_iiro_16_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR 20[rdi]
	lea	rdi, .LC0[rip]
	call	printk@PLT
	mov	rax, QWORD PTR thisboard[rip]
	mov	esi, DWORD PTR AIO_IIRO_16_SIZE[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR 0[rbp]
	mov	DWORD PTR 16[rbx], edx
	mov	ebp, DWORD PTR [rax]
	mov	edi, ebp
	call	request_region@PLT
	test	eax, eax
	je	.L9
	mov	DWORD PTR [rbx], ebp
	mov	esi, 4
	mov	rdi, rbx
	call	alloc_private@PLT
	test	rax, rax
	js	.L7
	mov	esi, 2
	mov	rdi, rbx
	call	alloc_subdevices@PLT
	test	rax, rax
	js	.L7
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR SDF_WRITABLE[rip]
	movabs	rcx, 4294967312
	mov	rsi, QWORD PTR COMEDI_SUBD_DIO[rip]
	mov	DWORD PTR 24[rax], edx
	lea	rdx, range_digital[rip]
	mov	QWORD PTR [rax], rcx
	mov	edi, DWORD PTR aio_iiro_16_dio_insn_bits_write[rip]
	mov	QWORD PTR 32[rax], rsi
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR 72[rax], rsi
	mov	esi, DWORD PTR SDF_READABLE[rip]
	mov	QWORD PTR 56[rax], rdx
	mov	edx, DWORD PTR aio_iiro_16_dio_insn_bits_read[rip]
	mov	DWORD PTR 8[rax], edi
	lea	rdi, .LC2[rip]
	mov	DWORD PTR 64[rax], esi
	mov	QWORD PTR 40[rax], rcx
	mov	DWORD PTR 48[rax], edx
	xor	eax, eax
	call	printk@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	printk@PLT
	mov	eax, DWORD PTR EIO[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	aio_iiro_16_attach, .-aio_iiro_16_attach
	.comm	thisboard,8,8
	.comm	range_digital,4,4
	.comm	aio_iiro_16_dio_insn_bits_write,4,4
	.comm	aio_iiro_16_dio_insn_bits_read,4,4
	.comm	SDF_WRITABLE,4,4
	.comm	SDF_READABLE,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	COMEDI_SUBD_DIO,8,8
	.comm	AIO_IIRO_16_SIZE,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_aio_iiro_16.c_aio_iiro_16_attach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"comedi%d: aio_iiro_16: \000"
	.align	2
.LC1:
	.ascii	"I/O port conflict\000"
	.align	2
.LC2:
	.ascii	"attached\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aio_iiro_16_attach, %function
aio_iiro_16_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r1, [r0, #12]
	ldr	r0, .L10
	bl	printk
	ldr	r2, .L10+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	ldr	r1, .L10+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r2, [r4, #8]
	ldr	r5, [r3]
	mov	r0, r5
	bl	request_region
	cmp	r0, #0
	beq	.L9
	mov	r1, #4
	mov	r0, r4
	str	r5, [r4]
	bl	alloc_private
	cmp	r0, #0
	blt	.L7
	mov	r1, #2
	mov	r0, r4
	bl	alloc_subdevices
	cmp	r0, #0
	blt	.L7
	mov	r1, #16
	mov	r5, #1
	ldr	lr, .L10+12
	ldr	ip, .L10+16
	ldr	r0, .L10+20
	ldr	r2, .L10+24
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	ldr	r4, [lr]
	ldr	lr, [ip]
	ldr	ip, [r0]
	ldr	r0, .L10+28
	str	r2, [r3, #40]
	ldr	r0, [r0]
	ldr	r2, .L10+32
	str	r0, [r3, #20]
	str	r0, [r3, #44]
	str	r4, [r3, #16]
	str	lr, [r3, #8]
	str	ip, [r3, #32]
	str	r1, [r3]
	str	r1, [r3, #24]
	str	r5, [r3, #4]
	str	r5, [r3, #28]
	str	r2, [r3, #12]
	str	r2, [r3, #36]
	ldr	r0, .L10+36
	bl	printk
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L10+40
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, .L10+44
	bl	printk
	ldr	r3, .L10+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	thisboard
	.word	AIO_IIRO_16_SIZE
	.word	SDF_WRITABLE
	.word	aio_iiro_16_dio_insn_bits_write
	.word	aio_iiro_16_dio_insn_bits_read
	.word	SDF_READABLE
	.word	COMEDI_SUBD_DIO
	.word	range_digital
	.word	.LC2
	.word	ENOMEM
	.word	.LC1
	.word	EIO
	.size	aio_iiro_16_attach, .-aio_iiro_16_attach
	.comm	thisboard,4,4
	.comm	range_digital,4,4
	.comm	aio_iiro_16_dio_insn_bits_write,4,4
	.comm	aio_iiro_16_dio_insn_bits_read,4,4
	.comm	SDF_WRITABLE,4,4
	.comm	SDF_READABLE,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	COMEDI_SUBD_DIO,4,4
	.comm	AIO_IIRO_16_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
