	.file	"extr_gstorage.c_set_data_metrics.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	set_data_metrics
	.type	set_data_metrics, @function
set_data_metrics:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR [rbx]
	mov	QWORD PTR 16[rsp], rdx
	call	get_percentage@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 20[rsp]
	movss	DWORD PTR 12[rsp], xmm0
	call	get_percentage@PLT
	mov	rsi, QWORD PTR 64[rbx]
	mov	edi, DWORD PTR 16[rsp]
	movss	DWORD PTR 8[rsp], xmm0
	call	get_percentage@PLT
	xor	eax, eax
	movss	DWORD PTR 4[rsp], xmm0
	call	new_gmetrics@PLT
	mov	edx, DWORD PTR 72[rbx]
	pxor	xmm3, xmm3
	movss	xmm2, DWORD PTR 12[rsp]
	movss	xmm0, DWORD PTR 4[rsp]
	movss	xmm1, DWORD PTR 8[rsp]
	movaps	xmm4, xmm3
	movaps	xmm5, xmm3
	mov	DWORD PTR 72[rax], edx
	mov	rdx, QWORD PTR [rbx]
	maxss	xmm4, xmm2
	maxss	xmm5, xmm0
	maxss	xmm3, xmm1
	cmp	QWORD PTR conf[rip+16], 0
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR 8[rbx]
	movss	DWORD PTR 16[rax], xmm4
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR 64[rbx]
	movss	DWORD PTR 20[rax], xmm5
	mov	QWORD PTR 64[rax], rdx
	movss	DWORD PTR 24[rax], xmm3
	je	.L5
	cmp	QWORD PTR [rbx], 0
	jle	.L5
	mov	edx, DWORD PTR 56[rbx]
	mov	DWORD PTR 56[rax], edx
	mov	edx, DWORD PTR 52[rbx]
	mov	DWORD PTR 52[rax], edx
	mov	edx, DWORD PTR 48[rbx]
	mov	DWORD PTR 48[rax], edx
.L5:
	cmp	QWORD PTR conf[rip+8], 0
	je	.L6
	mov	rdx, QWORD PTR 40[rbx]
	test	rdx, rdx
	jne	.L19
.L6:
	cmp	QWORD PTR conf[rip], 0
	je	.L7
	mov	rdx, QWORD PTR 32[rbx]
	test	rdx, rdx
	je	.L7
	mov	QWORD PTR 32[rax], rdx
.L7:
	mov	edx, DWORD PTR 28[rbx]
	mov	DWORD PTR 28[rax], edx
	mov	QWORD PTR 0[rbp], rax
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	QWORD PTR 40[rax], rdx
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	set_data_metrics, .-set_data_metrics
	.comm	conf,24,16
	.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_gstorage.c_set_data_metrics.c"
	.text
	.global	__aeabi_fcmplt
	.align	2
	.global	set_data_metrics
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_data_metrics, %function
set_data_metrics:
	@ args = 12, pretend = 8, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	add	ip, sp, #28
	mov	r9, r1
	ldr	r0, [sp, #40]
	ldr	r1, [r5]
	stmib	ip, {r2, r3}
	bl	get_percentage
	ldr	r1, [r5, #4]
	mov	r8, r0
	ldr	r0, [sp, #36]
	bl	get_percentage
	ldr	r1, [r5, #44]
	mov	r6, r0
	ldr	r0, [sp, #32]
	bl	get_percentage
	mov	r7, r0
	bl	new_gmetrics
	ldm	r5, {r2, r3}
	ldr	r1, [r5, #48]
	mov	r4, r0
	stm	r0, {r2, r3}
	str	r1, [r0, #48]
	mov	r0, r8
	mov	r1, #0
	bl	__aeabi_fcmplt
	cmp	r0, #0
	movne	r8, #0
	mov	r1, #0
	mov	r0, r7
	str	r8, [r4, #8]	@ float
	bl	__aeabi_fcmplt
	cmp	r0, #0
	movne	r7, #0
	mov	r1, #0
	mov	r0, r6
	str	r7, [r4, #12]	@ float
	bl	__aeabi_fcmplt
	cmp	r0, #0
	movne	r6, #0
	ldr	r3, .L28
	ldr	r2, [r5, #44]
	ldr	r1, [r3, #8]
	str	r6, [r4, #16]	@ float
	cmp	r1, #0
	str	r2, [r4, #44]
	beq	.L5
	ldr	r2, [r5]
	cmp	r2, #0
	ble	.L5
	ldr	r2, [r5, #40]
	ldr	r1, [r5, #36]
	str	r2, [r4, #40]
	ldr	r2, [r5, #32]
	str	r1, [r4, #36]
	str	r2, [r4, #32]
.L5:
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L6
	ldr	r2, [r5, #28]
	cmp	r2, #0
	strne	r2, [r4, #28]
.L6:
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r5, #24]
	cmp	r3, #0
	strne	r3, [r4, #24]
.L7:
	ldr	r3, [r5, #20]
	str	r3, [r4, #20]
	str	r4, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	add	sp, sp, #8
	bx	lr
.L29:
	.align	2
.L28:
	.word	conf
	.size	set_data_metrics, .-set_data_metrics
	.comm	conf,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
