	.file	"extr_utils.c_sodium_allocarray.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sodium_allocarray
	.type	sodium_allocarray, @function
sodium_allocarray:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR SIZE_MAX[rip]
	xor	edx, edx
	div	rdi
	cmp	rax, rsi
	jbe	.L8
.L2:
	imul	rdi, rsi
	jmp	sodium_malloc@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR ENOMEM[rip]
	mov	DWORD PTR errno[rip], eax
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	sodium_allocarray, .-sodium_allocarray
	.comm	errno,4,4
	.comm	SIZE_MAX,8,8
	.comm	ENOMEM,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_utils.c_sodium_allocarray.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.global	sodium_allocarray
	.syntax unified
	.arm
	.fpu softvfp
	.type	sodium_allocarray, %function
sodium_allocarray:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	mov	r5, r1
	beq	.L2
	ldr	r3, .L11
	mov	r1, r4
	ldr	r0, [r3]
	bl	__aeabi_uidiv
	cmp	r0, r5
	bls	.L8
.L2:
	mul	r0, r5, r4
	pop	{r4, r5, r6, lr}
	b	sodium_malloc
.L8:
	ldr	r2, .L11+4
	ldr	r3, .L11+8
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	SIZE_MAX
	.word	ENOMEM
	.word	errno
	.size	sodium_allocarray, .-sodium_allocarray
	.comm	errno,4,4
	.comm	SIZE_MAX,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
