	.file	"extr_generichash.c_xmain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%02x"
.LC1:
	.string	"blake2b"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAXLEN[rip]
	mov	rcx, rsp
	mov	QWORD PTR -80[rbp], rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L40:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L40
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L41
.L4:
	movsx	rax, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	mov	rcx, rsp
	mov	r14, rsp
	mov	DWORD PTR -84[rbp], eax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
.L5:
	cmp	rsp, rax
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L41:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L42
.L7:
	movsx	rax, DWORD PTR crypto_generichash_KEYBYTES_MAX[rip]
	mov	rcx, rsp
	mov	rbx, rsp
	mov	DWORD PTR -88[rbp], eax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
.L8:
	cmp	rsp, rax
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L42:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L9:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	je	.L10
	or	QWORD PTR -8[rsp+rax], 0
.L10:
	xor	eax, eax
	mov	QWORD PTR -72[rbp], rsp
	call	tv@PLT
	movsx	rdi, DWORD PTR crypto_generichash_KEYBYTES_MAX[rip]
	xor	eax, eax
	test	rdi, rdi
	je	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rcx, QWORD PTR -72[rbp]
	mov	BYTE PTR [rcx+rax], al
	add	rax, 1
	cmp	rax, rdi
	jne	.L11
.L14:
	mov	edx, DWORD PTR MAXLEN[rip]
	xor	r12d, r12d
	lea	r13, .LC0[rip]
	test	edx, edx
	je	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, r12
	xor	edx, edx
	movsx	rcx, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	mov	r8, QWORD PTR -72[rbp]
	div	rdi
	mov	BYTE PTR [r14+r12], r12b
	mov	rax, r12
	xor	r15d, r15d
	mov	rdi, rdx
	xor	edx, edx
	div	rcx
	lea	r9d, 1[rdi]
	mov	rcx, r12
	mov	rdi, rbx
	lea	rsi, 1[rdx]
	mov	rdx, r14
	call	crypto_generichash@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	movzx	esi, BYTE PTR [rbx+r15]
	mov	rdi, r13
	xor	eax, eax
	add	r15, 1
	call	printf@PLT
	movsx	rsi, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	mov	rax, r12
	xor	edx, edx
	div	rsi
	add	rdx, 1
	cmp	rdx, r15
	ja	.L15
	mov	edi, 10
	add	r12, 1
	call	putchar@PLT
	movsx	rax, DWORD PTR MAXLEN[rip]
	cmp	rax, r12
	jbe	.L13
	movsx	rdi, DWORD PTR crypto_generichash_KEYBYTES_MAX[rip]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, DWORD PTR -84[rbp]
	xor	esi, esi
	mov	rdi, rbx
	xor	r13d, r13d
	call	memset@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	rcx, r12
	xor	r9d, r9d
	movsx	rsi, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	mov	rdx, r14
	mov	rdi, rbx
	lea	r12, .LC0[rip]
	call	crypto_generichash@PLT
	mov	eax, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	test	eax, eax
	je	.L17
	.p2align 4,,10
	.p2align 3
.L16:
	movzx	esi, BYTE PTR [rbx+r13]
	mov	rdi, r12
	xor	eax, eax
	add	r13, 1
	call	printf@PLT
	movsx	rax, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	cmp	rax, r13
	ja	.L16
.L17:
	mov	edi, 10
	call	putchar@PLT
	mov	rbx, QWORD PTR -80[rbp]
	mov	r15, QWORD PTR -72[rbp]
	xor	esi, esi
	mov	r13d, DWORD PTR -88[rbp]
	mov	rdx, r14
	xor	edi, edi
	mov	rcx, rbx
	mov	r8, r15
	mov	r9d, r13d
	call	crypto_generichash@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	mov	eax, DWORD PTR crypto_generichash_BYTES_MAX[rip]
	mov	rcx, rbx
	xor	edi, edi
	mov	r9d, r13d
	mov	r8, r15
	mov	rdx, r14
	lea	esi, 1[rax]
	movsx	rsi, esi
	call	crypto_generichash@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	mov	rcx, rbx
	mov	r8, r15
	mov	rdx, r14
	mov	r9d, DWORD PTR crypto_generichash_KEYBYTES_MAX[rip]
	mov	rsi, rbx
	xor	edi, edi
	add	r9d, 1
	call	crypto_generichash@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes_min@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes_max@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_bytes_min@PLT
	xor	edi, edi
	cmp	ebx, eax
	setnb	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_bytes_max@PLT
	xor	edi, edi
	cmp	ebx, eax
	setbe	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes_min@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes_max@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_keybytes_min@PLT
	xor	edi, edi
	cmp	ebx, eax
	setnb	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_keybytes_max@PLT
	xor	edi, edi
	cmp	ebx, eax
	setbe	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_primitive@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes_min@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_bytes_min@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes_max@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_bytes_max@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_bytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_bytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes_min@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_keybytes_min@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes_max@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_keybytes_max@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_keybytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_generichash_blake2b_keybytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_blake2b_saltbytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_generichash_blake2b_personalbytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L43:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	crypto_generichash_KEYBYTES_MAX,4,4
	.comm	crypto_generichash_BYTES_MAX,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_generichash.c_xmain.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%02x\000"
	.align	2
.LC1:
	.ascii	"blake2b\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	ldr	r3, .L22
	ldr	r5, .L22+4
	ldr	r3, [r3]
	ldr	r4, .L22+8
	ldr	r2, [r5]
	ldr	r1, [r4]
	str	r3, [fp, #-64]
	add	r3, r3, #7
	str	r2, [fp, #-56]
	bic	r3, r3, #7
	add	r2, r2, #7
	sub	sp, sp, r3
	bic	r2, r2, #7
	add	r3, r1, #7
	bic	r3, r3, #7
	add	r8, sp, #24
	sub	sp, sp, r2
	add	r6, sp, #24
	sub	sp, sp, r3
	ldr	r3, .L22+12
	str	r1, [fp, #-60]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	tv
	ldr	r9, [r4]
	add	r3, sp, #24
	cmp	r9, #0
	str	r3, [fp, #-48]
	addne	r1, sp, #23
	movne	r3, #0
	beq	.L6
.L5:
	strb	r3, [r1, #1]!
	add	r3, r3, #1
	cmp	r3, r9
	bne	.L5
.L6:
	ldr	r3, .L22
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L19
	mov	r4, #0
	mov	r10, r9
	sub	r3, r6, #1
	ldr	r7, .L22+16
	str	r3, [fp, #-52]
.L3:
	ldr	r1, [r5]
	mov	r0, r4
	strb	r4, [r8, r4]
	bl	__aeabi_uidivmod
	mov	r2, r1
	mov	r0, r4
	mov	r1, r10
	add	r10, r2, #1
	bl	__aeabi_uidivmod
	ldr	r3, [fp, #-48]
	add	r1, r1, #1
	str	r3, [sp, #16]
	mov	r3, #0
	mov	r2, r10
	mov	r0, r6
	str	r1, [sp, #20]
	str	r4, [sp, #8]
	str	r3, [sp, #12]
	str	r8, [sp]
	bl	crypto_generichash
	ldr	r10, [fp, #-52]
.L7:
	mov	r9, r10
	mov	r0, r7
	ldrb	r1, [r10, #1]!	@ zero_extendqisi2
	bl	printf
	mov	r0, r4
	ldr	r1, [r5]
	bl	__aeabi_uidivmod
	add	r9, r9, #2
	sub	r9, r9, r6
	add	r1, r1, #1
	cmp	r9, r1
	bcc	.L7
	mov	r0, #10
	bl	putchar
	ldr	r3, .L22
	add	r4, r4, #1
	ldr	r3, [r3]
	cmp	r3, r4
	ldrhi	r3, .L22+8
	ldrhi	r10, [r3]
	bhi	.L3
.L19:
	mov	r1, #0
	ldr	r2, [fp, #-56]
	mov	r0, r6
	bl	memset
	mov	r7, #0
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r1, [fp, #-48]
	str	r4, [sp, #8]
	str	r3, [sp, #20]
	mov	r0, r6
	asr	r3, r2, #31
	str	r1, [sp, #16]
	str	r7, [sp, #12]
	str	r8, [sp]
	bl	crypto_generichash
	ldr	r3, [r5]
	cmp	r3, #0
	ldrne	r4, .L22+16
	subne	r10, r6, #1
	beq	.L11
.L10:
	mov	r7, r10
	mov	r0, r4
	ldrb	r1, [r10, #1]!	@ zero_extendqisi2
	bl	printf
	add	r7, r7, #2
	ldr	r3, [r5]
	sub	r7, r7, r6
	cmp	r3, r7
	bhi	.L10
.L11:
	mov	r7, #0
	mov	r0, #10
	bl	putchar
	ldr	r4, [fp, #-64]
	ldr	r6, [fp, #-48]
	ldr	r9, [fp, #-60]
	mov	r2, #0
	mov	r3, #0
	str	r4, [sp, #8]
	mov	r0, r7
	str	r9, [sp, #20]
	str	r6, [sp, #16]
	str	r7, [sp, #12]
	str	r8, [sp]
	bl	crypto_generichash
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	ldr	r2, [r5]
	str	r4, [sp, #8]
	add	r2, r2, #1
	asr	r3, r2, #31
	mov	r0, r7
	str	r9, [sp, #20]
	str	r6, [sp, #16]
	str	r7, [sp, #12]
	str	r8, [sp]
	bl	crypto_generichash
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	ldr	r2, .L22+8
	mov	r3, r7
	ldr	r2, [r2]
	mov	r0, r7
	add	r2, r2, #1
	str	r2, [sp, #20]
	str	r4, [sp, #8]
	mov	r2, r4
	str	r6, [sp, #16]
	str	r7, [sp, #12]
	str	r8, [sp]
	bl	crypto_generichash
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	bl	crypto_generichash_bytes_min
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_bytes_max
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_bytes
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_bytes
	mov	r4, r0
	bl	crypto_generichash_bytes_min
	cmp	r4, r0
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	bl	crypto_generichash_bytes
	mov	r4, r0
	bl	crypto_generichash_bytes_max
	cmp	r4, r0
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	bl	crypto_generichash_keybytes_min
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_keybytes_max
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_keybytes
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_keybytes
	mov	r4, r0
	bl	crypto_generichash_keybytes_min
	cmp	r4, r0
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	bl	crypto_generichash_keybytes
	mov	r4, r0
	bl	crypto_generichash_keybytes_max
	cmp	r4, r0
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	bl	crypto_generichash_primitive
	ldr	r1, .L22+20
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_bytes_min
	mov	r4, r0
	bl	crypto_generichash_blake2b_bytes_min
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_bytes_max
	mov	r4, r0
	bl	crypto_generichash_blake2b_bytes_max
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_bytes
	mov	r4, r0
	bl	crypto_generichash_blake2b_bytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_keybytes_min
	mov	r4, r0
	bl	crypto_generichash_blake2b_keybytes_min
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_keybytes_max
	mov	r4, r0
	bl	crypto_generichash_blake2b_keybytes_max
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_keybytes
	mov	r4, r0
	bl	crypto_generichash_blake2b_keybytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_generichash_blake2b_saltbytes
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	bl	crypto_generichash_blake2b_personalbytes
	subs	r0, r0, r7
	movne	r0, #1
	bl	assert
	ldr	r3, .L22+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	MAXLEN
	.word	crypto_generichash_BYTES_MAX
	.word	crypto_generichash_KEYBYTES_MAX
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.comm	crypto_generichash_KEYBYTES_MAX,4,4
	.comm	crypto_generichash_BYTES_MAX,4,4
	.comm	MAXLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
