	.file	"extr_fm_muram.c_FM_MURAM_ConfigAndInit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"baseAddress 0 is not supported"
	.align 8
.LC1:
	.string	"baseAddress not 4 bytes aligned!"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"FM MURAM driver structure"
.LC3:
	.string	"FM-MURAM partition!!!"
	.text
	.p2align 4
	.globl	FM_MURAM_ConfigAndInit
	.type	FM_MURAM_ConfigAndInit, @function
FM_MURAM_ConfigAndInit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L11
	mov	rbx, rdi
	test	dil, 3
	jne	.L12
	mov	edi, 24
	mov	ebp, esi
	call	XX_Malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	xor	esi, esi
	mov	edx, 24
	mov	rdi, rax
	call	memset@PLT
	mov	rdi, rsp
	mov	edx, ebp
	mov	rsi, rbx
	call	MM_Init@PLT
	cmp	rax, QWORD PTR E_OK[rip]
	jne	.L6
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L6
	mov	QWORD PTR [r12], rbx
	mov	DWORD PTR 16[r12], ebp
	mov	QWORD PTR 8[r12], rax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	XX_Free@PLT
	mov	esi, DWORD PTR E_INVALID_HANDLE[rip]
	mov	edi, DWORD PTR MAJOR[rip]
	lea	rdx, .LC3[rip]
	call	REPORT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR E_INVALID_VALUE[rip]
	mov	edi, DWORD PTR MAJOR[rip]
	lea	rdx, .LC1[rip]
	xor	r12d, r12d
	call	REPORT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR E_NO_MEMORY[rip]
	mov	edi, DWORD PTR MAJOR[rip]
	lea	rdx, .LC2[rip]
	call	REPORT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR E_INVALID_VALUE[rip]
	mov	edi, DWORD PTR MAJOR[rip]
	lea	rdx, .LC0[rip]
	xor	r12d, r12d
	call	REPORT_ERROR@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	FM_MURAM_ConfigAndInit, .-FM_MURAM_ConfigAndInit
	.comm	MAJOR,4,4
	.comm	E_OK,8,8
	.comm	E_NO_MEMORY,4,4
	.comm	E_INVALID_VALUE,4,4
	.comm	E_INVALID_HANDLE,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_fm_muram.c_FM_MURAM_ConfigAndInit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"baseAddress 0 is not supported\000"
	.align	2
.LC1:
	.ascii	"baseAddress not 4 bytes aligned!\000"
	.align	2
.LC2:
	.ascii	"FM MURAM driver structure\000"
	.align	2
.LC3:
	.ascii	"FM-MURAM partition!!!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	FM_MURAM_ConfigAndInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	FM_MURAM_ConfigAndInit, %function
FM_MURAM_ConfigAndInit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	sub	sp, sp, #12
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L11
	ands	r7, r4, #3
	bne	.L12
	mov	r0, #12
	mov	r6, r1
	bl	XX_Malloc
	subs	r5, r0, #0
	beq	.L13
	mov	r1, r7
	mov	r2, #12
	bl	memset
	mov	r2, r6
	mov	r1, r4
	mov	r0, sp
	bl	MM_Init
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L6
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L6
	stmib	r5, {r3, r6}
	str	r4, [r5]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, r5
	bl	XX_Free
	ldr	r2, .L15+8
	ldr	r3, .L15+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L15+16
	bl	REPORT_ERROR
	mov	r5, #0
	b	.L1
.L12:
	ldr	r2, .L15+20
	ldr	r3, .L15+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L15+24
	bl	REPORT_ERROR
	mov	r5, #0
	b	.L1
.L13:
	ldr	r2, .L15+28
	ldr	r3, .L15+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L15+32
	bl	REPORT_ERROR
	b	.L1
.L11:
	ldr	r2, .L15+20
	ldr	r3, .L15+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L15+36
	mov	r5, r4
	bl	REPORT_ERROR
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	E_OK
	.word	E_INVALID_HANDLE
	.word	MAJOR
	.word	.LC3
	.word	E_INVALID_VALUE
	.word	.LC1
	.word	E_NO_MEMORY
	.word	.LC2
	.word	.LC0
	.size	FM_MURAM_ConfigAndInit, .-FM_MURAM_ConfigAndInit
	.comm	MAJOR,4,4
	.comm	E_OK,4,4
	.comm	E_NO_MEMORY,4,4
	.comm	E_INVALID_VALUE,4,4
	.comm	E_INVALID_HANDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
