	.file	"84947.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"needle"
	.text
	.globl	findneedle
	.type	findneedle, @function
findneedle:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	findneedle, .-findneedle
	.section	.rodata
.LC1:
	.string	"testval"
.LC2:
	.string	"testing special character: "
.LC3:
	.string	"Now I know my a b c'"
.LC4:
	.string	"s"
.LC5:
	.string	"val"
.LC6:
	.string	"test"
.LC7:
	.string	"Found test or val!"
.LC8:
	.string	"%d\n"
.LC9:
	.string	"5 should equal %d\n"
	.align 8
.LC10:
	.string	"Is the word needle in this haystack?"
.LC11:
	.string	"nothing"
.LC12:
	.string	"I found: %s\n"
.LC13:
	.string	"Case zero!"
.LC14:
	.string	"Default case!\n"
.LC15:
	.string	"Hi there\n"
.LC16:
	.string	"(bool)x = true"
.LC17:
	.string	"x!=0\n"
.LC18:
	.string	"true"
.LC19:
	.string	"false"
.LC20:
	.string	"x!=0"
.LC21:
	.string	"!(bool)x = false"
.LC22:
	.string	"In Do While Loop!"
.LC23:
	.string	"Goodbye!\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	lea	rax, .LC1[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -64[rbp], 5
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L5
.L4:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L6:
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	lea	rdi, .LC10[rip]
	call	findneedle
	test	rax, rax
	je	.L7
	lea	rax, .LC0[rip]
	jmp	.L8
.L7:
	lea	rax, .LC11[rip]
.L8:
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	sete	al
	movzx	eax, al
	test	eax, eax
	jne	.L9
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -60[rbp], eax
.L10:
	nop
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	cmp	DWORD PTR -64[rbp], 0
	je	.L14
	lea	rax, .LC16[rip]
	jmp	.L15
.L14:
	lea	rax, .LC17[rip]
.L15:
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L16
	cmp	DWORD PTR -64[rbp], 0
	je	.L17
	lea	rax, .LC16[rip]
	jmp	.L18
.L17:
	lea	rax, .LC17[rip]
.L18:
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	rdi, rax
	call	puts@PLT
.L16:
	cmp	DWORD PTR -64[rbp], 0
	je	.L19
	lea	rax, .LC16[rip]
	jmp	.L20
.L19:
	lea	rax, .LC17[rip]
.L20:
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	test	rax, rax
	je	.L21
	cmp	DWORD PTR -64[rbp], 0
	je	.L22
	lea	rax, .LC16[rip]
	jmp	.L23
.L22:
	lea	rax, .LC20[rip]
.L23:
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	rdi, rax
	call	puts@PLT
	jmp	.L27
.L21:
	cmp	DWORD PTR -64[rbp], 0
	jne	.L25
	lea	rax, .LC16[rip]
	jmp	.L26
.L25:
	lea	rax, .LC21[rip]
.L26:
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	rdi, rax
	call	puts@PLT
.L27:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	je	.L27
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"84947.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"needle\000"
	.text
	.align	2
	.global	findneedle
	.syntax unified
	.arm
	.fpu softvfp
	.type	findneedle, %function
findneedle:
	@ 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	r1, .L3
	ldr	r0, [fp, #-16]
	bl	strstr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	findneedle, .-findneedle
	.section	.rodata
	.align	2
.LC1:
	.ascii	"testval\000"
	.align	2
.LC2:
	.ascii	"testing special character: \000"
	.align	2
.LC3:
	.ascii	"Now I know my a b c'\000"
	.align	2
.LC4:
	.ascii	"s\000"
	.align	2
.LC5:
	.ascii	"val\000"
	.align	2
.LC6:
	.ascii	"test\000"
	.align	2
.LC7:
	.ascii	"Found test or val!\000"
	.align	2
.LC8:
	.ascii	"%d\012\000"
	.align	2
.LC9:
	.ascii	"5 should equal %d\012\000"
	.align	2
.LC10:
	.ascii	"Is the word needle in this haystack?\000"
	.align	2
.LC11:
	.ascii	"nothing\000"
	.align	2
.LC12:
	.ascii	"I found: %s\012\000"
	.align	2
.LC13:
	.ascii	"Case zero!\000"
	.align	2
.LC14:
	.ascii	"Default case!\012\000"
	.align	2
.LC15:
	.ascii	"Hi there\012\000"
	.align	2
.LC16:
	.ascii	"(bool)x = true\000"
	.align	2
.LC17:
	.ascii	"x!=0\012\000"
	.align	2
.LC18:
	.ascii	"true\000"
	.align	2
.LC19:
	.ascii	"false\000"
	.align	2
.LC20:
	.ascii	"x!=0\000"
	.align	2
.LC21:
	.ascii	"!(bool)x = false\000"
	.align	2
.LC22:
	.ascii	"In Do While Loop!\000"
	.align	2
.LC23:
	.ascii	"Goodbye!\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L31
	str	r3, [fp, #-44]
	mov	r3, #5
	str	r3, [fp, #-40]
	ldr	r0, .L31+4
	bl	printf
	mov	r0, #92
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldr	r0, .L31+8
	bl	printf
	ldr	r0, .L31+12
	bl	puts
	ldr	r1, .L31+16
	ldr	r0, [fp, #-44]
	bl	strstr
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L31+20
	ldr	r0, [fp, #-44]
	bl	strstr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r0, .L31+24
	bl	puts
	ldr	r1, [fp, #-40]
	ldr	r0, .L31+28
	bl	printf
	nop
.L8:
	ldr	r1, [fp, #-40]
	ldr	r0, .L31+32
	bl	printf
.L7:
	ldr	r0, .L31+36
	bl	findneedle
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L31+40
	b	.L10
.L9:
	ldr	r3, .L31+44
.L10:
	mov	r1, r3
	ldr	r0, .L31+48
	bl	printf
	ldr	r1, .L31+16
	ldr	r0, [fp, #-44]
	bl	strstr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L31+52
	bl	puts
	b	.L12
.L11:
	ldr	r0, .L31+56
	bl	printf
	str	r0, [fp, #-24]
.L12:
	nop
	ldr	r0, .L31+60
	bl	printf
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L31+64
	b	.L17
.L16:
	ldr	r3, .L31+68
.L17:
	ldr	r1, .L31+72
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L31+64
	b	.L20
.L19:
	ldr	r3, .L31+68
.L20:
	ldr	r1, .L31+72
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	mov	r0, r3
	bl	puts
.L18:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L31+64
	b	.L22
.L21:
	ldr	r3, .L31+68
.L22:
	ldr	r1, .L31+76
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L31+64
	b	.L25
.L24:
	ldr	r3, .L31+80
.L25:
	ldr	r1, .L31+72
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	mov	r0, r3
	bl	puts
	b	.L29
.L23:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L31+64
	b	.L28
.L27:
	ldr	r3, .L31+84
.L28:
	ldr	r1, .L31+76
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	mov	r0, r3
	bl	puts
.L29:
	ldr	r0, .L31+88
	bl	puts
	ldr	r0, .L31+92
	bl	printf
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L29
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC0
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
