	.file	"extr_wrapper.c_xcalloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"data too large to fit into virtual memory space"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Out of memory, calloc failed"
	.text
	.p2align 4
	.globl	xcalloc
	.type	xcalloc, @function
xcalloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	unsigned_mult_overflows@PLT
	test	rax, rax
	jne	.L14
.L2:
	mov	rdi, rbx
	xor	esi, esi
	imul	rdi, rbp
	call	memory_limit_check@PLT
	mov	esi, ebp
	mov	edi, ebx
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L15
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	die@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	test	rbx, rbx
	je	.L4
	test	rbp, rbp
	je	.L4
.L5:
	lea	rdi, .LC1[rip]
	call	die@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, 1
	mov	edi, 1
	call	calloc@PLT
	test	rax, rax
	je	.L5
	mov	r12, rax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xcalloc, .-xcalloc
	.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_wrapper.c_xcalloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"data too large to fit into virtual memory space\000"
	.align	2
.LC1:
	.ascii	"Out of memory, calloc failed\000"
	.text
	.align	2
	.global	xcalloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcalloc, %function
xcalloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r1
	bl	unsigned_mult_overflows
	cmp	r0, #0
	bne	.L14
.L2:
	mov	r1, #0
	mul	r0, r5, r6
	bl	memory_limit_check
	mov	r1, r5
	mov	r0, r6
	bl	calloc
	subs	r4, r0, #0
	beq	.L15
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r0, .L17
	bl	die
	b	.L2
.L15:
	cmp	r5, #0
	cmpne	r6, #0
	bne	.L5
	mov	r1, #1
	mov	r0, r1
	bl	calloc
	cmp	r0, #0
	bne	.L16
.L5:
	ldr	r0, .L17+4
	bl	die
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L16:
	mov	r4, r0
	b	.L1
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.size	xcalloc, .-xcalloc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
