	.file	"extr_apps.c_bio_open_default_.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"stdin"
.LC1:
	.string	"stdout"
.LC2:
	.string	"-"
.LC3:
	.string	"Can't open %s, %s\n"
.LC4:
	.string	"Can't open %s for %s, %s\n"
	.text
	.p2align 4
	.type	bio_open_default_, @function
bio_open_default_:
.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	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	je	.L5
	lea	rsi, .LC2[rip]
	mov	r13, rdi
	call	strcmp@PLT
	test	rax, rax
	jne	.L22
.L5:
	cmp	bpl, 114
	je	.L23
	mov	edi, r12d
	call	dup_bio_out@PLT
	mov	r12, rax
	test	ebx, ebx
	jne	.L20
.L8:
	test	r12, r12
	je	.L24
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, r12d
	call	dup_bio_in@PLT
	mov	r12, rax
	test	ebx, ebx
	je	.L8
.L20:
	xor	eax, eax
	call	ERR_clear_error@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movsx	ebp, bpl
	mov	esi, r12d
	mov	edi, ebp
	call	modestr@PLT
	mov	rdi, r13
	mov	esi, eax
	call	BIO_new_file@PLT
	mov	r12, rax
	test	ebx, ebx
	jne	.L20
	test	rax, rax
	jne	.L1
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, ebp
	mov	ebx, eax
	call	modeverb@PLT
	mov	edi, DWORD PTR bio_err[rip]
	mov	r8d, ebx
	mov	rdx, r13
	mov	ecx, eax
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	cmp	bpl, 114
	lea	rdx, .LC0[rip]
	mov	edi, DWORD PTR bio_err[rip]
	mov	ecx, eax
	lea	rax, .LC1[rip]
	lea	rsi, .LC3[rip]
	cmovne	rdx, rax
	xor	eax, eax
	call	BIO_printf@PLT
.L11:
	mov	edi, DWORD PTR bio_err[rip]
	xor	r12d, r12d
	call	ERR_print_errors@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bio_open_default_, .-bio_open_default_
	.comm	errno,4,4
	.comm	bio_err,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_apps.c_bio_open_default_.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"stdin\000"
	.align	2
.LC1:
	.ascii	"stdout\000"
	.align	2
.LC2:
	.ascii	"Can't open %s, %s\012\000"
	.align	2
.LC3:
	.ascii	"Can't open %s for %s, %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bio_open_default_, %function
bio_open_default_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	subs	r6, r0, #0
	mov	r7, r1
	mov	r0, r2
	mov	r5, r3
	sub	sp, sp, #12
	beq	.L2
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L19
.L4:
	mov	r1, r0
	mov	r0, r7
	bl	modestr
	mov	r1, r0
	mov	r0, r6
	bl	BIO_new_file
	cmp	r5, #0
	mov	r4, r0
	bne	.L17
	cmp	r0, #0
	beq	.L20
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L19:
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
.L2:
	cmp	r7, #114
	beq	.L21
	bl	dup_bio_out
	mov	r4, r0
.L6:
	cmp	r5, #0
	bne	.L17
	cmp	r4, #0
	bne	.L1
	ldr	r3, .L22
	ldr	r2, .L22+4
	ldr	r1, .L22+8
	ldr	r4, .L22+12
	cmp	r7, #114
	ldr	r0, [r3]
	movne	r7, r1
	moveq	r7, r2
	ldr	r5, [r4]
	bl	strerror
	mov	r2, r7
	mov	r3, r0
	ldr	r1, .L22+16
	mov	r0, r5
	bl	BIO_printf
.L10:
	ldr	r0, [r4]
	mov	r4, #0
	bl	ERR_print_errors
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	bl	ERR_clear_error
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	bl	dup_bio_in
	mov	r4, r0
	b	.L6
.L20:
	ldr	r4, .L22+12
	mov	r0, r7
	ldr	r7, [r4]
	bl	modeverb
	ldr	r3, .L22
	mov	r5, r0
	ldr	r0, [r3]
	bl	strerror
	mov	r2, r0
	mov	r3, r5
	str	r2, [sp]
	mov	r0, r7
	mov	r2, r6
	ldr	r1, .L22+20
	bl	BIO_printf
	b	.L10
.L23:
	.align	2
.L22:
	.word	errno
	.word	.LC0
	.word	.LC1
	.word	bio_err
	.word	.LC2
	.word	.LC3
	.size	bio_open_default_, .-bio_open_default_
	.comm	errno,4,4
	.comm	bio_err,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
