	.file	"28262608.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"FIPS update_crypto_hmac : Invalid Params"
.LC1:
	.string	"r+b"
.LC2:
	.string	"Unable to open vmlinux file "
.LC3:
	.string	"rb"
.LC4:
	.string	"Unable to open hmac file "
	.align 8
.LC5:
	.string	"Unable to read %d bytes from hmac file"
	.align 8
.LC6:
	.string	"Unable to seek into vmlinux file."
	.align 8
.LC7:
	.string	"Unable to write %d byte into vmlinux"
	.text
	.globl	update_crypto_hmac
	.type	update_crypto_hmac, @function
update_crypto_hmac:
.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, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	cmp	QWORD PTR -88[rbp], 0
	je	.L2
	cmp	QWORD PTR -96[rbp], 0
	je	.L2
	cmp	QWORD PTR -104[rbp], 0
	jne	.L3
.L2:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L10
.L3:
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L5
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L10
.L5:
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L6
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L10
.L6:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 32
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 32
	je	.L7
	mov	esi, 32
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L10
.L7:
	mov	rcx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L8
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L10
.L8:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 32
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 32
	je	.L9
	mov	esi, 32
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	update_crypto_hmac, .-update_crypto_hmac
	.section	.rodata
	.align 8
.LC8:
	.string	"collect_crypto_bytes : Invalid arguments"
.LC9:
	.string	"Section : %s\n"
.LC10:
	.string	"r"
.LC11:
	.string	"Unable to open file : %s"
.LC12:
	.string	"Unable to seek file : %s"
.LC13:
	.string	"ab"
	.align 8
.LC14:
	.string	"Unable to read 1 byte from  file : %s"
.LC15:
	.string	"%02x "
	.align 8
.LC16:
	.string	"Unable to write 1 byte to file : %s"
	.text
	.globl	collect_crypto_bytes
	.type	collect_crypto_bytes, @function
collect_crypto_bytes:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	BYTE PTR -29[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	je	.L13
	cmp	QWORD PTR -48[rbp], 0
	je	.L13
	cmp	QWORD PTR -56[rbp], 0
	je	.L13
	cmp	QWORD PTR -64[rbp], 0
	je	.L13
	cmp	QWORD PTR -72[rbp], 0
	jne	.L14
.L13:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L24
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L24
.L16:
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L24
.L17:
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L24
.L18:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L19
.L23:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -29[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L24
.L20:
	movzx	eax, BYTE PTR -29[rbp]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -29[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L21
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L24
.L21:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L22
	mov	edi, 10
	call	putchar@PLT
.L22:
	add	DWORD PTR -28[rbp], 1
.L19:
	mov	eax, DWORD PTR -28[rbp]
	cmp	QWORD PTR -64[rbp], rax
	jnb	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L24:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	collect_crypto_bytes, .-collect_crypto_bytes
	.section	.rodata
.LC17:
	.string	"\nUsage : "
	.align 8
.LC18:
	.string	"fips_crypto_utils -u vmlinux_file hmac_file offset"
	.align 8
.LC19:
	.string	"fips_crypto_utils -g vmlinux_file section_name offset size out_file"
.LC20:
	.string	"-u"
	.align 8
.LC21:
	.string	"./fips_crypto_utils -u vmlinux_file hmac_file offset"
.LC22:
	.string	"-g"
	.align 8
.LC23:
	.string	"./fips_crypto_utils -g vmlinux_file section_name offset size out_file"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	cmp	DWORD PTR -68[rbp], 1
	jg	.L27
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, -1
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	cmp	DWORD PTR -68[rbp], 5
	je	.L30
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, -1
	jmp	.L28
.L30:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L31
	cmp	QWORD PTR -8[rbp], 0
	je	.L31
	cmp	QWORD PTR -24[rbp], 0
	jne	.L32
.L31:
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L28
.L32:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	update_crypto_hmac
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	cmp	DWORD PTR -68[rbp], 7
	je	.L34
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, -1
	jmp	.L28
.L34:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L35
	cmp	QWORD PTR -56[rbp], 0
	je	.L35
	cmp	QWORD PTR -48[rbp], 0
	je	.L35
	cmp	QWORD PTR -40[rbp], 0
	je	.L35
	cmp	QWORD PTR -32[rbp], 0
	jne	.L36
.L35:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L28
.L36:
	mov	rdi, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	collect_crypto_bytes
	jmp	.L28
.L33:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, -1
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"28262608.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"FIPS update_crypto_hmac : Invalid Params\000"
	.align	2
.LC1:
	.ascii	"r+b\000"
	.align	2
.LC2:
	.ascii	"Unable to open vmlinux file \000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"Unable to open hmac file \000"
	.align	2
.LC5:
	.ascii	"Unable to read %d bytes from hmac file\000"
	.align	2
.LC6:
	.ascii	"Unable to seek into vmlinux file.\000"
	.align	2
.LC7:
	.ascii	"Unable to write %d byte into vmlinux\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_crypto_hmac
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_crypto_hmac, %function
update_crypto_hmac:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r0, .L12+4
	bl	printf
	mvn	r3, #0
	b	.L10
.L3:
	ldr	r1, .L12+8
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L12+12
	bl	printf
	mvn	r3, #0
	b	.L10
.L5:
	ldr	r1, .L12+16
	ldr	r0, [fp, #-68]
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L12+20
	bl	printf
	ldr	r0, [fp, #-56]
	bl	fclose
	mvn	r3, #0
	b	.L10
.L6:
	sub	r0, fp, #40
	ldr	r3, [fp, #-52]
	mov	r2, #32
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #32
	beq	.L7
	mov	r1, #32
	ldr	r0, .L12+24
	bl	printf
	ldr	r0, [fp, #-52]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	mvn	r3, #0
	b	.L10
.L7:
	ldr	r3, [fp, #-72]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L12+28
	bl	printf
	ldr	r0, [fp, #-52]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	mvn	r3, #0
	b	.L10
.L8:
	sub	r0, fp, #40
	ldr	r3, [fp, #-56]
	mov	r2, #32
	mov	r1, #1
	bl	fwrite
	mov	r3, r0
	cmp	r3, #32
	beq	.L9
	mov	r1, #32
	ldr	r0, .L12+32
	bl	printf
	ldr	r0, [fp, #-52]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	mvn	r3, #0
	b	.L10
.L9:
	ldr	r0, [fp, #-56]
	bl	fclose
	ldr	r0, [fp, #-52]
	bl	fclose
	mov	r3, #0
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	update_crypto_hmac, .-update_crypto_hmac
	.section	.rodata
	.align	2
.LC9:
	.ascii	"collect_crypto_bytes : Invalid arguments\000"
	.align	2
.LC10:
	.ascii	"Section : %s\012\000"
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.ascii	"Unable to open file : %s\000"
	.align	2
.LC13:
	.ascii	"Unable to seek file : %s\000"
	.align	2
.LC14:
	.ascii	"ab\000"
	.align	2
.LC15:
	.ascii	"Unable to read 1 byte from  file : %s\000"
	.align	2
.LC16:
	.ascii	"%02x \000"
	.align	2
.LC17:
	.ascii	"Unable to write 1 byte to file : %s\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	collect_crypto_bytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	collect_crypto_bytes, %function
collect_crypto_bytes:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-48]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-21]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L16
.L15:
	ldr	r0, .L28+4
	bl	printf
	mvn	r3, #0
	b	.L26
.L16:
	ldr	r1, [fp, #-36]
	ldr	r0, .L28+8
	bl	printf
	ldr	r1, .L28+12
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L18
	ldr	r1, [fp, #-32]
	ldr	r0, .L28+16
	bl	printf
	mvn	r3, #0
	b	.L26
.L18:
	ldr	r3, [fp, #-40]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r1, [fp, #-32]
	ldr	r0, .L28+20
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	mvn	r3, #0
	b	.L26
.L19:
	ldr	r1, .L28+24
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L20
	ldr	r1, [fp, #-48]
	ldr	r0, .L28+16
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	mvn	r3, #0
	b	.L26
.L20:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L21
.L25:
	sub	r0, fp, #21
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L22
	ldr	r1, [fp, #-32]
	ldr	r0, .L28+28
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	mvn	r3, #0
	b	.L26
.L22:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L28+32
	bl	printf
	sub	r0, fp, #21
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L23
	ldr	r1, [fp, #-48]
	ldr	r0, .L28+36
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	mvn	r3, #0
	b	.L26
.L23:
	ldr	r3, [fp, #-20]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L24
	mov	r0, #10
	bl	putchar
.L24:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bls	.L25
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC18
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	collect_crypto_bytes, .-collect_crypto_bytes
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012Usage : \000"
	.align	2
.LC20:
	.ascii	"fips_crypto_utils -u vmlinux_file hmac_file offset\000"
	.align	2
.LC21:
	.ascii	"fips_crypto_utils -g vmlinux_file section_name offs"
	.ascii	"et size out_file\000"
	.align	2
.LC22:
	.ascii	"-u\000"
	.align	2
.LC23:
	.ascii	"./fips_crypto_utils -u vmlinux_file hmac_file offse"
	.ascii	"t\000"
	.align	2
.LC24:
	.ascii	"-g\000"
	.align	2
.LC25:
	.ascii	"./fips_crypto_utils -g vmlinux_file section_name of"
	.ascii	"fset size out_file\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bgt	.L31
	ldr	r0, .L41
	bl	puts
	ldr	r0, .L41+4
	bl	printf
	ldr	r0, .L41+8
	bl	printf
	mov	r0, #10
	bl	putchar
	mvn	r3, #0
	b	.L32
.L31:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	beq	.L34
	ldr	r0, .L41
	bl	puts
	ldr	r0, .L41+4
	bl	printf
	mov	r0, #10
	bl	putchar
	mvn	r3, #0
	b	.L32
.L34:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-44]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L36
.L35:
	ldr	r0, .L41+16
	bl	printf
	mvn	r3, #0
	b	.L32
.L36:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	update_crypto_hmac
	mov	r3, r0
	b	.L32
.L33:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r3, #7
	beq	.L38
	ldr	r0, .L41
	bl	puts
	ldr	r0, .L41+24
	bl	printf
	mov	r0, #10
	bl	putchar
	mvn	r3, #0
	b	.L32
.L38:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L40
.L39:
	ldr	r0, .L41+24
	bl	printf
	mvn	r3, #0
	b	.L32
.L40:
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	collect_crypto_bytes
	mov	r3, r0
	b	.L32
.L37:
	ldr	r0, .L41
	bl	puts
	ldr	r0, .L41+4
	bl	printf
	ldr	r0, .L41+8
	bl	printf
	mov	r0, #10
	bl	putchar
	mvn	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
