	.file	"extr_paint.c_change_icon.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	change_icon
	.type	change_icon, @function
change_icon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR icons[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, [rdi+rdi*4]
	sal	r12, 3
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	cmp	QWORD PTR [rax+r12], 0
	lea	rdx, [rax+r12]
	je	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	xor	r14d, r14d
	cmp	QWORD PTR 8[rdx], 0
	lea	ebp, [rbx+rbx]
	jne	.L6
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rcx, QWORD PTR selected_data[rip]
	mov	r8d, DWORD PTR [rcx+rax*4]
.L5:
	mov	rsi, QWORD PTR 32[rdx]
	mov	rdi, QWORD PTR 16[rdx]
	xor	ecx, ecx
	mov	edx, r8d
	add	rsi, r14
	add	rdi, rbx
	add	r14, 1
	call	switch_data@PLT
	mov	rdx, QWORD PTR icons[rip]
	add	rdx, r12
	cmp	QWORD PTR 8[rdx], r14
	jbe	.L8
.L6:
	mov	eax, DWORD PTR 24[rdx]
	add	eax, ebp
	cdqe
	add	rax, r14
	test	r13, r13
	jne	.L16
	mov	rcx, QWORD PTR data[rip]
	mov	r8d, DWORD PTR [rcx+rax*4]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbx, 1
	cmp	QWORD PTR [rdx], rbx
	ja	.L2
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	change_icon, .-change_icon
	.comm	selected_data,8,8
	.comm	icons,8,8
	.comm	data,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_paint.c_change_icon.c"
	.text
	.align	2
	.global	change_icon
	.syntax unified
	.arm
	.fpu softvfp
	.type	change_icon, %function
change_icon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L15
	add	r0, r0, r0, lsl #2
	ldr	r3, [r9]
	lsl	r6, r0, #2
	ldr	r2, [r3, r6]
	cmp	r2, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r8, r1
	mov	r5, #0
	ldr	fp, .L15+4
	ldr	r10, .L15+8
	add	r3, r3, r6
.L2:
	ldr	r2, [r3, #4]
	cmp	r2, #0
	movne	r4, #0
	lslne	r7, r5, #1
	beq	.L8
.L6:
	ldr	r2, [r3, #12]
	cmp	r8, #0
	ldr	r0, [r3, #8]
	ldr	r1, [r3, #16]
	add	r3, r7, r2
	ldrne	r2, [r10]
	ldreq	r2, [fp]
	add	r3, r3, r4
	ldr	r2, [r2, r3, lsl #2]
	add	r1, r4, r1
	mov	r3, #0
	add	r0, r5, r0
	bl	switch_data
	ldr	r3, [r9]
	add	r4, r4, #1
	add	r3, r3, r6
	ldr	r2, [r3, #4]
	cmp	r2, r4
	bhi	.L6
.L8:
	ldr	r2, [r3]
	add	r5, r5, #1
	cmp	r2, r5
	bhi	.L2
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	.align	2
.L15:
	.word	icons
	.word	data
	.word	selected_data
	.size	change_icon, .-change_icon
	.comm	selected_data,4,4
	.comm	icons,4,4
	.comm	data,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
