	.file	"367676.c"
	.intel_syntax noprefix
	.text
	.globl	slist_init
	.type	slist_init, @function
slist_init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	slist_init, .-slist_init
	.globl	slist_isEmpty
	.type	slist_isEmpty, @function
slist_isEmpty:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	sete	al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	slist_isEmpty, .-slist_isEmpty
	.globl	slist_pushBack
	.type	slist_pushBack, @function
slist_pushBack:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	slist_isEmpty
	test	al, al
	je	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L9
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -16[rbp], rax
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	slist_pushBack, .-slist_pushBack
	.globl	slist_popFront
	.type	slist_popFront, @function
slist_popFront:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	slist_isEmpty
	xor	eax, 1
	test	al, al
	je	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	slist_popFront, .-slist_popFront
	.globl	slist_popBack
	.type	slist_popBack, @function
slist_popBack:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	slist_isEmpty
	xor	eax, 1
	test	al, al
	je	.L13
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L13
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -16[rbp], rax
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	slist_popBack, .-slist_popBack
	.globl	slist_removeAt
	.type	slist_removeAt, @function
slist_removeAt:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	slist_isEmpty
	xor	eax, 1
	test	al, al
	je	.L18
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	ja	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	slist_popBack
	jmp	.L18
.L20:
	cmp	DWORD PTR -44[rbp], 0
	je	.L21
	cmp	DWORD PTR -44[rbp], 0
	jns	.L22
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	slist_popFront
	jmp	.L18
.L22:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L23
.L25:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L23:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L24
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L25
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	slist_removeAt, .-slist_removeAt
	.section	.rodata
.LC0:
	.string	"Mending gacha Ganyu"
	.text
	.globl	slist_getAt
	.type	slist_getAt, @function
slist_getAt:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	slist_isEmpty
	xor	eax, 1
	test	al, al
	je	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L28
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L28:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L29
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L30
.L29:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	je	.L31
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 1
	jmp	.L32
.L27:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 2
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	slist_getAt, .-slist_getAt
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%s"
.LC3:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1597440[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2656
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1600072[rbp], 0
	jmp	.L34
.L35:
	lea	rdx, -1600064[rbp]
	mov	eax, DWORD PTR -1600072[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	slist_init
	add	DWORD PTR -1600072[rbp], 1
.L34:
	cmp	DWORD PTR -1600072[rbp], 99999
	jle	.L35
	mov	DWORD PTR -1600068[rbp], 0
	lea	rax, -1600088[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L36
.L47:
	lea	rax, -1600084[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1600084[rbp]
	cmp	eax, 1
	jne	.L37
	lea	rax, -1600076[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L38
.L39:
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -1600064[rbp]
	mov	eax, DWORD PTR -1600068[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rax, -64[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	slist_pushBack
.L38:
	mov	eax, DWORD PTR -1600076[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -1600076[rbp], edx
	test	eax, eax
	jne	.L39
	add	DWORD PTR -1600068[rbp], 1
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -1600084[rbp]
	cmp	eax, 2
	jne	.L50
	lea	rdx, -1600076[rbp]
	lea	rax, -1600080[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1600080[rbp]
	cmp	eax, 100000
	jg	.L42
	mov	eax, DWORD PTR -1600080[rbp]
	test	eax, eax
	jle	.L42
	mov	eax, DWORD PTR -1600076[rbp]
	test	eax, eax
	jle	.L42
	mov	eax, DWORD PTR -1600080[rbp]
	cmp	DWORD PTR -1600068[rbp], eax
	jge	.L43
.L42:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L36
.L43:
	mov	eax, DWORD PTR -1600076[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1600080[rbp]
	sub	eax, 1
	lea	rcx, -1600064[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	esi, edx
	mov	rdi, rax
	call	slist_getAt
	cmp	eax, 2
	je	.L51
	mov	eax, DWORD PTR -1600076[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1600080[rbp]
	sub	eax, 1
	lea	rcx, -1600064[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	esi, edx
	mov	rdi, rax
	call	slist_removeAt
	jmp	.L36
.L50:
	nop
	jmp	.L36
.L51:
	nop
.L36:
	mov	eax, DWORD PTR -1600088[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -1600088[rbp], edx
	test	eax, eax
	jne	.L47
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"367676.c"
	.text
	.align	2
	.global	slist_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_init, %function
slist_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	slist_init, .-slist_init
	.align	2
	.global	slist_isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_isEmpty, %function
slist_isEmpty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	slist_isEmpty, .-slist_isEmpty
	.align	2
	.global	slist_pushBack
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_pushBack, %function
slist_pushBack:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r0, #56
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r0, [fp, #-16]
	bl	slist_isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	b	.L9
.L6:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #52]
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	slist_pushBack, .-slist_pushBack
	.align	2
	.global	slist_popFront
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_popFront, %function
slist_popFront:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	slist_isEmpty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	slist_popFront, .-slist_popFront
	.align	2
	.global	slist_popBack
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_popBack, %function
slist_popBack:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	slist_isEmpty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	bne	.L16
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L13
.L17:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	slist_popBack, .-slist_popBack
	.align	2
	.global	slist_removeAt
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_removeAt, %function
slist_removeAt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	slist_isEmpty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bhi	.L20
	ldr	r0, [fp, #-24]
	bl	slist_popBack
	b	.L18
.L20:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L22
.L21:
	ldr	r0, [fp, #-24]
	bl	slist_popFront
	b	.L18
.L22:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L23
.L25:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L23:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L25
.L24:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	slist_removeAt, .-slist_removeAt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Mending gacha Ganyu\000"
	.text
	.align	2
	.global	slist_getAt
	.syntax unified
	.arm
	.fpu softvfp
	.type	slist_getAt, %function
slist_getAt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	slist_isEmpty
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L30:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L29
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L30
.L29:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L31
	ldr	r0, .L33
	bl	puts
	mov	r3, #2
	b	.L32
.L31:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	puts
	mov	r3, #1
	b	.L32
.L27:
	ldr	r0, .L33
	bl	puts
	mov	r3, #2
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC0
	.size	slist_getAt, .-slist_getAt
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"%d %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 800080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #798720
	sub	sp, sp, #1360
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1344]
	b	.L36
.L37:
	ldr	r3, .L54+4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1344]
	lsl	r2, r2, #3
	add	r3, r3, r2
	mov	r0, r3
	bl	slist_init
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1344]
	add	r3, r3, #1
	str	r3, [r2, #-1344]
.L36:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1344]
	ldr	r2, .L54+8
	cmp	r3, r2
	blt	.L37
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1340]
	sub	r3, fp, #798720
	sub	r3, r3, #4
	sub	r3, r3, #1360
	mov	r1, r3
	ldr	r0, .L54+12
	bl	__isoc99_scanf
	b	.L38
.L49:
	ldr	r3, .L54+16
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+12
	bl	__isoc99_scanf
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1356]
	cmp	r3, #1
	bne	.L39
	ldr	r3, .L54+20
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+12
	bl	__isoc99_scanf
	b	.L40
.L41:
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L54+24
	bl	__isoc99_scanf
	ldr	r3, .L54+4
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1340]
	lsl	r2, r2, #3
	add	r3, r3, r2
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	slist_pushBack
.L40:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1348]
	sub	r2, r3, #1
	sub	r1, fp, #798720
	sub	r1, r1, #4
	str	r2, [r1, #-1348]
	cmp	r3, #0
	bne	.L41
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1340]
	add	r3, r3, #1
	str	r3, [r2, #-1340]
	b	.L38
.L39:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1356]
	cmp	r3, #2
	bne	.L52
	ldr	r2, .L54+20
	sub	r3, fp, #4
	add	r2, r3, r2
	ldr	r3, .L54+28
	sub	r1, fp, #4
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L54+32
	bl	__isoc99_scanf
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1352]
	ldr	r2, .L54+8
	cmp	r3, r2
	bgt	.L44
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1352]
	cmp	r3, #0
	ble	.L44
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1348]
	cmp	r3, #0
	ble	.L44
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1352]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1340]
	cmp	r2, r3
	bge	.L45
.L44:
	ldr	r0, .L54+36
	bl	puts
	b	.L38
.L45:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1352]
	sub	r2, r3, #1
	ldr	r3, .L54+4
	sub	r1, fp, #4
	add	r3, r1, r3
	lsl	r2, r2, #3
	add	r2, r3, r2
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1348]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	slist_getAt
	mov	r3, r0
	cmp	r3, #2
	beq	.L53
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1352]
	sub	r2, r3, #1
	ldr	r3, .L54+4
	sub	r1, fp, #4
	add	r3, r1, r3
	lsl	r2, r2, #3
	add	r2, r3, r2
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1348]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	slist_removeAt
	b	.L38
.L52:
	nop
	b	.L38
.L53:
	nop
.L38:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1360]
	sub	r2, r3, #1
	sub	r1, fp, #798720
	sub	r1, r1, #4
	str	r2, [r1, #-1360]
	cmp	r3, #0
	bne	.L49
	mov	r3, #0
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC4
	.word	-800056
	.word	100000
	.word	.LC1
	.word	-800076
	.word	-800068
	.word	.LC2
	.word	-800072
	.word	.LC3
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
