	.file	"569693.c"
	.intel_syntax noprefix
	.text
	.globl	reallocarray
	.type	reallocarray, @function
reallocarray:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, 4294967295
	cmp	QWORD PTR -16[rbp], rax
	ja	.L2
	mov	eax, 4294967295
	cmp	QWORD PTR -24[rbp], rax
	jbe	.L3
.L2:
	cmp	QWORD PTR -16[rbp], 0
	je	.L3
	mov	ecx, 0
	mov	rax, QWORD PTR -24[rbp]
	mul	QWORD PTR -16[rbp]
	jno	.L4
	mov	ecx, 1
.L4:
	mov	rax, rcx
	test	rax, rax
	je	.L3
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 12
	mov	eax, 0
	jmp	.L6
.L3:
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	reallocarray, .-reallocarray
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"569693.c"
	.text
	.align	2
	.global	reallocarray
	.syntax unified
	.arm
	.fpu softvfp
	.type	reallocarray, %function
reallocarray:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #65536
	bcs	.L2
	ldr	r3, [fp, #-16]
	cmp	r3, #65536
	bcc	.L3
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L3
	mov	r1, #0
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	umull	r0, r3, r2, r3
	cmp	r3, #0
	beq	.L4
	mov	r1, #1
.L4:
	mov	r3, r1
	cmp	r3, #0
	beq	.L3
	bl	__errno_location
	mov	r3, r0
	mov	r2, #12
	str	r2, [r3]
	mov	r3, #0
	b	.L6
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	realloc
	mov	r3, r0
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	reallocarray, .-reallocarray
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
