	.file	"544418.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\t\t1 copy string."
.LC1:
	.string	"\t\t2 connect string."
.LC2:
	.string	"\t\t3 parse string."
.LC3:
	.string	"\t\t4 exit."
	.align 8
.LC4:
	.string	"\t\tinput a number (1-4) please."
.LC5:
	.string	"%d"
	.align 8
.LC6:
	.string	"input the first string please!"
.LC7:
	.string	"%s"
	.align 8
.LC8:
	.string	"input the second string please!"
.LC9:
	.string	"the result is %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -236[rbp]
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR -236[rbp]
	cmp	eax, 4
	jg	.L2
	mov	rax, QWORD PTR strcpy@GOTPCREL[rip]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR strcat@GOTPCREL[rip]
	mov	QWORD PTR -208[rbp], rax
	mov	rax, QWORD PTR strtok@GOTPCREL[rip]
	mov	QWORD PTR -200[rbp], rax
	mov	eax, DWORD PTR -236[rbp]
	cmp	eax, 3
	jg	.L8
	call	getchar@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -236[rbp]
	cdqe
	mov	rcx, QWORD PTR -224[rbp+rax*8]
	lea	rdx, -96[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L8:
	nop
.L4:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"544418.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011\0111 copy string.\000"
	.align	2
.LC1:
	.ascii	"\011\0112 connect string.\000"
	.align	2
.LC2:
	.ascii	"\011\0113 parse string.\000"
	.align	2
.LC3:
	.ascii	"\011\0114 exit.\000"
	.align	2
.LC4:
	.ascii	"\011\011input a number (1-4) please.\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"input the first string please!\000"
	.align	2
.LC7:
	.ascii	"%s\000"
	.align	2
.LC8:
	.ascii	"input the second string please!\000"
	.align	2
.LC9:
	.ascii	"the result is %s\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L2:
	ldr	r0, .L9+4
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	ldr	r0, .L9+12
	bl	puts
	ldr	r0, .L9+16
	bl	puts
	ldr	r0, .L9+20
	bl	puts
	sub	r3, fp, #196
	mov	r1, r3
	ldr	r0, .L9+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-196]
	cmp	r3, #4
	bgt	.L2
	ldr	r3, .L9+28
	str	r3, [fp, #-184]
	ldr	r3, .L9+32
	str	r3, [fp, #-180]
	ldr	r3, .L9+36
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-196]
	cmp	r3, #3
	bgt	.L8
	bl	getchar
	ldr	r0, .L9+40
	bl	puts
	sub	r3, fp, #168
	mov	r1, r3
	ldr	r0, .L9+44
	bl	__isoc99_scanf
	ldr	r0, .L9+48
	bl	puts
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, .L9+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-184]
	sub	r1, fp, #88
	sub	r2, fp, #168
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-192]
	ldr	r1, [fp, #-192]
	ldr	r0, .L9+52
	bl	printf
	b	.L2
.L8:
	nop
.L4:
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	strcpy
	.word	strcat
	.word	strtok
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
