	.file	"extr_fschmd.c_fschmd_dmi_decode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fschmd_dmi_decode, @function
fschmd_dmi_decode:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 56
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR [rdi], 185
	mov	QWORD PTR 4[rsp], 0
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	mov	DWORD PTR 24[rsp], 0
	jne	.L1
	mov	r9d, DWORD PTR 4[rdi]
	cmp	r9d, 4
	jle	.L1
	cmp	DWORD PTR 16[rdi], 19
	jne	.L1
	cmp	r9d, 10
	jle	.L1
	lea	rax, 24[rdi]
	xor	r8d, r8d
	xor	edi, edi
	mov	edx, 6
	mov	r10d, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	movsx	rcx, ecx
	mov	DWORD PTR 36[rsp], 2
	mov	QWORD PTR 28[rsp], 1
	mov	ecx, DWORD PTR 28[rsp+rcx*4]
	bt	edi, ecx
	jc	.L1
	mov	esi, DWORD PTR 8[rax]
	movsx	r11, ecx
	sal	esi, 8
	or	esi, DWORD PTR 4[rax]
	mov	DWORD PTR 4[rsp+r11*4], esi
	mov	esi, DWORD PTR 16[rax]
	sal	esi, 8
	or	esi, DWORD PTR 12[rax]
	mov	DWORD PTR 16[rsp+r11*4], esi
	mov	esi, r10d
	sal	esi, cl
	or	edi, esi
.L6:
	lea	ecx, 5[rdx]
	add	edx, 9
	add	rax, 20
	cmp	r9d, edx
	jle	.L15
	mov	edx, ecx
.L7:
	mov	esi, DWORD PTR [rax]
	lea	ecx, -1[rsi]
	cmp	ecx, 2
	jbe	.L16
	cmp	esi, 7
	jne	.L6
	test	dil, 8
	jne	.L1
	mov	r8d, DWORD PTR 8[rax]
	or	edi, 8
	sal	r8d, 8
	or	r8d, DWORD PTR 4[rax]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	edi, 15
	jne	.L1
	mov	rsi, QWORD PTR dmi_mult[rip]
	mov	rcx, QWORD PTR dmi_offset[rip]
	xor	eax, eax
	lea	r9, 4[rsp]
	lea	rdi, 16[rsp]
.L9:
	mov	edx, DWORD PTR [r9+rax]
	lea	edx, [rdx+rdx*4]
	add	edx, edx
	mov	DWORD PTR [rsi+rax], edx
	mov	edx, DWORD PTR [rdi+rax]
	lea	edx, [rdx+rdx*4]
	add	edx, edx
	mov	DWORD PTR [rcx+rax], edx
	add	rax, 4
	cmp	rax, 12
	jne	.L9
	mov	eax, DWORD PTR 8[rsi]
	mov	edx, DWORD PTR 4[rsi]
	mov	DWORD PTR dmi_vref[rip], r8d
	mov	DWORD PTR 12[rsi], eax
	mov	DWORD PTR 16[rsi], edx
	mov	DWORD PTR 20[rsi], eax
	mov	eax, DWORD PTR 8[rcx]
	mov	edx, DWORD PTR 4[rcx]
	mov	DWORD PTR 12[rcx], eax
	mov	DWORD PTR 16[rcx], edx
	mov	DWORD PTR 20[rcx], eax
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fschmd_dmi_decode, .-fschmd_dmi_decode
	.comm	dmi_vref,4,4
	.comm	dmi_offset,8,8
	.comm	dmi_mult,8,8
	.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_fschmd.c_fschmd_dmi_decode.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fschmd_dmi_decode, %function
fschmd_dmi_decode:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r0]
	sub	sp, sp, #40
	cmp	r3, #185
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	str	ip, [sp]
	str	ip, [sp, #12]
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	bne	.L1
	ldr	r7, [r0, #4]
	cmp	r7, #4
	ble	.L1
	ldr	r3, [r0, #16]
	cmp	r3, #19
	bne	.L1
	cmp	r7, #10
	ble	.L1
	mov	r3, r0
	mov	r8, ip
	mov	lr, #6
	mov	r9, #1
	ldr	r6, .L18+4
	add	r5, sp, #24
	b	.L7
.L16:
	ldm	r6, {r0, r1, r2}
	stm	r5, {r0, r1, r2}
	add	r2, sp, #40
	add	r4, r2, r4, lsl #2
	ldr	r2, [r4, #-16]
	asr	r1, ip, r2
	tst	r1, #1
	bne	.L1
	ldr	r1, [r3, #32]
	ldr	r0, [r3, #28]
	ldr	r4, [r3, #40]
	orr	r0, r0, r1, lsl #8
	ldr	r1, [r3, #36]
	add	r10, sp, #40
	orr	ip, ip, r9, lsl r2
	orr	r1, r1, r4, lsl #8
	add	r2, r10, r2, lsl #2
	str	r0, [r2, #-40]
	str	r1, [r2, #-28]
.L6:
	add	r2, lr, #9
	cmp	r7, r2
	add	r3, r3, #20
	add	lr, lr, #5
	ble	.L15
.L7:
	ldr	r2, [r3, #24]
	sub	r4, r2, #1
	cmp	r4, #2
	bls	.L16
	cmp	r2, #7
	bne	.L6
	tst	ip, #8
	bne	.L1
	ldr	r2, [r3, #32]
	ldr	r8, [r3, #28]
	orr	ip, ip, #8
	orr	r8, r8, r2, lsl #8
	b	.L6
.L15:
	cmp	ip, #15
	bne	.L1
	mov	r2, sp
	ldr	r0, .L18+8
	ldr	r1, .L18+12
	ldr	lr, [r0]
	ldr	r5, [r1]
	add	r3, sp, #12
	sub	ip, lr, #4
	add	r6, lr, #8
	sub	r4, r5, #4
.L9:
	ldr	r0, [r2], #4
	ldr	r1, [r3], #4
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #1
	str	r0, [ip, #4]!
	add	r1, r1, r1, lsl #2
	lsl	r1, r1, #1
	cmp	ip, r6
	str	r1, [r4, #4]!
	bne	.L9
	ldmib	lr, {r2, r3}
	str	r2, [lr, #16]
	ldr	r2, .L18+16
	str	r3, [lr, #12]
	str	r3, [lr, #20]
	ldmib	r5, {r1, r3}
	str	r8, [r2]
	str	r3, [r5, #12]
	str	r3, [r5, #20]
	str	r1, [r5, #16]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LANCHOR0
	.word	dmi_mult
	.word	dmi_offset
	.word	dmi_vref
	.size	fschmd_dmi_decode, .-fschmd_dmi_decode
	.comm	dmi_vref,4,4
	.comm	dmi_offset,4,4
	.comm	dmi_mult,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.word	1
	.word	0
	.word	2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
