	.file	"410374.c"
	.intel_syntax noprefix
	.text
	.globl	max_char
	.type	max_char, @function
max_char:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -1040[rbp]
	mov	eax, 0
	mov	ecx, 128
	mov	rdi, rdx
	rep stosq
	jmp	.L2
.L3:
	movsx	eax, BYTE PTR -1049[rbp]
	movsx	rdx, eax
	mov	edx, DWORD PTR -1040[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
.L2:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -1049[rbp], al
	cmp	BYTE PTR -1049[rbp], -1
	jne	.L3
	mov	BYTE PTR -1049[rbp], 0
	mov	eax, DWORD PTR -1040[rbp]
	mov	DWORD PTR -1044[rbp], eax
	mov	DWORD PTR -1048[rbp], 1
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	DWORD PTR -1044[rbp], eax
	jge	.L5
	mov	eax, DWORD PTR -1048[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR -1048[rbp]
	mov	BYTE PTR -1049[rbp], al
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	mov	DWORD PTR -1044[rbp], eax
.L5:
	add	DWORD PTR -1048[rbp], 1
.L4:
	cmp	DWORD PTR -1048[rbp], 255
	jle	.L6
	mov	rax, QWORD PTR -1072[rbp]
	mov	edx, DWORD PTR -1044[rbp]
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -1049[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	max_char, .-max_char
	.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	"410374.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	max_char
	.syntax unified
	.arm
	.fpu softvfp
	.type	max_char, %function
max_char:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	str	r1, [fp, #-1044]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L2
.L5:
	ldrb	r2, [fp, #-1033]	@ zero_extendqisi2
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1028]
.L2:
	ldr	r0, [fp, #-1040]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-1033]
	b	.L5
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	max_char, .-max_char
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
