	.file	"extr_mmu.c_alloc_hop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to allocate page\n"
	.text
	.p2align 4
	.type	alloc_hop, @function
alloc_hop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r13, QWORD PTR 8[rdi]
	mov	edi, 40
	call	kmalloc@PLT
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR 8[r13]
	mov	edi, DWORD PTR 0[r13]
	mov	rbp, rax
	call	gen_pool_alloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L10
	mov	edi, DWORD PTR 8[r13]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
	mov	QWORD PTR 32[rbp], r14
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	mov	rdx, rax
	mov	QWORD PTR 16[rbp], rbx
	mov	QWORD PTR 24[rbp], rax
	mov	QWORD PTR 8[rbp], 0
	call	hash_add@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r13]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
.L5:
	mov	rdi, rbp
	call	kfree@PLT
.L8:
	mov	r12, QWORD PTR ULLONG_MAX[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[r13]
	mov	edi, DWORD PTR 0[r13]
	mov	rsi, r14
	call	gen_pool_free@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	alloc_hop, .-alloc_hop
	.comm	ULLONG_MAX,8,8
	.comm	GFP_KERNEL,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_mmu.c_alloc_hop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to allocate page\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_hop, %function
alloc_hop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r4, .L12
	mov	r0, #20
	ldr	r1, [r4]
	ldr	r8, [r7, #4]
	bl	kmalloc
	subs	r6, r0, #0
	beq	.L8
	ldr	r1, [r8, #8]
	ldr	r0, [r8]
	bl	gen_pool_alloc
	subs	r5, r0, #0
	beq	.L10
	ldr	r1, [r4]
	ldr	r0, [r8, #8]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L11
	mov	r3, #0
	ldr	r0, [r7]
	mov	r2, r4
	mov	r1, r6
	str	r4, [r6, #12]
	str	r5, [r6, #16]
	str	r7, [r6, #8]
	str	r3, [r6, #4]
	bl	hash_add
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, [r8, #4]
	ldr	r1, .L12+4
	bl	dev_err
.L5:
	mov	r0, r6
	bl	kfree
.L8:
	ldr	r3, .L12+8
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r1, r5
	ldr	r2, [r8, #8]
	ldr	r0, [r8]
	bl	gen_pool_free
	b	.L5
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	.LC0
	.word	ULLONG_MAX
	.size	alloc_hop, .-alloc_hop
	.comm	ULLONG_MAX,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
