	.file	"67325605.c"
	.intel_syntax noprefix
	.text
	.globl	ctol
	.type	ctol, @function
ctol:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	eax, edi
	mov	WORD PTR -28[rbp], ax
	movzx	eax, WORD PTR -28[rbp]
	and	eax, 8191
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, WORD PTR -28[rbp]
	shr	ax, 13
	movzx	eax, ax
	and	eax, 7
	mov	ebx, eax
	jmp	.L2
.L3:
	sal	QWORD PTR -16[rbp], 3
.L2:
	mov	eax, ebx
	lea	ebx, -1[rax]
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ctol, .-ctol
	.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	"67325605.c"
	.text
	.align	2
	.global	ctol
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctol, %function
ctol:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, fp}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-16]
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-16]
	lsr	r3, r3, #13
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r4, r3, #7
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	str	r3, [fp, #-8]
.L2:
	mov	r3, r4
	sub	r4, r3, #1
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{r4, fp}
	bx	lr
	.size	ctol, .-ctol
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
