	.file	"231394000.c"
	.intel_syntax noprefix
	.text
	.globl	fsm_debug
	.bss
	.type	fsm_debug, @object
	.size	fsm_debug, 1
fsm_debug:
	.zero	1
	.local	s_iTableRev
	.comm	s_iTableRev,4,4
	.local	m_iDriver
	.comm	m_iDriver,4,4
	.local	m_iCount
	.comm	m_iCount,4,4
	.section	.rodata
.LC0:
	.string	"/dev/mem"
	.text
	.globl	OpenIMemoryInterface
	.type	OpenIMemoryInterface, @function
OpenIMemoryInterface:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], -1
	mov	eax, DWORD PTR m_iDriver[rip]
	test	eax, eax
	jne	.L2
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR m_iDriver[rip], eax
	mov	eax, DWORD PTR m_iDriver[rip]
	test	eax, eax
	jle	.L3
	mov	eax, DWORD PTR m_iCount[rip]
	add	eax, 1
	mov	DWORD PTR m_iCount[rip], eax
	jmp	.L4
.L3:
	mov	DWORD PTR m_iDriver[rip], 0
	jmp	.L4
.L2:
	mov	eax, DWORD PTR m_iCount[rip]
	add	eax, 1
	mov	DWORD PTR m_iCount[rip], eax
.L4:
	mov	eax, DWORD PTR m_iDriver[rip]
	test	eax, eax
	jle	.L5
	mov	DWORD PTR -4[rbp], 0
.L5:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	OpenIMemoryInterface, .-OpenIMemoryInterface
	.globl	CloseIMemoryInterface
	.type	CloseIMemoryInterface, @function
CloseIMemoryInterface:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR m_iCount[rip]
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR m_iCount[rip]
	sub	eax, 1
	mov	DWORD PTR m_iCount[rip], eax
	mov	eax, DWORD PTR m_iCount[rip]
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR m_iDriver[rip]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR m_iDriver[rip], 0
.L8:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	CloseIMemoryInterface, .-CloseIMemoryInterface
	.section	.rodata
	.align 8
.LC1:
	.string	"MapPhys: tdStart=%lx, page=%x, diff=%lx\n"
	.align 8
.LC2:
	.string	"MapPhys: mmap(tdStart=%lx,size=%lx) = %lx\n"
	.text
	.globl	MapPhysicalMemory
	.type	MapPhysicalMemory, @function
MapPhysicalMemory:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR m_iDriver[rip]
	test	eax, eax
	jne	.L11
	mov	eax, 0
	jmp	.L12
.L11:
	cmp	QWORD PTR -24[rbp], 0
	je	.L13
	cmp	QWORD PTR -32[rbp], 0
	jne	.L14
.L13:
	mov	eax, 0
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -24[rbp]
	and	eax, 4095
	mov	QWORD PTR -8[rbp], rax
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L15
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -32[rbp], rax
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR m_iDriver[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9, rcx
	mov	r8d, edx
	mov	ecx, 1
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L16
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	cmp	QWORD PTR -16[rbp], -1
	jne	.L17
	mov	eax, 0
	jmp	.L12
.L17:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 1
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	MapPhysicalMemory, .-MapPhysicalMemory
	.globl	UnMapPhysicalMemory
	.type	UnMapPhysicalMemory, @function
UnMapPhysicalMemory:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	and	eax, 4095
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	test	eax, eax
	je	.L19
	mov	eax, 0
	jmp	.L20
.L19:
	mov	eax, 1
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	UnMapPhysicalMemory, .-UnMapPhysicalMemory
	.section	.rodata
.LC3:
	.string	"getSmBiosTables start"
.LC4:
	.string	"OpenIMemoryInterface rv = %d\n"
.LC5:
	.string	"Cannot map memory.\n"
.LC6:
	.string	"_SM_"
	.align 8
.LC7:
	.string	"Can't find SMBIOS address entry point.\n"
	.align 8
.LC8:
	.string	"Found pSmBios=%p tdV=%lx, inc=%x\n"
.LC9:
	.string	"_SM_ Checksum != 0.\n"
.LC10:
	.string	"MapMemory(%lx,%lx) ok = %lx\n"
	.text
	.globl	getSmBiosTables
	.type	getSmBiosTables, @function
getSmBiosTables:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 983040
	mov	QWORD PTR -16[rbp], 65534
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	BYTE PTR -57[rbp], 0
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L22
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L22:
	call	OpenIMemoryInterface
	mov	DWORD PTR -52[rbp], eax
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L23
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	MapPhysicalMemory
	test	eax, eax
	jne	.L25
.L24:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L38
.L25:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 4
	mov	DWORD PTR -56[rbp], eax
.L27:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rdx, rax
	jl	.L30
.L29:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	UnMapPhysicalMemory
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L38
.L31:
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L32
	mov	rdx, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L32:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	add	BYTE PTR -57[rbp], al
	add	DWORD PTR -56[rbp], 1
.L33:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	DWORD PTR -56[rbp], eax
	jl	.L34
	cmp	BYTE PTR -57[rbp], 0
	je	.L35
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	UnMapPhysicalMemory
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L38
.L35:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR s_iTableRev[rip], eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 22
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -40[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 22
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -59[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 23
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -58[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	UnMapPhysicalMemory
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	MapPhysicalMemory
	test	eax, eax
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L38
.L36:
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L37
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
.L38:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getSmBiosTables, .-getSmBiosTables
	.globl	closeSmBios
	.type	closeSmBios, @function
closeSmBios:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	UnMapPhysicalMemory
	call	CloseIMemoryInterface
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	closeSmBios, .-closeSmBios
	.globl	getSmBiosRev
	.type	getSmBiosRev, @function
getSmBiosRev:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR s_iTableRev[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getSmBiosRev, .-getSmBiosRev
	.section	.rodata
.LC11:
	.string	"IPMI record: "
.LC12:
	.string	"%02x "
	.text
	.globl	get_IpmiStruct
	.type	get_IpmiStruct, @function
get_IpmiStruct:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -36[rbp], -1
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	getSmBiosTables
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L45
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L46
.L45:
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L65
.L46:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L48
.L64:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -45[rbp], al
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -28[rbp], eax
	cmp	BYTE PTR -45[rbp], 127
	je	.L67
	cmp	BYTE PTR -45[rbp], 38
	jne	.L51
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L52
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -32[rbp], eax
	jmp	.L53
.L54:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L53:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cmp	DWORD PTR -32[rbp], eax
	jl	.L54
	mov	edi, 10
	call	putchar@PLT
.L52:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 4
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 5
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 6
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 8
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 9
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	lea	ecx, [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 10
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	add	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 11
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	add	eax, ecx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 1
	test	eax, eax
	je	.L55
	sub	DWORD PTR -44[rbp], 1
.L55:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 4
	je	.L68
	cmp	DWORD PTR -28[rbp], 17
	jle	.L68
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 16
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 6
	movzx	eax, al
	cmp	eax, 2
	je	.L57
	cmp	eax, 2
	jg	.L69
	test	eax, eax
	je	.L59
	cmp	eax, 1
	je	.L60
	jmp	.L69
.L59:
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR [rax], 1
	jmp	.L56
.L60:
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR [rax], 4
	jmp	.L56
.L57:
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR [rax], 16
	jmp	.L56
.L68:
	nop
	jmp	.L56
.L69:
	nop
.L56:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L50
.L51:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	jmp	.L61
.L63:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L62
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L62
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 2
	mov	DWORD PTR -40[rbp], eax
	jmp	.L48
.L62:
	add	DWORD PTR -44[rbp], 1
.L61:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L63
.L48:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L64
	jmp	.L50
.L67:
	nop
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	closeSmBios
	mov	eax, DWORD PTR -36[rbp]
.L65:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	get_IpmiStruct, .-get_IpmiStruct
	.section	.rodata
.LC13:
	.string	"get_MemDesc(%d,%d)\n"
.LC14:
	.string	"Memory record %d.%d: "
.LC15:
	.string	"bank=%d nStr=%d sz=%x\n"
.LC16:
	.string	"str[%d] = %s\n"
.LC17:
	.string	"%s/%s"
.LC18:
	.string	"DIMM%d%c"
.LC19:
	.string	"DIMM(%d)"
	.text
	.globl	get_MemDesc
	.type	get_MemDesc, @function
get_MemDesc:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	eax, esi
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -184[rbp], rcx
	mov	edx, edi
	mov	BYTE PTR -164[rbp], dl
	mov	BYTE PTR -168[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -128[rbp], -1
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	getSmBiosTables
	cdqe
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	je	.L71
	mov	rax, QWORD PTR -96[rbp]
	test	rax, rax
	jne	.L72
.L71:
	mov	eax, DWORD PTR -128[rbp]
	jmp	.L104
.L72:
	cmp	QWORD PTR -176[rbp], 0
	jne	.L74
	mov	eax, -1
	jmp	.L104
.L74:
	mov	BYTE PTR -48[rbp], 0
	mov	BYTE PTR -80[rbp], 0
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L75
	movzx	edx, BYTE PTR -168[rbp]
	movzx	eax, BYTE PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L75:
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	jmp	.L76
.L102:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -145[rbp], al
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -116[rbp], eax
	cmp	BYTE PTR -145[rbp], 127
	je	.L106
	cmp	BYTE PTR -145[rbp], 16
	jne	.L79
	movzx	eax, BYTE PTR -164[rbp]
	cmp	DWORD PTR -136[rbp], eax
	je	.L80
	add	DWORD PTR -136[rbp], 1
	jmp	.L80
.L79:
	cmp	BYTE PTR -145[rbp], 17
	jne	.L80
	movzx	eax, BYTE PTR -168[rbp]
	cmp	DWORD PTR -132[rbp], eax
	jne	.L81
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L82
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -144[rbp], eax
	jmp	.L83
.L85:
	mov	eax, DWORD PTR -144[rbp]
	sub	eax, DWORD PTR -140[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L84
	mov	edi, 10
	call	putchar@PLT
.L84:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -144[rbp], 1
.L83:
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	add	eax, 15
	cmp	DWORD PTR -144[rbp], eax
	jle	.L85
	mov	edi, 10
	call	putchar@PLT
.L82:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 12
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 13
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 15
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -108[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 16
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -104[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	add	rax, 17
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -100[rbp], eax
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L86
	mov	ecx, DWORD PTR -112[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L86:
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	mov	DWORD PTR -124[rbp], eax
	mov	DWORD PTR -120[rbp], 1
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -144[rbp], eax
	jmp	.L87
.L94:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L88
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L89
.L88:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L90
	movzx	eax, BYTE PTR fsm_debug[rip]
	test	al, al
	je	.L91
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L91:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jne	.L92
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	add	rdx, rax
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L89
.L92:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jne	.L93
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	add	rdx, rax
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L93:
	add	DWORD PTR -120[rbp], 1
	mov	eax, DWORD PTR -144[rbp]
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
.L90:
	add	DWORD PTR -144[rbp], 1
.L87:
	mov	rax, QWORD PTR -88[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L94
.L89:
	cmp	QWORD PTR -176[rbp], 0
	je	.L95
	mov	rax, QWORD PTR -88[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jge	.L95
	lea	rcx, -80[rbp]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -176[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -128[rbp], 0
	jmp	.L96
.L95:
	mov	eax, DWORD PTR -132[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L97
	mov	BYTE PTR -146[rbp], 65
	jmp	.L98
.L97:
	mov	BYTE PTR -146[rbp], 66
.L98:
	movsx	ecx, BYTE PTR -146[rbp]
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -176[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -128[rbp], 0
.L96:
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -112[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L78
.L81:
	add	DWORD PTR -132[rbp], 1
.L80:
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	mov	DWORD PTR -144[rbp], eax
	jmp	.L99
.L101:
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L100
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L100
	mov	eax, DWORD PTR -144[rbp]
	add	eax, 2
	mov	DWORD PTR -140[rbp], eax
	jmp	.L76
.L100:
	add	DWORD PTR -144[rbp], 1
.L99:
	mov	rax, QWORD PTR -88[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L101
.L76:
	mov	rax, QWORD PTR -88[rbp]
	cmp	DWORD PTR -140[rbp], eax
	jl	.L102
	jmp	.L78
.L106:
	nop
.L78:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	closeSmBios
	cmp	DWORD PTR -128[rbp], 0
	je	.L103
	cmp	QWORD PTR -176[rbp], 0
	je	.L103
	movzx	edx, BYTE PTR -168[rbp]
	mov	rax, QWORD PTR -176[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L103:
	mov	eax, DWORD PTR -128[rbp]
.L104:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L105
	call	__stack_chk_fail@PLT
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	get_MemDesc, .-get_MemDesc
	.globl	get_BiosVersion
	.type	get_BiosVersion, @function
get_BiosVersion:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], -1
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	getSmBiosTables
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L108
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L109
.L108:
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L125
.L109:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L111
.L124:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -49[rbp], al
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -28[rbp], eax
	cmp	BYTE PTR -49[rbp], 127
	jne	.L112
	mov	eax, -1
	jmp	.L125
.L112:
	cmp	BYTE PTR -49[rbp], 0
	jne	.L113
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 5
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -36[rbp], eax
	sub	DWORD PTR -36[rbp], 1
	jmp	.L114
.L116:
	add	DWORD PTR -48[rbp], 1
.L115:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L116
	add	DWORD PTR -48[rbp], 1
	sub	DWORD PTR -36[rbp], 1
.L114:
	cmp	DWORD PTR -36[rbp], 0
	jg	.L115
	jmp	.L118
.L119:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -48[rbp], 1
.L118:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L119
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L120
.L113:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	jmp	.L121
.L123:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L122
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L122
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 2
	mov	DWORD PTR -44[rbp], eax
	jmp	.L111
.L122:
	add	DWORD PTR -48[rbp], 1
.L121:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L123
.L111:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L124
.L120:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	closeSmBios
	mov	eax, DWORD PTR -32[rbp]
.L125:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L126
	call	__stack_chk_fail@PLT
.L126:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	get_BiosVersion, .-get_BiosVersion
	.globl	get_ChassisSernum
	.type	get_ChassisSernum, @function
get_ChassisSernum:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -76[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], -1
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	getSmBiosTables
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L128
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L129
.L128:
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L145
.L129:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L131
.L144:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -49[rbp], al
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -28[rbp], eax
	cmp	BYTE PTR -49[rbp], 127
	jne	.L132
	mov	eax, -1
	jmp	.L145
.L132:
	cmp	BYTE PTR -49[rbp], 3
	jne	.L133
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 7
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -36[rbp], eax
	sub	DWORD PTR -36[rbp], 1
	jmp	.L134
.L136:
	add	DWORD PTR -48[rbp], 1
.L135:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L136
	add	DWORD PTR -48[rbp], 1
	sub	DWORD PTR -36[rbp], 1
.L134:
	cmp	DWORD PTR -36[rbp], 0
	jg	.L135
	jmp	.L138
.L139:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -48[rbp], 1
.L138:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L139
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L140
.L133:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -48[rbp], eax
	jmp	.L141
.L143:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L142
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L142
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 2
	mov	DWORD PTR -44[rbp], eax
	jmp	.L131
.L142:
	add	DWORD PTR -48[rbp], 1
.L141:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L143
.L131:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L144
.L140:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	closeSmBios
	mov	eax, DWORD PTR -32[rbp]
.L145:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L146
	call	__stack_chk_fail@PLT
.L146:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	get_ChassisSernum, .-get_ChassisSernum
	.globl	get_SystemGuid
	.type	get_SystemGuid, @function
get_SystemGuid:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], -1
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	getSmBiosTables
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L148
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L149
.L148:
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L161
.L149:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L151
.L160:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -49[rbp], al
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -32[rbp], eax
	cmp	BYTE PTR -49[rbp], 127
	jne	.L152
	mov	eax, -1
	jmp	.L161
.L152:
	cmp	BYTE PTR -49[rbp], 1
	jne	.L153
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 8
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L154
.L155:
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -72[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -40[rbp], 1
.L154:
	cmp	DWORD PTR -40[rbp], 15
	jle	.L155
	mov	DWORD PTR -36[rbp], 0
	jmp	.L156
.L153:
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	jmp	.L157
.L159:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L158
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L158
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 2
	mov	DWORD PTR -48[rbp], eax
	jmp	.L151
.L158:
	add	DWORD PTR -44[rbp], 1
.L157:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L159
.L151:
	mov	rax, QWORD PTR -16[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L160
.L156:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	closeSmBios
	mov	eax, DWORD PTR -36[rbp]
.L161:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L162
	call	__stack_chk_fail@PLT
.L162:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	get_SystemGuid, .-get_SystemGuid
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"231394000.c"
	.text
	.global	fsm_debug
	.bss
	.type	fsm_debug, %object
	.size	fsm_debug, 1
fsm_debug:
	.space	1
	.local	s_iTableRev
	.comm	s_iTableRev,4,4
	.local	m_iDriver
	.comm	m_iDriver,4,4
	.local	m_iCount
	.comm	m_iCount,4,4
	.text
	.align	2
	.global	OpenIMemoryInterface
	.syntax unified
	.arm
	.fpu softvfp
	.type	OpenIMemoryInterface, %function
OpenIMemoryInterface:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mvn	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	OpenIMemoryInterface, .-OpenIMemoryInterface
	.align	2
	.global	CloseIMemoryInterface
	.syntax unified
	.arm
	.fpu softvfp
	.type	CloseIMemoryInterface, %function
CloseIMemoryInterface:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L6
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L6
	str	r3, [r2]
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	m_iCount
	.word	m_iDriver
	.size	CloseIMemoryInterface, .-CloseIMemoryInterface
	.section	.rodata
	.align	2
.LC0:
	.ascii	"MapPhys: tdStart=%lx, page=%x, diff=%lx\012\000"
	.align	2
.LC1:
	.ascii	"MapPhys: mmap(tdStart=%lx,size=%lx) = %lx\012\000"
	.text
	.align	2
	.global	MapPhysicalMemory
	.syntax unified
	.arm
	.fpu softvfp
	.type	MapPhysicalMemory, %function
MapPhysicalMemory:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
.L11:
	mov	r3, #0
	b	.L10
.L12:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	str	r3, [fp, #-8]
	ldr	r3, .L16+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	mov	r2, #4096
	ldr	r1, [fp, #-16]
	ldr	r0, .L16+8
	bl	printf
.L13:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, [fp, #-20]
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, .L16+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L16+12
	bl	printf
.L14:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L15
	mov	r3, #0
	b	.L10
.L15:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, #1
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	m_iDriver
	.word	fsm_debug
	.word	.LC0
	.word	.LC1
	.size	MapPhysicalMemory, .-MapPhysicalMemory
	.align	2
	.global	UnMapPhysicalMemory
	.syntax unified
	.arm
	.fpu softvfp
	.type	UnMapPhysicalMemory, %function
UnMapPhysicalMemory:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	munmap
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	b	.L20
.L19:
	mov	r3, #1
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	UnMapPhysicalMemory, .-UnMapPhysicalMemory
	.section	.rodata
	.align	2
.LC2:
	.ascii	"getSmBiosTables start\000"
	.align	2
.LC3:
	.ascii	"OpenIMemoryInterface rv = %d\012\000"
	.align	2
.LC4:
	.ascii	"Cannot map memory.\012\000"
	.align	2
.LC5:
	.ascii	"_SM_\000"
	.align	2
.LC6:
	.ascii	"Can't find SMBIOS address entry point.\012\000"
	.align	2
.LC7:
	.ascii	"Found pSmBios=%p tdV=%lx, inc=%x\012\000"
	.align	2
.LC8:
	.ascii	"_SM_ Checksum != 0.\012\000"
	.align	2
.LC9:
	.ascii	"MapMemory(%lx,%lx) ok = %lx\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getSmBiosTables
	.syntax unified
	.arm
	.fpu softvfp
	.type	getSmBiosTables, %function
getSmBiosTables:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #983040
	str	r3, [fp, #-36]
	ldr	r3, .L40+4
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-37]
	ldr	r3, .L40+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L40+12
	bl	puts
.L22:
	bl	OpenIMemoryInterface
	str	r0, [fp, #-12]
	ldr	r3, .L40+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r1, [fp, #-12]
	ldr	r0, .L40+16
	bl	printf
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-36]
	sub	r2, fp, #28
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	MapPhysicalMemory
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
.L24:
	ldr	r3, .L40+20
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L40+24
	bl	fwrite
	ldr	r3, [fp, #-32]
	b	.L38
.L25:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L27
.L30:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #4
	ldr	r1, .L40+28
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L29
.L28:
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
.L27:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L30
.L29:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L40+20
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L40+32
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	UnMapPhysicalMemory
	ldr	r3, [fp, #-32]
	b	.L38
.L31:
	ldr	r3, .L40+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, .L40+36
	bl	printf
.L32:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L33
.L34:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-37]
	add	r3, r2, r3
	strb	r3, [fp, #-37]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L33:
	ldr	r3, [fp, #-20]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	blt	.L34
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	UnMapPhysicalMemory
	ldr	r3, .L40+20
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L40+40
	bl	fwrite
	ldr	r3, [fp, #-32]
	b	.L38
.L35:
	ldr	r3, [fp, #-20]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	add	r2, r2, #7
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	ldr	r2, .L40+44
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r1, r3, #24
	sub	r3, fp, #36
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-20]
	add	r1, r3, #22
	sub	r3, fp, #32
	mov	r2, #2
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-20]
	add	r3, r3, #22
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-39]
	ldr	r3, [fp, #-20]
	add	r3, r3, #23
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-38]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	UnMapPhysicalMemory
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	sub	r2, fp, #28
	mov	r0, r3
	bl	MapPhysicalMemory
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L40+20
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L40+24
	bl	fwrite
	mov	r3, #0
	b	.L38
.L36:
	ldr	r3, .L40+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r0, .L40+48
	bl	printf
.L37:
	ldr	r3, [fp, #-28]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
.L38:
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC10
	.word	65534
	.word	fsm_debug
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	s_iTableRev
	.word	.LC9
	.size	getSmBiosTables, .-getSmBiosTables
	.align	2
	.global	closeSmBios
	.syntax unified
	.arm
	.fpu softvfp
	.type	closeSmBios, %function
closeSmBios:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	UnMapPhysicalMemory
	bl	CloseIMemoryInterface
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	closeSmBios, .-closeSmBios
	.align	2
	.global	getSmBiosRev
	.syntax unified
	.arm
	.fpu softvfp
	.type	getSmBiosRev, %function
getSmBiosRev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L46
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L47:
	.align	2
.L46:
	.word	s_iTableRev
	.size	getSmBiosRev, .-getSmBiosRev
	.section	.rodata
	.align	2
.LC11:
	.ascii	"IPMI record: \000"
	.align	2
.LC12:
	.ascii	"%02x \000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_IpmiStruct
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_IpmiStruct, %function
get_IpmiStruct:
	@ args = 4, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mvn	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	mov	r0, r3
	bl	getSmBiosTables
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L50
.L49:
	ldr	r3, [fp, #-24]
	b	.L69
.L50:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L52
.L68:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-37]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #127
	beq	.L71
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #38
	bne	.L55
	ldr	r3, .L74+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L56
	ldr	r0, .L74+8
	bl	printf
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L57
.L58:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L74+12
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L57:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L58
	mov	r0, #10
	bl	putchar
.L56:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-48]
	strb	r2, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #5
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-52]
	strb	r2, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #6
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-56]
	strb	r2, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #9
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r2, r1, r3
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #10
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	add	r2, r2, r3
	ldr	r1, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #11
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L59:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L72
	ldr	r3, [fp, #-12]
	cmp	r3, #17
	ble	.L72
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #16
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	cmp	r3, #2
	beq	.L61
	cmp	r3, #2
	bgt	.L73
	cmp	r3, #0
	beq	.L63
	cmp	r3, #1
	beq	.L64
	b	.L73
.L63:
	ldr	r3, [fp, #-64]
	mov	r2, #1
	strb	r2, [r3]
	b	.L60
.L64:
	ldr	r3, [fp, #-64]
	mov	r2, #4
	strb	r2, [r3]
	b	.L60
.L61:
	ldr	r3, [fp, #-64]
	mov	r2, #16
	strb	r2, [r3]
	b	.L60
.L72:
	nop
	b	.L60
.L73:
	nop
.L60:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L54
.L55:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L65
.L67:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L66
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-28]
	b	.L52
.L66:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L65:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L67
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L68
	b	.L54
.L71:
	nop
.L54:
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	closeSmBios
	ldr	r3, [fp, #-24]
.L69:
	ldr	r2, .L74
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC13
	.word	fsm_debug
	.word	.LC11
	.word	.LC12
	.size	get_IpmiStruct, .-get_IpmiStruct
	.section	.rodata
	.align	2
.LC14:
	.ascii	"get_MemDesc(%d,%d)\012\000"
	.align	2
.LC15:
	.ascii	"Memory record %d.%d: \000"
	.align	2
.LC16:
	.ascii	"bank=%d nStr=%d sz=%x\012\000"
	.align	2
.LC17:
	.ascii	"str[%d] = %s\012\000"
	.align	2
.LC18:
	.ascii	"%s/%s\000"
	.align	2
.LC19:
	.ascii	"DIMM%d%c\000"
	.align	2
.LC20:
	.ascii	"DIMM(%d)\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_MemDesc
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_MemDesc, %function
get_MemDesc:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r2, [fp, #-140]
	str	r3, [fp, #-144]
	mov	r3, r0
	strb	r3, [fp, #-133]
	mov	r3, r1
	strb	r3, [fp, #-134]
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	mvn	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #128
	mov	r0, r3
	bl	getSmBiosTables
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L78
.L77:
	ldr	r3, [fp, #-108]
	b	.L110
.L78:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L80
	mvn	r3, #0
	b	.L110
.L80:
	mov	r3, #0
	strb	r3, [fp, #-40]
	mov	r3, #0
	strb	r3, [fp, #-72]
	ldr	r3, .L113+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L81
	ldrb	r3, [fp, #-133]	@ zero_extendqisi2
	ldrb	r2, [fp, #-134]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L113+8
	bl	printf
.L81:
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L82
.L108:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-129]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-92]
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	cmp	r3, #127
	beq	.L112
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	cmp	r3, #16
	bne	.L85
	ldrb	r3, [fp, #-133]	@ zero_extendqisi2
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	beq	.L86
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L86
.L85:
	ldrb	r3, [fp, #-129]	@ zero_extendqisi2
	cmp	r3, #17
	bne	.L86
	ldrb	r3, [fp, #-134]	@ zero_extendqisi2
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	bne	.L87
	ldr	r3, .L113+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L88
	ldr	r2, [fp, #-112]
	ldr	r1, [fp, #-116]
	ldr	r0, .L113+12
	bl	printf
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-124]
	b	.L89
.L91:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-120]
	sub	r3, r2, r3
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L90
	mov	r0, #10
	bl	putchar
.L90:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L113+16
	bl	printf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L89:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	add	r3, r3, #15
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	ble	.L91
	mov	r0, #10
	bl	putchar
.L88:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #12
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #13
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r1, r3
	str	r3, [fp, #-88]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #15
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #16
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-80]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	add	r3, r3, #17
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-76]
	ldr	r3, .L113+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L92
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-80]
	ldr	r1, [fp, #-84]
	ldr	r0, .L113+20
	bl	printf
.L92:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-104]
	mov	r3, #1
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-124]
	b	.L93
.L100:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L95
.L94:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L96
	ldr	r3, .L113+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L97
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-100]
	ldr	r0, .L113+24
	bl	printf
.L97:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bne	.L98
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-104]
	add	r2, r2, r3
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L95
.L98:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L99
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-104]
	add	r2, r2, r3
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L99:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L96:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L93:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	blt	.L100
.L95:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	bge	.L101
	sub	r3, fp, #72
	sub	r2, fp, #40
	ldr	r1, .L113+28
	ldr	r0, [fp, #-140]
	bl	sprintf
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L102
.L101:
	ldr	r3, [fp, #-112]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L103
	mov	r3, #65
	strb	r3, [fp, #-130]
	b	.L104
.L103:
	mov	r3, #66
	strb	r3, [fp, #-130]
.L104:
	ldrb	r3, [fp, #-130]	@ zero_extendqisi2
	ldr	r2, [fp, #-84]
	ldr	r1, .L113+32
	ldr	r0, [fp, #-140]
	bl	sprintf
	mov	r3, #0
	str	r3, [fp, #-108]
.L102:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-88]
	str	r2, [r3]
	b	.L84
.L87:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L86:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-124]
	b	.L105
.L107:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L106
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L106
	ldr	r3, [fp, #-124]
	add	r3, r3, #2
	str	r3, [fp, #-120]
	b	.L82
.L106:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L105:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	blt	.L107
.L82:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L108
	b	.L84
.L112:
	nop
.L84:
	ldr	r3, [fp, #-128]
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	closeSmBios
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	beq	.L109
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L109
	ldrb	r3, [fp, #-134]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L113+36
	ldr	r0, [fp, #-140]
	bl	sprintf
.L109:
	ldr	r3, [fp, #-108]
.L110:
	ldr	r2, .L113
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC21
	.word	fsm_debug
	.word	.LC14
	.word	.LC15
	.word	.LC12
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	get_MemDesc, .-get_MemDesc
	.section	.rodata
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_BiosVersion
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_BiosVersion, %function
get_BiosVersion:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L135
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #40
	mov	r0, r3
	bl	getSmBiosTables
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L116
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L117
.L116:
	ldr	r3, [fp, #-20]
	b	.L133
.L117:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L119
.L132:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-41]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #127
	bne	.L120
	mvn	r3, #0
	b	.L133
.L120:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L121
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L122
.L124:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L123:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L122:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L123
	b	.L126
.L127:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L126:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L128
.L121:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	b	.L129
.L131:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L130
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L130
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-32]
	b	.L119
.L130:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L129:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L131
.L119:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L132
.L128:
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	closeSmBios
	ldr	r3, [fp, #-20]
.L133:
	ldr	r2, .L135
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L134
	bl	__stack_chk_fail
.L134:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L136:
	.align	2
.L135:
	.word	.LC22
	.size	get_BiosVersion, .-get_BiosVersion
	.section	.rodata
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_ChassisSernum
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_ChassisSernum, %function
get_ChassisSernum:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	mov	r3, r1
	strb	r3, [fp, #-49]
	ldr	r3, .L157
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #40
	mov	r0, r3
	bl	getSmBiosTables
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L138
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L139
.L138:
	ldr	r3, [fp, #-20]
	b	.L155
.L139:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L141
.L154:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-41]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #127
	bne	.L142
	mvn	r3, #0
	b	.L155
.L142:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L143
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L144
.L146:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L145:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L146
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L144:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L145
	b	.L148
.L149:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L148:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L149
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-48]
	add	r0, r2, r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #20
	mov	r1, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L150
.L143:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	b	.L151
.L153:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L152
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L152
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-32]
	b	.L141
.L152:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L151:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L153
.L141:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L154
.L150:
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	closeSmBios
	ldr	r3, [fp, #-20]
.L155:
	ldr	r2, .L157
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L156
	bl	__stack_chk_fail
.L156:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L158:
	.align	2
.L157:
	.word	.LC23
	.size	get_ChassisSernum, .-get_ChassisSernum
	.section	.rodata
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_SystemGuid
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_SystemGuid, %function
get_SystemGuid:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L175
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #40
	mov	r0, r3
	bl	getSmBiosTables
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L160
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L161
.L160:
	ldr	r3, [fp, #-24]
	b	.L173
.L161:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L163
.L172:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-41]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-16]
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #127
	bne	.L164
	mvn	r3, #0
	b	.L173
.L164:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L165
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L166
.L167:
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r2, r1, r2
	add	r2, r3, r2
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L166:
	ldr	r3, [fp, #-28]
	cmp	r3, #15
	ble	.L167
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L168
.L165:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L169
.L171:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L170
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L170
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-36]
	b	.L163
.L170:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L169:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L171
.L163:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L172
.L168:
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	closeSmBios
	ldr	r3, [fp, #-24]
.L173:
	ldr	r2, .L175
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L174
	bl	__stack_chk_fail
.L174:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L176:
	.align	2
.L175:
	.word	.LC24
	.size	get_SystemGuid, .-get_SystemGuid
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
