	.file	"extr_journal.c_jbd2_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	jbd2_alloc
	.type	jbd2_alloc, @function
jbd2_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, -1[rdi]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	and	rdi, rbp
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	BUG_ON@PLT
	or	ebx, DWORD PTR __GFP_REPEAT[rip]
	cmp	QWORD PTR PAGE_SIZE[rip], rbp
	je	.L8
	mov	rdi, rbp
	jb	.L9
	call	get_slab@PLT
	mov	esi, ebx
	mov	edi, eax
	call	kmem_cache_alloc@PLT
	mov	r13, rax
.L3:
	mov	rdi, r12
	and	rdi, r13
	call	BUG_ON@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	get_order@PLT
	mov	esi, eax
	cmp	eax, 2
	jg	.L5
	mov	edi, ebx
	call	__get_free_pages@PLT
	mov	r13, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	xor	esi, esi
	mov	edi, ebx
	call	__get_free_pages@PLT
	mov	r13, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	vmalloc@PLT
	mov	r13, rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	jbd2_alloc, .-jbd2_alloc
	.comm	__GFP_REPEAT,4,4
	.comm	PAGE_SIZE,8,8
	.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_journal.c_jbd2_alloc.c"
	.text
	.align	2
	.global	jbd2_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	jbd2_alloc, %function
jbd2_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	sub	r6, r0, #1
	and	r0, r6, r0
	bl	BUG_ON
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r3, [r3]
	ldr	r1, [r2]
	cmp	r3, r4
	orr	r5, r5, r1
	beq	.L8
	mov	r0, r4
	bcc	.L9
	bl	get_slab
	mov	r1, r5
	bl	kmem_cache_alloc
	mov	r4, r0
.L3:
	and	r0, r4, r6
	bl	BUG_ON
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	bl	get_order
	cmp	r0, #2
	mov	r1, r0
	bgt	.L5
	mov	r0, r5
	bl	__get_free_pages
	mov	r4, r0
	b	.L3
.L8:
	mov	r0, r5
	mov	r1, #0
	bl	__get_free_pages
	mov	r4, r0
	b	.L3
.L5:
	mov	r0, r4
	bl	vmalloc
	mov	r4, r0
	b	.L3
.L11:
	.align	2
.L10:
	.word	PAGE_SIZE
	.word	__GFP_REPEAT
	.size	jbd2_alloc, .-jbd2_alloc
	.comm	__GFP_REPEAT,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
