	.file	"997060.c"
	.intel_syntax noprefix
	.text
	.globl	lcd44780_wait
	.type	lcd44780_wait, @function
lcd44780_wait:
.LFB0:
	.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 -8[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L4:
	add	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 9999
	jle	.L4
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 399
	jle	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	lcd44780_wait, .-lcd44780_wait
	.globl	lcd44780_command
	.type	lcd44780_command, @function
lcd44780_command:
.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, 8
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	edx, 3187802112
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR [rdx], al
	call	lcd44780_wait
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	lcd44780_command, .-lcd44780_command
	.globl	lcd44780_data
	.type	lcd44780_data, @function
lcd44780_data:
.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, 8
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	edx, 3187802113
	movzx	eax, BYTE PTR -4[rbp]
	mov	BYTE PTR [rdx], al
	call	lcd44780_wait
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	lcd44780_data, .-lcd44780_data
	.globl	lcd44780_puts
	.type	lcd44780_puts, @function
lcd44780_puts:
.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, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	edi, 1
	call	lcd44780_command
	jmp	.L9
.L14:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	lcd44780_data
	add	QWORD PTR -24[rbp], 1
	add	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 8
	jne	.L10
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L12:
	mov	edi, 32
	call	lcd44780_data
	add	DWORD PTR -8[rbp], 1
.L11:
	cmp	DWORD PTR -8[rbp], 31
	jle	.L12
.L10:
	cmp	DWORD PTR -4[rbp], 16
	je	.L15
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L14
	jmp	.L16
.L15:
	nop
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	lcd44780_puts, .-lcd44780_puts
	.globl	lcd44780_init
	.type	lcd44780_init, @function
lcd44780_init:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 56
	call	lcd44780_command
	mov	edi, 6
	call	lcd44780_command
	mov	edi, 15
	call	lcd44780_command
	mov	edi, 1
	call	lcd44780_command
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	lcd44780_init, .-lcd44780_init
	.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	"997060.c"
	.text
	.align	2
	.global	lcd44780_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd44780_wait, %function
lcd44780_wait:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, .L6
	cmp	r3, r2
	ble	.L4
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #400
	blt	.L5
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	9999
	.size	lcd44780_wait, .-lcd44780_wait
	.align	2
	.global	lcd44780_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd44780_command, %function
lcd44780_command:
	@ 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, r0
	strb	r3, [fp, #-5]
	ldr	r2, .L9
	ldrb	r3, [fp, #-5]
	strb	r3, [r2]
	bl	lcd44780_wait
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	-1107165184
	.size	lcd44780_command, .-lcd44780_command
	.align	2
	.global	lcd44780_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd44780_data, %function
lcd44780_data:
	@ 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, r0
	strb	r3, [fp, #-5]
	ldr	r2, .L12
	ldrb	r3, [fp, #-5]
	strb	r3, [r2]
	bl	lcd44780_wait
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	-1107165183
	.size	lcd44780_data, .-lcd44780_data
	.align	2
	.global	lcd44780_puts
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd44780_puts, %function
lcd44780_puts:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #1
	bl	lcd44780_command
	b	.L15
.L20:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	lcd44780_data
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bne	.L16
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L17
.L18:
	mov	r0, #32
	bl	lcd44780_data
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #31
	ble	.L18
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	beq	.L21
.L15:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	b	.L22
.L21:
	nop
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lcd44780_puts, .-lcd44780_puts
	.align	2
	.global	lcd44780_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcd44780_init, %function
lcd44780_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #56
	bl	lcd44780_command
	mov	r0, #6
	bl	lcd44780_command
	mov	r0, #15
	bl	lcd44780_command
	mov	r0, #1
	bl	lcd44780_command
	nop
	pop	{fp, pc}
	.size	lcd44780_init, .-lcd44780_init
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
