	.file	"1052431.c"
	.intel_syntax noprefix
	.text
	.globl	TABLE
	.section	.rodata
	.align 32
	.type	TABLE, @object
	.size	TABLE, 40
TABLE:
	.long	119
	.long	36
	.long	93
	.long	109
	.long	46
	.long	107
	.long	123
	.long	37
	.long	127
	.long	111
	.globl	H_SYM
	.type	H_SYM, @object
	.size	H_SYM, 1
H_SYM:
	.byte	45
	.globl	V_SYM
	.type	V_SYM, @object
	.size	V_SYM, 1
V_SYM:
	.byte	124
	.globl	S_SYM
	.type	S_SYM, @object
	.size	S_SYM, 1
S_SYM:
	.byte	32
	.text
	.globl	lcd_init
	.type	lcd_init, @function
lcd_init:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 128[rax], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L3
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L3
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 128[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 132[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	lcd_init, .-lcd_init
	.globl	lcd_test
	.type	lcd_test, @function
lcd_test:
.LFB7:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 9
	jg	.L6
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, TABLE[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	setg	al
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	lcd_test, .-lcd_test
	.section	.rodata
.LC0:
	.string	"%c%s%c%c"
.LC1:
	.string	"%c%s"
	.text
	.globl	lcd_draw
	.type	lcd_draw, @function
lcd_draw:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L9
.L36:
	mov	eax, DWORD PTR -100[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L10
	mov	DWORD PTR -104[rbp], 0
	jmp	.L11
.L19:
	mov	rax, rsp
	mov	rbx, rax
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -104[rbp]
	movsx	rcx, ecx
	mov	eax, DWORD PTR [rax+rcx*4]
	mov	esi, edx
	mov	edi, eax
	call	lcd_test
	test	al, al
	je	.L12
	mov	eax, 45
	jmp	.L13
.L12:
	mov	eax, 32
.L13:
	mov	BYTE PTR -125[rbp], al
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 132[rax]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L14:
	cmp	rsp, rdx
	je	.L15
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L14
.L15:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L16
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L16:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -108[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	ecx, BYTE PTR -125[rbp]
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -108[rbp], 1
.L17:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 132[rax]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L18
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 132[rax]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, 32
	movsx	esi, al
	mov	eax, 32
	movsx	ecx, al
	mov	eax, 32
	movsx	eax, al
	mov	rdx, QWORD PTR -64[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, rbx
	add	DWORD PTR -104[rbp], 1
.L11:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 128[rax]
	cmp	DWORD PTR -104[rbp], eax
	jl	.L19
	mov	edi, 10
	call	putchar@PLT
	jmp	.L20
.L10:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L21
.L35:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L22
.L34:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L23
.L33:
	mov	rax, rsp
	mov	rbx, rax
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -96[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	movsx	rcx, ecx
	mov	eax, DWORD PTR [rax+rcx*4]
	mov	esi, edx
	mov	edi, eax
	call	lcd_test
	test	al, al
	je	.L24
	mov	eax, 124
	jmp	.L25
.L24:
	mov	eax, 32
.L25:
	mov	BYTE PTR -126[rbp], al
	cmp	DWORD PTR -120[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 132[rax]
	jmp	.L27
.L26:
	mov	eax, 1
.L27:
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -168[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L28:
	cmp	rsp, rdx
	je	.L29
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L28
.L29:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L30
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L30:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L31
.L32:
	mov	ecx, 32
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -124[rbp], 1
.L31:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jl	.L32
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	movsx	eax, BYTE PTR -126[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, rbx
	add	DWORD PTR -120[rbp], 1
.L23:
	cmp	DWORD PTR -120[rbp], 1
	jle	.L33
	add	DWORD PTR -116[rbp], 1
.L22:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 128[rax]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L34
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -112[rbp], 1
.L21:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 132[rax]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L35
	add	DWORD PTR -96[rbp], 1
.L20:
	add	DWORD PTR -100[rbp], 1
.L9:
	cmp	DWORD PTR -100[rbp], 4
	jle	.L36
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lcd_draw, .-lcd_draw
	.section	.rodata
.LC2:
	.string	"-s"
	.align 8
.LC3:
	.string	"Usage: %s [-s SEGMENTS] NUMBER\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 1
	jle	.L39
	mov	DWORD PTR -60[rbp], 2
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	cmp	DWORD PTR -68[rbp], 4
	jne	.L41
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L41:
	mov	edi, 136
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	edx, DWORD PTR -60[rbp]
	lea	rcx, -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	lcd_init
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	lcd_draw
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L42
.L39:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L42:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.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	"1052431.c"
	.text
	.global	TABLE
	.section	.rodata
	.align	2
	.type	TABLE, %object
	.size	TABLE, 40
TABLE:
	.word	119
	.word	36
	.word	93
	.word	109
	.word	46
	.word	107
	.word	123
	.word	37
	.word	127
	.word	111
	.global	H_SYM
	.type	H_SYM, %object
	.size	H_SYM, 1
H_SYM:
	.byte	45
	.global	V_SYM
	.type	V_SYM, %object
	.size	V_SYM, 1
V_SYM:
	.byte	124
	.global	S_SYM
	.type	S_SYM, %object
	.size	S_SYM, 1
S_SYM:
	.byte	32
	.text
	.align	2
	.global	lcd_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd_init, %function
lcd_init:
	@ 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]
	str	r2, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #128]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #48
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #128]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #132]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lcd_init, .-lcd_init
	.align	2
	.global	lcd_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd_test, %function
lcd_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L6
	ldr	r2, .L8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	mov	r1, #1
	ldr	r3, [fp, #-12]
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	b	.L7
.L6:
	mov	r3, #0
.L7:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	TABLE
	.size	lcd_test, .-lcd_test
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c%s%c%c\000"
	.align	2
.LC1:
	.ascii	"%c%s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lcd_draw
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd_draw, %function
lcd_draw:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-80]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L11
.L32:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L13
.L18:
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-48]
	ldr	r0, [r3, r2, lsl #2]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r1, r3
	bl	lcd_test
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mov	r3, #45
	b	.L15
.L14:
	mov	r3, #32
.L15:
	strb	r3, [fp, #-69]
	ldr	r3, [fp, #-80]
	ldr	ip, [r3, #132]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L16
.L17:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r2, [fp, #-69]
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L16:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #132]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #132]
	ldr	r2, [fp, #-20]
	mov	r1, #0
	strb	r1, [r2, r3]
	mov	r3, #32
	mov	r1, r3
	mov	r3, #32
	mov	r2, r3
	mov	r3, #32
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-20]
	ldr	r0, .L34+4
	bl	printf
	mov	sp, r4
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #128]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L18
	mov	r0, #10
	bl	putchar
	b	.L19
.L12:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L20
.L31:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L21
.L30:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L22
.L29:
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-60]
	ldr	r0, [r3, r2, lsl #2]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r1, r3
	bl	lcd_test
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r3, #124
	b	.L24
.L23:
	mov	r3, #32
.L24:
	strb	r3, [fp, #-70]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #132]
	b	.L26
.L25:
	mov	r3, #1
.L26:
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-36]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L27
.L28:
	mov	r1, #32
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L27:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L28
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldrb	r3, [fp, #-70]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L34+8
	bl	printf
	mov	sp, r4
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L22:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L29
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L21:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #128]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L30
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L20:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #132]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L19:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L11:
	ldr	r3, [fp, #-44]
	cmp	r3, #4
	ble	.L32
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	lcd_draw, .-lcd_draw
	.section	.rodata
	.align	2
.LC3:
	.ascii	"-s\000"
	.align	2
.LC4:
	.ascii	"Usage: %s [-s SEGMENTS] NUMBER\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	ble	.L37
	mov	r3, #2
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L43+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-56]
	cmp	r3, #4
	bne	.L39
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r3, #12
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L39
.L38:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L39:
	mov	r0, #136
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	sub	r3, fp, #40
	ldr	r2, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	lcd_init
	ldr	r0, [fp, #-44]
	bl	lcd_draw
	ldr	r0, [fp, #-44]
	bl	free
	b	.L40
.L37:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
.L40:
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
