	.file	"extr_vx_uer.c_vx_write_one_cbit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vx_write_one_cbit, @function
vx_write_one_cbit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	test	edx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	setne	r12b
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	xor	esi, esi
	movzx	r12d, r12b
	sal	r12d, 7
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	vx_is_pcmcia@PLT
	mov	esi, DWORD PTR CSUER[rip]
	xor	edx, edx
	mov	rdi, rbp
	test	rax, rax
	je	.L2
	call	vx_outb@PLT
	and	ebx, DWORD PTR XX_UER_CBITS_OFFSET_MASK[rip]
	mov	esi, DWORD PTR RUER[rip]
	mov	rdi, rbp
	mov	edx, ebx
	or	edx, r12d
	call	vx_outb@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	vx_outl@PLT
	and	ebx, DWORD PTR XX_UER_CBITS_OFFSET_MASK[rip]
	mov	esi, DWORD PTR RUER[rip]
	mov	rdi, rbp
	mov	edx, ebx
	or	edx, r12d
	call	vx_outl@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	vx_write_one_cbit, .-vx_write_one_cbit
	.comm	XX_UER_CBITS_OFFSET_MASK,4,4
	.comm	RUER,4,4
	.comm	CSUER,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_vx_uer.c_vx_write_one_cbit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vx_write_one_cbit, %function
vx_write_one_cbit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r1, #0
	mov	r4, r0
	subs	r5, r2, r1
	movne	r5, #1
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	vx_is_pcmcia
	subs	r2, r0, #0
	ldr	r3, .L6
	lsl	r5, r5, #7
	beq	.L2
	ldr	r1, [r3]
	mov	r2, #0
	mov	r0, r4
	bl	vx_outb
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r2, [r2]
	mov	r0, r4
	and	r2, r2, r6
	ldr	r1, [r3]
	orr	r2, r2, r5
	bl	vx_outb
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L2:
	ldr	r1, [r3]
	mov	r0, r4
	bl	vx_outl
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r2, [r2]
	mov	r0, r4
	and	r2, r2, r6
	ldr	r1, [r3]
	orr	r2, r2, r5
	bl	vx_outl
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L7:
	.align	2
.L6:
	.word	CSUER
	.word	XX_UER_CBITS_OFFSET_MASK
	.word	RUER
	.size	vx_write_one_cbit, .-vx_write_one_cbit
	.comm	XX_UER_CBITS_OFFSET_MASK,4,4
	.comm	RUER,4,4
	.comm	CSUER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
