	.file	"extr_whereis.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"no directories to search"
.LC2:
	.string	"MANPATH"
.LC3:
	.string	"regcomp(%s) failed: %s"
.LC4:
	.string	"s."
.LC5:
	.string	",v"
.LC6:
	.string	".z"
.LC7:
	.string	".Z"
.LC8:
	.string	".gz"
.LC9:
	.string	".bz2"
.LC10:
	.string	"/"
.LC11:
	.string	" "
.LC12:
	.string	"r"
.LC13:
	.string	"^"
.LC14:
	.string	"/[^/]+/"
.LC15:
	.string	"%s:"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edi
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZ[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L149:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L149
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L150
.L4:
	mov	edi, DWORD PTR LC_ALL[rip]
	lea	rsi, .LC0[rip]
	mov	r14, rsp
	call	setlocale@PLT
	mov	rsi, r13
	mov	edi, r12d
	call	scanopts@PLT
	xor	eax, eax
	call	defaults@PLT
	cmp	QWORD PTR mandirs[rip], 0
	jne	.L5
	mov	QWORD PTR opt_m[rip], 0
.L5:
	cmp	QWORD PTR bindirs[rip], 0
	je	.L151
.L6:
	cmp	QWORD PTR sourcedirs[rip], 0
	je	.L152
.L7:
	mov	rax, QWORD PTR opt_m[rip]
	mov	rdx, QWORD PTR opt_b[rip]
	add	rdx, rax
	add	rdx, QWORD PTR opt_s[rip]
	je	.L153
.L8:
	test	rax, rax
	jne	.L154
	mov	rax, QWORD PTR query[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -128[rbp], rax
	test	rax, rax
	je	.L84
.L11:
	lea	rax, -96[rbp]
	mov	QWORD PTR -160[rbp], rax
	jmp	.L82
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR -128[rbp]
	call	strlen@PLT
	cdqe
	cmp	rax, 2
	ja	.L155
.L17:
	mov	rdi, QWORD PTR -128[rbp]
	call	strlen@PLT
	movsx	rbx, eax
	cmp	rbx, 2
	ja	.L156
.L20:
	mov	rdi, QWORD PTR -128[rbp]
	call	strlen@PLT
	cmp	QWORD PTR opt_b[rip], 0
	mov	QWORD PTR -136[rbp], 0
	mov	DWORD PTR -168[rbp], eax
	mov	DWORD PTR -116[rbp], 0
	jne	.L157
.L25:
	cmp	QWORD PTR opt_m[rip], 0
	mov	QWORD PTR -152[rbp], 0
	je	.L32
	mov	eax, DWORD PTR -168[rbp]
	mov	ecx, DWORD PTR NO_MAN_FOUND[rip]
	or	DWORD PTR -116[rbp], ecx
	lea	edi, 6[rax]
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L158
.L33:
	cmp	QWORD PTR opt_a[rip], 0
	mov	rdx, QWORD PTR -128[rbp]
	je	.L34
	mov	rsi, QWORD PTR MANWHEREISALLCMD[rip]
	mov	rdi, r13
	call	sprintf@PLT
.L35:
	lea	rsi, .LC12[rip]
	mov	rdi, r13
	call	popen@PLT
	mov	QWORD PTR -152[rbp], rax
	test	rax, rax
	jne	.L159
.L32:
	xor	r15d, r15d
	cmp	QWORD PTR opt_s[rip], 0
	jne	.L160
.L46:
	cmp	QWORD PTR opt_u[rip], 0
	je	.L93
	mov	edx, DWORD PTR -116[rbp]
	test	edx, edx
	je	.L71
.L93:
	mov	eax, DWORD PTR opt_q[rip]
	test	eax, eax
	je	.L73
	cmp	QWORD PTR -136[rbp], 0
	je	.L161
.L74:
	mov	esi, DWORD PTR stdout[rip]
	mov	rdi, QWORD PTR -136[rbp]
	call	fputs@PLT
.L147:
	cmp	QWORD PTR -152[rbp], 0
	jne	.L162
	test	r15, r15
	jne	.L163
	.p2align 4,,10
	.p2align 3
.L80:
	mov	edi, 10
	call	putchar@PLT
.L71:
	mov	rax, QWORD PTR query[rip]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR query[rip], rdx
	mov	QWORD PTR -128[rbp], rax
	test	rax, rax
	je	.L83
.L82:
	mov	rbx, QWORD PTR -128[rbp]
	mov	esi, 47
	mov	rdi, rbx
	call	strrchr@PLT
	test	rax, rax
	lea	rdx, 1[rax]
	cmove	rdx, rbx
	mov	rdi, rdx
	mov	QWORD PTR -128[rbp], rdx
	call	strlen@PLT
	cmp	eax, 2
	jle	.L15
	mov	rbx, QWORD PTR -128[rbp]
	mov	edx, 2
	lea	rsi, .LC4[rip]
	mov	rdi, rbx
	call	strncmp@PLT
	mov	r8, rax
	lea	rax, 2[rbx]
	test	r8, r8
	cmovne	rax, rbx
	mov	QWORD PTR -128[rbp], rax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L156:
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC6[rip]
	lea	r12, -2[rax+rbx]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L21
.L144:
	mov	BYTE PTR [r12], 0
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L155:
	mov	rcx, QWORD PTR -128[rbp]
	lea	rsi, .LC5[rip]
	lea	rbx, -2[rcx+rax]
	mov	rdi, rbx
	call	strcmp@PLT
	test	rax, rax
	jne	.L17
	mov	BYTE PTR [rbx], 0
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L73:
	mov	rsi, QWORD PTR -128[rbp]
	lea	rdi, .LC15[rip]
	call	printf@PLT
	cmp	QWORD PTR -136[rbp], 0
	je	.L147
	mov	edi, 32
	call	putchar@PLT
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L160:
	mov	rbx, QWORD PTR sourcedirs[rip]
	mov	ecx, DWORD PTR NO_SRC_FOUND[rip]
	or	DWORD PTR -116[rbp], ecx
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L47
	mov	eax, DWORD PTR -168[rbp]
	mov	QWORD PTR -176[rbp], r14
	lea	r12, -108[rbp]
	mov	r14, QWORD PTR -128[rbp]
	add	eax, 2
	mov	DWORD PTR -144[rbp], eax
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L49:
	mov	rdi, r13
	add	rbx, 8
	call	free@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L164
.L54:
	call	strlen@PLT
	mov	ecx, DWORD PTR -144[rbp]
	lea	edi, [rax+rcx]
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L165
.L48:
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r13
	call	strcpy@PLT
	lea	rsi, .LC10[rip]
	mov	rdi, r13
	call	strcat@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	strcat@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	stat@PLT
	test	rax, rax
	jne	.L49
	mov	eax, DWORD PTR -108[rbp]
	and	eax, DWORD PTR S_IFMT[rip]
	cmp	eax, DWORD PTR S_IFDIR[rip]
	jne	.L49
	mov	eax, DWORD PTR NO_SRC_FOUND[rip]
	not	eax
	and	DWORD PTR -116[rbp], eax
	test	r15, r15
	je	.L166
	mov	rdi, r15
	call	strlen@PLT
	mov	rdi, r13
	mov	DWORD PTR -120[rbp], eax
	call	strlen@PLT
	movsx	rdx, DWORD PTR -120[rbp]
	mov	rdi, r15
	cdqe
	lea	rsi, 2[rdx+rax]
	call	realloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L167
.L52:
	lea	rsi, .LC11[rip]
	mov	rdi, r15
	call	strcat@PLT
	mov	rsi, r13
	mov	rdi, r15
	call	strcat@PLT
.L51:
	cmp	QWORD PTR opt_a[rip], 0
	jne	.L49
	mov	rdi, r13
	mov	r14, QWORD PTR -176[rbp]
	call	free@PLT
	.p2align 4,,10
	.p2align 3
.L53:
	cmp	QWORD PTR opt_x[rip], 0
	jne	.L46
	test	r15, r15
	je	.L55
	cmp	QWORD PTR opt_a[rip], 0
	je	.L46
.L55:
	mov	edi, DWORD PTR -168[rbp]
	add	edi, 6
	call	malloc@PLT
	mov	QWORD PTR -168[rbp], rax
	test	rax, rax
	je	.L168
.L56:
	mov	rbx, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	lea	r12, -100[rbp]
	mov	rsi, QWORD PTR LOCATECMD[rip]
	mov	rdi, rbx
	call	sprintf@PLT
	lea	rsi, .LC12[rip]
	mov	rdi, rbx
	call	popen@PLT
	mov	QWORD PTR -144[rbp], rax
	test	rax, rax
	je	.L46
	.p2align 4,,10
	.p2align 3
.L57:
	test	r15, r15
	je	.L68
	cmp	QWORD PTR opt_a[rip], 0
	je	.L70
.L68:
	mov	eax, DWORD PTR BUFSIZ[rip]
	mov	rdx, QWORD PTR -144[rbp]
	mov	rdi, r14
	lea	esi, -1[rax]
	call	fgets@PLT
	test	rax, rax
	je	.L70
	mov	esi, 10
	mov	rdi, r14
	call	strchr@PLT
	test	rax, rax
	je	.L58
	mov	BYTE PTR [rax], 0
.L58:
	mov	rbx, QWORD PTR sourcedirs[rip]
	jmp	.L59
	.p2align 4,,10
	.p2align 3
.L61:
	mov	rdi, r13
	call	free@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r14
	mov	rdi, r12
	call	regexec@PLT
	test	rax, rax
	jne	.L62
	mov	eax, DWORD PTR NO_SRC_FOUND[rip]
	not	eax
	and	DWORD PTR -116[rbp], eax
	test	r15, r15
	je	.L169
	mov	rdi, r15
	call	strlen@PLT
	mov	rdi, r14
	movsx	r13, eax
	call	strlen@PLT
	mov	rdi, r15
	movsx	rdx, eax
	lea	rsi, 2[r13+rdx]
	call	realloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L170
.L64:
	lea	rsi, .LC11[rip]
	mov	rdi, r15
	call	strcat@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	strcat@PLT
.L62:
	mov	rdi, r12
	add	rbx, 8
	call	regfree@PLT
.L59:
	test	r15, r15
	je	.L65
	cmp	QWORD PTR opt_a[rip], 0
	je	.L57
.L65:
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L57
	call	strlen@PLT
	lea	edi, 9[rax]
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L171
.L60:
	lea	rsi, .LC13[rip]
	mov	rdi, r13
	call	strcpy@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r13
	call	strcat@PLT
	lea	rsi, .LC14[rip]
	mov	rdi, r13
	call	strcat@PLT
	mov	edx, DWORD PTR REG_EXTENDED[rip]
	mov	rsi, r13
	mov	rdi, r12
	or	edx, DWORD PTR REG_NOSUB[rip]
	call	regcomp@PLT
	test	eax, eax
	je	.L61
	mov	ecx, DWORD PTR BUFSIZ[rip]
	lea	rsi, -104[rbp]
	mov	rdx, r14
	mov	edi, eax
	sub	ecx, 1
	call	regerror@PLT
	mov	edi, DWORD PTR EX_UNAVAILABLE[rip]
	mov	rcx, r14
	xor	eax, eax
	mov	rdx, r13
	lea	rsi, .LC3[rip]
	call	errx@PLT
	jmp	.L61
	.p2align 4,,10
	.p2align 3
.L171:
	xor	eax, eax
	call	abort@PLT
	jmp	.L60
	.p2align 4,,10
	.p2align 3
.L169:
	mov	rdi, r14
	call	strdup@PLT
	mov	r15, rax
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L165:
	xor	eax, eax
	call	abort@PLT
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L157:
	mov	rbx, QWORD PTR bindirs[rip]
	mov	eax, DWORD PTR NO_BIN_FOUND[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	DWORD PTR -116[rbp], eax
	test	rdi, rdi
	je	.L25
	mov	eax, DWORD PTR -168[rbp]
	mov	QWORD PTR -152[rbp], r14
	lea	r12, -108[rbp]
	mov	r14, QWORD PTR -128[rbp]
	lea	r15d, 2[rax]
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, r13
	add	rbx, 8
	call	free@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L172
.L31:
	call	strlen@PLT
	lea	edi, [rax+r15]
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L173
.L26:
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r13
	call	strcpy@PLT
	lea	rsi, .LC10[rip]
	mov	rdi, r13
	call	strcat@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	strcat@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	stat@PLT
	test	rax, rax
	jne	.L27
	mov	eax, DWORD PTR -108[rbp]
	mov	edx, DWORD PTR S_IFMT[rip]
	and	edx, eax
	cmp	edx, DWORD PTR S_IFREG[rip]
	jne	.L27
	mov	edx, DWORD PTR S_IXUSR[rip]
	or	edx, DWORD PTR S_IXGRP[rip]
	or	edx, DWORD PTR S_IXOTH[rip]
	test	edx, eax
	je	.L27
	mov	eax, DWORD PTR NO_BIN_FOUND[rip]
	not	eax
	and	DWORD PTR -116[rbp], eax
	cmp	QWORD PTR -136[rbp], 0
	je	.L174
	mov	rdi, QWORD PTR -136[rbp]
	call	strlen@PLT
	mov	rdi, r13
	mov	DWORD PTR -144[rbp], eax
	call	strlen@PLT
	movsx	rdx, DWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -136[rbp]
	cdqe
	lea	rsi, 2[rdx+rax]
	call	realloc@PLT
	mov	QWORD PTR -136[rbp], rax
	test	rax, rax
	je	.L175
.L30:
	mov	rdi, QWORD PTR -136[rbp]
	lea	rsi, .LC11[rip]
	call	strcat@PLT
	mov	rdi, QWORD PTR -136[rbp]
	mov	rsi, r13
	call	strcat@PLT
.L29:
	cmp	QWORD PTR opt_a[rip], 0
	jne	.L27
	mov	rdi, r13
	mov	r14, QWORD PTR -152[rbp]
	call	free@PLT
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L173:
	xor	eax, eax
	call	abort@PLT
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L166:
	mov	rdi, r13
	call	strdup@PLT
	mov	r15, rax
	jmp	.L51
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rsi, QWORD PTR MANWHEREISCMD[rip]
	mov	rdi, r13
	call	sprintf@PLT
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L159:
	mov	QWORD PTR -144[rbp], r13
	xor	r12d, r12d
	mov	r13, QWORD PTR -152[rbp]
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, r12
	call	strlen@PLT
	mov	rdi, r15
	movsx	rbx, eax
	call	strlen@PLT
	mov	rdi, r12
	cdqe
	lea	rsi, 2[rbx+rax]
	call	realloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L176
.L43:
	lea	rsi, .LC11[rip]
	mov	rdi, r12
	call	strcat@PLT
	mov	rsi, r15
	mov	rdi, r12
	call	strcat@PLT
.L42:
	mov	rdi, r15
	call	free@PLT
	cmp	QWORD PTR opt_a[rip], 0
	je	.L145
.L36:
	mov	eax, DWORD PTR BUFSIZ[rip]
	mov	rdx, r13
	mov	rdi, r14
	lea	esi, -1[rax]
	call	fgets@PLT
	test	rax, rax
	je	.L145
	mov	eax, DWORD PTR NO_MAN_FOUND[rip]
	mov	esi, 10
	mov	rdi, r14
	not	eax
	and	DWORD PTR -116[rbp], eax
	call	strchr@PLT
	test	rax, rax
	je	.L37
	mov	BYTE PTR [rax], 0
.L37:
	xor	r8d, r8d
	lea	rdi, -104[rbp]
	mov	edx, 2
	mov	rsi, r14
	mov	rcx, QWORD PTR -160[rbp]
	call	regexec@PLT
	test	rax, rax
	jne	.L38
	mov	rbx, QWORD PTR -80[rbp]
	sub	rbx, QWORD PTR -72[rbp]
	test	rbx, rbx
	jg	.L177
.L38:
	mov	rdi, r14
	call	strdup@PLT
	mov	r15, rax
	test	rax, rax
	je	.L178
.L40:
	test	r12, r12
	jne	.L41
	mov	rdi, r15
	call	strdup@PLT
	mov	r12, rax
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L177:
	lea	edi, 1[rbx]
	call	malloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L179
.L39:
	mov	rsi, QWORD PTR -72[rbp]
	mov	rdx, rbx
	mov	rdi, r15
	add	rsi, r14
	call	memcpy@PLT
	mov	BYTE PTR [r15+rbx], 0
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L145:
	mov	r13, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	call	pclose@PLT
	mov	rdi, r13
	call	free@PLT
	mov	QWORD PTR -152[rbp], r12
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L172:
	mov	r14, QWORD PTR -152[rbp]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L164:
	mov	r14, QWORD PTR -176[rbp]
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L162:
	mov	edi, 32
	call	putchar@PLT
.L75:
	mov	esi, DWORD PTR stdout[rip]
	mov	rdi, QWORD PTR -152[rbp]
	call	fputs@PLT
	test	r15, r15
	je	.L80
.L163:
	mov	edi, 32
	call	putchar@PLT
.L76:
	mov	esi, DWORD PTR stdout[rip]
	mov	rdi, r15
	call	fputs@PLT
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L161:
	cmp	QWORD PTR -152[rbp], 0
	jne	.L75
	test	r15, r15
	jne	.L76
	jmp	.L71
	.p2align 4,,10
	.p2align 3
.L174:
	mov	rdi, r13
	call	strdup@PLT
	mov	QWORD PTR -136[rbp], rax
	jmp	.L29
.L154:
	mov	rdi, QWORD PTR mandirs[rip]
	lea	r12, -104[rbp]
	call	colonify@PLT
	mov	edx, 1
	lea	rdi, .LC2[rip]
	mov	esi, eax
	call	setenv@PLT
	mov	edx, DWORD PTR REG_EXTENDED[rip]
	mov	rsi, QWORD PTR MANWHEREISMATCH[rip]
	mov	rdi, r12
	call	regcomp@PLT
	test	eax, eax
	jne	.L180
.L10:
	mov	rax, QWORD PTR query[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -128[rbp], rax
	test	rax, rax
	jne	.L11
	.p2align 4,,10
	.p2align 3
.L83:
	cmp	QWORD PTR opt_m[rip], 0
	je	.L84
	lea	rdi, -104[rbp]
	call	regfree@PLT
.L84:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L181
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L144
	cmp	rbx, 3
	je	.L20
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC8[rip]
	lea	r12, -3[rax+rbx]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L144
	cmp	rbx, 4
	je	.L20
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC9[rip]
	lea	rbx, -4[rax+rbx]
	mov	rdi, rbx
	call	strcmp@PLT
	test	rax, rax
	jne	.L20
	mov	BYTE PTR [rbx], 0
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L179:
	xor	eax, eax
	call	abort@PLT
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L158:
	xor	eax, eax
	call	abort@PLT
	jmp	.L33
.L70:
	mov	rdi, QWORD PTR -144[rbp]
	call	pclose@PLT
	mov	rdi, QWORD PTR -168[rbp]
	call	free@PLT
	jmp	.L46
.L153:
	mov	edi, DWORD PTR EX_DATAERR[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	errx@PLT
	mov	rax, QWORD PTR opt_m[rip]
	jmp	.L8
.L152:
	mov	QWORD PTR opt_s[rip], 0
	jmp	.L7
.L151:
	mov	QWORD PTR opt_b[rip], 0
	jmp	.L6
.L150:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L168:
	call	abort@PLT
	jmp	.L56
.L47:
	cmp	QWORD PTR opt_x[rip], 0
	je	.L55
	jmp	.L46
.L180:
	mov	ecx, DWORD PTR BUFSIZ[rip]
	mov	rdx, r14
	mov	rsi, r12
	mov	edi, eax
	sub	ecx, 1
	call	regerror@PLT
	mov	edi, DWORD PTR EX_UNAVAILABLE[rip]
	mov	rcx, r14
	xor	eax, eax
	mov	rdx, QWORD PTR MANWHEREISMATCH[rip]
	lea	rsi, .LC3[rip]
	call	errx@PLT
	jmp	.L10
.L170:
	xor	eax, eax
	call	abort@PLT
	jmp	.L64
.L178:
	xor	eax, eax
	call	abort@PLT
	jmp	.L40
.L176:
	xor	eax, eax
	call	abort@PLT
	jmp	.L43
.L181:
	call	__stack_chk_fail@PLT
.L167:
	xor	eax, eax
	call	abort@PLT
	jmp	.L52
.L175:
	call	abort@PLT
	jmp	.L30
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stdout,4,4
	.comm	sourcedirs,8,8
	.comm	query,8,8
	.comm	opt_x,8,8
	.comm	opt_u,8,8
	.comm	opt_s,8,8
	.comm	opt_q,4,4
	.comm	opt_m,8,8
	.comm	opt_b,8,8
	.comm	opt_a,8,8
	.comm	mandirs,8,8
	.comm	bindirs,8,8
	.comm	S_IXUSR,4,4
	.comm	S_IXOTH,4,4
	.comm	S_IXGRP,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFMT,4,4
	.comm	S_IFDIR,4,4
	.comm	REG_NOSUB,4,4
	.comm	REG_EXTENDED,4,4
	.comm	NO_SRC_FOUND,4,4
	.comm	NO_MAN_FOUND,4,4
	.comm	NO_BIN_FOUND,4,4
	.comm	MANWHEREISMATCH,8,8
	.comm	MANWHEREISCMD,8,8
	.comm	MANWHEREISALLCMD,8,8
	.comm	LOCATECMD,8,8
	.comm	LC_ALL,4,4
	.comm	EX_UNAVAILABLE,4,4
	.comm	EX_DATAERR,4,4
	.comm	BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_whereis.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"no directories to search\000"
	.align	2
.LC2:
	.ascii	"MANPATH\000"
	.align	2
.LC3:
	.ascii	"regcomp(%s) failed: %s\000"
	.align	2
.LC4:
	.ascii	".gz\000"
	.align	2
.LC5:
	.ascii	".bz2\000"
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"/[^/]+/\000"
	.align	2
.LC8:
	.ascii	"%s:\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #92
	mov	r6, r1
	mov	r5, r0
	ldr	r3, .L192
	ldr	r2, .L192+4
	ldr	r3, [r3]
	ldr	r0, [r2]
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L192+8
	ldr	r1, .L192+12
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	setlocale
	mov	r1, r6
	mov	r0, r5
	bl	scanopts
	bl	defaults
	ldr	r4, .L192+16
	add	r6, sp, #8
	ldr	r3, [r4]
	cmp	r3, #0
	ldreq	r2, .L192+20
	ldrne	r3, .L192+20
	streq	r3, [r2]
	strne	r3, [fp, #-88]
	ldr	r3, .L192+24
	streq	r2, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	ldreq	r2, .L192+28
	ldrne	r3, .L192+28
	streq	r3, [r2]
	strne	r3, [fp, #-92]
	ldr	r3, .L192+32
	streq	r2, [fp, #-92]
	ldr	r3, [r3]
	cmp	r3, #0
	ldreq	r2, .L192+36
	ldrne	r3, .L192+36
	streq	r3, [r2]
	strne	r3, [fp, #-96]
	ldr	r3, [fp, #-88]
	streq	r2, [fp, #-96]
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-96]
	ldr	r3, [r3]
	ldr	r1, [r1]
	add	r3, r2, r3
	cmn	r3, r1
	beq	.L166
.L5:
	cmp	r2, #0
	bne	.L167
	ldr	r3, .L192+40
	str	r3, [fp, #-104]
	ldr	r3, [r3]
	ldr	r10, [r3]
	cmp	r10, #0
	beq	.L86
.L8:
	mov	r9, r10
	mov	r7, r6
.L84:
	mov	r1, #47
	mov	r0, r9
	bl	strrchr
	cmp	r0, #0
	addne	r9, r0, #1
	mov	r0, r9
	bl	strlen
	cmp	r0, #2
	mov	r10, r0
	ble	.L17
	ldrb	r3, [r9]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L89
	ldrb	r3, [r9, #1]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L89
	add	r9, r9, #2
	mov	r0, r9
	bl	strlen
	cmp	r0, #2
	mov	r10, r0
	ble	.L17
.L89:
	sub	r0, r10, #2
	ldrb	r3, [r9, r0]	@ zero_extendqisi2
	add	r10, r9, r0
	cmp	r3, #44
	bne	.L16
	ldrb	r3, [r10, #1]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L16
	ldrb	r3, [r10, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	strb	r3, [r10]
	mov	r0, r9
	bl	strlen
	cmp	r0, #2
	mov	r10, r0
	ble	.L17
.L88:
	sub	r3, r10, #2
	ldrb	r2, [r9, r3]	@ zero_extendqisi2
	add	r3, r9, r3
	cmp	r2, #46
	bne	.L21
	ldrb	r1, [r3, #1]	@ zero_extendqisi2
	cmp	r1, #122
	beq	.L168
.L98:
	cmp	r2, #46
	beq	.L169
.L21:
	cmp	r10, #3
	ble	.L162
	sub	r4, r10, #3
	ldr	r1, .L192+44
	add	r0, r9, r4
	bl	strcmp
	cmp	r0, #0
	beq	.L25
	cmp	r10, #4
	beq	.L162
	sub	r4, r10, #4
	ldr	r1, .L192+48
	add	r0, r9, r4
	bl	strcmp
	cmp	r0, #0
	bne	.L162
.L25:
	strb	r0, [r9, r4]
.L162:
	mov	r0, r9
	bl	strlen
	mov	r10, r0
.L17:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	cmp	r3, #0
	str	r3, [fp, #-72]
	bne	.L170
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-80]
.L26:
	ldr	r3, [fp, #-88]
	ldr	r0, [r3]
	cmp	r0, #0
	streq	r0, [fp, #-76]
	beq	.L33
	ldr	r6, .L192+52
	ldr	r8, .L192+56
	ldr	r2, [r6]
	ldr	r3, [r8]
	cmp	r2, #0
	ldr	r2, [fp, #-72]
	add	r0, r10, #2
	orr	r3, r2, r3
	str	r3, [fp, #-72]
	beq	.L34
	bl	malloc
	subs	r3, r0, #0
	str	r3, [fp, #-84]
	beq	.L35
.L36:
	ldr	r3, .L192+60
	mov	r2, r9
	ldr	r1, [r3]
	ldr	r0, [fp, #-84]
	bl	sprintf
.L38:
	ldr	r1, .L192+64
	ldr	r0, [fp, #-84]
	bl	popen
	subs	r3, r0, #0
	str	r3, [fp, #-76]
	bne	.L171
.L33:
	ldr	r3, [fp, #-96]
	ldr	r0, [r3]
	cmp	r0, #0
	bne	.L172
.L97:
	mov	r5, r0
.L49:
	ldr	r3, [fp, #-72]
	ldr	r2, .L192+68
	clz	r3, r3
	ldr	r2, [r2]
	lsr	r3, r3, #5
	cmp	r2, #0
	moveq	r3, #0
	cmp	r3, #0
	bne	.L74
	ldr	r3, .L192+72
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L173
.L76:
	ldr	r4, .L192+76
	ldr	r0, [fp, #-80]
	ldr	r1, [r4]
	bl	fputs
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L80
	cmp	r5, #0
	bne	.L81
.L82:
	mov	r0, #10
	bl	putchar
.L74:
	ldr	r2, [fp, #-104]
	ldr	r3, [r2]
	ldr	r9, [r3, #4]
	add	r3, r3, #4
	cmp	r9, #0
	str	r3, [r2]
	bne	.L84
.L85:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L86
	sub	r0, fp, #64
	bl	regfree
.L86:
	ldr	r3, .L192+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L174
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L75:
	mov	r1, r9
	ldr	r0, .L192+80
	bl	printf
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L79
	mov	r0, #32
	bl	putchar
	b	.L76
.L172:
	ldr	r3, .L192+32
	ldr	r2, [fp, #-72]
	ldr	r4, [r3]
	ldr	r3, .L192+84
	ldr	r0, [r4]
	ldr	r3, [r3]
	cmp	r0, #0
	orr	r3, r2, r3
	str	r3, [fp, #-72]
	beq	.L50
	add	r10, r10, #2
	mov	r5, #0
	ldr	r8, .L192+88
	str	r10, [fp, #-108]
	sub	r6, fp, #68
	str	r7, [fp, #-100]
	b	.L57
.L52:
	mov	r0, r7
	bl	free
	ldr	r0, [r4, #4]!
	cmp	r0, #0
	beq	.L175
.L57:
	bl	strlen
	add	r0, r0, r10
	bl	malloc
	subs	r7, r0, #0
	beq	.L176
.L51:
	ldr	r1, [r4]
	mov	r0, r7
	bl	strcpy
	mov	r0, r7
	bl	strlen
	mov	r1, #47
	add	r2, r0, #1
	strb	r1, [r7, r0]
	mov	r1, r9
	add	r0, r7, r2
	bl	strcpy
	mov	r1, r6
	mov	r0, r7
	bl	stat
	cmp	r0, #0
	bne	.L52
	ldr	r3, .L192+92
	ldr	r2, [fp, #-68]
	ldr	r0, [r3]
	ldr	r1, [r8]
	and	r2, r2, r0
	cmp	r2, r1
	bne	.L52
	ldr	r3, .L192+84
	cmp	r5, #0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	bic	r3, r3, r2
	str	r3, [fp, #-72]
	beq	.L177
	mov	r0, r5
	bl	strlen
	mov	r1, r0
	mov	r0, r7
	str	r1, [fp, #-84]
	bl	strlen
	ldr	r1, [fp, #-84]
	add	r1, r1, r0
	add	r1, r1, #2
	mov	r0, r5
	bl	realloc
	subs	r5, r0, #0
	beq	.L178
.L55:
	mov	r0, r5
	bl	strlen
	mov	r1, #32
	add	r2, r0, #1
	strb	r1, [r5, r0]
	mov	r1, r7
	add	r0, r5, r2
	bl	strcpy
.L54:
	ldr	r3, .L192+52
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L52
	mov	r10, r7
	mov	r0, r10
	ldr	r7, [fp, #-100]
	bl	free
	b	.L56
.L170:
	ldr	r3, .L192+24
	ldr	r4, [r3]
	ldr	r3, .L192+96
	ldr	r0, [r4]
	ldr	r3, [r3]
	cmp	r0, #0
	str	r3, [fp, #-72]
	beq	.L92
	mov	r8, #0
	add	r5, r10, #2
	sub	r6, fp, #68
	str	r10, [fp, #-76]
	str	r7, [fp, #-84]
	b	.L32
.L28:
	mov	r0, r7
	bl	free
	ldr	r0, [r4, #4]!
	cmp	r0, #0
	beq	.L179
.L32:
	bl	strlen
	add	r0, r0, r5
	bl	malloc
	subs	r7, r0, #0
	beq	.L180
.L27:
	ldr	r1, [r4]
	mov	r0, r7
	bl	strcpy
	mov	r0, r7
	bl	strlen
	mov	r1, #47
	add	r2, r0, #1
	strb	r1, [r7, r0]
	mov	r1, r9
	add	r0, r7, r2
	bl	strcpy
	mov	r1, r6
	mov	r0, r7
	bl	stat
	cmp	r0, #0
	bne	.L28
	ldr	r3, .L192+92
	ldr	r1, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, .L192+100
	and	r2, r2, r1
	ldr	r0, [r3]
	cmp	r2, r0
	bne	.L28
	ldr	r3, .L192+104
	ldr	r2, [r3]
	ldr	r3, .L192+108
	ldr	ip, [r3]
	ldr	r3, .L192+112
	orr	r2, r2, ip
	ldr	r0, [r3]
	orr	r2, r2, r0
	tst	r2, r1
	beq	.L28
	ldr	r3, .L192+96
	cmp	r8, #0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	bic	r3, r3, r2
	str	r3, [fp, #-72]
	beq	.L181
	mov	r0, r8
	bl	strlen
	mov	r10, r0
	mov	r0, r7
	bl	strlen
	add	r1, r10, r0
	add	r1, r1, #2
	mov	r0, r8
	bl	realloc
	subs	r8, r0, #0
	beq	.L182
.L31:
	mov	r0, r8
	bl	strlen
	mov	r1, #32
	add	r2, r0, #1
	strb	r1, [r8, r0]
	mov	r1, r7
	add	r0, r8, r2
	bl	strcpy
.L30:
	ldr	r3, .L192+52
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L28
	str	r8, [fp, #-80]
	mov	r8, r7
	mov	r0, r8
	ldr	r10, [fp, #-76]
	ldr	r7, [fp, #-84]
	bl	free
	b	.L26
.L177:
	mov	r0, r7
	bl	strdup
	mov	r5, r0
	b	.L54
.L16:
	mov	r0, r9
	bl	strlen
	mov	r10, r0
	b	.L88
.L34:
	bl	malloc
	subs	r3, r0, #0
	str	r3, [fp, #-84]
	beq	.L35
.L37:
	ldr	r3, .L192+116
	mov	r2, r9
	ldr	r1, [r3]
	ldr	r0, [fp, #-84]
	bl	sprintf
	b	.L38
.L171:
	str	r10, [fp, #-108]
	str	r9, [fp, #-112]
	mov	r4, #0
	ldr	r10, [fp, #-76]
	ldr	r9, [fp, #-72]
	b	.L39
.L44:
	mov	r0, r4
	bl	strlen
	mov	r1, r0
	mov	r0, r5
	str	r1, [fp, #-72]
	bl	strlen
	ldr	r1, [fp, #-72]
	add	r1, r1, r0
	add	r1, r1, #2
	mov	r0, r4
	bl	realloc
	subs	r4, r0, #0
	beq	.L183
.L46:
	mov	r0, r4
	bl	strlen
	mov	r2, #32
	add	r3, r0, #1
	strb	r2, [r4, r0]
	mov	r1, r5
	add	r0, r4, r3
	bl	strcpy
.L45:
	mov	r0, r5
	bl	free
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L163
.L39:
	ldr	r3, .L192
	mov	r2, r10
	ldr	r1, [r3]
	mov	r0, r7
	sub	r1, r1, #1
	bl	fgets
	cmp	r0, #0
	beq	.L163
	ldr	r3, [r8]
	mov	r1, #10
	mov	r0, r7
	bic	r9, r9, r3
	bl	strchr
	cmp	r0, #0
	movne	r3, #0
	strbne	r3, [r0]
	mov	r3, #0
	mov	r2, #2
	str	r3, [sp]
	mov	r1, r7
	sub	r3, fp, #56
	sub	r0, fp, #64
	bl	regexec
	cmp	r0, #0
	bne	.L41
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-48]
	str	r1, [fp, #-72]
	sub	r2, r2, r1
	cmp	r2, #0
	bgt	.L184
.L41:
	mov	r0, r7
	bl	strdup
	subs	r5, r0, #0
	beq	.L185
.L43:
	cmp	r4, #0
	bne	.L44
	mov	r0, r5
	bl	strdup
	mov	r4, r0
	b	.L45
.L184:
	add	r0, r2, #1
	str	r2, [fp, #-100]
	bl	malloc
	subs	r5, r0, #0
	ldr	r2, [fp, #-100]
	ldr	r1, [fp, #-72]
	beq	.L186
.L42:
	mov	r0, r5
	add	r1, r7, r1
	str	r2, [fp, #-72]
	bl	memcpy
	mov	r3, #0
	ldr	r2, [fp, #-72]
	strb	r3, [r5, r2]
	b	.L43
.L163:
	ldr	r0, [fp, #-76]
	str	r9, [fp, #-72]
	ldr	r10, [fp, #-108]
	ldr	r9, [fp, #-112]
	bl	pclose
	ldr	r0, [fp, #-84]
	bl	free
	str	r4, [fp, #-76]
	b	.L33
.L179:
	ldr	r10, [fp, #-76]
	ldr	r7, [fp, #-84]
	str	r8, [fp, #-80]
	b	.L26
.L175:
	ldr	r7, [fp, #-100]
.L56:
	ldr	r3, .L192+120
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L49
	cmp	r5, #0
	beq	.L58
	ldr	r3, .L192+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L49
.L58:
	ldr	r0, [fp, #-108]
	bl	malloc
	subs	r3, r0, #0
	str	r3, [fp, #-100]
	beq	.L187
.L59:
	ldr	r3, .L192+124
	ldr	r4, [fp, #-100]
	ldr	r1, [r3]
	mov	r2, r9
	mov	r0, r4
	bl	sprintf
	mov	r0, r4
	ldr	r1, .L192+64
	bl	popen
	subs	r3, r0, #0
	str	r3, [fp, #-84]
	beq	.L49
	str	r9, [fp, #-108]
	ldr	r8, .L192+128
	ldr	r10, .L192+132
	ldr	r9, [fp, #-72]
.L60:
	cmp	r5, #0
	beq	.L71
	ldr	r3, .L192+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L164
.L71:
	ldr	r3, .L192
	mov	r0, r7
	ldr	r1, [r3]
	ldr	r2, [fp, #-84]
	sub	r1, r1, #1
	bl	fgets
	cmp	r0, #0
	beq	.L164
	mov	r1, #10
	mov	r0, r7
	bl	strchr
	cmp	r0, #0
	movne	r3, #0
	strbne	r3, [r0]
	ldr	r3, .L192+32
	ldr	r6, [r3]
	sub	r6, r6, #4
	b	.L62
.L64:
	mov	r0, r4
	bl	free
	mov	r3, #0
	mov	r1, r7
	mov	r2, r3
	str	r3, [sp]
	sub	r0, fp, #60
	bl	regexec
	cmp	r0, #0
	bne	.L65
	ldr	r3, .L192+84
	cmp	r5, #0
	ldr	r3, [r3]
	bic	r9, r9, r3
	beq	.L188
	mov	r0, r5
	bl	strlen
	mov	r4, r0
	mov	r0, r7
	bl	strlen
	add	r1, r4, r0
	add	r1, r1, #2
	mov	r0, r5
	bl	realloc
	subs	r5, r0, #0
	beq	.L189
.L67:
	mov	r0, r5
	bl	strlen
	mov	r2, #32
	add	r3, r0, #1
	strb	r2, [r5, r0]
	mov	r1, r7
	add	r0, r5, r3
	bl	strcpy
.L65:
	sub	r0, fp, #60
	bl	regfree
.L62:
	cmp	r5, #0
	beq	.L68
	ldr	r3, .L192+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L60
.L68:
	ldr	r0, [r6, #4]
	cmp	r0, #0
	beq	.L60
	bl	strlen
	add	r0, r0, #9
	bl	malloc
	subs	r4, r0, #0
	beq	.L190
.L63:
	mov	r3, #94
	mov	r0, r4
	strh	r3, [r0], #1	@ movhi
	ldr	r1, [r6, #4]!
	bl	strcpy
	mov	r0, r4
	bl	strlen
	mov	r2, #8
	ldr	r1, .L192+136
	add	r0, r4, r0
	bl	memcpy
	ldr	r2, [r8]
	ldr	r3, [r10]
	mov	r1, r4
	orr	r2, r2, r3
	sub	r0, fp, #60
	bl	regcomp
	cmp	r0, #0
	beq	.L64
	ldr	r3, .L192
	mov	r2, r7
	ldr	r3, [r3]
	sub	r1, fp, #64
	sub	r3, r3, #1
	bl	regerror
	ldr	r0, .L192+140
	mov	r3, r7
	mov	r2, r4
	ldr	r1, .L192+144
	ldr	r0, [r0]
	bl	errx
	b	.L64
.L188:
	mov	r0, r7
	bl	strdup
	mov	r5, r0
	b	.L65
.L79:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L158
	ldr	r4, .L192+76
.L80:
	mov	r0, #32
	bl	putchar
.L77:
	ldr	r0, [fp, #-76]
	ldr	r1, [r4]
	bl	fputs
	cmp	r5, #0
	beq	.L82
.L81:
	mov	r0, #32
	bl	putchar
.L78:
	mov	r0, r5
	ldr	r1, [r4]
	bl	fputs
	b	.L82
.L173:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L157
	ldr	r4, .L192+76
	b	.L77
.L181:
	mov	r0, r7
	bl	strdup
	mov	r8, r0
	b	.L30
.L169:
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #90
	bne	.L21
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L21
.L19:
	mov	r2, #0
	mov	r0, r9
	strb	r2, [r3]
	bl	strlen
	mov	r10, r0
	b	.L17
.L168:
	ldrb	r1, [r3, #2]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L19
	b	.L98
.L164:
	ldr	r0, [fp, #-84]
	str	r9, [fp, #-72]
	ldr	r9, [fp, #-108]
	bl	pclose
	ldr	r0, [fp, #-100]
	bl	free
	b	.L49
.L158:
	cmp	r5, #0
	beq	.L82
	ldr	r4, .L192+76
	b	.L81
.L157:
	cmp	r5, #0
	beq	.L74
	ldr	r4, .L192+76
	b	.L78
.L167:
	ldr	r0, [r4]
	bl	colonify
	mov	r2, #1
	mov	r1, r0
	ldr	r0, .L192+148
	bl	setenv
	ldr	r4, .L192+152
	ldr	r3, .L192+128
	ldr	r1, [r4]
	ldr	r2, [r3]
	sub	r0, fp, #64
	bl	regcomp
	cmp	r0, #0
	bne	.L191
.L7:
	ldr	r3, .L192+40
	str	r3, [fp, #-104]
	ldr	r3, [r3]
	ldr	r10, [r3]
	cmp	r10, #0
	bne	.L8
	b	.L85
.L166:
	ldr	r3, .L192+156
	ldr	r1, .L192+160
	ldr	r0, [r3]
	bl	errx
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	b	.L5
.L92:
	str	r0, [fp, #-80]
	b	.L26
.L50:
	ldr	r3, .L192+120
	ldr	r5, [r3]
	cmp	r5, #0
	bne	.L97
	add	r3, r10, #2
	str	r3, [fp, #-108]
	b	.L58
.L191:
	ldr	r3, .L192
	mov	r2, r6
	ldr	r3, [r3]
	sub	r1, fp, #64
	sub	r3, r3, #1
	bl	regerror
	ldr	r3, .L192+140
	ldr	r2, [r4]
	ldr	r0, [r3]
	ldr	r1, .L192+144
	mov	r3, r6
	bl	errx
	b	.L7
.L190:
	bl	abort
	b	.L63
.L180:
	bl	abort
	b	.L27
.L176:
	bl	abort
	b	.L51
.L189:
	bl	abort
	b	.L67
.L185:
	bl	abort
	b	.L43
.L183:
	bl	abort
	b	.L46
.L178:
	bl	abort
	b	.L55
.L174:
	bl	__stack_chk_fail
.L186:
	str	r2, [fp, #-72]
	bl	abort
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-72]
	b	.L42
.L187:
	bl	abort
	b	.L59
.L182:
	bl	abort
	b	.L31
.L35:
	bl	abort
	ldr	r3, [r6]
	cmp	r3, #0
	streq	r3, [fp, #-84]
	beq	.L37
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L36
.L193:
	.align	2
.L192:
	.word	BUFSIZ
	.word	LC_ALL
	.word	.LC9
	.word	.LC0
	.word	mandirs
	.word	opt_m
	.word	bindirs
	.word	opt_b
	.word	sourcedirs
	.word	opt_s
	.word	query
	.word	.LC4
	.word	.LC5
	.word	opt_a
	.word	NO_MAN_FOUND
	.word	MANWHEREISALLCMD
	.word	.LC6
	.word	opt_u
	.word	opt_q
	.word	stdout
	.word	.LC8
	.word	NO_SRC_FOUND
	.word	S_IFDIR
	.word	S_IFMT
	.word	NO_BIN_FOUND
	.word	S_IFREG
	.word	S_IXUSR
	.word	S_IXGRP
	.word	S_IXOTH
	.word	MANWHEREISCMD
	.word	opt_x
	.word	LOCATECMD
	.word	REG_EXTENDED
	.word	REG_NOSUB
	.word	.LC7
	.word	EX_UNAVAILABLE
	.word	.LC3
	.word	.LC2
	.word	MANWHEREISMATCH
	.word	EX_DATAERR
	.word	.LC1
	.size	main, .-main
	.comm	stdout,4,4
	.comm	sourcedirs,4,4
	.comm	query,4,4
	.comm	opt_x,4,4
	.comm	opt_u,4,4
	.comm	opt_s,4,4
	.comm	opt_q,4,4
	.comm	opt_m,4,4
	.comm	opt_b,4,4
	.comm	opt_a,4,4
	.comm	mandirs,4,4
	.comm	bindirs,4,4
	.comm	S_IXUSR,4,4
	.comm	S_IXOTH,4,4
	.comm	S_IXGRP,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFMT,4,4
	.comm	S_IFDIR,4,4
	.comm	REG_NOSUB,4,4
	.comm	REG_EXTENDED,4,4
	.comm	NO_SRC_FOUND,4,4
	.comm	NO_MAN_FOUND,4,4
	.comm	NO_BIN_FOUND,4,4
	.comm	MANWHEREISMATCH,4,4
	.comm	MANWHEREISCMD,4,4
	.comm	MANWHEREISALLCMD,4,4
	.comm	LOCATECMD,4,4
	.comm	LC_ALL,4,4
	.comm	EX_UNAVAILABLE,4,4
	.comm	EX_DATAERR,4,4
	.comm	BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
