	.file	"21504.c"
	.intel_syntax noprefix
	.text
	.globl	string_smallest
	.type	string_smallest, @function
string_smallest:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, ret.0[rip]
	mov	BYTE PTR [rax+rdx], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, ret.0[rip]
	mov	BYTE PTR [rax+rdx], 122
	sub	DWORD PTR -4[rbp], 25
	sub	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 25
	jg	.L3
	cmp	DWORD PTR -4[rbp], 0
	jle	.L4
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 97
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, ret.0[rip]
	mov	BYTE PTR [rax+rdx], cl
.L4:
	sub	DWORD PTR -8[rbp], 1
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, ret.0[rip]
	mov	BYTE PTR [rax+rdx], 97
	sub	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L6
	lea	rax, ret.0[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	string_smallest, .-string_smallest
	.section	.rodata
.LC0:
	.string	"%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	esi, 18
	mov	edi, 2
	call	string_smallest
	mov	rdx, rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	ret.0
	.comm	ret.0,100000,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	"21504.c"
	.text
	.align	2
	.global	string_smallest
	.syntax unified
	.arm
	.fpu softvfp
	.type	string_smallest, %function
string_smallest:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L8
	mov	r1, #0
	strb	r1, [r2, r3]
	b	.L2
.L3:
	ldr	r2, .L8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #122
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #25
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	bgt	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L4
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #97
	and	r1, r3, #255
	ldr	r2, .L8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r2, .L8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #97
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L8
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	ret.5119
	.size	string_smallest, .-string_smallest
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L12
	ldr	r4, [r3]
	mov	r1, #18
	mov	r0, #2
	bl	string_smallest
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L12+4
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	stdout
	.word	.LC0
	.size	main, .-main
	.local	ret.5119
	.comm	ret.5119,100000,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
