	.file	"extr_pinctrl-samsung.c_reserve_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reserve_map, @function
reserve_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	ebx, DWORD PTR [rcx]
	mov	r15d, DWORD PTR [rdx]
	add	ebx, r8d
	cmp	r15d, ebx
	jb	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r14, rsi
	mov	r13, rdx
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	lea	esi, 0[0+rbx*4]
	mov	rdi, QWORD PTR [r14]
	call	krealloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
	mov	edx, ebx
	mov	eax, r15d
	xor	esi, esi
	sub	edx, r15d
	lea	rdi, 0[rbp+rax*4]
	sal	edx, 2
	call	memset@PLT
	mov	QWORD PTR [r14], rbp
	mov	DWORD PTR 0[r13], ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	reserve_map, .-reserve_map
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_pinctrl-samsung.c_reserve_map.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reserve_map, %function
reserve_map:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r4, [sp, #24]
	ldr	r8, [r2]
	add	r4, r4, r3
	cmp	r8, r4
	bcc	.L7
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r5, r1
	ldr	r3, .L9
	mov	r7, r2
	ldr	r0, [r5]
	ldr	r2, [r3]
	lsl	r1, r4, #2
	bl	krealloc
	subs	r6, r0, #0
	beq	.L8
	sub	r2, r4, r8
	mov	r1, #0
	lsl	r2, r2, #2
	add	r0, r6, r8, lsl #2
	bl	memset
	str	r6, [r5]
	mov	r0, #0
	str	r4, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	reserve_map, .-reserve_map
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
