	.file	"extr_cosa.c_put_driver_status_nolock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	put_driver_status_nolock, @function
put_driver_status_nolock:
.LFB0:
	.cfi_startproc
	endbr64
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	mov	ebp, DWORD PTR 4[rdi]
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR DRIVER_RX_READY[rip]
	test	ebp, ebp
	je	.L7
.L5:
	mov	ecx, DWORD PTR DRIVER_TXMAP_SHIFT[rip]
	sal	ebp, cl
	not	ebp
	and	ebp, DWORD PTR DRIVER_TXMAP_MASK[rip]
	or	ebp, DWORD PTR DRIVER_TX_READY[rip]
	or	ebp, eax
.L3:
	mov	esi, DWORD PTR SR_RX_INT_ENA[rip]
	mov	rdi, r12
	call	cosa_putstatus@PLT
	mov	DWORD PTR 8[r12], 1
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	cosa_putdata8@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	ebp, ebp
	jne	.L5
	xor	esi, esi
	mov	rdi, r12
	call	cosa_putstatus@PLT
	mov	DWORD PTR 8[r12], 0
	jmp	.L4
.L7:
	mov	ebp, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	put_driver_status_nolock, .-put_driver_status_nolock
	.comm	SR_RX_INT_ENA,4,4
	.comm	DRIVER_TX_READY,4,4
	.comm	DRIVER_TXMAP_SHIFT,4,4
	.comm	DRIVER_TXMAP_MASK,4,4
	.comm	DRIVER_RX_READY,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_cosa.c_put_driver_status_nolock.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	put_driver_status_nolock, %function
put_driver_status_nolock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r3, r5}
	cmp	r3, #0
	mov	r4, r0
	beq	.L2
	ldr	r3, .L11
	cmp	r5, #0
	ldr	r3, [r3]
	beq	.L7
.L5:
	ldr	r0, .L11+4
	ldr	r2, .L11+8
	ldr	r1, .L11+12
	ldr	r0, [r0]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bic	r5, r2, r5, lsl r0
	orr	r5, r5, r1
	orr	r5, r5, r3
.L3:
	ldr	r3, .L11+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	cosa_putstatus
	mov	r3, #1
	mov	r1, r5
	mov	r0, r4
	str	r3, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	cosa_putdata8
.L2:
	cmp	r5, #0
	bne	.L5
	mov	r1, r5
	bl	cosa_putstatus
	mov	r1, r5
	mov	r0, r4
	str	r5, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	cosa_putdata8
.L7:
	mov	r5, r3
	b	.L3
.L12:
	.align	2
.L11:
	.word	DRIVER_RX_READY
	.word	DRIVER_TXMAP_SHIFT
	.word	DRIVER_TXMAP_MASK
	.word	DRIVER_TX_READY
	.word	SR_RX_INT_ENA
	.size	put_driver_status_nolock, .-put_driver_status_nolock
	.comm	SR_RX_INT_ENA,4,4
	.comm	DRIVER_TX_READY,4,4
	.comm	DRIVER_TXMAP_SHIFT,4,4
	.comm	DRIVER_TXMAP_MASK,4,4
	.comm	DRIVER_RX_READY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
