	.file	"20450924.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-c"
.LC1:
	.string	"sh"
.LC2:
	.string	"/bin/sh"
	.text
	.globl	mysys
	.type	mysys, @function
mysys:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	mov	eax, -1
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 0
	mov	rcx, rax
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	execl@PLT
	test	eax, eax
	jns	.L5
	mov	eax, 127
	jmp	.L3
.L4:
	mov	edi, 0
	call	wait@PLT
	mov	eax, 0
	jmp	.L3
.L5:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mysys, .-mysys
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -208[rbp], 0
	mov	DWORD PTR -212[rbp], 0
	mov	DWORD PTR -216[rbp], 1
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -212[rbp]
	add	eax, edx
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 199
	jg	.L8
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	eax, DWORD PTR -228[rbp]
	sub	eax, 1
	cmp	DWORD PTR -216[rbp], eax
	jge	.L8
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -208[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
.L8:
	add	DWORD PTR -216[rbp], 1
.L7:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, DWORD PTR -228[rbp]
	jl	.L9
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	mysys
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"20450924.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-c\000"
	.align	2
.LC1:
	.ascii	"sh\000"
	.align	2
.LC2:
	.ascii	"/bin/sh\000"
	.text
	.align	2
	.global	mysys
	.syntax unified
	.arm
	.fpu softvfp
	.type	mysys, %function
mysys:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, .L6
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	execl
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	mov	r3, #127
	b	.L3
.L4:
	mov	r0, #0
	bl	wait
	mov	r3, #0
	b	.L3
.L5:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	mysys, .-mysys
	.section	.rodata
	.align	2
.LC3:
	.ascii	" \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 = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-212]
	mov	r3, #1
	str	r3, [fp, #-216]
	b	.L9
.L11:
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #199
	bgt	.L10
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-224]
	sub	r3, r3, #1
	ldr	r2, [fp, #-216]
	cmp	r2, r3
	bge	.L10
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #208
	add	r3, r3, r2
	ldr	r2, .L14+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L10:
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L9:
	ldr	r2, [fp, #-216]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	blt	.L11
	sub	r3, fp, #208
	mov	r0, r3
	bl	mysys
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
