	.file	"extr_spl-kmem-cache.c_spl_magazine_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spl_magazine_size, @function
spl_magazine_size:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	spl_obj_size@PLT
	mov	rdi, QWORD PTR spl_kmem_cache_magazine_size[rip]
	test	rdi, rdi
	jg	.L10
	mov	edx, DWORD PTR PAGE_SIZE[rip]
	mov	r8d, 4
	mov	ecx, edx
	sal	ecx, 8
	cmp	ecx, eax
	jl	.L1
	mov	ecx, edx
	mov	r8d, 16
	sal	ecx, 5
	cmp	ecx, eax
	jl	.L1
	mov	r8d, 64
	cmp	edx, eax
	jl	.L1
	test	edx, edx
	lea	ecx, 3[rdx]
	mov	r8d, 128
	cmovs	edx, ecx
	sar	edx, 2
	cmp	edx, eax
	mov	eax, 256
	cmovge	r8d, eax
.L1:
	mov	eax, r8d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, 256
	call	MIN@PLT
	mov	esi, 2
	add	rsp, 8
	.cfi_def_cfa_offset 8
	mov	edi, eax
	jmp	MAX@PLT
	.cfi_endproc
.LFE0:
	.size	spl_magazine_size, .-spl_magazine_size
	.comm	spl_kmem_cache_magazine_size,8,8
	.comm	PAGE_SIZE,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_spl-kmem-cache.c_spl_magazine_size.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spl_magazine_size, %function
spl_magazine_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	spl_obj_size
	ldr	r2, .L11
	mov	r3, r0
	ldr	r0, [r2]
	cmp	r0, #0
	bgt	.L10
	ldr	r2, .L11+4
	ldr	r2, [r2]
	cmp	r3, r2, lsl #8
	bgt	.L4
	cmp	r3, r2, lsl #5
	bgt	.L5
	cmp	r2, r3
	blt	.L6
	cmp	r2, #0
	add	r1, r2, #3
	movlt	r2, r1
	cmp	r3, r2, asr #2
	movgt	r0, #128
	movle	r0, #256
	pop	{r4, pc}
.L4:
	mov	r0, #4
	pop	{r4, pc}
.L10:
	mov	r1, #256
	bl	MIN
	pop	{r4, lr}
	mov	r1, #2
	b	MAX
.L5:
	mov	r0, #16
	pop	{r4, pc}
.L6:
	mov	r0, #64
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	spl_kmem_cache_magazine_size
	.word	PAGE_SIZE
	.size	spl_magazine_size, .-spl_magazine_size
	.comm	spl_kmem_cache_magazine_size,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
