	.file	"extr_b53_mmap.c_b53_mmap_write48.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b53_mmap_write48, @function
b53_mmap_write48:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edx
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	shr	eax, 31
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	edi, [rdx+rax]
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	and	edi, 1
	mov	ebx, edx
	sub	edi, eax
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L7
	mov	ecx, ebp
	mov	edx, ebx
	mov	esi, r13d
	mov	rdi, r12
	test	bl, 3
	jne	.L8
	call	b53_mmap_write32@PLT
	mov	ecx, 32
	lea	edx, 4[rbx]
	mov	esi, r13d
	sar	ebp, cl
	mov	rdi, r12
	mov	ecx, ebp
	call	b53_mmap_write16@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	b53_mmap_write16@PLT
	mov	ecx, ebp
	lea	edx, 2[rbx]
	mov	esi, r13d
	mov	rdi, r12
	sar	ecx, 16
	call	b53_mmap_write32@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	b53_mmap_write48, .-b53_mmap_write48
	.comm	EINVAL,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_b53_mmap.c_b53_mmap_write48.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b53_mmap_write48, %function
b53_mmap_write48:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r2, #0
	mov	r7, r0
	and	r0, r4, #1
	rsblt	r0, r0, #0
	mov	r8, r1
	mov	r6, r3
	bl	WARN_ON
	subs	r5, r0, #0
	bne	.L7
	tst	r4, #3
	mov	r3, r6
	mov	r2, r4
	mov	r1, r8
	mov	r0, r7
	bne	.L8
	bl	b53_mmap_write32
	mov	r3, #32
	mov	r1, r8
	mov	r0, r7
	add	r2, r4, #4
	asr	r3, r6, r3
	bl	b53_mmap_write16
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	bl	b53_mmap_write16
	mov	r1, r8
	mov	r0, r7
	asr	r3, r6, #16
	add	r2, r4, #2
	bl	b53_mmap_write32
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	b53_mmap_write48, .-b53_mmap_write48
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
