	.file	"extr_x11_image.c_make_colormap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot handle visual class %d with depth: %d\n"
	.text
	.p2align 4
	.type	make_colormap, @function
make_colormap:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR info[rip]
	cmp	rdx, QWORD PTR PseudoColor[rip]
	je	.L16
.L2:
	cmp	rdx, QWORD PTR TrueColor[rip]
	je	.L17
	mov	ecx, DWORD PTR info[rip+8]
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	jmp	fprintf@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	DWORD PTR info[rip+8], 8
	jne	.L2
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8d, DWORD PTR DoRed[rip]
	xor	edi, edi
	xor	r11d, r11d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	or	r8d, DWORD PTR DoGreen[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR info[rip+24]
	or	r8d, DWORD PTR DoBlue[rip]
.L3:
	mov	r10, rbx
	mov	r9d, r11d
	xor	esi, esi
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, r10
	mov	ecx, r9d
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	DWORD PTR 4[rax], edx
	add	edx, 9216
	add	rax, 20
	mov	DWORD PTR -20[rax], ecx
	add	ecx, 1
	mov	DWORD PTR -12[rax], esi
	mov	DWORD PTR -8[rax], edi
	mov	DWORD PTR -4[rax], r8d
	cmp	edx, 73728
	jne	.L4
	add	esi, 9216
	add	r9d, 8
	add	r10, 160
	cmp	esi, 73728
	jne	.L7
	add	r11d, 64
	add	edi, 21760
	add	rbx, 1280
	cmp	r11d, 256
	jne	.L3
	mov	esi, DWORD PTR info[rip+36]
	mov	edi, DWORD PTR info[rip+32]
	mov	r12d, DWORD PTR AllocAll[rip]
	mov	r13d, DWORD PTR info[rip+12]
	call	RootWindow@PLT
	mov	edi, DWORD PTR info[rip+32]
	mov	ecx, r12d
	mov	edx, r13d
	mov	esi, eax
	call	XCreateColormap@PLT
	mov	rdx, QWORD PTR info[rip+24]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	mov	ecx, 256
	mov	edi, DWORD PTR info[rip+32]
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	mov	rsi, rax
	mov	QWORD PTR info[rip+16], rax
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	XStoreColors@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	mov	QWORD PTR info[rip+16], 0
	ret
	.cfi_endproc
.LFE0:
	.size	make_colormap, .-make_colormap
	.comm	stderr,4,4
	.comm	info,40,32
	.comm	TrueColor,8,8
	.comm	PseudoColor,8,8
	.comm	DoRed,4,4
	.comm	DoGreen,4,4
	.comm	DoBlue,4,4
	.comm	AllocAll,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_x11_image.c_make_colormap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot handle visual class %d with depth: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_colormap, %function
make_colormap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L16
	ldr	r4, .L16+4
	ldr	r3, [r3]
	ldr	r2, [r4]
	cmp	r2, r3
	beq	.L14
.L2:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
	ldr	r1, .L16+12
	ldr	r3, [r4, #4]
	ldr	r0, [r1]
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L16+16
	b	fprintf
.L14:
	ldr	r3, [r4, #4]
	cmp	r3, #8
	bne	.L2
	mov	ip, #0
	mov	r5, ip
	ldr	r1, .L16+20
	ldr	r2, .L16+24
	ldr	r3, .L16+28
	ldr	lr, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	lr, lr, r2
	ldr	r8, [r4, #16]
	orr	lr, lr, r3
.L3:
	mov	r7, r8
	mov	r6, r5
	mov	r0, #0
.L7:
	mov	r3, r7
	mov	r1, r6
	mov	r2, #0
.L4:
	str	r2, [r3, #4]
	add	r2, r2, #9216
	cmp	r2, #73728
	str	r1, [r3]
	str	r0, [r3, #8]
	str	ip, [r3, #12]
	str	lr, [r3, #16]
	add	r1, r1, #1
	add	r3, r3, #20
	bne	.L4
	add	r0, r0, #9216
	cmp	r0, #73728
	add	r6, r6, #8
	add	r7, r7, #160
	bne	.L7
	add	r5, r5, #64
	cmp	r5, #256
	add	ip, ip, #21760
	add	r8, r8, #1280
	bne	.L3
	ldr	r6, [r4, #20]
	ldr	r1, [r4, #24]
	mov	r0, r6
	bl	RootWindow
	ldr	r3, .L16+32
	mov	r1, r0
	ldr	r2, [r4, #8]
	mov	r0, r6
	ldr	r3, [r3]
	bl	XCreateColormap
	mov	r1, r0
	mov	r3, r5
	ldr	r2, [r4, #16]
	ldr	r0, [r4, #20]
	str	r1, [r4, #12]
	pop	{r4, r5, r6, r7, r8, lr}
	b	XStoreColors
.L15:
	mov	r3, #0
	str	r3, [r4, #12]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	PseudoColor
	.word	info
	.word	TrueColor
	.word	stderr
	.word	.LC0
	.word	DoRed
	.word	DoGreen
	.word	DoBlue
	.word	AllocAll
	.size	make_colormap, .-make_colormap
	.comm	stderr,4,4
	.comm	info,28,4
	.comm	TrueColor,4,4
	.comm	PseudoColor,4,4
	.comm	DoRed,4,4
	.comm	DoGreen,4,4
	.comm	DoBlue,4,4
	.comm	AllocAll,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
