	.file	"extr_nmakehlp.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"CL"
.LC2:
	.string	"LINK"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"usage: %s -c <compiler option>\nTests for whether cl.exe supports an option\nexitcodes: 0 == no, 1 == yes, 2 == error\n"
	.align 8
.LC4:
	.string	"usage: %s -l <linker option>\nTests for whether link.exe supports an option\nexitcodes: 0 == no, 1 == yes, 2 == error\n"
	.align 8
.LC5:
	.string	"usage: %s -f <string> <substring>\nFind a substring within another\nexitcodes: 0 == no, 1 == yes, 2 == error\n"
	.align 8
.LC6:
	.string	"usage: %s -s <substitutions file> <file>\nPerform a set of string map type substutitions on a file\nexitcodes: 0\n"
	.align 8
.LC7:
	.string	"usage: %s -V filename matchstring\nExtract a version from a file:\neg: pkgIndex.tcl \"package ifneeded http\""
	.section	.rodata.str1.1
.LC8:
	.string	"%s\n"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"usage: %s -Q path\nEmit the fully qualified path\nexitcodes: 0 == no, 1 == yes, 2 == error\n"
	.align 8
.LC10:
	.string	"usage: %s -c|-f|-l|-Q|-s|-V ...\nThis is a little helper app to equalize shell differences between WinNT and\nWin9x and get nmake.exe to accomplish its job.\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 336
	.cfi_def_cfa_offset 368
	mov	edi, DWORD PTR SEM_FAILCRITICALERRORS[rip]
	or	edi, DWORD PTR SEM_NOOPENFILEERRORBOX[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 328[rsp], rax
	xor	eax, eax
	call	SetErrorMode@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	SetEnvironmentVariable@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	SetEnvironmentVariable@PLT
	cmp	r12d, 1
	jle	.L2
	mov	rax, QWORD PTR 8[rbx]
	cmp	BYTE PTR [rax], 45
	je	.L23
.L2:
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC10[rip]
.L21:
	mov	esi, 299
	mov	rdi, rbp
	call	snprintf@PLT
	mov	edi, DWORD PTR STD_ERROR_HANDLE[rip]
	mov	r12d, eax
	call	GetStdHandle@PLT
	lea	rcx, 12[rsp]
	xor	r8d, r8d
	mov	edx, r12d
	mov	edi, eax
	mov	rsi, rbp
	call	WriteFile@PLT
	mov	eax, 2
.L1:
	mov	rdx, QWORD PTR 328[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L24
	add	rsp, 336
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	movzx	eax, BYTE PTR 1[rax]
	sub	eax, 81
	cmp	al, 34
	ja	.L2
	lea	rdx, .L4[rip]
	movzx	eax, al
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L8-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L7-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L6-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L5-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.section	.text.startup
.L3:
	cmp	r12d, 2
	je	.L25
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	call	SubstituteFile@PLT
	jmp	.L1
.L5:
	cmp	r12d, 3
	je	.L12
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC4[rip]
	jmp	.L21
.L6:
	cmp	r12d, 2
	je	.L26
	xor	eax, eax
	cmp	r12d, 3
	je	.L1
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	call	IsIn@PLT
	jmp	.L1
.L7:
	cmp	r12d, 3
	je	.L10
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC3[rip]
	jmp	.L21
.L8:
	cmp	r12d, 4
	je	.L15
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	mov	esi, 299
	lea	rdx, .LC7[rip]
	mov	rdi, rbp
	call	snprintf@PLT
	mov	edi, DWORD PTR STD_ERROR_HANDLE[rip]
	mov	r12d, eax
	call	GetStdHandle@PLT
	lea	rcx, 12[rsp]
	xor	r8d, r8d
	mov	edx, r12d
	mov	edi, eax
	mov	rsi, rbp
	call	WriteFile@PLT
	xor	eax, eax
	jmp	.L1
.L9:
	cmp	r12d, 3
	je	.L16
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC9[rip]
	jmp	.L21
.L16:
	mov	rdi, QWORD PTR 16[rbx]
	call	QualifyPath@PLT
	jmp	.L1
.L12:
	mov	rdi, QWORD PTR 16[rbx]
	call	CheckForLinkerFeature@PLT
	jmp	.L1
.L10:
	mov	rdi, QWORD PTR 16[rbx]
	call	CheckForCompilerFeature@PLT
	jmp	.L1
.L15:
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	call	GetVersionFromFile@PLT
	lea	rdi, .LC8[rip]
	mov	rsi, rax
	call	printf@PLT
	xor	eax, eax
	jmp	.L1
.L25:
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC6[rip]
	jmp	.L21
.L26:
	mov	rcx, QWORD PTR [rbx]
	lea	rbp, 16[rsp]
	lea	rdx, .LC5[rip]
	jmp	.L21
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	STD_ERROR_HANDLE,4,4
	.comm	SEM_NOOPENFILEERRORBOX,4,4
	.comm	SEM_FAILCRITICALERRORS,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_nmakehlp.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"CL\000"
	.align	2
.LC2:
	.ascii	"LINK\000"
	.align	2
.LC3:
	.ascii	"usage: %s -c <compiler option>\012Tests for whether"
	.ascii	" cl.exe supports an option\012exitcodes: 0 == no, 1"
	.ascii	" == yes, 2 == error\012\000"
	.align	2
.LC4:
	.ascii	"usage: %s -l <linker option>\012Tests for whether l"
	.ascii	"ink.exe supports an option\012exitcodes: 0 == no, 1"
	.ascii	" == yes, 2 == error\012\000"
	.align	2
.LC5:
	.ascii	"usage: %s -f <string> <substring>\012Find a substri"
	.ascii	"ng within another\012exitcodes: 0 == no, 1 == yes, "
	.ascii	"2 == error\012\000"
	.align	2
.LC6:
	.ascii	"usage: %s -s <substitutions file> <file>\012Perform"
	.ascii	" a set of string map type substutitions on a file\012"
	.ascii	"exitcodes: 0\012\000"
	.align	2
.LC7:
	.ascii	"usage: %s -V filename matchstring\012Extract a vers"
	.ascii	"ion from a file:\012eg: pkgIndex.tcl \"package ifne"
	.ascii	"eded http\"\000"
	.align	2
.LC8:
	.ascii	"%s\012\000"
	.align	2
.LC9:
	.ascii	"usage: %s -Q path\012Emit the fully qualified path\012"
	.ascii	"exitcodes: 0 == no, 1 == yes, 2 == error\012\000"
	.align	2
.LC10:
	.ascii	"usage: %s -c|-f|-l|-Q|-s|-V ...\012This is a little"
	.ascii	" helper app to equalize shell differences between W"
	.ascii	"inNT and\012Win9x and get nmake.exe to accomplish i"
	.ascii	"ts job.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.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 = 312
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r2, .L27
	ldr	r3, .L27+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #324
	orr	r0, r0, r3
	ldr	r3, .L27+8
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #316]
	mov	r3,#0
	bl	SetErrorMode
	ldr	r1, .L27+12
	ldr	r0, .L27+16
	bl	SetEnvironmentVariable
	ldr	r1, .L27+12
	ldr	r0, .L27+20
	bl	SetEnvironmentVariable
	cmp	r4, #1
	ble	.L2
	ldr	r3, [r5, #4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #45
	beq	.L24
.L2:
	ldr	r3, [r5]
	ldr	r2, .L27+24
	add	r0, sp, #16
.L20:
	ldr	r1, .L27+28
	bl	snprintf
	mov	r4, r0
	ldr	r3, .L27+32
	ldr	r0, [r3]
	bl	GetStdHandle
	mov	r3, #0
	mov	r2, r4
.L21:
	str	r3, [sp]
	add	r1, sp, #16
	add	r3, sp, #12
	bl	WriteFile
	mov	r0, #2
.L1:
	ldr	r3, .L27+8
	ldr	r2, [r3]
	ldr	r3, [sp, #316]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #324
	@ sp needed
	pop	{r4, r5, pc}
.L24:
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	sub	r3, r3, #81
	cmp	r3, #34
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L8
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L7
	.word	.L2
	.word	.L2
	.word	.L6
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L5
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L3
.L3:
	cmp	r4, #2
	beq	.L26
	ldr	r1, [r5, #12]
	ldr	r0, [r5, #8]
	bl	SubstituteFile
	b	.L1
.L5:
	cmp	r4, #3
	beq	.L12
	ldr	r3, [r5]
	ldr	r2, .L27+36
	add	r0, sp, #16
	b	.L20
.L6:
	cmp	r4, #2
	ldreq	r3, [r5]
	ldreq	r2, .L27+40
	addeq	r0, sp, #16
	beq	.L22
	cmp	r4, #3
	moveq	r0, #0
	beq	.L1
	ldr	r1, [r5, #12]
	ldr	r0, [r5, #8]
	bl	IsIn
	b	.L1
.L7:
	cmp	r4, #3
	beq	.L10
	ldr	r3, [r5]
	ldr	r2, .L27+44
	add	r0, sp, #16
	b	.L20
.L8:
	cmp	r4, #4
	beq	.L15
	ldr	r3, [r5]
	ldr	r2, .L27+48
	ldr	r1, .L27+28
	add	r0, sp, #16
	bl	snprintf
	mov	r4, #0
	mov	r5, r0
	ldr	r3, .L27+32
	ldr	r0, [r3]
	bl	GetStdHandle
	mov	r2, r5
	add	r1, sp, #16
	str	r4, [sp]
	add	r3, sp, #12
	bl	WriteFile
	mov	r0, r4
	b	.L1
.L9:
	cmp	r4, #3
	ldrne	r3, [r5]
	ldrne	r2, .L27+52
	addne	r0, sp, #16
	bne	.L20
.L16:
	ldr	r0, [r5, #8]
	bl	QualifyPath
	b	.L1
.L12:
	ldr	r0, [r5, #8]
	bl	CheckForLinkerFeature
	b	.L1
.L10:
	ldr	r0, [r5, #8]
	bl	CheckForCompilerFeature
	b	.L1
.L15:
	ldr	r1, [r5, #12]
	ldr	r0, [r5, #8]
	bl	GetVersionFromFile
	mov	r1, r0
	ldr	r0, .L27+56
	bl	printf
	mov	r0, #0
	b	.L1
.L26:
	ldr	r3, [r5]
	ldr	r2, .L27+60
	add	r0, sp, #16
.L22:
	ldr	r1, .L27+28
	bl	snprintf
	mov	r5, r0
	ldr	r3, .L27+32
	ldr	r0, [r3]
	bl	GetStdHandle
	mov	r3, #0
	mov	r2, r5
	b	.L21
.L25:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	SEM_FAILCRITICALERRORS
	.word	SEM_NOOPENFILEERRORBOX
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC10
	.word	299
	.word	STD_ERROR_HANDLE
	.word	.LC4
	.word	.LC5
	.word	.LC3
	.word	.LC7
	.word	.LC9
	.word	.LC8
	.word	.LC6
	.size	main, .-main
	.comm	STD_ERROR_HANDLE,4,4
	.comm	SEM_NOOPENFILEERRORBOX,4,4
	.comm	SEM_FAILCRITICALERRORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
