	.file	"295077.c"
	.intel_syntax noprefix
	.text
	.type	memzero, @function
memzero:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	memzero, .-memzero
	.type	initialize_state, @function
initialize_state:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 255
	jbe	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 256[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 257[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 258[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 259[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 260[rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 261[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	initialize_state, .-initialize_state
	.type	update, @function
update:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 257[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 260[rax]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 257[rax], dl
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR 258[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 257[rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	add	eax, ecx
	mov	BYTE PTR -2[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR 259[rax]
	movzx	eax, BYTE PTR -2[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 258[rax], dl
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 257[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 259[rax]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 258[rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 259[rax], dl
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 257[rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR -1[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 258[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 257[rax]
	movzx	esi, al
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rax, ecx
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rax, esi
	mov	BYTE PTR [rdx+rax], cl
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 258[rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	ecx, BYTE PTR -1[rbp]
	mov	BYTE PTR [rdx+rax], cl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	update, .-update
	.type	output, @function
output:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 261[rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 259[rax]
	add	eax, edx
	mov	BYTE PTR -3[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR 257[rax]
	movzx	eax, BYTE PTR -3[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	add	eax, ecx
	mov	BYTE PTR -2[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR 258[rax]
	movzx	eax, BYTE PTR -2[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	add	eax, ecx
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 261[rax], dl
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 261[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	output, .-output
	.type	whip, @function
whip:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	update
	add	DWORD PTR -4[rbp], 1
.L9:
	cmp	DWORD PTR -4[rbp], 511
	jbe	.L10
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 260[rax]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 260[rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	whip, .-whip
	.type	shuffle, @function
shuffle:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	whip
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 256[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	shuffle, .-shuffle
	.type	absorb_stop, @function
absorb_stop:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 256[rax]
	cmp	al, -128
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	shuffle
.L13:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 256[rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	absorb_stop, .-absorb_stop
	.type	absorb_nibble, @function
absorb_nibble:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 256[rax]
	cmp	al, -128
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	shuffle
.L15:
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, -128
	mov	BYTE PTR -2[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 256[rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR -1[rbp], al
	movzx	ecx, BYTE PTR -2[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 256[rax]
	movzx	esi, al
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rax, ecx
	movzx	ecx, BYTE PTR [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rax, esi
	mov	BYTE PTR [rdx+rax], cl
	movzx	eax, BYTE PTR -2[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	ecx, BYTE PTR -1[rbp]
	mov	BYTE PTR [rdx+rax], cl
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 256[rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	absorb_nibble, .-absorb_nibble
	.type	absorb_byte, @function
absorb_byte:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	and	eax, 15
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	absorb_nibble
	movzx	eax, BYTE PTR -12[rbp]
	shr	al, 4
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	absorb_nibble
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	absorb_byte, .-absorb_byte
	.type	absorb, @function
absorb:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 40
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	jmp	.L18
.L19:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	absorb_byte
	add	QWORD PTR -8[rbp], 1
.L18:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L19
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	absorb, .-absorb
	.type	drip, @function
drip:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 256[rax]
	test	al, al
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	shuffle
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	update
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	output
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	drip, .-drip
	.type	squeeze, @function
squeeze:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 256[rax]
	test	al, al
	je	.L24
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	shuffle
.L24:
	mov	QWORD PTR -16[rbp], 0
	jmp	.L25
.L26:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rbx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	drip
	mov	BYTE PTR [rbx], al
	add	QWORD PTR -16[rbp], 1
.L25:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L26
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	squeeze, .-squeeze
	.type	key_setup, @function
key_setup:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	initialize_state
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	absorb
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	key_setup, .-key_setup
	.globl	spritz_auth
	.type	spritz_auth, @function
spritz_auth:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -304[rbp], rsi
	mov	QWORD PTR -312[rbp], rdx
	mov	QWORD PTR -320[rbp], rcx
	mov	QWORD PTR -328[rbp], r8
	mov	QWORD PTR -336[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -304[rbp], 255
	jbe	.L29
	mov	eax, -1
	jmp	.L31
.L29:
	mov	rax, QWORD PTR -304[rbp]
	mov	BYTE PTR -273[rbp], al
	mov	rdx, QWORD PTR -336[rbp]
	mov	rcx, QWORD PTR -328[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	key_setup
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	absorb_stop
	mov	rdx, QWORD PTR -320[rbp]
	mov	rcx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	absorb
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	absorb_stop
	lea	rcx, -273[rbp]
	lea	rax, -272[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	absorb
	mov	rdx, QWORD PTR -304[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	squeeze
	lea	rax, -272[rbp]
	mov	esi, 262
	mov	rdi, rax
	call	memzero
	mov	eax, 0
.L31:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	spritz_auth, .-spritz_auth
	.section	.rodata
.LC0:
	.string	"Usage ./a <msg> <key>\n"
.LC1:
	.string	"authentication code "
.LC2:
	.string	"%02X"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 80
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -84[rbp], 2
	jg	.L34
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	r12, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -64[rbp]
	mov	r9, rbx
	mov	r8, r12
	mov	esi, 32
	mov	rdi, rax
	call	spritz_auth
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -68[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -68[rbp], 1
.L36:
	cmp	DWORD PTR -68[rbp], 31
	jle	.L37
	mov	edi, 10
	call	putchar@PLT
.L35:
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	add	rsp, 80
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"295077.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	memzero, %function
memzero:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memzero, .-memzero
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize_state, %function
initialize_state:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	and	r1, r3, #255
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #255
	bls	.L4
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #257]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #258]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #259]
	ldr	r3, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3, #260]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #261]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	initialize_state, .-initialize_state
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #257]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #260]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #257]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #258]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #257]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	add	r3, r2, r3
	strb	r3, [fp, #-6]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #259]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r1, [fp, #-16]
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #258]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #257]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #259]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #258]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #259]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #257]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, r2]
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #258]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #257]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	ldrb	r1, [r3, r1]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r1, [r3, r2]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #258]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldrb	r2, [fp, #-5]
	strb	r2, [r3, r1]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	update, .-update
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #261]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #259]	@ zero_extendqisi2
	add	r3, r2, r3
	strb	r3, [fp, #-7]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #257]	@ zero_extendqisi2
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	ldr	r1, [fp, #-16]
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	add	r3, r2, r3
	strb	r3, [fp, #-6]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3, #258]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r1, [fp, #-16]
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	add	r3, r2, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #261]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #261]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	output, .-output
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	whip, %function
whip:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r0, [fp, #-16]
	bl	update
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #512
	bcc	.L10
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #260]	@ zero_extendqisi2
	add	r3, r3, #2
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #260]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	whip, .-whip
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shuffle, %function
shuffle:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	whip
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #256]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	shuffle, .-shuffle
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	absorb_stop, %function
absorb_stop:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	cmp	r3, #128
	bne	.L13
	ldr	r0, [fp, #-8]
	bl	shuffle
.L13:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3, #256]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absorb_stop, .-absorb_stop
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	absorb_nibble, %function
absorb_nibble:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	cmp	r3, #128
	bne	.L15
	ldr	r0, [fp, #-16]
	bl	shuffle
.L15:
	ldrb	r3, [fp, #-17]
	sub	r3, r3, #128
	strb	r3, [fp, #-6]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, r2]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2, #256]	@ zero_extendqisi2
	mov	r1, r2
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3, r1]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldrb	r1, [fp, #-5]
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #256]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absorb_nibble, .-absorb_nibble
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	absorb_byte, %function
absorb_byte:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]
	and	r3, r3, #15
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	absorb_nibble
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	absorb_nibble
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absorb_byte, .-absorb_byte
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	absorb, %function
absorb:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L19:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	absorb_byte
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L19
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absorb, .-absorb
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	drip, %function
drip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldr	r0, [fp, #-8]
	bl	shuffle
.L21:
	ldr	r0, [fp, #-8]
	bl	update
	ldr	r0, [fp, #-8]
	bl	output
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	drip, .-drip
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	squeeze, %function
squeeze:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3, #256]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r0, [fp, #-24]
	bl	shuffle
.L24:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L26:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r4, r2, r3
	ldr	r0, [fp, #-24]
	bl	drip
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L26
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	squeeze, .-squeeze
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	key_setup, %function
key_setup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	initialize_state
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	absorb
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	key_setup, .-key_setup
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spritz_auth
	.syntax unified
	.arm
	.fpu softvfp
	.type	spritz_auth, %function
spritz_auth:
	@ args = 8, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	str	r2, [fp, #-288]
	str	r3, [fp, #-292]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-296]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-284]
	cmp	r3, #255
	bls	.L29
	mvn	r3, #0
	b	.L31
.L29:
	ldr	r3, [fp, #-284]
	and	r3, r3, #255
	strb	r3, [fp, #-273]
	sub	r3, fp, #272
	ldr	r2, [fp, #8]
	ldr	r1, [fp, #-296]
	mov	r0, r3
	bl	key_setup
	sub	r3, fp, #272
	mov	r0, r3
	bl	absorb_stop
	sub	r3, fp, #272
	ldr	r2, [fp, #-292]
	ldr	r1, [fp, #-288]
	mov	r0, r3
	bl	absorb
	sub	r3, fp, #272
	mov	r0, r3
	bl	absorb_stop
	sub	r3, fp, #272
	sub	r3, r3, #1
	sub	r0, fp, #272
	mov	r2, #1
	mov	r1, r3
	bl	absorb
	sub	r3, fp, #272
	ldr	r2, [fp, #-284]
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	squeeze
	sub	r3, fp, #272
	ldr	r1, .L33+4
	mov	r0, r3
	bl	memzero
	mov	r3, #0
.L31:
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC0
	.word	262
	.size	spritz_auth, .-spritz_auth
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage ./a <msg> <key>\012\000"
	.align	2
.LC2:
	.ascii	"authentication code \000"
	.align	2
.LC3:
	.ascii	"%02X\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bgt	.L36
	ldr	r0, .L42+4
	bl	puts
	b	.L37
.L36:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r5, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r6, r0
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r4, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r0, fp, #56
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, #32
	bl	spritz_auth
	ldr	r0, .L42+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L38
.L39:
	sub	r2, fp, #56
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L42+12
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L38:
	ldr	r3, [fp, #-60]
	cmp	r3, #31
	ble	.L39
	mov	r0, #10
	bl	putchar
.L37:
	mov	r3, #0
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
