	.file	"extr_hitfb.c_hitfb_blank.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hitfb_blank
	.type	hitfb_blank, @function
hitfb_blank:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	edi, edi
	je	.L2
	mov	edi, DWORD PTR HD64461_LDR1[rip]
	call	fb_readw@PLT
	movzx	edi, WORD PTR HD64461_LDR1_DON[rip]
	mov	esi, DWORD PTR HD64461_LDR1[rip]
	not	edi
	and	edi, eax
	movzx	edi, di
	call	fb_writew@PLT
	mov	edi, DWORD PTR HD64461_LCDCCR[rip]
	call	fb_readw@PLT
	mov	esi, DWORD PTR HD64461_LCDCCR[rip]
	or	ax, WORD PTR HD64461_LCDCCR_MOFF[rip]
	movzx	edi, ax
	call	fb_writew@PLT
	mov	edi, DWORD PTR HD64461_STBCR[rip]
	call	fb_readw@PLT
	mov	esi, DWORD PTR HD64461_STBCR[rip]
	or	ax, WORD PTR HD64461_STBCR_SLCDST[rip]
	movzx	edi, ax
	call	fb_writew@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR HD64461_STBCR[rip]
	call	fb_readw@PLT
	movzx	edi, WORD PTR HD64461_STBCR_SLCDST[rip]
	mov	esi, DWORD PTR HD64461_STBCR[rip]
	not	edi
	and	edi, eax
	movzx	edi, di
	call	fb_writew@PLT
	mov	edi, DWORD PTR HD64461_LCDCCR[rip]
	call	fb_readw@PLT
	movzx	edi, WORD PTR HD64461_LCDCCR_MOFF[rip]
	or	di, WORD PTR HD64461_LCDCCR_STREQ[rip]
	not	edi
	mov	esi, DWORD PTR HD64461_LCDCCR[rip]
	and	edi, eax
	movzx	edi, di
	call	fb_writew@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR HD64461_LCDCCR[rip]
	call	fb_readw@PLT
	test	WORD PTR HD64461_LCDCCR_STBACK[rip], ax
	jne	.L4
	mov	edi, DWORD PTR HD64461_LDR1[rip]
	call	fb_readw@PLT
	mov	esi, DWORD PTR HD64461_LDR1[rip]
	or	ax, WORD PTR HD64461_LDR1_DON[rip]
	movzx	edi, ax
	call	fb_writew@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hitfb_blank, .-hitfb_blank
	.comm	HD64461_STBCR_SLCDST,2,2
	.comm	HD64461_STBCR,4,4
	.comm	HD64461_LDR1_DON,2,2
	.comm	HD64461_LDR1,4,4
	.comm	HD64461_LCDCCR_STREQ,2,2
	.comm	HD64461_LCDCCR_STBACK,2,2
	.comm	HD64461_LCDCCR_MOFF,2,2
	.comm	HD64461_LCDCCR,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_blank.c"
	.text
	.align	2
	.global	hitfb_blank
	.syntax unified
	.arm
	.fpu softvfp
	.type	hitfb_blank, %function
hitfb_blank:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	push	{r4, r5, r6, lr}
	beq	.L2
	ldr	r4, .L9
	ldr	r5, .L9+4
	ldr	r0, [r4]
	bl	fb_readw
	ldr	r3, .L9+8
	ldr	r1, [r4]
	ldrh	r3, [r3]
	ldr	r4, .L9+12
	bic	r0, r0, r3
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	bl	fb_writew
	ldr	r0, [r5]
	bl	fb_readw
	ldr	r3, .L9+16
	ldr	r1, [r5]
	ldrh	r3, [r3]
	orr	r0, r0, r3
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	bl	fb_writew
	ldr	r0, [r4]
	bl	fb_readw
	ldr	r3, .L9+20
.L7:
	ldrh	r3, [r3]
	ldr	r1, [r4]
	orr	r0, r0, r3
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	bl	fb_writew
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r5, .L9+12
	ldr	r4, .L9+4
	ldr	r0, [r5]
	bl	fb_readw
	ldr	r3, .L9+20
	ldr	r1, [r5]
	ldrh	r3, [r3]
	ldr	r5, .L9+24
	bic	r0, r0, r3
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	bl	fb_writew
	ldr	r0, [r4]
	bl	fb_readw
	ldr	r3, .L9+16
	ldr	r2, .L9+28
	ldrh	r3, [r3]
	ldrh	r2, [r2]
	ldr	r1, [r4]
	orr	r3, r3, r2
	bic	r0, r0, r3
	lsl	r0, r0, #16
	lsr	r0, r0, #16
	bl	fb_writew
.L4:
	ldr	r0, [r4]
	bl	fb_readw
	ldrh	r3, [r5]
	tst	r0, r3
	bne	.L4
	ldr	r4, .L9
	ldr	r0, [r4]
	bl	fb_readw
	ldr	r3, .L9+8
	b	.L7
.L10:
	.align	2
.L9:
	.word	HD64461_LDR1
	.word	HD64461_LCDCCR
	.word	HD64461_LDR1_DON
	.word	HD64461_STBCR
	.word	HD64461_LCDCCR_MOFF
	.word	HD64461_STBCR_SLCDST
	.word	HD64461_LCDCCR_STBACK
	.word	HD64461_LCDCCR_STREQ
	.size	hitfb_blank, .-hitfb_blank
	.comm	HD64461_STBCR_SLCDST,2,2
	.comm	HD64461_STBCR,4,4
	.comm	HD64461_LDR1_DON,2,2
	.comm	HD64461_LDR1,4,4
	.comm	HD64461_LCDCCR_STREQ,2,2
	.comm	HD64461_LCDCCR_STBACK,2,2
	.comm	HD64461_LCDCCR_MOFF,2,2
	.comm	HD64461_LCDCCR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
