	.file	"93242.c"
	.intel_syntax noprefix
	.text
	.globl	o0
	.section	.rodata
	.align 16
	.type	o0, @object
	.size	o0, 28
o0:
	.string	"%02X"
	.zero	2
	.string	"%02x"
	.zero	2
	.string	"%03o"
	.zero	2
	.string	"%03u"
	.zero	2
	.globl	in
	.bss
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.globl	out
	.align 8
	.type	out, @object
	.size	out, 8
out:
	.zero	8
	.globl	spc
	.data
	.align 32
	.type	spc, @object
	.size	spc, 100
spc:
	.string	"% 1s"
	.zero	95
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.long	8
	.section	.rodata
.LC0:
	.string	"-c"
.LC1:
	.string	"%d"
.LC2:
	.string	"-s"
.LC3:
	.string	"%% %ds"
.LC4:
	.string	"-X"
.LC5:
	.string	"-x"
.LC6:
	.string	"-o"
.LC7:
	.string	"-u"
.LC8:
	.string	"rb"
.LC9:
	.string	"%06x:"
.LC10:
	.string	""
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, o0[rip+7]
	mov	QWORD PTR out[rip], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L2
.L10:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, n[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -36[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	lea	rsi, .LC3[rip]
	lea	rdi, spc[rip]
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, o0[rip]
	mov	QWORD PTR out[rip], rax
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rax, o0[rip+7]
	mov	QWORD PTR out[rip], rax
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	lea	rax, o0[rip+14]
	mov	QWORD PTR out[rip], rax
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	lea	rax, o0[rip+21]
	mov	QWORD PTR out[rip], rax
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR in[rip], rax
.L4:
	add	DWORD PTR -32[rbp], 1
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L10
	mov	rax, QWORD PTR in[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR n[rip]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	add	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR out[rip]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 1
	jmp	.L12
.L13:
	lea	rsi, .LC10[rip]
	lea	rdi, spc[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR out[rip]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L13
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L11:
	mov	eax, DWORD PTR n[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	jne	.L14
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"93242.c"
	.text
	.global	o0
	.section	.rodata
	.align	2
	.type	o0, %object
	.size	o0, 28
o0:
	.ascii	"%02X\000"
	.space	2
	.ascii	"%02x\000"
	.space	2
	.ascii	"%03o\000"
	.space	2
	.ascii	"%03u\000"
	.space	2
	.comm	in,4,4
	.comm	out,4,4
	.global	spc
	.data
	.align	2
	.type	spc, %object
	.size	spc, 100
spc:
	.ascii	"% 1s\000"
	.space	95
	.global	n
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.word	8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-c\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"-s\000"
	.align	2
.LC3:
	.ascii	"%% %ds\000"
	.align	2
.LC4:
	.ascii	"-X\000"
	.align	2
.LC5:
	.ascii	"-x\000"
	.align	2
.LC6:
	.ascii	"-o\000"
	.align	2
.LC7:
	.ascii	"-u\000"
	.align	2
.LC8:
	.ascii	"rb\000"
	.align	2
.LC9:
	.ascii	"%06x:\000"
	.align	2
.LC10:
	.ascii	"\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L17+4
	ldr	r2, .L17+8
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L2
.L10:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+16
	ldr	r1, .L17+20
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L4
.L3:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #28
	ldr	r1, .L17+20
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r1, .L17+28
	ldr	r0, .L17+32
	bl	sprintf
	b	.L4
.L5:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L17+4
	ldr	r2, .L17+40
	str	r2, [r3]
	b	.L4
.L6:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L17+4
	ldr	r2, .L17+8
	str	r2, [r3]
	b	.L4
.L7:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L17+4
	ldr	r2, .L17+52
	str	r2, [r3]
	b	.L4
.L8:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L17+4
	ldr	r2, .L17+60
	str	r2, [r3]
	b	.L4
.L9:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L17+64
	str	r3, [r2]
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L10
	ldr	r3, .L17+64
	ldr	r3, [r3]
	ldr	r1, .L17+68
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, .L17+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L14:
	ldr	r1, [fp, #-24]
	ldr	r0, .L17+72
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L12
.L13:
	ldr	r1, .L17+76
	ldr	r0, .L17+32
	bl	printf
	ldr	r3, .L17+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L13
	ldr	r0, .L17+76
	bl	puts
.L11:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC11
	.word	out
	.word	o0+7
	.word	.LC0
	.word	n
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	spc
	.word	.LC4
	.word	o0
	.word	.LC5
	.word	.LC6
	.word	o0+14
	.word	.LC7
	.word	o0+21
	.word	in
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
