	.file	"extr_journal-authenticate.c_journal_file_hmac_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	journal_file_hmac_start
	.type	journal_file_hmac_start, @function
journal_file_hmac_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 152
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	call	assert@PLT
	mov	edx, DWORD PTR 12[rbx]
	test	edx, edx
	je	.L2
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L6
.L2:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	mov	rbp, rsp
	call	gcry_md_reset@PLT
	mov	edi, DWORD PTR 8[rbx]
	xor	ecx, ecx
	mov	edx, 128
	mov	rsi, rbp
	call	FSPRG_GetKey@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, 128
	mov	rsi, rbp
	call	gcry_md_setkey@PLT
	mov	DWORD PTR [rbx], 1
	jmp	.L2
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	journal_file_hmac_start, .-journal_file_hmac_start
	.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_journal-authenticate.c_journal_file_hmac_start.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	journal_file_hmac_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	journal_file_hmac_start, %function
journal_file_hmac_start:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, .L11
	sub	sp, sp, #140
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	assert
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L2
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L9
.L2:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, #0
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	ldr	r0, [r4, #4]
	bl	gcry_md_reset
	mov	r3, r5
	mov	r2, #128
	add	r1, sp, #4
	ldr	r0, [r4, #8]
	bl	FSPRG_GetKey
	mov	r2, #128
	ldr	r0, [r4, #4]
	add	r1, sp, #4
	bl	gcry_md_setkey
	mov	r3, #1
	str	r3, [r4]
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	journal_file_hmac_start, .-journal_file_hmac_start
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
