	.file	"extr_secretbox.c_xmain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	",0x%02x"
.LC1:
	.string	"xsalsa20poly1305"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, DWORD PTR firstkey[rip]
	mov	edx, 163
	lea	r12, .LC0[rip]
	mov	ecx, DWORD PTR nonce[rip]
	mov	rsi, QWORD PTR m[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, 136
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, QWORD PTR c[rip]
	mov	ebx, 16
	call	crypto_secretbox@PLT
	mov	rax, QWORD PTR c[rip]
	lea	rdi, .LC0[rip]
	mov	rsi, QWORD PTR 128[rax]
	xor	eax, eax
	call	printf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbp, 8
.L2:
	add	ebx, 1
	cmp	ebx, 163
	je	.L10
	mov	rax, QWORD PTR c[rip]
	mov	rdi, r12
	mov	rsi, QWORD PTR [rax+rbp]
	xor	eax, eax
	call	printf@PLT
	mov	eax, ebx
	and	eax, 7
	cmp	eax, 7
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	jmp	.L3
.L10:
	mov	edi, 10
	mov	ebp, 136
	mov	ebx, 16
	call	putchar@PLT
	mov	rsi, QWORD PTR m[rip]
	mov	rdi, QWORD PTR c[rip]
	mov	edx, 163
	lea	r12, .LC0[rip]
	call	memcpy@PLT
	mov	ecx, DWORD PTR nonce[rip]
	mov	edx, 163
	mov	rdi, QWORD PTR c[rip]
	mov	r8d, DWORD PTR firstkey[rip]
	mov	rsi, rdi
	call	crypto_secretbox@PLT
	mov	rax, QWORD PTR c[rip]
	lea	rdi, .LC0[rip]
	mov	rsi, QWORD PTR 128[rax]
	xor	eax, eax
	call	printf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbp, 8
.L5:
	add	ebx, 1
	cmp	ebx, 163
	je	.L11
	mov	rax, QWORD PTR c[rip]
	mov	rdi, r12
	mov	rsi, QWORD PTR [rax+rbp]
	xor	eax, eax
	call	printf@PLT
	mov	eax, ebx
	and	eax, 7
	cmp	eax, 7
	jne	.L6
	mov	edi, 10
	call	putchar@PLT
	jmp	.L6
.L11:
	mov	edi, 10
	call	putchar@PLT
	mov	ecx, DWORD PTR nonce[rip]
	mov	edx, 31
	mov	rdi, QWORD PTR c[rip]
	mov	r8d, DWORD PTR firstkey[rip]
	mov	rsi, rdi
	call	crypto_secretbox@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	mov	ecx, DWORD PTR nonce[rip]
	mov	edx, 12
	mov	rdi, QWORD PTR c[rip]
	mov	r8d, DWORD PTR firstkey[rip]
	mov	rsi, rdi
	call	crypto_secretbox@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	mov	ecx, DWORD PTR nonce[rip]
	mov	edx, 1
	mov	rdi, QWORD PTR c[rip]
	mov	r8d, DWORD PTR firstkey[rip]
	mov	rsi, rdi
	call	crypto_secretbox@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	mov	rdi, QWORD PTR c[rip]
	mov	r8d, DWORD PTR firstkey[rip]
	xor	edx, edx
	mov	ecx, DWORD PTR nonce[rip]
	mov	rsi, rdi
	call	crypto_secretbox@PLT
	xor	edi, edi
	cmp	eax, -1
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_keybytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_noncebytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_zerobytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_boxzerobytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_macbytes@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_messagebytes_max@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_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_secretbox_keybytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_keybytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_noncebytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_noncebytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_zerobytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_zerobytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_boxzerobytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_boxzerobytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_macbytes@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_macbytes@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	crypto_secretbox_messagebytes_max@PLT
	mov	ebx, eax
	xor	eax, eax
	call	crypto_secretbox_xsalsa20poly1305_messagebytes_max@PLT
	xor	edi, edi
	cmp	ebx, eax
	sete	dil
	call	assert@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	nonce,4,4
	.comm	m,8,8
	.comm	firstkey,4,4
	.comm	c,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_secretbox.c_xmain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	",0x%02x\000"
	.align	2
.LC1:
	.ascii	"xsalsa20poly1305\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, lr}
	ldr	r7, .L12
	ldr	r5, .L12+4
	ldr	r3, [r7]
	ldr	r6, .L12+8
	ldr	r9, .L12+12
	sub	sp, sp, #12
	mov	r2, #163
	ldr	r1, [r9]
	str	r3, [sp]
	ldr	r0, [r5]
	ldr	r3, [r6]
	bl	crypto_secretbox
	ldr	r3, [r5]
	ldr	r0, .L12+16
	ldr	r1, [r3, #64]
	bl	printf
	mov	r4, #16
	ldr	r8, .L12+16
.L2:
	add	r4, r4, #1
	cmp	r4, #163
	beq	.L10
.L4:
	ldr	r3, [r5]
	mov	r0, r8
	ldr	r1, [r3, r4, lsl #2]
	bl	printf
	and	r3, r4, #7
	cmp	r3, #7
	bne	.L2
	mov	r0, #10
	add	r4, r4, #1
	bl	putchar
	cmp	r4, #163
	bne	.L4
.L10:
	mov	r0, #10
	bl	putchar
	mov	r2, r4
	ldr	r1, [r9]
	ldr	r0, [r5]
	bl	memcpy
	ldr	r1, [r5]
	ldr	r3, [r7]
	mov	r2, r4
	mov	r0, r1
	str	r3, [sp]
	ldr	r3, [r6]
	bl	crypto_secretbox
	ldr	r3, [r5]
	ldr	r0, .L12+16
	ldr	r1, [r3, #64]
	bl	printf
	mov	r4, #16
	ldr	r8, .L12+16
.L5:
	add	r4, r4, #1
	cmp	r4, #163
	beq	.L11
.L7:
	ldr	r3, [r5]
	mov	r0, r8
	ldr	r1, [r3, r4, lsl #2]
	bl	printf
	and	r3, r4, #7
	cmp	r3, #7
	bne	.L5
	mov	r0, #10
	add	r4, r4, #1
	bl	putchar
	cmp	r4, #163
	bne	.L7
.L11:
	mov	r0, #10
	bl	putchar
	ldr	r1, [r5]
	ldr	r3, [r7]
	mov	r0, r1
	mov	r2, #31
	str	r3, [sp]
	ldr	r3, [r6]
	bl	crypto_secretbox
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	ldr	r1, [r5]
	ldr	r3, [r7]
	mov	r0, r1
	mov	r2, #12
	str	r3, [sp]
	ldr	r3, [r6]
	bl	crypto_secretbox
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	ldr	r1, [r5]
	ldr	r3, [r7]
	mov	r0, r1
	mov	r2, #1
	str	r3, [sp]
	ldr	r3, [r6]
	bl	crypto_secretbox
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	ldr	r1, [r5]
	ldr	r2, [r7]
	ldr	r3, [r6]
	mov	r0, r1
	str	r2, [sp]
	mov	r2, #0
	bl	crypto_secretbox
	cmn	r0, #1
	movne	r0, #0
	moveq	r0, #1
	bl	assert
	bl	crypto_secretbox_keybytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_noncebytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_zerobytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_boxzerobytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_macbytes
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_messagebytes_max
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	bl	crypto_secretbox_primitive
	ldr	r1, .L12+20
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_keybytes
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_keybytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_noncebytes
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_noncebytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_zerobytes
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_zerobytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_boxzerobytes
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_boxzerobytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_macbytes
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_macbytes
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	crypto_secretbox_messagebytes_max
	mov	r4, r0
	bl	crypto_secretbox_xsalsa20poly1305_messagebytes_max
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	.align	2
.L12:
	.word	firstkey
	.word	c
	.word	nonce
	.word	m
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.comm	nonce,4,4
	.comm	m,4,4
	.comm	firstkey,4,4
	.comm	c,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
