	.file	"337616.c"
	.intel_syntax noprefix
	.text
	.globl	abbreviate
	.type	abbreviate, @function
abbreviate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	BYTE PTR acr.0[rip], 0
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L3
	add	DWORD PTR -148[rbp], 1
.L3:
	cmp	DWORD PTR -140[rbp], 79
	jg	.L2
	add	QWORD PTR -136[rbp], 1
	add	DWORD PTR -140[rbp], 1
.L2:
	cmp	QWORD PTR -136[rbp], 0
	je	.L4
	cmp	DWORD PTR -140[rbp], 79
	jle	.L5
.L4:
	mov	DWORD PTR -140[rbp], 0
	add	DWORD PTR -148[rbp], 1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 80
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -140[rbp], 1
.L6:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L7
	lea	rax, -112[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -128[rbp], rax
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L9
	mov	rax, QWORD PTR -136[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -128[rbp]
	mov	edx, 80
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	add	DWORD PTR -144[rbp], 1
	mov	rax, QWORD PTR -136[rbp]
	add	rax, 1
	mov	QWORD PTR -128[rbp], rax
.L9:
	cmp	DWORD PTR -140[rbp], 80
	jg	.L8
	add	QWORD PTR -136[rbp], 1
	add	DWORD PTR -140[rbp], 1
.L8:
	cmp	QWORD PTR -136[rbp], 0
	je	.L10
	cmp	DWORD PTR -140[rbp], 80
	jle	.L11
.L10:
	mov	rax, QWORD PTR -136[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -128[rbp]
	mov	edx, 80
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	add	DWORD PTR -144[rbp], 1
	mov	DWORD PTR -140[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, acr.0[rip]
	call	strcat@PLT
	add	DWORD PTR -140[rbp], 1
.L12:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L13
	mov	DWORD PTR -140[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -140[rbp], 1
.L14:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L15
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rax, acr.0[rip]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	abbreviate, .-abbreviate
	.local	acr.0
	.comm	acr.0,80,32
	.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	"337616.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	abbreviate
	.syntax unified
	.arm
	.fpu softvfp
	.type	abbreviate, %function
abbreviate:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	str	r0, [fp, #-128]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #96
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #96
	str	r3, [fp, #-120]
	ldr	r3, .L18+4
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L2
.L5:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L3
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L3:
	ldr	r3, [fp, #-108]
	cmp	r3, #79
	bgt	.L2
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L2:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-108]
	cmp	r3, #79
	ble	.L5
.L4:
	mov	r3, #0
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L6
.L7:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r4, r2, r3
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L6:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L7
	sub	r3, fp, #96
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-104]
	b	.L8
.L11:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L9
	ldr	r3, [fp, #-120]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #80
	ldr	r1, [fp, #-104]
	mov	r0, r3
	bl	strncat
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L9:
	ldr	r3, [fp, #-108]
	cmp	r3, #80
	bgt	.L8
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L8:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-108]
	cmp	r3, #80
	ble	.L11
.L10:
	ldr	r3, [fp, #-120]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #80
	ldr	r1, [fp, #-104]
	mov	r0, r3
	bl	strncat
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L12
.L13:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r1, r0
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+4
	bl	strcat
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L12:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L13
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L14
.L15:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L14:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L15
	ldr	r0, [fp, #-100]
	bl	free
	ldr	r3, .L18+4
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	acr.4886
	.size	abbreviate, .-abbreviate
	.local	acr.4886
	.comm	acr.4886,80,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
