	.file	"extr_gzalloc.c_gzalloc_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"zone_init: kmem_suballoc(gzalloc_map, 0x%lx, %u) failed"
	.text
	.p2align 4
	.globl	gzalloc_init
	.type	gzalloc_init, @function
gzalloc_init:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR gzalloc_mode[rip], 0
	jne	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rax, gzalloc_map[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, edi
	mov	edx, DWORD PTR gzalloc_zonemap_scale[rip]
	push	rax
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR VM_KERN_MEMORY_ZONE[rip]
	lea	rsi, gzalloc_map_min[rip]
	imul	edx, edi
	mov	ecx, DWORD PTR FALSE[rip]
	mov	r9d, DWORD PTR TRUE[rip]
	mov	r8d, DWORD PTR VM_FLAGS_ANYWHERE[rip]
	mov	edi, DWORD PTR kernel_map[rip]
	push	rax
	.cfi_def_cfa_offset 32
	call	kmem_suballoc@PLT
	cmp	QWORD PTR KERN_SUCCESS[rip], rax
	pop	rdx
	.cfi_def_cfa_offset 24
	pop	rcx
	.cfi_def_cfa_offset 16
	jne	.L10
.L3:
	imul	ebx, DWORD PTR gzalloc_zonemap_scale[rip]
	movsx	rdi, ebx
	add	rdi, QWORD PTR gzalloc_map_min[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	QWORD PTR gzalloc_map_max[rip], rdi
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR gzalloc_zonemap_scale[rip]
	mov	esi, ebx
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	gzalloc_init, .-gzalloc_init
	.comm	kernel_map,4,4
	.comm	gzalloc_zonemap_scale,4,4
	.comm	gzalloc_mode,8,8
	.comm	gzalloc_map_min,8,8
	.comm	gzalloc_map_max,8,8
	.comm	gzalloc_map,4,4
	.comm	VM_MAP_KERNEL_FLAGS_NONE,4,4
	.comm	VM_KERN_MEMORY_ZONE,4,4
	.comm	VM_FLAGS_ANYWHERE,4,4
	.comm	TRUE,4,4
	.comm	KERN_SUCCESS,8,8
	.comm	FALSE,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_gzalloc.c_gzalloc_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"zone_init: kmem_suballoc(gzalloc_map, 0x%lx, %u) fa"
	.ascii	"iled\000"
	.text
	.align	2
	.global	gzalloc_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	gzalloc_init, %function
gzalloc_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r2, .L13+4
	ldr	r1, .L13+8
	ldr	r3, .L13+12
	ldr	r0, [r2]
	ldr	r1, [r1]
	ldr	r5, .L13+16
	ldr	ip, [r3]
	sub	sp, sp, #20
	str	r0, [sp, #4]
	str	r1, [sp, #8]
	ldr	r2, [r5]
	ldr	r1, .L13+20
	ldr	r3, .L13+24
	ldr	r0, .L13+28
	str	ip, [sp]
	ldr	r3, [r3]
	ldr	r0, [r0]
	mul	r2, r4, r2
	str	r1, [sp, #12]
	ldr	r1, .L13+32
	bl	kmem_suballoc
	ldr	r3, .L13+36
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L12
.L3:
	ldr	r3, .L13+32
	ldr	r2, [r5]
	ldr	r0, [r3]
	ldr	r3, .L13+40
	mla	r0, r2, r4, r0
	str	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	mov	r1, r4
	ldr	r2, [r5]
	ldr	r0, .L13+44
	bl	panic
	b	.L3
.L14:
	.align	2
.L13:
	.word	gzalloc_mode
	.word	TRUE
	.word	VM_KERN_MEMORY_ZONE
	.word	VM_FLAGS_ANYWHERE
	.word	gzalloc_zonemap_scale
	.word	gzalloc_map
	.word	FALSE
	.word	kernel_map
	.word	gzalloc_map_min
	.word	KERN_SUCCESS
	.word	gzalloc_map_max
	.word	.LC0
	.size	gzalloc_init, .-gzalloc_init
	.comm	kernel_map,4,4
	.comm	gzalloc_zonemap_scale,4,4
	.comm	gzalloc_mode,4,4
	.comm	gzalloc_map_min,4,4
	.comm	gzalloc_map_max,4,4
	.comm	gzalloc_map,4,4
	.comm	VM_MAP_KERNEL_FLAGS_NONE,4,4
	.comm	VM_KERN_MEMORY_ZONE,4,4
	.comm	VM_FLAGS_ANYWHERE,4,4
	.comm	TRUE,4,4
	.comm	KERN_SUCCESS,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
