	.file	"extr_fbcmap.c_fb_invert_cmaps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fb_invert_cmaps
	.type	fb_invert_cmaps, @function
fb_invert_cmaps:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rdi, QWORD PTR red2[rip]
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR red2[rip]
	mov	rdx, QWORD PTR green2[rip]
	lea	rax, 0[0+rbx*4]
	add	rbx, 1
	not	DWORD PTR [rdi+rax]
	add	rdx, rax
	add	rax, QWORD PTR blue2[rip]
	not	DWORD PTR [rdx]
	not	DWORD PTR [rax]
.L2:
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	ja	.L3
	mov	rdi, QWORD PTR red4[rip]
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR red4[rip]
	mov	rdx, QWORD PTR green4[rip]
	lea	rax, 0[0+rbx*4]
	add	rbx, 1
	not	DWORD PTR [rdi+rax]
	add	rdx, rax
	add	rax, QWORD PTR blue4[rip]
	not	DWORD PTR [rdx]
	not	DWORD PTR [rax]
.L4:
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	ja	.L5
	mov	rdi, QWORD PTR red8[rip]
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR red8[rip]
	mov	rdx, QWORD PTR green8[rip]
	lea	rax, 0[0+rbx*4]
	add	rbx, 1
	not	DWORD PTR [rdi+rax]
	add	rdx, rax
	add	rax, QWORD PTR blue8[rip]
	not	DWORD PTR [rdx]
	not	DWORD PTR [rax]
.L6:
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	ja	.L7
	mov	rdi, QWORD PTR red16[rip]
	xor	ebx, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR red16[rip]
	mov	rdx, QWORD PTR green16[rip]
	lea	rax, 0[0+rbx*4]
	add	rbx, 1
	not	DWORD PTR [rdi+rax]
	add	rdx, rax
	add	rax, QWORD PTR blue16[rip]
	not	DWORD PTR [rdx]
	not	DWORD PTR [rax]
.L8:
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	ja	.L9
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fb_invert_cmaps, .-fb_invert_cmaps
	.comm	red8,8,8
	.comm	red4,8,8
	.comm	red2,8,8
	.comm	red16,8,8
	.comm	green8,8,8
	.comm	green4,8,8
	.comm	green2,8,8
	.comm	green16,8,8
	.comm	blue8,8,8
	.comm	blue4,8,8
	.comm	blue2,8,8
	.comm	blue16,8,8
	.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_fbcmap.c_fb_invert_cmaps.c"
	.text
	.align	2
	.global	fb_invert_cmaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	fb_invert_cmaps, %function
fb_invert_cmaps:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L13
	mov	r4, #0
	ldr	r0, [r5]
	ldr	r7, .L13+4
	ldr	r6, .L13+8
	b	.L2
.L3:
	ldr	r0, [r5]
	ldr	r1, [r7]
	ldr	r3, [r0, r4, lsl #2]
	ldr	r2, [r6]
	mvn	r3, r3
	str	r3, [r0, r4, lsl #2]
	ldr	r3, [r1, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r1, r4, lsl #2]
	ldr	r3, [r2, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r2, r4, lsl #2]
	add	r4, r4, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bhi	.L3
	ldr	r5, .L13+12
	mov	r4, #0
	ldr	r0, [r5]
	ldr	r7, .L13+16
	ldr	r6, .L13+20
	b	.L4
.L5:
	ldr	r0, [r5]
	ldr	r1, [r7]
	ldr	r3, [r0, r4, lsl #2]
	ldr	r2, [r6]
	mvn	r3, r3
	str	r3, [r0, r4, lsl #2]
	ldr	r3, [r1, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r1, r4, lsl #2]
	ldr	r3, [r2, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r2, r4, lsl #2]
	add	r4, r4, #1
.L4:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bhi	.L5
	ldr	r5, .L13+24
	mov	r4, #0
	ldr	r0, [r5]
	ldr	r7, .L13+28
	ldr	r6, .L13+32
	b	.L6
.L7:
	ldr	r0, [r5]
	ldr	r1, [r7]
	ldr	r3, [r0, r4, lsl #2]
	ldr	r2, [r6]
	mvn	r3, r3
	str	r3, [r0, r4, lsl #2]
	ldr	r3, [r1, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r1, r4, lsl #2]
	ldr	r3, [r2, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r2, r4, lsl #2]
	add	r4, r4, #1
.L6:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bhi	.L7
	mov	r4, #0
	ldr	r5, .L13+36
	ldr	r7, .L13+40
	ldr	r0, [r5]
	ldr	r6, .L13+44
.L8:
	bl	ARRAY_SIZE
	cmp	r0, r4
	popls	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r5]
	ldr	r1, [r7]
	ldr	r3, [r0, r4, lsl #2]
	ldr	r2, [r6]
	mvn	r3, r3
	str	r3, [r0, r4, lsl #2]
	ldr	r3, [r1, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r1, r4, lsl #2]
	ldr	r3, [r2, r4, lsl #2]
	mvn	r3, r3
	str	r3, [r2, r4, lsl #2]
	add	r4, r4, #1
	b	.L8
.L14:
	.align	2
.L13:
	.word	red2
	.word	green2
	.word	blue2
	.word	red4
	.word	green4
	.word	blue4
	.word	red8
	.word	green8
	.word	blue8
	.word	red16
	.word	green16
	.word	blue16
	.size	fb_invert_cmaps, .-fb_invert_cmaps
	.comm	red8,4,4
	.comm	red4,4,4
	.comm	red2,4,4
	.comm	red16,4,4
	.comm	green8,4,4
	.comm	green4,4,4
	.comm	green2,4,4
	.comm	green16,4,4
	.comm	blue8,4,4
	.comm	blue4,4,4
	.comm	blue2,4,4
	.comm	blue16,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
