	.file	"extr_zstdmt_compress.c_ZSTDMT_expandBufferPool.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ZSTDMT_expandBufferPool, @function
ZSTDMT_expandBufferPool:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	je	.L2
	lea	eax, 3[rsi+rsi]
	cmp	DWORD PTR [rdi], eax
	jb	.L11
.L2:
	add	rsp, 8
	.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
.L11:
	.cfi_restore_state
	mov	r13d, DWORD PTR 16[rdi]
	mov	ebp, esi
	mov	r14, QWORD PTR 8[rdi]
	call	ZSTDMT_freeBufferPool@PLT
	mov	edi, ebp
	mov	esi, r13d
	call	ZSTDMT_createBufferPool@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	rsi, r14
	mov	rdi, rax
	call	ZSTDMT_setBufferSize@PLT
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	ZSTDMT_expandBufferPool, .-ZSTDMT_expandBufferPool
	.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_zstdmt_compress.c_ZSTDMT_expandBufferPool.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ZSTDMT_expandBufferPool, %function
ZSTDMT_expandBufferPool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r0, #0
	beq	.L2
	ldr	r2, [r4]
	lsl	r3, r1, #1
	add	r3, r3, #3
	cmp	r2, r3
	bcc	.L11
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r5, r1
	ldr	r6, [r4, #8]
	ldr	r7, [r4, #4]
	bl	ZSTDMT_freeBufferPool
	mov	r1, r6
	mov	r0, r5
	bl	ZSTDMT_createBufferPool
	subs	r4, r0, #0
	beq	.L2
	mov	r1, r7
	bl	ZSTDMT_setBufferSize
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	ZSTDMT_expandBufferPool, .-ZSTDMT_expandBufferPool
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
