	.file	"extr_hitfb.c_hitfb_accel_set_dest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hitfb_accel_set_dest, @function
hitfb_accel_set_dest:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	imul	edx, DWORD PTR WIDTH[rip]
	test	edi, edi
	lea	edi, -1[rcx]
	lea	ebx, [rdx+rsi]
	mov	esi, DWORD PTR HD64461_BBTDWR[rip]
	lea	eax, [rbx+rbx]
	cmovne	ebx, eax
	call	fb_writew@PLT
	mov	esi, DWORD PTR HD64461_BBTDHR[rip]
	lea	edi, -1[rbp]
	call	fb_writew@PLT
	mov	esi, DWORD PTR HD64461_BBTDSARL[rip]
	movzx	edi, bx
	sar	ebx, 16
	call	fb_writew@PLT
	mov	esi, DWORD PTR HD64461_BBTDSARH[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	fb_writew@PLT
	.cfi_endproc
.LFE0:
	.size	hitfb_accel_set_dest, .-hitfb_accel_set_dest
	.comm	WIDTH,4,4
	.comm	HD64461_BBTDWR,4,4
	.comm	HD64461_BBTDSARL,4,4
	.comm	HD64461_BBTDSARH,4,4
	.comm	HD64461_BBTDHR,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_hitfb.c_hitfb_accel_set_dest.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hitfb_accel_set_dest, %function
hitfb_accel_set_dest:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L8
	push	{r4, r5, r6, lr}
	ldr	r4, [ip]
	cmp	r0, #0
	mla	r4, r2, r4, r1
	ldr	r2, .L8+4
	sub	r0, r3, #1
	ldr	r1, [r2]
	lslne	r4, r4, #1
	ldr	r5, [sp, #16]
	bl	fb_writew
	ldr	r3, .L8+8
	sub	r0, r5, #1
	ldr	r1, [r3]
	bl	fb_writew
	ldr	r3, .L8+12
	lsl	r0, r4, #16
	ldr	r1, [r3]
	lsr	r0, r0, #16
	bl	fb_writew
	ldr	r3, .L8+16
	asr	r0, r4, #16
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	fb_writew
.L9:
	.align	2
.L8:
	.word	WIDTH
	.word	HD64461_BBTDWR
	.word	HD64461_BBTDHR
	.word	HD64461_BBTDSARL
	.word	HD64461_BBTDSARH
	.size	hitfb_accel_set_dest, .-hitfb_accel_set_dest
	.comm	WIDTH,4,4
	.comm	HD64461_BBTDWR,4,4
	.comm	HD64461_BBTDSARL,4,4
	.comm	HD64461_BBTDSARH,4,4
	.comm	HD64461_BBTDHR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
