	.file	"extr_fileio.c_FIO_openSrcFile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Using stdin for input \n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"zstd: can't stat %s : %s -- ignored \n"
	.align 8
.LC2:
	.string	"zstd: %s is not a regular file -- ignored \n"
	.section	.rodata.str1.1
.LC3:
	.string	"rb"
.LC4:
	.string	"zstd: %s: %s \n"
	.text
	.p2align 4
	.type	FIO_openSrcFile, @function
FIO_openSrcFile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	mov	esi, DWORD PTR stdinmark[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	eax, eax
	je	.L8
	mov	rdi, r12
	call	UTIL_fileExist@PLT
	test	eax, eax
	je	.L9
	mov	rdi, r12
	call	UTIL_isRegularFile@PLT
	test	eax, eax
	jne	.L5
	mov	rdi, r12
	call	UTIL_isFIFO@PLT
	test	eax, eax
	je	.L10
.L5:
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	fopen@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r13
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, 4
	call	DISPLAYLEVEL@PLT
	mov	rdi, QWORD PTR stdin[rip]
	call	SET_BINARY_MODE@PLT
	mov	r13, QWORD PTR stdin[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	rax, r13
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	rdx, r12
	mov	edi, 1
	lea	rsi, .LC4[rip]
	mov	ecx, eax
	xor	eax, eax
	call	DISPLAYLEVEL@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR errno[rip]
	xor	r13d, r13d
	call	strerror@PLT
	mov	rdx, r12
	mov	edi, 1
	lea	rsi, .LC1[rip]
	mov	ecx, eax
	xor	eax, eax
	call	DISPLAYLEVEL@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r13
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	mov	edi, 1
	xor	r13d, r13d
	call	DISPLAYLEVEL@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	FIO_openSrcFile, .-FIO_openSrcFile
	.comm	stdinmark,4,4
	.comm	stdin,8,8
	.comm	errno,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_fileio.c_FIO_openSrcFile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Using stdin for input \012\000"
	.align	2
.LC1:
	.ascii	"zstd: can't stat %s : %s -- ignored \012\000"
	.align	2
.LC2:
	.ascii	"zstd: %s is not a regular file -- ignored \012\000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"zstd: %s: %s \012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FIO_openSrcFile, %function
FIO_openSrcFile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	ldr	r3, .L12
	mov	r0, r5
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	beq	.L8
	mov	r0, r5
	bl	UTIL_fileExist
	subs	r4, r0, #0
	beq	.L9
	mov	r0, r5
	bl	UTIL_isRegularFile
	cmp	r0, #0
	bne	.L5
	mov	r0, r5
	bl	UTIL_isFIFO
	subs	r4, r0, #0
	beq	.L10
.L5:
	mov	r0, r5
	ldr	r1, .L12+4
	bl	fopen
	subs	r4, r0, #0
	beq	.L11
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r4, .L12+8
	ldr	r1, .L12+12
	mov	r0, #4
	bl	DISPLAYLEVEL
	ldr	r0, [r4]
	bl	SET_BINARY_MODE
	ldr	r4, [r4]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	bl	strerror
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L12+20
	mov	r0, #1
	bl	DISPLAYLEVEL
	b	.L1
.L9:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	bl	strerror
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L12+24
	mov	r0, #1
	bl	DISPLAYLEVEL
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r2, r5
	ldr	r1, .L12+28
	mov	r0, #1
	bl	DISPLAYLEVEL
	b	.L1
.L13:
	.align	2
.L12:
	.word	stdinmark
	.word	.LC3
	.word	stdin
	.word	.LC0
	.word	errno
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.size	FIO_openSrcFile, .-FIO_openSrcFile
	.comm	stdinmark,4,4
	.comm	stdin,4,4
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
