	.file	"extr_x11_image.c_create_pool.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	create_pool, @function
create_pool:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR POOLSIZE[rip]
	mov	QWORD PTR info[rip+32], 0
	test	ecx, ecx
	jle	.L14
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, QWORD PTR info[rip]
	sub	ecx, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, rdx
	lea	rcx, 8[rdx+rcx*8]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR [rax], 0
	add	rax, 8
	cmp	rax, rcx
	jne	.L4
	xor	ebx, ebx
	lea	r12, info[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	add	rbx, 1
	cmp	DWORD PTR POOLSIZE[rip], ebx
	jle	.L15
.L5:
	mov	ecx, DWORD PTR info[rip+8]
	mov	esi, DWORD PTR info[rip+12]
	lea	rbp, [rdx+rbx*8]
	mov	rax, QWORD PTR info[rip+16]
	mov	r9d, DWORD PTR HEIGHT[rip]
	mov	r8d, DWORD PTR WIDTH[rip]
	mov	edi, DWORD PTR info[rip+24]
	lea	rdx, [rax+rbx*4]
	call	createximage@PLT
	mov	rdx, QWORD PTR [r12]
	mov	QWORD PTR 0[rbp], rax
	cmp	QWORD PTR [rdx+rbx*8], 0
	jne	.L16
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	create_pool, .-create_pool
	.comm	info,40,32
	.comm	WIDTH,4,4
	.comm	POOLSIZE,4,4
	.comm	HEIGHT,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_create_pool.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_pool, %function
create_pool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r7, .L13
	ldr	r5, .L13+4
	ldr	r2, [r7]
	sub	sp, sp, #12
	cmp	r2, r1
	str	r1, [r5, #20]
	ble	.L6
	ldr	r6, [r5]
	sub	r3, r6, #4
	add	r2, r3, r2, lsl #2
.L4:
	str	r1, [r3, #4]!
	cmp	r3, r2
	bne	.L4
	mov	r4, #0
	ldr	r9, .L13+8
	ldr	r8, .L13+12
	b	.L5
.L12:
	ldr	r3, [r7]
	cmp	r3, r4
	ble	.L6
.L5:
	ldr	r1, [r9]
	ldr	r3, [r8]
	ldr	r2, [r5, #12]
	str	r1, [sp, #4]
	add	r2, r2, r4, lsl #2
	str	r3, [sp]
	ldr	r1, [r5, #8]
	ldr	r3, [r5, #4]
	ldr	r0, [r5, #16]
	bl	createximage
	str	r0, [r6, r4, lsl #2]
	ldr	r6, [r5]
	ldr	r0, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r0, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L6:
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	.align	2
.L13:
	.word	POOLSIZE
	.word	info
	.word	HEIGHT
	.word	WIDTH
	.size	create_pool, .-create_pool
	.comm	info,24,4
	.comm	WIDTH,4,4
	.comm	POOLSIZE,4,4
	.comm	HEIGHT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
