	.file	"988153.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 101
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	mov	edi, 3
	call	chain
	mov	QWORD PTR -72[rbp], rax
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	insertNodeByHead
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	delNode
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	printList
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"create fail."
.LC1:
	.string	"%s"
	.text
	.globl	chain
	.type	chain, @function
chain:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 0
	jg	.L5
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L13
.L5:
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	jmp	.L7
.L12:
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	createNode
	mov	QWORD PTR -72[rbp], rax
	cmp	DWORD PTR -92[rbp], 1
	jne	.L9
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L10
.L9:
	cmp	DWORD PTR -92[rbp], 1
	jle	.L10
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 56[rax], rdx
.L10:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L8
.L11:
	cmp	QWORD PTR -88[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
.L8:
	add	DWORD PTR -92[rbp], 1
.L7:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L12
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -88[rbp]
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	chain, .-chain
	.globl	createNode
	.type	createNode, @function
createNode:
.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	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[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 -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	createNode, .-createNode
	.globl	printList
	.type	printList, @function
printList:
.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	QWORD PTR -8[rbp], rax
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -8[rbp], rax
.L18:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printList, .-printList
	.section	.rodata
.LC2:
	.string	"insert fail."
	.text
	.globl	insertNodeByHead
	.type	insertNodeByHead, @function
insertNodeByHead:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	cmp	DWORD PTR -44[rbp], 0
	jg	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L20
.L21:
	cmp	DWORD PTR -44[rbp], 1
	jne	.L23
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	createNode
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L20
.L23:
	cmp	DWORD PTR -44[rbp], 1
	jle	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L25
.L26:
	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
	add	DWORD PTR -20[rbp], 1
.L25:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	createNode
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L20
.L24:
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insertNodeByHead, .-insertNodeByHead
	.section	.rodata
.LC3:
	.string	"delet fail."
	.text
	.globl	delNode
	.type	delNode, @function
delNode:
.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
	cmp	DWORD PTR -44[rbp], 0
	jg	.L28
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L27
.L28:
	cmp	DWORD PTR -44[rbp], 1
	jne	.L30
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L27
.L30:
	cmp	DWORD PTR -44[rbp], 1
	jle	.L31
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L32
.L33:
	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
	add	DWORD PTR -20[rbp], 1
.L32:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L33
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L27
.L31:
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	delNode, .-delNode
	.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	"988153.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #101
	str	r3, [fp, #-60]
	sub	r3, fp, #56
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #3
	bl	chain
	str	r0, [fp, #-64]
	sub	r3, fp, #60
	mov	r2, r3
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	insertNodeByHead
	str	r0, [fp, #-64]
	mov	r1, #3
	ldr	r0, [fp, #-64]
	bl	delNode
	str	r0, [fp, #-64]
	ldr	r0, [fp, #-64]
	bl	printList
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"create fail.\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	chain
	.syntax unified
	.arm
	.fpu softvfp
	.type	chain, %function
chain:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bgt	.L7
	ldr	r0, .L17+4
	bl	puts
	mov	r3, #0
	b	.L15
.L7:
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L9
.L14:
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	sub	r3, fp, #60
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #60
	mov	r0, r3
	bl	createNode
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	bne	.L11
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #52]
	b	.L12
.L11:
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	ble	.L12
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #52]
.L12:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-68]
	b	.L10
.L13:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-68]
.L10:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L9:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-68]
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r3, [fp, #-76]
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	chain, .-chain
	.align	2
	.global	createNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	createNode, %function
createNode:
	@ 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]
	mov	r0, #56
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	createNode, .-createNode
	.align	2
	.global	printList
	.syntax unified
	.arm
	.fpu softvfp
	.type	printList, %function
printList:
	@ 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	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L24
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.size	printList, .-printList
	.section	.rodata
	.align	2
.LC4:
	.ascii	"insert fail.\000"
	.text
	.align	2
	.global	insertNodeByHead
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNodeByHead, %function
insertNodeByHead:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bgt	.L27
	ldr	r0, .L33
	bl	puts
	mov	r3, #0
	b	.L26
.L27:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L29
	ldr	r0, [fp, #-32]
	bl	createNode
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	b	.L26
.L29:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L30
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L32:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L32
	ldr	r0, [fp, #-32]
	bl	createNode
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-24]
	b	.L26
.L30:
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC4
	.size	insertNodeByHead, .-insertNodeByHead
	.section	.rodata
	.align	2
.LC5:
	.ascii	"delet fail.\000"
	.text
	.align	2
	.global	delNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	delNode, %function
delNode:
	@ 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	r3, [fp, #-28]
	cmp	r3, #0
	bgt	.L36
	ldr	r0, .L42
	bl	puts
	mov	r3, #0
	b	.L35
.L36:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L38
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	b	.L35
.L38:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L39
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #52]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #52]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-24]
	b	.L35
.L39:
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC5
	.size	delNode, .-delNode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
