	.file	"633727.c"
	.intel_syntax noprefix
	.text
	.globl	putchar
	.type	putchar, @function
putchar:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 255
	jg	.L2
	cmp	DWORD PTR -20[rbp], 31
	jg	.L3
.L2:
	cmp	DWORD PTR -20[rbp], 10
	je	.L3
	cmp	DWORD PTR -20[rbp], 9
	je	.L3
	cmp	DWORD PTR -20[rbp], 8
	je	.L3
	cmp	DWORD PTR -20[rbp], 13
	jne	.L4
.L3:
	mov	eax, DWORD PTR -20[rbp]
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR early[rip]
	test	al, al
	je	.L5
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	serial_putc@PLT
	jmp	.L4
.L5:
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	vsputc@PLT
.L4:
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	putchar, .-putchar
	.section	.rodata
.LC0:
	.string	"putc stream = %p"
	.text
	.globl	fputc
	.type	fputc, @function
fputc:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stderr[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L8
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L8
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	panic@PLT
	mov	eax, -1
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fputc, .-fputc
	.globl	putc
	.type	putc, @function
putc:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stderr[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L11
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L11
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	panic@PLT
	mov	eax, -1
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	putc, .-putc
	.section	.rodata
.LC1:
	.string	"puts stream = %p"
	.text
	.globl	fputs
	.type	fputs, @function
fputs:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stderr[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L14
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	panic@PLT
	mov	eax, -1
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	puts@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fputs, .-fputs
	.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	"633727.c"
	.text
	.align	2
	.global	putchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	putchar, %function
putchar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #255
	bgt	.L2
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	bgt	.L3
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	beq	.L3
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	beq	.L3
	ldr	r3, [fp, #-16]
	cmp	r3, #8
	beq	.L3
	ldr	r3, [fp, #-16]
	cmp	r3, #13
	bne	.L4
.L3:
	ldr	r3, [fp, #-16]
	strb	r3, [fp, #-5]
	ldr	r3, .L7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	serial_putc
	b	.L4
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	vsputc
.L4:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	early
	.size	putchar, .-putchar
	.section	.rodata
	.align	2
.LC0:
	.ascii	"putc stream = %p\000"
	.text
	.align	2
	.global	fputc
	.syntax unified
	.arm
	.fpu softvfp
	.type	fputc, %function
fputc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L10
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L10
	ldr	r1, [fp, #-12]
	ldr	r0, .L12+8
	bl	panic
	mvn	r3, #0
	b	.L11
.L10:
	ldr	r0, [fp, #-8]
	bl	putchar
	mov	r3, r0
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	stderr
	.word	stdout
	.word	.LC0
	.size	fputc, .-fputc
	.align	2
	.global	putc
	.syntax unified
	.arm
	.fpu softvfp
	.type	putc, %function
putc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L15
	ldr	r3, .L17+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L15
	ldr	r1, [fp, #-12]
	ldr	r0, .L17+8
	bl	panic
	mvn	r3, #0
	b	.L16
.L15:
	ldr	r0, [fp, #-8]
	bl	putchar
	mov	r3, r0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	stderr
	.word	stdout
	.word	.LC0
	.size	putc, .-putc
	.section	.rodata
	.align	2
.LC1:
	.ascii	"puts stream = %p\000"
	.text
	.align	2
	.global	fputs
	.syntax unified
	.arm
	.fpu softvfp
	.type	fputs, %function
fputs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L20
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L20
	ldr	r1, [fp, #-12]
	ldr	r0, .L22+8
	bl	panic
	mvn	r3, #0
	b	.L21
.L20:
	ldr	r0, [fp, #-8]
	bl	puts
	mov	r3, r0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	stderr
	.word	stdout
	.word	.LC1
	.size	fputs, .-fputs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
