	.file	"959588.c"
	.intel_syntax noprefix
	.text
	.globl	muppets
	.section	.rodata
.LC0:
	.string	"Kermit"
.LC1:
	.string	"frog"
.LC2:
	.string	"Piggy"
.LC3:
	.string	"pig"
.LC4:
	.string	"Gonzo"
.LC5:
	.string	"whatever"
.LC6:
	.string	"Fozzie"
.LC7:
	.string	"bear"
.LC8:
	.string	"Sam"
.LC9:
	.string	"eagle"
.LC10:
	.string	"Robin"
.LC11:
	.string	"Animal"
.LC12:
	.string	"animal"
.LC13:
	.string	"Camilla"
.LC14:
	.string	"chicken"
.LC15:
	.string	"Sweetums"
.LC16:
	.string	"monster"
.LC17:
	.string	"Dr. Strangepork"
.LC18:
	.string	"Link Hogthrob"
.LC19:
	.string	"Zoot"
.LC20:
	.string	"human"
.LC21:
	.string	"Dr. Bunsen Honeydew"
.LC22:
	.string	"Beaker"
.LC23:
	.string	"Swedish Chef"
	.section	.data.rel.local,"aw"
	.align 32
	.type	muppets, @object
	.size	muppets, 240
muppets:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC1
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC3
	.quad	.LC18
	.quad	.LC3
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC20
	.quad	.LC22
	.quad	.LC20
	.quad	.LC23
	.quad	.LC20
	.globl	count
	.data
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.long	15
	.text
	.globl	critter_cmp
	.type	critter_cmp, @function
critter_cmp:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	critter_cmp, .-critter_cmp
	.section	.rodata
.LC24:
	.string	"%s, the %s\n"
	.text
	.globl	print_critter
	.type	print_critter, @function
print_critter:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_critter, .-print_critter
	.section	.rodata
.LC25:
	.string	"Couldn't find %s.\n"
	.text
	.globl	find_critter
	.type	find_critter, @function
find_critter:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR count[rip]
	movsx	rdx, eax
	lea	rax, -32[rbp]
	lea	r8, critter_cmp[rip]
	mov	ecx, 16
	lea	rsi, muppets[rip]
	mov	rdi, rax
	call	bsearch@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	print_critter
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	find_critter, .-find_critter
	.section	.rodata
.LC26:
	.string	"Janice"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, muppets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	print_critter
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L11
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR count[rip]
	cdqe
	lea	rcx, critter_cmp[rip]
	mov	edx, 16
	mov	rsi, rax
	lea	rdi, muppets[rip]
	call	qsort@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, muppets[rip]
	add	rax, rdx
	mov	rdi, rax
	call	print_critter
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L13
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC0[rip]
	call	find_critter
	lea	rdi, .LC4[rip]
	call	find_critter
	lea	rdi, .LC26[rip]
	call	find_critter
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"959588.c"
	.text
	.global	muppets
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Kermit\000"
	.align	2
.LC1:
	.ascii	"frog\000"
	.align	2
.LC2:
	.ascii	"Piggy\000"
	.align	2
.LC3:
	.ascii	"pig\000"
	.align	2
.LC4:
	.ascii	"Gonzo\000"
	.align	2
.LC5:
	.ascii	"whatever\000"
	.align	2
.LC6:
	.ascii	"Fozzie\000"
	.align	2
.LC7:
	.ascii	"bear\000"
	.align	2
.LC8:
	.ascii	"Sam\000"
	.align	2
.LC9:
	.ascii	"eagle\000"
	.align	2
.LC10:
	.ascii	"Robin\000"
	.align	2
.LC11:
	.ascii	"Animal\000"
	.align	2
.LC12:
	.ascii	"animal\000"
	.align	2
.LC13:
	.ascii	"Camilla\000"
	.align	2
.LC14:
	.ascii	"chicken\000"
	.align	2
.LC15:
	.ascii	"Sweetums\000"
	.align	2
.LC16:
	.ascii	"monster\000"
	.align	2
.LC17:
	.ascii	"Dr. Strangepork\000"
	.align	2
.LC18:
	.ascii	"Link Hogthrob\000"
	.align	2
.LC19:
	.ascii	"Zoot\000"
	.align	2
.LC20:
	.ascii	"human\000"
	.align	2
.LC21:
	.ascii	"Dr. Bunsen Honeydew\000"
	.align	2
.LC22:
	.ascii	"Beaker\000"
	.align	2
.LC23:
	.ascii	"Swedish Chef\000"
	.data
	.align	2
	.type	muppets, %object
	.size	muppets, 120
muppets:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC1
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC3
	.word	.LC18
	.word	.LC3
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC20
	.word	.LC22
	.word	.LC20
	.word	.LC23
	.word	.LC20
	.global	count
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.word	15
	.text
	.align	2
	.global	critter_cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	critter_cmp, %function
critter_cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	critter_cmp, .-critter_cmp
	.section	.rodata
	.align	2
.LC24:
	.ascii	"%s, the %s\012\000"
	.text
	.align	2
	.global	print_critter
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_critter, %function
print_critter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC24
	.size	print_critter, .-print_critter
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Couldn't find %s.\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find_critter
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_critter, %function
find_critter:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r2, r3
	sub	r0, fp, #16
	ldr	r3, .L11+8
	str	r3, [sp]
	mov	r3, #8
	ldr	r1, .L11+12
	bl	bsearch
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L7
	ldr	r0, [fp, #-20]
	bl	print_critter
	b	.L10
.L7:
	ldr	r1, [fp, #-24]
	ldr	r0, .L11+16
	bl	printf
.L10:
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC26
	.word	count
	.word	critter_cmp
	.word	muppets
	.word	.LC25
	.size	find_critter, .-find_critter
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Janice\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L19
	add	r3, r3, r2
	mov	r0, r3
	bl	print_critter
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L15
	mov	r0, #10
	bl	putchar
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L19+8
	mov	r2, #8
	ldr	r0, .L19
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L19
	add	r3, r3, r2
	mov	r0, r3
	bl	print_critter
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L17
	mov	r0, #10
	bl	putchar
	ldr	r0, .L19+12
	bl	find_critter
	ldr	r0, .L19+16
	bl	find_critter
	ldr	r0, .L19+20
	bl	find_critter
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	muppets
	.word	count
	.word	critter_cmp
	.word	.LC0
	.word	.LC4
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
