	.file	"extr_das08.c_das08_do_wbits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	das08_do_wbits, @function
das08_do_wbits:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR devpriv[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, DWORD PTR [rax]
	sar	ebx, 4
	mov	eax, ebx
	mov	ebx, DWORD PTR 4[rcx]
	and	eax, 15
	xor	ebx, eax
	and	ebx, DWORD PTR [rcx]
	xor	ebx, eax
	call	spin_lock@PLT
	mov	rdx, QWORD PTR devpriv[rip]
	mov	eax, DWORD PTR DAS08_DO_MASK[rip]
	mov	edi, ebx
	not	eax
	and	DWORD PTR [rdx], eax
	call	DAS08_OP@PLT
	mov	rdx, QWORD PTR devpriv[rip]
	mov	rsi, QWORD PTR DAS08_CONTROL[rip]
	add	rsi, QWORD PTR 8[r12]
	or	eax, DWORD PTR [rdx]
	mov	DWORD PTR [rdx], eax
	mov	edi, eax
	call	outb@PLT
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	DWORD PTR 4[rbp], ebx
	mov	eax, 2
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	das08_do_wbits, .-das08_do_wbits
	.comm	devpriv,8,8
	.comm	DAS08_DO_MASK,4,4
	.comm	DAS08_CONTROL,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_das08.c_das08_do_wbits.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	das08_do_wbits, %function
das08_do_wbits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L4
	ldr	r1, [r3, #4]
	ldr	r2, [r7]
	mov	r6, r3
	ldr	r2, [r2]
	ldr	r3, [r3]
	asr	r2, r2, #4
	and	r2, r2, #15
	eor	r4, r2, r1
	and	r4, r4, r3
	eor	r4, r4, r2
	mov	r5, r0
	bl	spin_lock
	ldr	r2, [r7]
	ldr	r1, .L4+4
	ldr	r3, [r2]
	ldr	r1, [r1]
	mov	r0, r4
	bic	r3, r3, r1
	str	r3, [r2]
	bl	DAS08_OP
	ldr	r3, [r7]
	ldr	r2, .L4+8
	ldr	ip, [r3]
	ldr	r2, [r2]
	ldr	r1, [r5, #4]
	orr	r0, r0, ip
	str	r0, [r3]
	add	r1, r1, r2
	bl	outb
	mov	r0, r5
	bl	spin_unlock
	mov	r0, #2
	str	r4, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	devpriv
	.word	DAS08_DO_MASK
	.word	DAS08_CONTROL
	.size	das08_do_wbits, .-das08_do_wbits
	.comm	devpriv,4,4
	.comm	DAS08_DO_MASK,4,4
	.comm	DAS08_CONTROL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
