	.file	"896174.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"@(#)the_stack_data/896174.c Fri Dec  6 05:45:32 2024 compiled: Dec  6 2024 05:45:32"
	.text
	.globl	freopen_version
	.type	freopen_version, @function
freopen_version:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	freopen_version, .-freopen_version
	.section	.rodata
.LC1:
	.string	"stdout"
.LC2:
	.string	"..."
.LC3:
	.string	"stdin"
	.align 8
.LC4:
	.string	"%s: cannot freopen(\"%s\", \"%s\", %s): %s\n"
	.text
	.globl	FreOpen
	.type	FreOpen, @function
FreOpen:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rbx, rdx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, rbx
	mov	rsi, rcx
	mov	rdi, rax
	call	freopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	mov	eax, 0
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stdin[rip]
	cmp	rbx, rax
	je	.L4
	mov	rax, QWORD PTR stdout[rip]
	cmp	rbx, rax
	jne	.L5
	lea	rax, .LC1[rip]
	jmp	.L7
.L5:
	lea	rax, .LC2[rip]
	jmp	.L7
.L4:
	lea	rax, .LC3[rip]
.L7:
	mov	rdx, QWORD PTR argv0[rip]
	mov	rdi, QWORD PTR stderr[rip]
	mov	r8, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9, rax
	lea	rsi, .LC4[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	FreOpen, .-FreOpen
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"896174.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"@(#)the_stack_data/896174.c Fri Dec  6 05:45:32 202"
	.ascii	"4 compiled: Dec  6 2024 05:45:32\000"
	.text
	.align	2
	.global	freopen_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	freopen_version, %function
freopen_version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	freopen_version, .-freopen_version
	.section	.rodata
	.align	2
.LC1:
	.ascii	"stdout\000"
	.align	2
.LC2:
	.ascii	"...\000"
	.align	2
.LC3:
	.ascii	"stdin\000"
	.align	2
.LC4:
	.ascii	"%s: cannot freopen(\"%s\", \"%s\", %s): %s\012\000"
	.text
	.align	2
	.global	FreOpen
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreOpen, %function
FreOpen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r4, r2
	mov	r2, r4
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	freopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L11
	ldr	r5, [r3]
	ldr	r3, .L11+4
	ldr	r6, [r3]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r4, r3
	beq	.L6
	ldr	r3, .L11+12
	ldr	r3, [r3]
	cmp	r4, r3
	bne	.L7
	ldr	r4, .L11+16
	b	.L9
.L7:
	ldr	r4, .L11+20
	b	.L9
.L6:
	ldr	r4, .L11+24
.L9:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	mov	r2, r6
	ldr	r1, .L11+28
	mov	r0, r5
	bl	fprintf
.L5:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L12:
	.align	2
.L11:
	.word	stderr
	.word	argv0
	.word	stdin
	.word	stdout
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	FreOpen, .-FreOpen
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
