	.file	"extr_multiple_simple_compression.c_createResources_orDie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ZSTD_createCCtx() failed!"
	.text
	.p2align 4
	.type	createResources_orDie, @function
createResources_orDie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rdi
	mov	QWORD PTR 16[rsp], rcx
	mov	QWORD PTR 24[rsp], r8
	cmp	esi, 1
	jle	.L4
	lea	eax, -2[rsi]
	lea	r15, 8[rdx]
	xor	r13d, r13d
	xor	ebp, ebp
	lea	rbx, 16[rdx+rax*8]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, QWORD PTR [r15]
	mov	rdi, r12
	call	strlen@PLT
	mov	rdi, r12
	mov	r14, rax
	call	fsize_orDie@PLT
	cmp	rbp, r14
	cmovb	rbp, r14
	cmp	r13, rax
	cmovb	r13, rax
	add	r15, 8
	cmp	r15, rbx
	jne	.L3
	lea	r14, 5[rbp]
.L2:
	mov	rdi, r13
	call	ZSTD_compressBound@PLT
	mov	rdi, r14
	mov	rbx, rax
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR [rax], r14
	call	malloc_orDie@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdi, r13
	mov	QWORD PTR [rcx], rax
	call	malloc_orDie@PLT
	mov	rdi, rbx
	mov	r12, rax
	call	malloc_orDie@PLT
	mov	r14, rax
	xor	eax, eax
	call	ZSTD_createCCtx@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	rbp, rax
	setne	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], r13
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR 16[rax], rbp
	mov	QWORD PTR 24[rax], r14
	mov	QWORD PTR 32[rax], r12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r14d, 5
	xor	r13d, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	createResources_orDie, .-createResources_orDie
	.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_multiple_simple_compression.c_createResources_orDie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ZSTD_createCCtx() failed!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	createResources_orDie, %function
createResources_orDie:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #1
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	mov	r9, r3
	ble	.L4
	mov	r6, #0
	mov	r5, r2
	mov	fp, r6
	sub	r7, r2, #4
	add	r7, r7, r1, lsl #2
.L3:
	ldr	r10, [r5, #4]!
	mov	r0, r10
	bl	strlen
	mov	r4, r0
	mov	r0, r10
	bl	fsize_orDie
	cmp	fp, r4
	movcc	fp, r4
	cmp	r6, r0
	movcc	r6, r0
	cmp	r7, r5
	bne	.L3
	add	fp, fp, #5
.L2:
	mov	r0, r6
	bl	ZSTD_compressBound
	ldr	r3, [sp, #40]
	mov	r5, r0
	str	fp, [r3]
	mov	r0, fp
	bl	malloc_orDie
	mov	r3, r0
	mov	r0, r6
	str	r3, [r9]
	bl	malloc_orDie
	mov	r9, r0
	mov	r0, r5
	bl	malloc_orDie
	mov	r7, r0
	bl	ZSTD_createCCtx
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r1, .L8
	bl	CHECK
	mov	r0, r8
	str	r9, [r8, #16]
	str	r5, [r8, #4]
	str	r4, [r8, #8]
	str	r7, [r8, #12]
	str	r6, [r8]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	fp, #5
	mov	r6, #0
	b	.L2
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	createResources_orDie, .-createResources_orDie
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
