	.file	"extr_bwimac.c_bwi_memobj_write_2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bwi_memobj_write_2
	.type	bwi_memobj_write_2, @function
bwi_memobj_write_2:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rdi
	test	edx, edx
	mov	edi, esi
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	esi, 3[rdx]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r13, QWORD PTR [r8]
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmovns	esi, edx
	mov	ebp, DWORD PTR BWI_MOBJ_DATA_UNALIGN[rip]
	sar	esi, 2
	and	edx, 3
	cmove	ebp, DWORD PTR BWI_MOBJ_DATA[rip]
	call	BWI_MOBJ_CTRL_VAL@PLT
	mov	esi, DWORD PTR BWI_MOBJ_CTRL[rip]
	mov	rdi, r13
	mov	edx, eax
	call	CSR_WRITE_4@PLT
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	CSR_WRITE_2@PLT
	.cfi_endproc
.LFE0:
	.size	bwi_memobj_write_2, .-bwi_memobj_write_2
	.comm	BWI_MOBJ_DATA_UNALIGN,4,4
	.comm	BWI_MOBJ_DATA,4,4
	.comm	BWI_MOBJ_CTRL,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_bwimac.c_bwi_memobj_write_2.c"
	.text
	.align	2
	.global	bwi_memobj_write_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bwi_memobj_write_2, %function
bwi_memobj_write_2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	add	ip, r2, #3
	movge	ip, r2
	tst	r2, #3
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	ldr	lr, .L8
	ldrne	r3, .L8+4
	ldr	r6, [lr]
	ldrne	r6, [r3]
	ldr	r3, .L8+8
	ldr	r5, [r0]
	mov	r0, r1
	asr	r1, ip, #2
	ldr	r7, [r3]
	bl	BWI_MOBJ_CTRL_VAL
	mov	r1, r7
	mov	r2, r0
	mov	r0, r5
	bl	CSR_WRITE_4
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	CSR_WRITE_2
.L9:
	.align	2
.L8:
	.word	BWI_MOBJ_DATA
	.word	BWI_MOBJ_DATA_UNALIGN
	.word	BWI_MOBJ_CTRL
	.size	bwi_memobj_write_2, .-bwi_memobj_write_2
	.comm	BWI_MOBJ_DATA_UNALIGN,4,4
	.comm	BWI_MOBJ_DATA,4,4
	.comm	BWI_MOBJ_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
