	.file	"extr_metamorphic.c_mm_onetimeauth.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mm_onetimeauth, @function
mm_onetimeauth:
.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, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR MAX_ITER[rip]
	test	eax, eax
	jle	.L1
	xor	r10d, r10d
	lea	r14, 36[rsp]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR MAXLEN[rip]
	mov	DWORD PTR 28[rsp], r10d
	call	randombytes_uniform@PLT
	mov	rdi, rax
	mov	r12, rax
	call	sodium_malloc@PLT
	mov	rdi, QWORD PTR crypto_onetimeauth_KEYBYTES[rip]
	mov	rbp, rax
	call	sodium_malloc@PLT
	mov	rdi, QWORD PTR crypto_onetimeauth_BYTES[rip]
	mov	r13, rax
	call	sodium_malloc@PLT
	mov	rdi, QWORD PTR crypto_onetimeauth_BYTES[rip]
	mov	r15, rax
	call	sodium_malloc@PLT
	mov	rdi, r13
	mov	QWORD PTR 16[rsp], rax
	call	crypto_onetimeauth_keygen@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	randombytes_buf@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	crypto_onetimeauth_init@PLT
	mov	edi, r12d
	call	randombytes_uniform@PLT
	mov	edi, r12d
	mov	rbx, rax
	sub	edi, eax
	call	randombytes_uniform@PLT
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rax
	call	crypto_onetimeauth_update@PLT
	mov	rdx, QWORD PTR 8[rsp]
	lea	rsi, 0[rbp+rbx]
	mov	rdi, r14
	call	crypto_onetimeauth_update@PLT
	add	rbx, QWORD PTR 8[rsp]
	mov	rdx, r12
	mov	rdi, r14
	sub	rdx, rbx
	lea	rsi, 0[rbp+rbx]
	call	crypto_onetimeauth_update@PLT
	mov	rsi, r15
	mov	rdi, r14
	call	crypto_onetimeauth_final@PLT
	mov	r9, QWORD PTR 16[rsp]
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r9
	mov	QWORD PTR 8[rsp], r9
	call	crypto_onetimeauth@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR crypto_onetimeauth_BYTES[rip]
	mov	rdi, r15
	mov	rsi, r9
	call	memcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	assert@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rdi, r9
	call	sodium_free@PLT
	mov	rdi, r15
	call	sodium_free@PLT
	mov	rdi, r13
	call	sodium_free@PLT
	mov	rdi, rbp
	call	sodium_free@PLT
	mov	r10d, DWORD PTR 28[rsp]
	add	r10d, 1
	cmp	DWORD PTR MAX_ITER[rip], r10d
	jg	.L2
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 56
	.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
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mm_onetimeauth, .-mm_onetimeauth
	.comm	crypto_onetimeauth_KEYBYTES,8,8
	.comm	crypto_onetimeauth_BYTES,8,8
	.comm	MAX_ITER,4,4
	.comm	MAXLEN,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_metamorphic.c_mm_onetimeauth.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_onetimeauth, %function
mm_onetimeauth:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L9
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L1
	mov	fp, #0
.L3:
	ldr	r3, .L9+8
	ldr	r5, .L9+12
	ldr	r0, [r3]
	bl	randombytes_uniform
	mov	r7, r0
	bl	sodium_malloc
	ldr	r3, .L9+16
	mov	r4, r0
	ldr	r0, [r3]
	bl	sodium_malloc
	mov	r6, r0
	ldr	r0, [r5]
	bl	sodium_malloc
	mov	r8, r0
	ldr	r0, [r5]
	bl	sodium_malloc
	mov	r9, r0
	mov	r0, r6
	bl	crypto_onetimeauth_keygen
	mov	r1, r7
	mov	r0, r4
	bl	randombytes_buf
	mov	r1, r6
	add	r0, sp, #8
	bl	crypto_onetimeauth_init
	mov	r0, r7
	bl	randombytes_uniform
	sub	r3, r7, r0
	mov	r5, r0
	mov	r0, r3
	str	r3, [sp, #4]
	bl	randombytes_uniform
	mov	r10, r0
	mov	r2, r5
	mov	r1, r4
	add	r0, sp, #8
	bl	crypto_onetimeauth_update
	add	r1, r4, r5
	mov	r2, r10
	add	r0, sp, #8
	bl	crypto_onetimeauth_update
	ldr	r3, [sp, #4]
	add	r1, r5, r10
	sub	r2, r3, r10
	add	r1, r4, r1
	add	r0, sp, #8
	bl	crypto_onetimeauth_update
	ldr	r5, .L9+12
	mov	r1, r8
	add	r0, sp, #8
	bl	crypto_onetimeauth_final
	mov	r3, r6
	mov	r2, r7
	mov	r1, r4
	mov	r0, r9
	bl	crypto_onetimeauth
	mov	r1, r9
	ldr	r2, [r5]
	mov	r0, r8
	bl	memcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r9
	bl	sodium_free
	mov	r0, r8
	bl	sodium_free
	mov	r0, r6
	bl	sodium_free
	mov	r0, r4
	bl	sodium_free
	ldr	r3, .L9+4
	add	fp, fp, #1
	ldr	r3, [r3]
	cmp	r3, fp
	bgt	.L3
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	MAX_ITER
	.word	MAXLEN
	.word	crypto_onetimeauth_BYTES
	.word	crypto_onetimeauth_KEYBYTES
	.size	mm_onetimeauth, .-mm_onetimeauth
	.comm	crypto_onetimeauth_KEYBYTES,4,4
	.comm	crypto_onetimeauth_BYTES,4,4
	.comm	MAX_ITER,4,4
	.comm	MAXLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
