	.file	"70450685.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"where.exe %s"
.LC1:
	.string	"Command length exceeded max."
.LC2:
	.string	"Command being used: %s\n"
.LC3:
	.string	"r"
.LC4:
	.string	"Could not open process."
	.text
	.globl	win32find
	.type	win32find, @function
win32find:
.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, 2096
	mov	QWORD PTR -2088[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 254
	mov	rdi, rdx
	rep stosq
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rax, -2064[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -2076[rbp], eax
	cmp	DWORD PTR -2076[rbp], 2047
	jle	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L8
.L2:
	lea	rax, -2064[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2064[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -2072[rbp], rax
	cmp	QWORD PTR -2072[rbp], 0
	jne	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L8
.L7:
	movsx	eax, BYTE PTR -2077[rbp]
	mov	edi, eax
	call	putchar@PLT
	cmp	BYTE PTR -2077[rbp], 10
	je	.L10
.L5:
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -2077[rbp], al
	cmp	BYTE PTR -2077[rbp], -1
	jne	.L7
	jmp	.L6
.L10:
	nop
.L6:
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	pclose@PLT
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	win32find, .-win32find
	.section	.rodata
.LC5:
	.string	"whereis %s"
	.text
	.globl	unixfind
	.type	unixfind, @function
unixfind:
.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, 2096
	mov	QWORD PTR -2088[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 254
	mov	rdi, rdx
	rep stosq
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rax, -2064[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -2076[rbp], eax
	cmp	DWORD PTR -2076[rbp], 2047
	jle	.L12
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L18
.L12:
	lea	rax, -2064[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2064[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -2072[rbp], rax
	cmp	QWORD PTR -2072[rbp], 0
	jne	.L15
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L18
.L17:
	movsx	eax, BYTE PTR -2077[rbp]
	mov	edi, eax
	call	putchar@PLT
	cmp	BYTE PTR -2077[rbp], 10
	je	.L20
.L15:
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -2077[rbp], al
	cmp	BYTE PTR -2077[rbp], -1
	jne	.L17
	jmp	.L16
.L20:
	nop
.L16:
	mov	rax, QWORD PTR -2072[rbp]
	mov	rdi, rax
	call	pclose@PLT
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	unixfind, .-unixfind
	.section	.rodata
	.align 8
.LC6:
	.string	"Must provide at least one argument."
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jg	.L22
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	unixfind
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"70450685.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"where.exe %s\000"
	.align	2
.LC1:
	.ascii	"Command length exceeded max.\000"
	.align	2
.LC2:
	.ascii	"Command being used: %s\012\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"Could not open process.\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	win32find
	.syntax unified
	.arm
	.fpu softvfp
	.type	win32find, %function
win32find:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	sub	sp, sp, #8
	str	r0, [fp, #-2072]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	ldr	r2, .L13+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	ldr	r1, .L13+8
	mov	r0, r3
	bl	sprintf
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #2048
	blt	.L2
	ldr	r0, .L13+12
	bl	puts
	mov	r3, #1
	b	.L8
.L2:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L13+20
	mov	r0, r3
	bl	popen
	str	r0, [fp, #-2060]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L13+24
	bl	puts
	mov	r3, #1
	b	.L8
.L11:
	ldrb	r3, [fp, #-2065]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldrb	r3, [fp, #-2065]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L12
.L5:
	ldr	r0, [fp, #-2060]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-2065]
	b	.L11
.L12:
	nop
	ldr	r0, [fp, #-2060]
	bl	pclose
	mov	r3, r0
.L8:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	2044
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	win32find, .-win32find
	.section	.rodata
	.align	2
.LC6:
	.ascii	"whereis %s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unixfind
	.syntax unified
	.arm
	.fpu softvfp
	.type	unixfind, %function
unixfind:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	sub	sp, sp, #8
	str	r0, [fp, #-2072]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	ldr	r2, .L27+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	ldr	r1, .L27+8
	mov	r0, r3
	bl	sprintf
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #2048
	blt	.L16
	ldr	r0, .L27+12
	bl	puts
	mov	r3, #1
	b	.L22
.L16:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L27+16
	bl	printf
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L27+20
	mov	r0, r3
	bl	popen
	str	r0, [fp, #-2060]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L27+24
	bl	puts
	mov	r3, #1
	b	.L22
.L25:
	ldrb	r3, [fp, #-2065]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldrb	r3, [fp, #-2065]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L26
.L19:
	ldr	r0, [fp, #-2060]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-2065]
	b	.L25
.L26:
	nop
	ldr	r0, [fp, #-2060]
	bl	pclose
	mov	r3, r0
.L22:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	2044
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	unixfind, .-unixfind
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Must provide at least one argument.\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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bgt	.L30
	ldr	r0, .L32
	bl	puts
	mov	r3, #1
	b	.L31
.L30:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	unixfind
	mov	r3, r0
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
