	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_log_previous             ## -- Begin function kadm5_log_previous
	.p2align	4, 0x90
_kadm5_log_previous:                    ## @kadm5_log_previous
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	_SEEK_CUR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	movl	%eax, %r15d
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$-8, %esi
	callq	_krb5_storage_seek
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	-48(%rbp), %rax
	movq	%rax, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movq	-48(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$-24, %esi
	subl	(%r13), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_krb5_storage_seek
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_3
LBB0_11:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_krb5_storage_seek
	leaq	L_.str.2(%rip), %rdx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_krb5_set_error_message
LBB0_12:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpq	(%r14), %rax
	jne	LBB0_4
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	-48(%rbp), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movl	-48(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_krb5_ret_int32
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	-48(%rbp), %rax
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_4:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_krb5_storage_seek
	movq	_KADM5_BAD_DB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	-48(%rbp), %rcx
	movq	(%r14), %r8
	leaq	L_.str(%rip), %rdx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_krb5_set_error_message
	movq	(%rbx), %r12
	jmp	LBB0_12
LBB0_10:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_krb5_storage_seek
	movq	_KADM5_BAD_DB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_krb5_set_error_message
	movq	(%rbx), %r12
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_KADM5_BAD_DB,8,3               ## @KADM5_BAD_DB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kadm5_log_previous: log entry have consistency failure, version number wrong (tmp %lu ver %lu)"

L_.str.1:                               ## @.str.1
	.asciz	"kadm5_log_previous: log entry have consistency failure, length wrong"

L_.str.2:                               ## @.str.2
	.asciz	"kadm5_log_previous: end of storage reached before end"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_log_previous             ; -- Begin function kadm5_log_previous
	.p2align	2
_kadm5_log_previous:                    ; @kadm5_log_previous
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x27, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x27, [x27, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x1
	mov	w1, #0
	bl	_krb5_storage_seek
	mov	x21, x0
	ldr	w2, [x27]
	mov	x0, x20
	mov	w1, #-8
	bl	_krb5_storage_seek
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #24]
	str	x8, [x22]
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #24]
	str	x8, [x25]
	ldr	w8, [x22]
	mov	w9, #-24
	sub	w1, w9, w8
	ldr	w2, [x27]
	mov	x0, x20
	bl	_krb5_storage_seek
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbz	x0, LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_storage_seek
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x26
	bl	_krb5_set_error_message
LBB0_4:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	ldr	x8, [sp, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbnz	x0, LBB0_3
; %bb.7:
	ldr	x8, [sp, #24]
	str	x8, [x24]
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbnz	x0, LBB0_3
; %bb.8:
	ldr	x8, [sp, #24]
	str	w8, [x23]
	add	x1, sp, #24
	mov	x0, x20
	bl	_krb5_ret_int32
	mov	x26, x0
	cbnz	x0, LBB0_3
; %bb.9:
	ldr	x8, [sp, #24]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
	mov	x26, #0
	b	LBB0_4
LBB0_11:
Lloh7:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_storage_seek
Lloh10:
	adrp	x20, _KADM5_BAD_DB@GOTPAGE
Lloh11:
	ldr	x20, [x20, _KADM5_BAD_DB@GOTPAGEOFF]
	ldr	x1, [x20]
	ldr	x8, [sp, #24]
	ldr	x9, [x25]
	stp	x8, x9, [sp]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_krb5_set_error_message
	ldr	x26, [x20]
	b	LBB0_4
LBB0_13:
Lloh14:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_storage_seek
Lloh17:
	adrp	x20, _KADM5_BAD_DB@GOTPAGE
Lloh18:
	ldr	x20, [x20, _KADM5_BAD_DB@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_KADM5_BAD_DB,8,3               ; @KADM5_BAD_DB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kadm5_log_previous: log entry have consistency failure, version number wrong (tmp %lu ver %lu)"

l_.str.1:                               ; @.str.1
	.asciz	"kadm5_log_previous: log entry have consistency failure, length wrong"

l_.str.2:                               ; @.str.2
	.asciz	"kadm5_log_previous: end of storage reached before end"

.subsections_via_symbols
