	.file	"extr_nconf.gui.c_fill_window.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.globl	fill_window
	.type	fill_window, @function
fill_window:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	xor	r15d, r15d
	push	r14
	.cfi_offset 14, -32
	mov	r14, rsi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	get_line_no@PLT
	xor	esi, esi
	mov	rdi, r13
	mov	edx, esi
	mov	r12d, eax
	call	getmaxyx@PLT
	mov	esi, r15d
	mov	edi, r12d
	call	min@PLT
	mov	DWORD PTR -84[rbp], eax
	test	eax, eax
	jle	.L1
	mov	eax, 16
	xor	r12d, r12d
	mov	r15, rax
	sub	rax, 8
	mov	QWORD PTR -96[rbp], rax
	and	r15d, 4095
.L6:
	mov	rax, rsp
	mov	r10, rsp
	cmp	rsp, rax
	je	.L4
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L4:
	sub	rsp, r15
	test	r15, r15
	je	.L5
	mov	rax, QWORD PTR -96[rbp]
	or	QWORD PTR [rsp+rax], 0
.L5:
	mov	esi, r12d
	mov	rdi, r14
	mov	QWORD PTR -80[rbp], r10
	call	get_line@PLT
	mov	rdi, rax
	mov	QWORD PTR -72[rbp], rax
	call	get_line_length@PLT
	xor	esi, esi
	movsx	rbx, eax
	mov	edi, ebx
	call	min@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	rdi, rsp
	mov	edx, eax
	mov	rsi, r8
	call	strncpy@PLT
	mov	BYTE PTR [rsp+rbx], 0
	mov	r8, rsp
	mov	esi, r12d
	lea	rcx, .LC0[rip]
	xor	edx, edx
	mov	rdi, r13
	add	r12d, 1
	call	mvwprintw@PLT
	mov	r10, QWORD PTR -80[rbp]
	mov	rsp, r10
	cmp	DWORD PTR -84[rbp], r12d
	jne	.L6
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fill_window, .-fill_window
	.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_nconf.gui.c_fill_window.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fill_window
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_window, %function
fill_window:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r3, .L9
	mov	r8, r0
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r9, r1
	bl	get_line_no
	mov	r5, #0
	mov	r4, r0
	mov	r1, r5
	mov	r2, r5
	mov	r0, r8
	bl	getmaxyx
	mov	r1, r5
	mov	r0, r4
	bl	min
	subs	r3, r0, #0
	str	r3, [fp, #-48]
	ble	.L1
	mov	r4, r5
	ldr	r10, .L9+4
	str	r8, [fp, #-52]
.L3:
	mov	r3, #16
	mov	r1, r4
	mov	r7, sp
	mov	r0, r9
	sub	sp, sp, r3
	bl	get_line
	mov	r8, r0
	bl	get_line_length
	mov	r1, #0
	mov	r6, r0
	bl	min
	add	r5, sp, #8
	mov	r2, r0
	mov	r1, r8
	mov	r0, r5
	bl	strncpy
	mov	r3, #0
	strb	r3, [r5, r6]
	str	r5, [sp]
	mov	r3, r10
	mov	r1, r4
	mov	r2, #0
	ldr	r0, [fp, #-52]
	bl	mvwprintw
	ldr	r3, [fp, #-48]
	add	r4, r4, #1
	cmp	r3, r4
	mov	sp, r7
	bne	.L3
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	fill_window, .-fill_window
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
