	.file	"extr_gzip.c_check_outfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s already exists -- do you wish to overwrite (y or n)? "
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"\tnot overwriting\n"
.LC2:
	.string	"%s already exists -- skipping"
	.text
	.p2align 4
	.type	check_outfile, @function
check_outfile:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR lflag[rip], 0
	je	.L2
.L11:
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, 8[rsp]
	mov	rbp, rdi
	call	stat@PLT
	test	rax, rax
	jne	.L11
	cmp	QWORD PTR fflag[rip], 0
	jne	.L12
	mov	edi, DWORD PTR STDIN_FILENO[rip]
	call	isatty@PLT
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR stderr[rip]
	xor	eax, eax
	mov	rdx, rbp
	lea	rsi, .LC0[rip]
	mov	WORD PTR 22[rsp], ax
	xor	eax, eax
	mov	QWORD PTR 14[rsp], 110
	call	fprintf@PLT
	mov	edx, DWORD PTR stdin[rip]
	lea	rdi, 14[rsp]
	mov	esi, 9
	call	fgets@PLT
	movzx	eax, BYTE PTR 14[rsp]
	and	eax, -33
	cmp	al, 89
	je	.L12
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	fprintf@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	unlink@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	call	maybe_warnx@PLT
	xor	eax, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	check_outfile, .-check_outfile
	.comm	stdin,4,4
	.comm	stderr,4,4
	.comm	lflag,8,8
	.comm	fflag,8,8
	.comm	STDIN_FILENO,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_gzip.c_check_outfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s already exists -- do you wish to overwrite (y or"
	.ascii	" n)? \000"
	.align	2
.LC1:
	.ascii	"\011not overwriting\012\000"
	.align	2
.LC2:
	.ascii	"%s already exists -- skipping\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_outfile, %function
check_outfile:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	ldr	r2, .L15+4
	ldr	r3, [r3]
	sub	sp, sp, #24
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	beq	.L2
.L11:
	mov	r4, #1
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	add	r1, sp, #4
	mov	r5, r0
	bl	stat
	cmp	r0, #0
	bne	.L11
	ldr	r3, .L15+8
	ldr	r6, [r3]
	cmp	r6, #0
	bne	.L12
	ldr	r3, .L15+12
	ldr	r0, [r3]
	bl	isatty
	subs	r4, r0, #0
	beq	.L6
	mov	r3, #110
	ldr	r4, .L15+16
	mov	r2, r5
	ldr	r1, .L15+20
	ldr	r0, [r4]
	str	r3, [sp, #8]
	str	r6, [sp, #12]
	strh	r6, [sp, #16]	@ movhi
	bl	fprintf
	ldr	r3, .L15+24
	mov	r1, #9
	ldr	r2, [r3]
	add	r0, sp, #8
	bl	fgets
	ldrb	r3, [sp, #8]	@ zero_extendqisi2
	and	r3, r3, #223
	cmp	r3, #89
	beq	.L12
	ldr	r0, [r4]
	ldr	r1, .L15+28
	mov	r4, r6
	bl	fprintf
	b	.L1
.L12:
	mov	r0, r5
	bl	unlink
	b	.L11
.L6:
	mov	r1, r5
	ldr	r0, .L15+32
	bl	maybe_warnx
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	lflag
	.word	.LC3
	.word	fflag
	.word	STDIN_FILENO
	.word	stderr
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.size	check_outfile, .-check_outfile
	.comm	stdin,4,4
	.comm	stderr,4,4
	.comm	lflag,4,4
	.comm	fflag,4,4
	.comm	STDIN_FILENO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
