	.file	"extr_memmap.c_firmware_map_add_entry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	firmware_map_add_entry, @function
firmware_map_add_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	r12, rsi
	setg	dil
	sub	rbp, 1
	call	BUG_ON@PLT
	mov	QWORD PTR 24[rbx], r12
	mov	QWORD PTR 16[rbx], rbp
	lea	rbp, 8[rbx]
	mov	QWORD PTR [rbx], r13
	mov	rdi, rbp
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 12[rbx]
	lea	rsi, memmap_ktype[rip]
	call	kobject_init@PLT
	lea	rdi, map_entries_lock[rip]
	call	spin_lock@PLT
	mov	rdi, rbp
	lea	rsi, map_entries[rip]
	call	list_add_tail@PLT
	lea	rdi, map_entries_lock[rip]
	call	spin_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	firmware_map_add_entry, .-firmware_map_add_entry
	.comm	memmap_ktype,4,4
	.comm	map_entries_lock,4,4
	.comm	map_entries,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_memmap.c_firmware_map_add_entry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	firmware_map_add_entry, %function
firmware_map_add_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r3
	mov	r6, r3
	mov	r8, r2
	mov	r7, r0
	cmp	r0, r1
	movle	r0, #0
	movgt	r0, #1
	sub	r5, r5, #1
	bl	BUG_ON
	str	r5, [r4, #12]
	str	r7, [r4, #16]
	str	r8, [r6], #4
	ldr	r5, .L4
	mov	r0, r6
	bl	INIT_LIST_HEAD
	ldr	r1, .L4+4
	add	r0, r4, #8
	bl	kobject_init
	mov	r0, r5
	bl	spin_lock
	ldr	r1, .L4+8
	mov	r0, r6
	bl	list_add_tail
	mov	r0, r5
	bl	spin_unlock
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	map_entries_lock
	.word	memmap_ktype
	.word	map_entries
	.size	firmware_map_add_entry, .-firmware_map_add_entry
	.comm	memmap_ktype,4,4
	.comm	map_entries_lock,4,4
	.comm	map_entries,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
