	.file	"1059873.c"
	.intel_syntax noprefix
	.text
	.globl	res
	.bss
	.align 4
	.type	res, @object
	.size	res, 4
res:
	.zero	4
	.globl	buffer
	.align 32
	.type	buffer, @object
	.size	buffer, 80
buffer:
	.zero	80
	.globl	ptr
	.align 8
	.type	ptr, @object
	.size	ptr, 8
ptr:
	.zero	8
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Hello world !\n"
.LC1:
	.string	"t=%i\n"
.LC2:
	.string	"%d"
.LC3:
	.string	"Toto"
	.text
	.globl	test_stdio
	.type	test_stdio, @function
test_stdio:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR res[rip], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buffer[rip]
	call	fgets@PLT
	mov	QWORD PTR ptr[rip], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 99
	call	fputc@PLT
	mov	DWORD PTR res[rip], eax
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	lea	rdi, buffer[rip]
	call	fputs@PLT
	mov	DWORD PTR res[rip], eax
	call	getchar@PLT
	mov	DWORD PTR res[rip], eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR res[rip], eax
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR res[rip], eax
	mov	edi, 99
	call	putchar@PLT
	mov	DWORD PTR res[rip], eax
	lea	rdx, i[rip]
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR res[rip], eax
	mov	eax, DWORD PTR res[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test_stdio, .-test_stdio
	.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	"1059873.c"
	.text
	.comm	res,4,4
	.comm	buffer,40,4
	.comm	ptr,4,4
	.comm	i,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello world !\012\000"
	.align	2
.LC1:
	.ascii	"t=%i\012\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Toto\000"
	.text
	.align	2
	.global	test_stdio
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_stdio, %function
test_stdio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #1
	ldr	r0, .L3+8
	bl	fgets
	mov	r3, r0
	ldr	r2, .L3+12
	str	r3, [r2]
	ldr	r3, .L3+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #99
	bl	fputc
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r3, .L3+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L3+8
	bl	fputs
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	bl	getchar
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r0, .L3+20
	bl	printf
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r3, .L3+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L3+28
	bl	printf
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	mov	r0, #99
	bl	putchar
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r2, .L3+24
	ldr	r1, .L3+32
	ldr	r0, .L3+36
	bl	__isoc99_sscanf
	mov	r3, r0
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	stdin
	.word	res
	.word	buffer
	.word	ptr
	.word	stdout
	.word	.LC0
	.word	i
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	test_stdio, .-test_stdio
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
