	.file	"extr_gdashboard.c_render_content.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	render_content, @function
render_content:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR 16[rsp], r9
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	get_data_pos_rows@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], eax
	call	getmaxyx@PLT
	mov	r15d, DWORD PTR 8[rbp]
	mov	ebx, DWORD PTR [rbx]
	cmp	r15d, ebx
	jle	.L1
	mov	rax, QWORD PTR [rsp]
	sal	rax, 2
	mov	QWORD PTR 24[rsp], rax
	lea	eax, -1[r15]
	mov	DWORD PTR [rsp], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	edx, DWORD PTR [rsp]
	je	.L18
	cmp	edx, DWORD PTR DASH_DASHES_POS[rip]
	je	.L20
	cmp	edx, DWORD PTR DASH_COLS_POS[rip]
	je	.L21
.L9:
	cmp	edx, DWORD PTR 12[rsp]
	jge	.L12
	cmp	edx, DWORD PTR [rsp]
	jge	.L18
.L12:
	mov	r8, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbp
	sub	edx, DWORD PTR 12[rsp]
	mov	rax, QWORD PTR [r8]
	mov	ecx, DWORD PTR [rax+rdi]
	mov	rdi, r12
	add	ecx, edx
	mov	rdx, r14
	call	render_data_line@PLT
.L4:
	add	DWORD PTR 0[r13], 1
	mov	eax, DWORD PTR [r14]
	test	eax, eax
	jns	.L1
.L24:
	add	ebx, 1
	cmp	r15d, ebx
	je	.L1
.L11:
	mov	eax, ebx
	cdq
	idiv	r15d
	cmp	edx, DWORD PTR DASH_HEAD_POS[rip]
	je	.L22
	cmp	edx, DWORD PTR DASH_EMPTY_POS[rip]
	jne	.L5
	cmp	QWORD PTR conf[rip], 0
	jne	.L23
.L18:
	add	DWORD PTR [r14], 1
	add	DWORD PTR 0[r13], 1
	mov	eax, DWORD PTR [r14]
	test	eax, eax
	js	.L24
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rsp]
	mov	rcx, r14
	mov	rsi, rbp
	mov	rdi, r12
	mov	edx, DWORD PTR 8[rax]
	call	render_header@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	cmp	QWORD PTR conf[rip], 0
	je	.L18
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	render_description@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	cmp	QWORD PTR conf[rip], 0
	jne	.L9
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	render_cols@PLT
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	render_content, .-render_content
	.comm	conf,8,8
	.comm	DASH_HEAD_POS,4,4
	.comm	DASH_EMPTY_POS,4,4
	.comm	DASH_DASHES_POS,4,4
	.comm	DASH_COLS_POS,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_gdashboard.c_render_content.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	render_content, %function
render_content:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	ldr	r3, [r1]
	sub	sp, sp, #28
	mov	r9, r1
	mov	fp, r0
	mov	r5, r2
	str	r3, [sp, #12]
	ldr	r7, [sp, #64]
	bl	get_data_pos_rows
	mov	r2, #0
	mov	r3, r0
	mov	r1, r2
	mov	r0, fp
	str	r3, [sp, #16]
	bl	getmaxyx
	ldr	r4, [r4]
	ldr	r6, [r9, #4]
	cmp	r6, r4
	ble	.L1
	ldr	r3, [sp, #12]
	ldr	r8, .L28
	lsl	r3, r3, #2
	str	r3, [sp, #20]
	sub	r3, r6, #1
	ldr	r10, .L28+4
	str	r3, [sp, #12]
	b	.L10
.L5:
	ldr	r3, [sp, #12]
	cmp	r1, r3
	beq	.L22
	ldr	r3, .L28+8
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L24
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L25
.L9:
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	cmp	r1, r3
	movge	r3, #0
	movlt	r3, #1
	cmp	r1, r2
	orrge	r3, r3, #1
	cmp	r3, #0
	beq	.L22
	ldr	r3, [sp, #68]
	sub	r1, r1, r2
	ldr	r3, [r3]
	ldr	r2, [sp, #20]
	mov	r0, fp
	ldr	r3, [r3, r2]
	mov	r2, r5
	add	r3, r1, r3
	ldr	r1, [sp, #68]
	str	r1, [sp]
	mov	r1, r9
	bl	render_data_line
.L4:
	ldr	r3, [r7]
	add	r3, r3, #1
	str	r3, [r7]
	ldr	r3, [r5]
	cmp	r3, #0
	bge	.L1
	add	r4, r4, #1
	cmp	r6, r4
	beq	.L1
.L10:
	mov	r1, r6
	mov	r0, r4
	bl	__aeabi_idivmod
	ldr	r3, [r8]
	cmp	r1, r3
	beq	.L26
	ldr	r3, [r10]
	cmp	r1, r3
	bne	.L5
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L22:
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	b	.L4
.L26:
	ldr	r2, [sp, #68]
	mov	r3, r5
	mov	r1, r9
	mov	r0, fp
	ldr	r2, [r2, #4]
	bl	render_header
	b	.L4
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	b	.L9
.L27:
	mov	r2, r5
	mov	r1, r9
	mov	r0, fp
	bl	render_description
	b	.L4
.L25:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	mov	r2, r5
	mov	r1, r9
	mov	r0, fp
	bl	render_cols
	b	.L22
.L29:
	.align	2
.L28:
	.word	DASH_HEAD_POS
	.word	DASH_EMPTY_POS
	.word	DASH_DASHES_POS
	.word	DASH_COLS_POS
	.word	conf
	.size	render_content, .-render_content
	.comm	conf,4,4
	.comm	DASH_HEAD_POS,4,4
	.comm	DASH_EMPTY_POS,4,4
	.comm	DASH_DASHES_POS,4,4
	.comm	DASH_COLS_POS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
