	.file	"extr_log.c_kadm5_log_modify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kadm5_log_modify
	.type	kadm5_log_modify, @function
kadm5_log_modify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r15, rsp
	mov	rdi, r15
	call	krb5_data_zero@PLT
	xor	eax, eax
	call	krb5_storage_emem@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	rsi, r12
	mov	rdx, r15
	mov	rbp, rax
	call	hdb_entry2value@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
.L2:
	mov	rdi, r15
	call	krb5_data_free@PLT
	mov	rdi, rbp
	call	krb5_storage_free@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR kadm_modify[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	kadm5_log_preamble@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR [rsp]
	mov	rdi, rbp
	lea	rbx, 4[rax]
	mov	rsi, rbx
	call	krb5_store_int32@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	mov	rsi, r14
	mov	rdi, rbp
	call	krb5_store_int32@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	mov	rdx, QWORD PTR [rsp]
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, rbp
	call	krb5_storage_write@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	krb5_store_int32@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	lea	r14, 4[r13]
	mov	rsi, rbp
	mov	rdi, r14
	call	kadm5_log_postamble@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	mov	rsi, rbp
	mov	rdi, r14
	call	kadm5_log_flush@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
	mov	rdi, r15
	call	krb5_data_free@PLT
	mov	rdi, rbp
	call	krb5_storage_free@PLT
	mov	rdi, r13
	call	kadm5_log_end@PLT
	mov	r12, rax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kadm5_log_modify, .-kadm5_log_modify
	.comm	kadm_modify,4,4
	.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_log.c_kadm5_log_modify.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kadm5_log_modify
	.syntax unified
	.arm
	.fpu softvfp
	.type	kadm5_log_modify, %function
kadm5_log_modify:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	sub	sp, sp, #16
	mov	r6, r0
	add	r0, sp, #4
	mov	r4, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	krb5_data_zero
	bl	krb5_storage_emem
	mov	r1, r4
	mov	r5, r0
	add	r2, sp, #4
	ldr	r0, [r6]
	bl	hdb_entry2value
	subs	r4, r0, #0
	beq	.L7
.L2:
	add	r0, sp, #4
	bl	krb5_data_free
	mov	r0, r5
	bl	krb5_storage_free
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+4
	mov	r1, r5
	mov	r0, r6
	ldr	r2, [r3]
	bl	kadm5_log_preamble
	subs	r4, r0, #0
	bne	.L2
	ldr	r8, [sp, #4]
	mov	r0, r5
	add	r8, r8, #4
	mov	r1, r8
	bl	krb5_store_int32
	subs	r4, r0, #0
	bne	.L2
	mov	r1, r7
	mov	r0, r5
	bl	krb5_store_int32
	subs	r4, r0, #0
	bne	.L2
	ldr	r2, [sp, #4]
	ldr	r1, [sp, #8]
	mov	r0, r5
	bl	krb5_storage_write
	mov	r1, r8
	mov	r0, r5
	bl	krb5_store_int32
	subs	r4, r0, #0
	bne	.L2
	add	r7, r6, #4
	mov	r0, r7
	mov	r1, r5
	bl	kadm5_log_postamble
	subs	r4, r0, #0
	bne	.L2
	mov	r0, r7
	mov	r1, r5
	bl	kadm5_log_flush
	subs	r4, r0, #0
	bne	.L2
	add	r0, sp, #4
	bl	krb5_data_free
	mov	r0, r5
	bl	krb5_storage_free
	mov	r0, r6
	bl	kadm5_log_end
	mov	r4, r0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	kadm_modify
	.size	kadm5_log_modify, .-kadm5_log_modify
	.comm	kadm_modify,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
