	.file	"7447.c"
	.intel_syntax noprefix
	.text
	.data
	.align 8
	.type	test, @object
	.size	test, 8
test:
	.byte	108
	.byte	63
	.byte	63
	.byte	98
	.zero	4
	.text
	.globl	main
	.type	main, @function
main:
.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
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	converti
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L3
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"U+%8.8lX "
.LC1:
	.string	"[U+0000 -  U+007F] "
.LC2:
	.string	"UTF-8:       %2.2lX "
.LC3:
	.string	"[U+0080 -  U+07FF] "
.LC4:
	.string	"UTF-8:     %4.4lX "
.LC5:
	.string	"[U+0800 -  U+FFFF] "
.LC6:
	.string	"UTF-8:   %6.6lX "
.LC7:
	.string	"[U+10000-U+10FFFF] "
.LC8:
	.string	"UTF-8: %8.8lX "
	.text
	.globl	converti
	.type	converti, @function
converti:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -13[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	lea	rax, -13[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rcx, -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -32[rbp], 127
	ja	.L6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L7
.L6:
	cmp	QWORD PTR -32[rbp], 2047
	ja	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 2
	and	eax, 7936
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	and	eax, 63
	or	rax, rdx
	or	rax, 49280
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L7
.L8:
	cmp	QWORD PTR -32[rbp], 65535
	ja	.L9
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 4
	and	eax, 983040
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 2
	and	eax, 16128
	or	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	and	eax, 63
	or	rax, rdx
	or	rax, 14712960
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L7
.L9:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 4
	and	eax, 4128768
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 2
	and	eax, 16128
	or	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	and	eax, 63
	or	rdx, rax
	mov	eax, 4034953344
	or	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L7:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	converti, .-converti
	.globl	inverti
	.type	inverti, @function
inverti:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 3[rax]
	movzx	eax, BYTE PTR -1[rbp]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -1[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 2[rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 2[rax]
	movzx	eax, BYTE PTR -1[rbp]
	mov	BYTE PTR [rdx], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	inverti, .-inverti
	.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	"7447.c"
	.text
	.data
	.align	2
	.type	test, %object
	.size	test, 4
test:
	.byte	108
	.byte	63
	.byte	63
	.byte	98
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	converti
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"U+%8.8lX \000"
	.align	2
.LC2:
	.ascii	"[U+0000 -  U+007F] \000"
	.align	2
.LC3:
	.ascii	"UTF-8:       %2.2lX \000"
	.align	2
.LC4:
	.ascii	"'%s'\012\000"
	.align	2
.LC5:
	.ascii	"[U+0080 -  U+07FF] \000"
	.align	2
.LC6:
	.ascii	"UTF-8:     %4.4lX \000"
	.align	2
.LC7:
	.ascii	"[U+0800 -  U+FFFF] \000"
	.align	2
.LC8:
	.ascii	"UTF-8:   %6.6lX \000"
	.align	2
.LC9:
	.ascii	"[U+10000-U+10FFFF] \000"
	.align	2
.LC10:
	.ascii	"UTF-8: %8.8lX \000"
	.align	2
.LC0:
	.ascii	"\000\000\000\000\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	converti
	.syntax unified
	.arm
	.fpu softvfp
	.type	converti, %function
converti:
	@ 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]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L16+4
	sub	r3, fp, #16
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	sub	r3, fp, #16
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	strtol
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L16+8
	bl	printf
	ldr	r3, [fp, #-20]
	cmp	r3, #127
	bhi	.L6
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+16
	bl	printf
	ldr	r3, .L16+20
	ldr	r3, [r3]
	and	r3, r3, #255
	cmp	r3, #108
	bne	.L7
	sub	r3, fp, #16
	mov	r0, r3
	bl	inverti
.L7:
	sub	r3, fp, #16
	add	r3, r3, #3
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	b	.L8
.L6:
	ldr	r3, [fp, #-20]
	cmp	r3, #2048
	bcs	.L9
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	and	r2, r3, #7936
	ldr	r3, [fp, #-20]
	and	r3, r3, #63
	orr	r3, r2, r3
	orr	r3, r3, #49152
	orr	r3, r3, #128
	ldr	r2, [fp, #-24]
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+32
	bl	printf
	ldr	r3, .L16+20
	ldr	r3, [r3]
	and	r3, r3, #255
	cmp	r3, #108
	bne	.L10
	sub	r3, fp, #16
	mov	r0, r3
	bl	inverti
.L10:
	sub	r3, fp, #16
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	b	.L8
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #65536
	bcs	.L11
	ldr	r0, .L16+36
	bl	printf
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	and	r2, r3, #983040
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	and	r3, r3, #16128
	orr	r2, r2, r3
	ldr	r3, [fp, #-20]
	and	r3, r3, #63
	orr	r2, r2, r3
	ldr	r3, .L16+40
	orr	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, .L16+20
	ldr	r3, [r3]
	and	r3, r3, #255
	cmp	r3, #108
	bne	.L12
	sub	r3, fp, #16
	mov	r0, r3
	bl	inverti
.L12:
	sub	r3, fp, #16
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	b	.L8
.L11:
	ldr	r0, .L16+48
	bl	printf
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	and	r2, r3, #4128768
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	and	r3, r3, #16128
	orr	r2, r2, r3
	ldr	r3, [fp, #-20]
	and	r3, r3, #63
	orr	r2, r2, r3
	ldr	r3, .L16+52
	orr	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16+56
	bl	printf
	ldr	r3, .L16+20
	ldr	r3, [r3]
	and	r3, r3, #255
	cmp	r3, #108
	bne	.L13
	sub	r3, fp, #16
	mov	r0, r3
	bl	inverti
.L13:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
.L8:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	test
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	14712960
	.word	.LC8
	.word	.LC9
	.word	-260013952
	.word	.LC10
	.size	converti, .-converti
	.align	2
	.global	inverti
	.syntax unified
	.arm
	.fpu softvfp
	.type	inverti, %function
inverti:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	ldrb	r2, [fp, #-5]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #1]
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2, #2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r2, [fp, #-5]
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	inverti, .-inverti
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
