	.file	"extr_materialui.c_materialui_layout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"a"
.LC4:
	.string	"t"
	.text
	.p2align 4
	.type	materialui_layout, @function
materialui_layout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r8, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	rcx, QWORD PTR 16[rdi]
	movss	xmm1, DWORD PTR 64[rbx]
	cmp	r8, rcx
	setge	al
	mov	DWORD PTR [rdi], eax
	movsx	rax, DWORD PTR 28[rdi]
	imul	rbp, rax, -1840700269
	mov	r10d, eax
	mov	r9, rax
	imul	rsi, rax, 954437177
	sar	r10d, 31
	imul	rdx, rax, 1431655766
	shr	rbp, 32
	imul	r12, rax, 780903145
	add	ebp, eax
	mov	r11, rsi
	sar	rsi, 35
	shr	rdx, 32
	sar	ebp, 2
	sub	esi, r10d
	sar	r11, 33
	sub	edx, r10d
	sub	ebp, r10d
	sar	r12, 33
	mov	DWORD PTR 24[rdi], edx
	mov	r14, r11
	sub	r12d, r10d
	mov	DWORD PTR 32[rdi], ebp
	sub	r14d, r10d
	mov	DWORD PTR 36[rdi], edx
	lea	edi, [rdx+rbp]
	mov	DWORD PTR 40[rbx], esi
	imul	rsi, rax, 715827883
	mov	DWORD PTR 44[rbx], r14d
	mov	DWORD PTR 48[rbx], edx
	sar	rsi, 33
	mov	DWORD PTR 56[rbx], ebp
	sub	esi, r10d
	comiss	xmm1, DWORD PTR .LC0[rip]
	mov	DWORD PTR 52[rbx], esi
	jbe	.L44
	movss	xmm2, DWORD PTR .LC1[rip]
	addss	xmm1, xmm2
	cvttss2si	rsi, xmm1
.L2:
	imul	rax, rax, 715827883
	sar	r9d, 31
	mov	DWORD PTR 60[rbx], esi
	mov	DWORD PTR 184[rbx], edx
	mov	DWORD PTR 188[rbx], esi
	sar	rax, 35
	sub	eax, r9d
	mov	DWORD PTR 192[rbx], eax
	cmp	r8, rcx
	jge	.L4
	cmp	QWORD PTR 200[rbx], 0
	jne	.L47
.L4:
	mov	eax, DWORD PTR MUI_NAV_BAR_LOCATION_BOTTOM[rip]
	mov	DWORD PTR 68[rbx], 0
	mov	DWORD PTR 72[rbx], edx
	mov	DWORD PTR 196[rbx], eax
.L5:
	pxor	xmm0, xmm0
	movss	xmm3, DWORD PTR .LC2[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm0, ebp
	cvtsi2ss	xmm1, r14d
	mulss	xmm0, xmm3
	mulss	xmm1, xmm3
	addss	xmm0, xmm2
	addss	xmm1, xmm2
	cvttss2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, r12d
	mov	DWORD PTR 160[rbx], eax
	cvttss2si	eax, xmm1
	mulss	xmm0, xmm3
	mov	DWORD PTR 136[rbx], eax
	addss	xmm0, xmm2
	cvttss2si	eax, xmm0
	mov	DWORD PTR 112[rbx], eax
	call	menu_display_set_header_height@PLT
	mov	rdi, QWORD PTR 168[rbx]
	test	rdi, rdi
	je	.L6
	call	menu_display_font_free@PLT
	mov	QWORD PTR 168[rbx], 0
.L6:
	mov	rdi, QWORD PTR 144[rbx]
	test	rdi, rdi
	je	.L7
	call	menu_display_font_free@PLT
	mov	QWORD PTR 144[rbx], 0
.L7:
	mov	rdi, QWORD PTR 120[rbx]
	test	rdi, rdi
	je	.L8
	call	menu_display_font_free@PLT
	mov	QWORD PTR 120[rbx], 0
.L8:
	mov	edi, DWORD PTR APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT[rip]
	mov	edx, r13d
	mov	esi, ebp
	call	menu_display_font@PLT
	mov	edi, DWORD PTR APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT[rip]
	mov	edx, r13d
	mov	esi, r14d
	mov	QWORD PTR 168[rbx], rax
	call	menu_display_font@PLT
	mov	edi, DWORD PTR APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT[rip]
	mov	edx, r13d
	mov	esi, r12d
	mov	QWORD PTR 144[rbx], rax
	call	menu_display_font@PLT
	mov	rdi, QWORD PTR 168[rbx]
	mov	QWORD PTR 120[rbx], rax
	test	rdi, rdi
	je	.L9
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, .LC3[rip]
	call	font_driver_get_message_width@PLT
	test	eax, eax
	jne	.L48
.L10:
	mov	rdi, QWORD PTR 168[rbx]
	movss	xmm0, DWORD PTR .LC0[rip]
	call	font_driver_get_line_height@PLT
	mov	QWORD PTR 176[rbx], rax
.L9:
	mov	rdi, QWORD PTR 144[rbx]
	test	rdi, rdi
	je	.L11
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, .LC3[rip]
	call	font_driver_get_message_width@PLT
	test	eax, eax
	jne	.L49
.L12:
	mov	rdi, QWORD PTR 144[rbx]
	movss	xmm0, DWORD PTR .LC0[rip]
	call	font_driver_get_line_height@PLT
	mov	QWORD PTR 152[rbx], rax
.L11:
	mov	rdi, QWORD PTR 120[rbx]
	test	rdi, rdi
	je	.L13
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, .LC4[rip]
	call	font_driver_get_message_width@PLT
	test	eax, eax
	jne	.L50
.L14:
	mov	rdi, QWORD PTR 120[rbx]
	movss	xmm0, DWORD PTR .LC0[rip]
	call	font_driver_get_line_height@PLT
	mov	QWORD PTR 128[rbx], rax
.L13:
	mov	rax, QWORD PTR 80[rbx]
	mov	rdi, rbx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR 88[rbx]
	mov	QWORD PTR 104[rbx], 0
	mov	BYTE PTR [rax], 0
	mov	QWORD PTR 96[rbx], 0
	call	materialui_update_list_view@PLT
	mov	DWORD PTR 76[rbx], 1
	pop	rbx
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L50:
	.cfi_restore_state
	mov	DWORD PTR 112[rbx], eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L49:
	mov	DWORD PTR 136[rbx], eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L48:
	mov	DWORD PTR 160[rbx], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L47:
	mov	eax, DWORD PTR MUI_NAV_BAR_LOCATION_RIGHT[rip]
	mov	DWORD PTR 68[rbx], edx
	mov	DWORD PTR 72[rbx], 0
	mov	DWORD PTR 196[rbx], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L44:
	movss	xmm2, DWORD PTR .LC1[rip]
	mov	esi, 1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	materialui_layout, .-materialui_layout
	.comm	MUI_NAV_BAR_LOCATION_RIGHT,4,4
	.comm	MUI_NAV_BAR_LOCATION_BOTTOM,4,4
	.comm	APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.align 4
.LC1:
	.long	1056964608
	.align 4
.LC2:
	.long	1061158912
	.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_materialui.c_materialui_layout.c"
	.text
	.global	__aeabi_fcmpgt
	.global	__aeabi_fadd
	.global	__aeabi_f2uiz
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"a\000"
	.align	2
.LC1:
	.ascii	"t\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	materialui_layout, %function
materialui_layout:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #8]
	ldr	r10, [r0, #4]
	mov	r4, r0
	cmp	r10, r3
	movlt	ip, #0
	movge	ip, #1
	ldr	r5, [r0, #16]
	ldr	r6, .L51
	sub	sp, sp, #20
	mov	r9, r1
	ldr	r7, .L51+4
	ldr	r1, .L51+8
	str	r3, [sp]
	smull	r3, r6, r5, r6
	ldr	r3, .L51+12
	smull	r2, r7, r5, r7
	smull	r2, r1, r5, r1
	smull	r2, r3, r5, r3
	ldr	r8, .L51+16
	add	r6, r6, r5
	smull	r2, r8, r5, r8
	asr	r0, r7, #3
	ldr	r2, [r4, #52]	@ float
	asr	r7, r7, #1
	asr	r1, r1, #1
	asr	r6, r6, #2
	sub	fp, r3, r5, asr #31
	sub	r6, r6, r5, asr #31
	sub	r0, r0, r5, asr #31
	sub	r1, r1, r5, asr #31
	sub	r7, r7, r5, asr #31
	str	r0, [r4, #28]
	str	r1, [r4, #40]
	mov	r0, r2
	mov	r1, #1065353216
	str	ip, [r4]
	str	r7, [r4, #32]
	str	r6, [r4, #20]
	str	r6, [r4, #44]
	str	fp, [r4, #12]
	str	fp, [r4, #24]
	str	fp, [r4, #36]
	str	r2, [sp, #8]
	bl	__aeabi_fcmpgt
	asr	r8, r8, #1
	add	r3, fp, r6
	cmp	r0, #0
	str	r3, [sp, #4]
	moveq	r0, #1
	sub	r8, r8, r5, asr #31
	asr	r3, r5, #31
	beq	.L2
	ldr	r2, [sp, #8]
	mov	r1, #1056964608
	mov	r0, r2
	str	r3, [sp, #12]
	bl	__aeabi_fadd
	bl	__aeabi_f2uiz
	ldr	r3, [sp, #12]
.L2:
	ldr	r1, [sp]
	ldr	r2, .L51+8
	cmp	r10, r1
	smull	r1, r5, r2, r5
	rsb	r5, r3, r5, asr #3
	str	r0, [r4, #48]
	str	fp, [r4, #120]
	str	r0, [r4, #124]
	str	r5, [r4, #128]
	bge	.L4
	ldr	r2, [r4, #136]
	cmp	r2, #0
	bne	.L50
.L4:
	mov	r2, #0
	ldr	r1, .L51+20
	str	fp, [r4, #60]
	ldr	r3, [r1]
	str	r2, [r4, #56]
	str	r3, [r4, #132]
.L5:
	mov	r0, r6
	bl	__aeabi_i2f
	mov	r1, #1061158912
	bl	__aeabi_fmul
	mov	r1, #1056964608
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r0, r7
	str	r3, [r4, #108]
	bl	__aeabi_i2f
	mov	r1, #1061158912
	bl	__aeabi_fmul
	mov	r1, #1056964608
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r0, r8
	str	r3, [r4, #96]
	bl	__aeabi_i2f
	mov	r1, #1061158912
	bl	__aeabi_fmul
	mov	r1, #1056964608
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r4, #84]
	bl	menu_display_set_header_height
	ldr	r0, [r4, #112]
	cmp	r0, #0
	beq	.L6
	bl	menu_display_font_free
	mov	r3, #0
	str	r3, [r4, #112]
.L6:
	ldr	r0, [r4, #100]
	cmp	r0, #0
	beq	.L7
	bl	menu_display_font_free
	mov	r3, #0
	str	r3, [r4, #100]
.L7:
	ldr	r0, [r4, #88]
	cmp	r0, #0
	beq	.L8
	bl	menu_display_font_free
	mov	r3, #0
	str	r3, [r4, #88]
.L8:
	ldr	r5, .L51+24
	mov	r1, r6
	mov	r2, r9
	ldr	r0, [r5]
	bl	menu_display_font
	mov	r1, r7
	mov	r2, r9
	str	r0, [r4, #112]
	ldr	r0, [r5]
	bl	menu_display_font
	mov	r2, r9
	str	r0, [r4, #100]
	mov	r1, r8
	ldr	r0, [r5]
	bl	menu_display_font
	ldr	r2, [r4, #112]
	str	r0, [r4, #88]
	cmp	r2, #0
	beq	.L9
	mov	r3, #1
	mov	r0, r2
	ldr	r1, .L51+28
	mov	r2, r3
	bl	font_driver_get_message_width
	cmp	r0, #0
	strne	r0, [r4, #108]
	mov	r1, #1065353216
	ldr	r0, [r4, #112]
	bl	font_driver_get_line_height
	str	r0, [r4, #116]
.L9:
	ldr	r0, [r4, #100]
	cmp	r0, #0
	beq	.L11
	mov	r3, #1
	ldr	r1, .L51+28
	mov	r2, r3
	bl	font_driver_get_message_width
	cmp	r0, #0
	strne	r0, [r4, #96]
	mov	r1, #1065353216
	ldr	r0, [r4, #100]
	bl	font_driver_get_line_height
	str	r0, [r4, #104]
.L11:
	ldr	r0, [r4, #88]
	cmp	r0, #0
	beq	.L13
	mov	r3, #1
	ldr	r1, .L51+32
	mov	r2, r3
	bl	font_driver_get_message_width
	cmp	r0, #0
	strne	r0, [r4, #84]
	mov	r1, #1065353216
	ldr	r0, [r4, #88]
	bl	font_driver_get_line_height
	str	r0, [r4, #92]
.L13:
	mov	r3, #0
	ldr	r2, [r4, #68]
	mov	r0, r4
	strb	r3, [r2]
	ldr	r2, [r4, #72]
	str	r3, [r4, #80]
	strb	r3, [r2]
	str	r3, [r4, #76]
	bl	materialui_update_list_view
	mov	r3, #1
	str	r3, [r4, #64]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L50:
	mov	r2, #0
	ldr	r1, .L51+36
	str	fp, [r4, #56]
	ldr	r3, [r1]
	str	r2, [r4, #60]
	str	r3, [r4, #132]
	b	.L5
.L52:
	.align	2
.L51:
	.word	-1840700269
	.word	954437177
	.word	715827883
	.word	1431655766
	.word	780903145
	.word	MUI_NAV_BAR_LOCATION_BOTTOM
	.word	APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT
	.word	.LC0
	.word	.LC1
	.word	MUI_NAV_BAR_LOCATION_RIGHT
	.size	materialui_layout, .-materialui_layout
	.comm	MUI_NAV_BAR_LOCATION_RIGHT,4,4
	.comm	MUI_NAV_BAR_LOCATION_BOTTOM,4,4
	.comm	APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI_FONT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
