	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_log_modify               ## -- Begin function kadm5_log_modify
	.p2align	4, 0x90
_kadm5_log_modify:                      ## @kadm5_log_modify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_krb5_data_zero
	xorl	%eax, %eax
	callq	_krb5_storage_emem
	movq	%rax, %r12
	movl	(%r14), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_hdb_entry2value
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	_kadm_modify@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_kadm5_log_preamble
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	-56(%rbp), %r13
	addq	$4, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_krb5_store_int32
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_krb5_store_int32
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movl	-48(%rbp), %esi
	movq	-56(%rbp), %rdx
	movq	%r12, %rdi
	callq	_krb5_storage_write
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_krb5_store_int32
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_kadm5_log_postamble
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_kadm5_log_flush
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	leaq	-56(%rbp), %rdi
	callq	_krb5_data_free
	movq	%r12, %rdi
	callq	_krb5_storage_free
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-56(%rbp), %rdi
	callq	_krb5_data_free
	movq	%r12, %rdi
	callq	_krb5_storage_free
	movq	%r14, %rdi
	callq	_kadm5_log_end
	movq	%rax, %rbx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_kadm_modify,4,2                ## @kadm_modify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_log_modify               ; -- Begin function kadm5_log_modify
	.p2align	2
_kadm5_log_modify:                      ; @kadm5_log_modify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, sp
	bl	_krb5_data_zero
	bl	_krb5_storage_emem
	mov	x20, x0
	mov	x21, x19
	ldr	w0, [x21], #4
	mov	x2, sp
	mov	x1, x23
	bl	_hdb_entry2value
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _kadm_modify@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kadm_modify@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_kadm5_log_preamble
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	x8, [sp]
	add	x24, x8, #4
	mov	x0, x20
	mov	x1, x24
	bl	_krb5_store_int32
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	bl	_krb5_store_int32
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	w1, [sp, #8]
	ldr	x2, [sp]
	mov	x0, x20
	bl	_krb5_storage_write
	mov	x0, x20
	mov	x1, x24
	bl	_krb5_store_int32
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_kadm5_log_postamble
	mov	x23, x0
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	bl	_kadm5_log_flush
	mov	x23, x0
	cbz	x0, LBB0_9
LBB0_7:
	mov	x0, sp
	bl	_krb5_data_free
	mov	x0, x20
	bl	_krb5_storage_free
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	mov	x0, sp
	bl	_krb5_data_free
	mov	x0, x20
	bl	_krb5_storage_free
	mov	x0, x19
	bl	_kadm5_log_end
	mov	x23, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kadm_modify,4,2                ; @kadm_modify
.subsections_via_symbols
