	.file	"extr_hash.c_xmain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%02x"
.LC1:
	.string	"sha512"
	.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	edx, 3
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR x[rip]
	mov	rdi, QWORD PTR h[rip]
	call	crypto_hash@PLT
	cmp	QWORD PTR crypto_hash_BYTES[rip], 0
	je	.L2
	xor	ebx, ebx
	lea	rbp, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR h[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax+rbx*8]
	xor	eax, eax
	add	rbx, 1
	call	printf@PLT
	cmp	QWORD PTR crypto_hash_BYTES[rip], rbx
	ja	.L3
.L2:
	mov	edi, 10
	call	putchar@PLT
	mov	esi, DWORD PTR x2[rip]
	mov	edx, 3
	mov	rdi, QWORD PTR h[rip]
	call	crypto_hash@PLT
	cmp	QWORD PTR crypto_hash_BYTES[rip], 0
	je	.L4
	xor	ebx, ebx
	lea	rbp, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR h[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax+rbx*8]
	xor	eax, eax
	add	rbx, 1
	call	printf@PLT
	cmp	QWORD PTR crypto_hash_BYTES[rip], rbx
	ja	.L5
.L4:
	mov	edi, 10
	call	putchar@PLT
	mov	esi, DWORD PTR x[rip]
	mov	edx, 3
	mov	rdi, QWORD PTR h[rip]
	call	crypto_hash_sha256@PLT
	cmp	QWORD PTR crypto_hash_sha256_BYTES[rip], 0
	je	.L6
	xor	ebx, ebx
	lea	rbp, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR h[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax+rbx*8]
	xor	eax, eax
	add	rbx, 1
	call	printf@PLT
	cmp	QWORD PTR crypto_hash_sha256_BYTES[rip], rbx
	ja	.L7
.L6:
	mov	edi, 10
	call	putchar@PLT
	mov	esi, DWORD PTR x2[rip]
	mov	edx, 3
	mov	rdi, QWORD PTR h[rip]
	call	crypto_hash_sha256@PLT
	cmp	QWORD PTR crypto_hash_sha256_BYTES[rip], 0
	je	.L8
	xor	ebx, ebx
	lea	rbp, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR h[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax+rbx*8]
	xor	eax, eax
	add	rbx, 1
	call	printf@PLT
	cmp	QWORD PTR crypto_hash_sha256_BYTES[rip], rbx
	ja	.L9
.L8:
	mov	edi, 10
	call	putchar@PLT
	xor	eax, eax
	call	crypto_hash_bytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_hash_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_hash_sha256_bytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_hash_sha512_bytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_hash_sha256_bytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	setnb	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_hash_sha512_bytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_hash_bytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_hash_sha256_statebytes@PLT
	xor	edi, edi
	cmp	eax, 4
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_hash_sha512_statebytes@PLT
	xor	edi, edi
	cmp	eax, 4
	sete	dil
	call	assert@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	x2,4,4
	.comm	x,4,4
	.comm	h,8,8
	.comm	crypto_hash_sha256_BYTES,8,8
	.comm	crypto_hash_BYTES,8,8
	.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_hash.c_xmain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%02x\000"
	.align	2
.LC1:
	.ascii	"sha512\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L28
	ldr	r4, .L28+4
	ldr	r6, .L28+8
	mov	r2, #3
	ldr	r1, [r8]
	ldr	r0, [r4]
	bl	crypto_hash
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	mov	r5, #0
	ldr	r7, .L28+12
.L3:
	ldr	r3, [r4]
	mov	r0, r7
	ldr	r1, [r3, r5, lsl #2]
	bl	printf
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L3
.L2:
	ldr	r7, .L28+16
	mov	r0, #10
	bl	putchar
	mov	r2, #3
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	crypto_hash
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L4
	mov	r5, #0
	ldr	r9, .L28+12
.L5:
	ldr	r3, [r4]
	mov	r0, r9
	ldr	r1, [r3, r5, lsl #2]
	bl	printf
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L5
.L4:
	mov	r0, #10
	ldr	r6, .L28+20
	bl	putchar
	mov	r2, #3
	ldr	r1, [r8]
	ldr	r0, [r4]
	bl	crypto_hash_sha256
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L6
	mov	r5, #0
	ldr	r8, .L28+12
.L7:
	ldr	r3, [r4]
	mov	r0, r8
	ldr	r1, [r3, r5, lsl #2]
	bl	printf
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L7
.L6:
	mov	r0, #10
	bl	putchar
	mov	r2, #3
	ldr	r1, [r7]
	ldr	r0, [r4]
	bl	crypto_hash_sha256
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L8
	mov	r5, #0
	ldr	r7, .L28+12
.L9:
	ldr	r3, [r4]
	mov	r0, r7
	ldr	r1, [r3, r5, lsl #2]
	bl	printf
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L9
.L8:
	mov	r0, #10
	bl	putchar
	bl	crypto_hash_bytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_hash_primitive
	ldr	r1, .L28+24
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_hash_sha256_bytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_hash_sha512_bytes
	mov	r4, r0
	bl	crypto_hash_sha256_bytes
	cmp	r4, r0
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	bl	crypto_hash_sha512_bytes
	mov	r4, r0
	bl	crypto_hash_bytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_hash_sha256_statebytes
	sub	r0, r0, #4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_hash_sha512_statebytes
	sub	r0, r0, #4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L29:
	.align	2
.L28:
	.word	x
	.word	h
	.word	crypto_hash_BYTES
	.word	.LC0
	.word	x2
	.word	crypto_hash_sha256_BYTES
	.word	.LC1
	.size	main, .-main
	.comm	x2,4,4
	.comm	x,4,4
	.comm	h,4,4
	.comm	crypto_hash_sha256_BYTES,4,4
	.comm	crypto_hash_BYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
