	.file	"extr_tty.c_tty_cmd_alignmenttest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tty_cmd_alignmenttest
	.type	tty_cmd_alignmenttest, @function
tty_cmd_alignmenttest:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rsi], 0
	mov	rdx, QWORD PTR 8[rsi]
	je	.L2
	mov	eax, DWORD PTR PANE_REDRAW[rip]
	or	DWORD PTR [rdx], eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	lea	rsi, grid_default_cell[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR 8[rdx]
	call	tty_attributes@PLT
	mov	rdi, rbp
	call	screen_size_y@PLT
	xor	edx, edx
	mov	rsi, r14
	mov	rdi, r12
	lea	rcx, -1[rax]
	call	tty_region_pane@PLT
	mov	rdi, r12
	call	tty_margin_off@PLT
	mov	rdi, rbp
	call	screen_size_y@PLT
	cmp	rax, r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, r13
	xor	edx, edx
	mov	rsi, r14
	mov	rdi, r12
	call	tty_cursor_pane@PLT
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, 69
	mov	rdi, r12
	add	rbx, 1
	call	tty_putc@PLT
.L5:
	mov	rdi, rbp
	call	screen_size_x@PLT
	cmp	rax, rbx
	jg	.L6
	mov	rdi, rbp
	add	r13, 1
	call	screen_size_y@PLT
	cmp	rax, r13
	jg	.L7
.L12:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tty_cmd_alignmenttest, .-tty_cmd_alignmenttest
	.comm	grid_default_cell,4,4
	.comm	PANE_REDRAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tty.c_tty_cmd_alignmenttest.c"
	.text
	.align	2
	.global	tty_cmd_alignmenttest
	.syntax unified
	.arm
	.fpu softvfp
	.type	tty_cmd_alignmenttest, %function
tty_cmd_alignmenttest:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r1]
	ldr	r2, [r1, #4]
	cmp	r7, #0
	beq	.L2
	ldr	r1, .L10
	ldr	r3, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r5, [r2, #4]
	mov	r8, r1
	ldr	r1, .L10+4
	mov	r6, r0
	bl	tty_attributes
	mov	r0, r5
	bl	screen_size_y
	mov	r2, r7
	sub	r3, r0, #1
	mov	r1, r8
	mov	r0, r6
	bl	tty_region_pane
	mov	r0, r6
	bl	tty_margin_off
.L4:
	mov	r0, r5
	bl	screen_size_y
	cmp	r0, r7
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r3, r7
	mov	r2, #0
	mov	r1, r8
	mov	r0, r6
	bl	tty_cursor_pane
	mov	r4, #0
	b	.L5
.L6:
	mov	r1, #69
	mov	r0, r6
	bl	tty_putc
	add	r4, r4, #1
.L5:
	mov	r0, r5
	bl	screen_size_x
	cmp	r0, r4
	bgt	.L6
	add	r7, r7, #1
	b	.L4
.L11:
	.align	2
.L10:
	.word	PANE_REDRAW
	.word	grid_default_cell
	.size	tty_cmd_alignmenttest, .-tty_cmd_alignmenttest
	.comm	grid_default_cell,4,4
	.comm	PANE_REDRAW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
