	.file	"161528.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.text
	.globl	pch
	.type	pch, @function
pch:
.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, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	rax, QWORD PTR n[rip]
	sub	rax, 1
	mov	QWORD PTR n[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pch, .-pch
	.section	.rodata
.LC0:
	.string	"0123456789ABCDEF"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	BYTE PTR -2[rbp], 0
	mov	QWORD PTR n[rip], 100
	mov	edi, 34
	call	pch
.L29:
	call	getchar@PLT
	mov	BYTE PTR -1[rbp], al
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L32
	mov	rax, QWORD PTR n[rip]
	cmp	rax, 2
	jle	.L5
	cmp	BYTE PTR -1[rbp], 10
	jne	.L6
.L5:
	mov	edi, 34
	call	pch
	mov	edi, 10
	call	pch
	mov	QWORD PTR n[rip], 100
	mov	edi, 34
	call	pch
	mov	BYTE PTR -2[rbp], 0
.L6:
	movzx	eax, BYTE PTR -1[rbp]
	cmp	eax, 13
	jg	.L7
	cmp	eax, 7
	jge	.L8
	jmp	.L9
.L10:
	sub	eax, 34
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	movabs	rax, 288230376688582657
	and	rax, rdx
	test	rax, rax
	setne	al
	test	al, al
	jne	.L8
	jmp	.L9
.L7:
	cmp	eax, 92
	jg	.L9
	cmp	eax, 34
	jge	.L10
	jmp	.L9
.L8:
	mov	edi, 92
	call	pch
	movzx	eax, BYTE PTR -1[rbp]
	cmp	eax, 63
	jg	.L11
	cmp	eax, 7
	jl	.L12
	sub	eax, 7
	cmp	eax, 56
	ja	.L12
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L14[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L14[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L14:
	.long	.L21-.L14
	.long	.L20-.L14
	.long	.L19-.L14
	.long	.L18-.L14
	.long	.L17-.L14
	.long	.L16-.L14
	.long	.L15-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L13-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L13-.L14
	.text
.L11:
	cmp	eax, 92
	je	.L22
	jmp	.L12
.L21:
	mov	edi, 97
	call	pch
	jmp	.L12
.L20:
	mov	edi, 98
	call	pch
	jmp	.L12
.L16:
	mov	edi, 102
	call	pch
	jmp	.L12
.L18:
	mov	edi, 110
	call	pch
	jmp	.L12
.L15:
	mov	edi, 114
	call	pch
	jmp	.L12
.L19:
	mov	edi, 116
	call	pch
	jmp	.L12
.L17:
	mov	edi, 118
	call	pch
	jmp	.L12
.L22:
	mov	edi, 92
	call	pch
	jmp	.L12
.L13:
	movzx	eax, BYTE PTR -1[rbp]
	movsx	eax, al
	mov	edi, eax
	call	pch
	nop
.L12:
	mov	BYTE PTR -2[rbp], 0
	jmp	.L23
.L9:
	cmp	BYTE PTR -1[rbp], 31
	jbe	.L24
	cmp	BYTE PTR -1[rbp], 126
	ja	.L24
	cmp	BYTE PTR -2[rbp], 0
	je	.L25
	cmp	BYTE PTR -1[rbp], 47
	jbe	.L26
	cmp	BYTE PTR -1[rbp], 57
	jbe	.L27
.L26:
	cmp	BYTE PTR -1[rbp], 96
	jbe	.L28
	cmp	BYTE PTR -1[rbp], 102
	jbe	.L27
.L28:
	cmp	BYTE PTR -1[rbp], 64
	jbe	.L25
	cmp	BYTE PTR -1[rbp], 70
	ja	.L25
.L27:
	mov	edi, 34
	call	pch
	mov	edi, 34
	call	pch
.L25:
	movzx	eax, BYTE PTR -1[rbp]
	movsx	eax, al
	mov	edi, eax
	call	pch
	mov	BYTE PTR -2[rbp], 0
	jmp	.L23
.L24:
	mov	edi, 92
	call	pch
	mov	edi, 120
	call	pch
	movzx	eax, BYTE PTR -1[rbp]
	shr	al, 4
	movzx	eax, al
	cdqe
	lea	rdx, .LC0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	pch
	movzx	eax, BYTE PTR -1[rbp]
	and	eax, 15
	cdqe
	lea	rdx, .LC0[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	pch
	mov	BYTE PTR -2[rbp], 1
.L23:
	jmp	.L29
.L32:
	nop
	mov	edi, 34
	call	pch
	mov	edi, 10
	call	pch
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"161528.c"
	.text
	.comm	n,4,4
	.align	2
	.global	pch
	.syntax unified
	.arm
	.fpu softvfp
	.type	pch, %function
pch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L2
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	n
	.size	pch, .-pch
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0123456789ABCDEF\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	strb	r3, [fp, #-6]
	ldr	r3, .L34
	mov	r2, #100
	str	r2, [r3]
	mov	r0, #34
	bl	pch
.L30:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L34
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L7
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L8
.L7:
	mov	r0, #34
	bl	pch
	mov	r0, #10
	bl	pch
	ldr	r3, .L34
	mov	r2, #100
	str	r2, [r3]
	mov	r0, #34
	bl	pch
	mov	r3, #0
	strb	r3, [fp, #-6]
.L8:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L9
	cmp	r3, #92
	bgt	.L10
	cmp	r3, #63
	beq	.L9
	cmp	r3, #63
	bgt	.L10
	cmp	r3, #13
	bgt	.L11
	cmp	r3, #7
	bge	.L9
	b	.L10
.L11:
	cmp	r3, #34
	bne	.L10
.L9:
	mov	r0, #92
	bl	pch
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #63
	bgt	.L12
	cmp	r3, #7
	blt	.L13
	sub	r3, r3, #7
	cmp	r3, #56
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L15:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L14
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L14
.L12:
	cmp	r3, #92
	beq	.L23
	b	.L13
.L22:
	mov	r0, #97
	bl	pch
	b	.L13
.L21:
	mov	r0, #98
	bl	pch
	b	.L13
.L17:
	mov	r0, #102
	bl	pch
	b	.L13
.L19:
	mov	r0, #110
	bl	pch
	b	.L13
.L16:
	mov	r0, #114
	bl	pch
	b	.L13
.L20:
	mov	r0, #116
	bl	pch
	b	.L13
.L18:
	mov	r0, #118
	bl	pch
	b	.L13
.L23:
	mov	r0, #92
	bl	pch
	b	.L13
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	pch
	nop
.L13:
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L24
.L10:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L25
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #126
	bhi	.L25
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L27
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L28
.L27:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L29
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #102
	bls	.L28
.L29:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L26
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L26
.L28:
	mov	r0, #34
	bl	pch
	mov	r0, #34
	bl	pch
.L26:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	pch
	mov	r3, #0
	strb	r3, [fp, #-6]
	b	.L24
.L25:
	mov	r0, #92
	bl	pch
	mov	r0, #120
	bl	pch
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L34+8
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	mov	r0, r3
	bl	pch
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #15
	ldr	r2, .L34+8
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	pch
	mov	r3, #1
	strb	r3, [fp, #-6]
.L24:
	b	.L30
.L33:
	nop
	mov	r0, #34
	bl	pch
	mov	r0, #10
	bl	pch
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	n
	.word	stdin
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
