	.file	"1137497.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"%d character has been used for diag.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	ecx, 45
	mov	edx, 43
	mov	esi, 6
	mov	edi, 3
	call	draw_diag_step
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, 42
	mov	edx, 79
	mov	esi, 4
	mov	edi, 7
	call	draw_diag_step
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, 35
	mov	edx, 36
	mov	esi, 5
	mov	edi, 6
	call	draw_diag_step
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"^"
	.text
	.globl	draw_diag_step
	.type	draw_diag_step, @function
draw_diag_step:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, ecx
	mov	BYTE PTR -28[rbp], dl
	mov	BYTE PTR -32[rbp], al
	mov	DWORD PTR -8[rbp], 0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L4
.L5:
	movsx	ecx, BYTE PTR -32[rbp]
	movsx	edx, BYTE PTR -28[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	draw_ver_diag_of_bb
	add	DWORD PTR -8[rbp], eax
	sub	DWORD PTR -20[rbp], 1
.L4:
	cmp	DWORD PTR -20[rbp], 0
	jg	.L5
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	finish_diag
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	draw_diag_step, .-draw_diag_step
	.globl	draw_ver_diag_of_bb
	.type	draw_ver_diag_of_bb, @function
draw_ver_diag_of_bb:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, ecx
	mov	BYTE PTR -44[rbp], dl
	mov	BYTE PTR -48[rbp], al
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	edi, 73
	call	putchar@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L10:
	cmp	DWORD PTR -16[rbp], 0
	je	.L9
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	increment_space
	mov	eax, DWORD PTR -40[rbp]
	add	DWORD PTR -8[rbp], eax
.L9:
	mov	DWORD PTR -16[rbp], 1
	movsx	edx, BYTE PTR -48[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	increment_character
	add	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	add	DWORD PTR -12[rbp], eax
.L8:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L10
	movsx	edx, BYTE PTR -44[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	print_peak_part
	add	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	sub	DWORD PTR -8[rbp], eax
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L12
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	decrement_space
	mov	eax, DWORD PTR -40[rbp]
	sub	DWORD PTR -8[rbp], eax
.L12:
	mov	DWORD PTR -16[rbp], 1
	movsx	edx, BYTE PTR -48[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	decrement_character
	add	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	sub	DWORD PTR -12[rbp], eax
.L11:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L13
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	draw_ver_diag_of_bb, .-draw_ver_diag_of_bb
	.globl	increment_space
	.type	increment_space, @function
increment_space:
.LFB3:
	.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	DWORD PTR -8[rbp], esi
	mov	edi, 73
	call	putchar@PLT
	jmp	.L16
.L17:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L16:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L17
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	increment_space, .-increment_space
	.globl	increment_character
	.type	increment_character, @function
increment_character:
.LFB4:
	.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	DWORD PTR -24[rbp], esi
	mov	eax, edx
	mov	BYTE PTR -28[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L20:
	movsx	eax, BYTE PTR -28[rbp]
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -20[rbp], 1
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L20
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	increment_character, .-increment_character
	.section	.rodata
.LC2:
	.string	"%c\n"
	.text
	.globl	print_peak_part
	.type	print_peak_part, @function
print_peak_part:
.LFB5:
	.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	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	edi, 73
	call	putchar@PLT
	jmp	.L23
.L24:
	mov	edi, 32
	call	putchar@PLT
	sub	DWORD PTR -20[rbp], 1
.L23:
	cmp	DWORD PTR -20[rbp], 0
	jg	.L24
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	print_peak_part, .-print_peak_part
	.globl	decrement_space
	.type	decrement_space, @function
decrement_space:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edi, 73
	call	putchar@PLT
	jmp	.L27
.L28:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	decrement_space, .-decrement_space
	.globl	decrement_character
	.type	decrement_character, @function
decrement_character:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, edx
	mov	BYTE PTR -28[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L31:
	movsx	eax, BYTE PTR -28[rbp]
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -20[rbp], 1
.L30:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L31
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	decrement_character, .-decrement_character
	.section	.rodata
.LC3:
	.string	">"
	.text
	.globl	finish_diag
	.type	finish_diag, @function
finish_diag:
.LFB8:
	.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	edi, 76
	call	putchar@PLT
	jmp	.L34
.L35:
	mov	edi, 45
	call	putchar@PLT
	sub	DWORD PTR -4[rbp], 1
.L34:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L35
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	finish_diag, .-finish_diag
	.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	"1137497.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d character has been used for diag.\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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #45
	mov	r2, #43
	mov	r1, #6
	mov	r0, #3
	bl	draw_diag_step
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3
	bl	printf
	mov	r3, #42
	mov	r2, #79
	mov	r1, #4
	mov	r0, #7
	bl	draw_diag_step
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3
	bl	printf
	mov	r3, #35
	mov	r2, #36
	mov	r1, #5
	mov	r0, #6
	bl	draw_diag_step
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"^\000"
	.text
	.align	2
	.global	draw_diag_step
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_diag_step, %function
draw_diag_step:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-21]
	mov	r3, r2
	strb	r3, [fp, #-22]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L9
	bl	puts
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	draw_ver_diag_of_bb
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L7
	ldr	r0, [fp, #-8]
	bl	finish_diag
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.size	draw_diag_step, .-draw_diag_step
	.align	2
	.global	draw_ver_diag_of_bb
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_ver_diag_of_bb, %function
draw_ver_diag_of_bb:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-37]
	mov	r3, r2
	strb	r3, [fp, #-38]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-12]
	mov	r0, #73
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L14:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L13
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	increment_space
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L13:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-8]
	bl	increment_character
	mov	r2, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L14
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	print_peak_part
	mov	r2, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L15
.L17:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L16
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	decrement_space
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
.L16:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-38]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-8]
	bl	decrement_character
	mov	r2, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L17
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	draw_ver_diag_of_bb, .-draw_ver_diag_of_bb
	.align	2
	.global	increment_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	increment_space, %function
increment_space:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r0, #73
	bl	putchar
	b	.L20
.L21:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L21
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	increment_space, .-increment_space
	.align	2
	.global	increment_character
	.syntax unified
	.arm
	.fpu softvfp
	.type	increment_character, %function
increment_character:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L24:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L23:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L24
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	increment_character, .-increment_character
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%c\012\000"
	.text
	.align	2
	.global	print_peak_part
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_peak_part, %function
print_peak_part:
	@ 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, #0
	str	r3, [fp, #-8]
	mov	r0, #73
	bl	putchar
	b	.L27
.L28:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L27:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L28
	ldr	r1, [fp, #-20]
	ldr	r0, .L30
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC2
	.size	print_peak_part, .-print_peak_part
	.align	2
	.global	decrement_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	decrement_space, %function
decrement_space:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r0, #73
	bl	putchar
	b	.L33
.L34:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L34
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	decrement_space, .-decrement_space
	.align	2
	.global	decrement_character
	.syntax unified
	.arm
	.fpu softvfp
	.type	decrement_character, %function
decrement_character:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L36
.L37:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L37
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	decrement_character, .-decrement_character
	.section	.rodata
	.align	2
.LC3:
	.ascii	">\000"
	.text
	.align	2
	.global	finish_diag
	.syntax unified
	.arm
	.fpu softvfp
	.type	finish_diag, %function
finish_diag:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #76
	bl	putchar
	b	.L40
.L41:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L41
	ldr	r0, .L43
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC3
	.size	finish_diag, .-finish_diag
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
