	.file	"334569.c"
	.intel_syntax noprefix
	.text
	.globl	getlline
	.type	getlline, @function
getlline:
.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
.L2:
	sub	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jle	.L3
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	je	.L3
	cmp	DWORD PTR -12[rbp], 10
	jne	.L4
.L3:
	cmp	DWORD PTR -12[rbp], 10
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getlline, .-getlline
	.section	.rodata
.LC0:
	.string	"Illegal option %c\n"
.LC1:
	.string	"argc value %d"
.LC2:
	.string	"usage find -x and -n pattern"
.LC3:
	.string	"%ld"
	.text
	.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, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	QWORD PTR -1056[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1016[rbp], 0
	mov	DWORD PTR -1032[rbp], 0
	mov	DWORD PTR -1028[rbp], 0
	mov	DWORD PTR -1024[rbp], 0
	jmp	.L8
.L12:
	cmp	DWORD PTR -1020[rbp], 110
	je	.L10
	cmp	DWORD PTR -1020[rbp], 120
	jne	.L11
	mov	DWORD PTR -1032[rbp], 1
	jmp	.L9
.L10:
	mov	DWORD PTR -1028[rbp], 1
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -1020[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1044[rbp], 0
	mov	DWORD PTR -1024[rbp], -1
	nop
.L9:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1056[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -1056[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -1020[rbp], eax
	cmp	DWORD PTR -1020[rbp], 0
	jne	.L12
.L8:
	sub	DWORD PTR -1044[rbp], 1
	cmp	DWORD PTR -1044[rbp], 0
	jle	.L13
	add	QWORD PTR -1056[rbp], 8
	mov	rax, QWORD PTR -1056[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L9
.L13:
	mov	eax, DWORD PTR -1044[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -1044[rbp], 1
	je	.L17
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L19:
	add	QWORD PTR -1016[rbp], 1
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	cmp	DWORD PTR -1032[rbp], eax
	je	.L17
	cmp	DWORD PTR -1028[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -1016[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -1024[rbp], 1
.L17:
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	getlline
	test	eax, eax
	jg	.L19
.L16:
	mov	eax, DWORD PTR -1024[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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	"334569.c"
	.text
	.align	2
	.global	getlline
	.syntax unified
	.arm
	.fpu softvfp
	.type	getlline, %function
getlline:
	@ 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	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
.L2:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L3
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L3
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L4
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L5
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getlline, .-getlline
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Illegal option %c\012\000"
	.align	2
.LC1:
	.ascii	"argc value %d\000"
	.align	2
.LC2:
	.ascii	"usage find -x and -n pattern\000"
	.align	2
.LC3:
	.ascii	"%ld\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 = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	str	r0, [fp, #-1032]
	str	r1, [fp, #-1036]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1028]
	mov	r3, #0
	str	r3, [fp, #-1024]
	mov	r3, #0
	str	r3, [fp, #-1020]
	mov	r3, #0
	str	r3, [fp, #-1016]
	b	.L8
.L12:
	ldr	r3, [fp, #-1012]
	cmp	r3, #110
	beq	.L10
	ldr	r3, [fp, #-1012]
	cmp	r3, #120
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-1024]
	b	.L9
.L10:
	mov	r3, #1
	str	r3, [fp, #-1020]
	b	.L9
.L11:
	ldr	r1, [fp, #-1012]
	ldr	r0, .L22+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1032]
	mvn	r3, #0
	str	r3, [fp, #-1016]
	nop
.L9:
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-1036]
	str	r2, [r3]
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-1012]
	ldr	r3, [fp, #-1012]
	cmp	r3, #0
	bne	.L12
.L8:
	ldr	r3, [fp, #-1032]
	sub	r3, r3, #1
	str	r3, [fp, #-1032]
	ldr	r3, [fp, #-1032]
	cmp	r3, #0
	ble	.L13
	ldr	r3, [fp, #-1036]
	add	r3, r3, #4
	str	r3, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L9
.L13:
	ldr	r1, [fp, #-1032]
	ldr	r0, .L22+8
	bl	printf
	ldr	r3, [fp, #-1032]
	cmp	r3, #1
	beq	.L17
	ldr	r0, .L22+12
	bl	printf
	b	.L16
.L19:
	ldr	r3, [fp, #-1028]
	add	r3, r3, #1
	str	r3, [fp, #-1028]
	ldr	r3, [fp, #-1036]
	ldr	r2, [r3]
	sub	r3, fp, #1008
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-1024]
	cmp	r3, r2
	beq	.L17
	ldr	r3, [fp, #-1020]
	cmp	r3, #0
	beq	.L18
	ldr	r1, [fp, #-1028]
	ldr	r0, .L22+16
	bl	printf
.L18:
	sub	r3, fp, #1008
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-1016]
	add	r3, r3, #1
	str	r3, [fp, #-1016]
.L17:
	sub	r3, fp, #1008
	mov	r1, #1000
	mov	r0, r3
	bl	getlline
	mov	r3, r0
	cmp	r3, #0
	bgt	.L19
.L16:
	ldr	r3, [fp, #-1016]
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
