	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_diffs
_send_diffs:                            ## @send_diffs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	(%rsi), %rax
	cmpq	%r8, %rax
	jne	LBB0_2
## %bb.1:
	movl	20(%r13), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_krb5_warnx
	jmp	LBB0_21
LBB0_2:
	movq	%rcx, %r12
	movq	_SLAVE_F_DEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, 8(%r13)
	je	LBB0_3
LBB0_21:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testq	%rax, %rax
	je	LBB0_22
## %bb.4:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %edi
	callq	_kadm5_log_goto_end
	movq	%rax, %rbx
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	leaq	-84(%rbp), %r8
	leaq	-96(%rbp), %r9
	callq	_kadm5_log_previous
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %edi
	movl	$1, %esi
	movl	%eax, %edx
	leaq	L_.str.2(%rip), %rcx
	callq	_krb5_err
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$-16, %esi
	callq	_krb5_storage_seek
	movq	%rax, %r12
	movq	-48(%rbp), %rax
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	je	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rcx), %rdx
	cmpq	%rdx, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r12, %r12
	jne	LBB0_5
## %bb.10:
	movq	%rbx, %rdi
	callq	_krb5_storage_free
	movl	20(%r13), %edx
	movq	(%r13), %rcx
	movq	-48(%rbp), %r8
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	xorl	%eax, %eax
	callq	_krb5_warnx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_send_complete
	movl	%eax, %ebx
	jmp	LBB0_21
LBB0_22:
	movl	20(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	xorl	%eax, %eax
	callq	_krb5_warnx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_complete                  ## TAILCALL
LBB0_11:
	movl	20(%r13), %edx
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_krb5_warnx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	subq	%r12, %rsi
	addq	$4, %rsi
	leaq	-64(%rbp), %rdi
	callq	_krb5_data_alloc
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_krb5_storage_free
	leaq	L_.str.5(%rip), %rdx
	movl	%r14d, %edi
	movl	%r12d, %esi
LBB0_17:
	callq	_krb5_warn
LBB0_18:
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_slave_dead
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_13:
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rsi
	addq	$4, %rsi
	addq	$-4, %rdx
	movq	%rbx, %rdi
	callq	_krb5_storage_read
	movq	%rbx, %rdi
	callq	_krb5_storage_free
	leaq	-64(%rbp), %rdi
	callq	_krb5_storage_from_data
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %rbx
	movq	_FOR_YOU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_krb5_store_int32
	movq	%rbx, %rdi
	callq	_krb5_storage_free
	movl	16(%r13), %esi
	leaq	12(%r13), %rdx
	leaq	-64(%rbp), %r12
	movl	%r14d, %edi
	movq	%r12, %rcx
	callq	_krb5_write_priv_message
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_krb5_data_free
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.16:
	leaq	L_.str.7(%rip), %rdx
	movl	%r14d, %edi
	movl	%ebx, %esi
	jmp	LBB0_17
LBB0_14:
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edi
	xorl	%eax, %eax
	callq	_krb5_warnx
	jmp	LBB0_18
LBB0_19:
	movq	%r13, %rdi
	callq	_slave_seen
	movq	%r15, (%r13)
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"slave %s in sync already at version %ld"

	.comm	_SLAVE_F_DEAD,4,2               ## @SLAVE_F_DEAD
L_.str.1:                               ## @.str.1
	.asciz	"sending complete log to fresh slave %s"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.2:                               ## @.str.2
	.asciz	"send_diffs: failed to find previous entry"

L_.str.3:                               ## @.str.3
	.asciz	"slave %s (version %lu) out of sync with master (first version in log %lu), sending complete database"

L_.str.4:                               ## @.str.4
	.asciz	"syncing slave %s from version %lu to version %lu"

L_.str.5:                               ## @.str.5
	.asciz	"send_diffs: krb5_data_alloc"

L_.str.6:                               ## @.str.6
	.asciz	"send_diffs: krb5_storage_from_data"

	.comm	_FOR_YOU,4,2                    ## @FOR_YOU
L_.str.7:                               ## @.str.7
	.asciz	"send_diffs: krb5_write_priv_message"

	.no_dead_strip	_send_diffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_diffs
_send_diffs:                            ; @send_diffs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x4
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	cmp	x8, x4
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #20]
	stp	x8, x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_krb5_warnx
	b	LBB0_3
LBB0_2:
	ldr	w9, [x19, #8]
Lloh2:
	adrp	x10, _SLAVE_F_DEAD@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SLAVE_F_DEAD@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	mov	x22, x3
	cbz	x8, LBB0_13
; %bb.6:
	mov	x0, x2
	bl	_kadm5_log_goto_end
	mov	x23, x0
Lloh5:
	adrp	x27, _SEEK_CUR@GOTPAGE
Lloh6:
	ldr	x27, [x27, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	w1, #0
	bl	_krb5_storage_seek
	mov	x24, x0
Lloh7:
	adrp	x25, l_.str.2@PAGE
Lloh8:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #56
	add	x3, sp, #52
	add	x4, sp, #48
	add	x5, sp, #40
	mov	x0, x20
	mov	x1, x23
	bl	_kadm5_log_previous
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x2, x0
	mov	x0, x20
	mov	w1, #1
	mov	x3, x25
	bl	_krb5_err
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x27]
	mov	x0, x23
	mov	w1, #-16
	bl	_krb5_storage_seek
	ldr	x9, [sp, #56]
	ldr	x8, [x19]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	add	x10, x8, #1
	cmp	x9, x10
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x26, LBB0_7
; %bb.12:
	mov	x0, x23
	bl	_krb5_storage_free
	ldr	x8, [x19]
	ldr	x9, [sp, #56]
	ldr	w10, [x19, #20]
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_krb5_warnx
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_send_complete
	b	LBB0_4
LBB0_13:
	ldr	w8, [x19, #20]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_krb5_warnx
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_send_complete
LBB0_14:
	ldr	w9, [x19, #20]
	stp	x8, x21, [sp, #8]
	str	x9, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_krb5_warnx
	sub	x8, x24, x26
	add	x1, x8, #4
	add	x0, sp, #24
	bl	_krb5_data_alloc
	cbz	w0, LBB0_18
; %bb.15:
	mov	x22, x0
	mov	x0, x23
	bl	_krb5_storage_free
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_16:
	mov	x0, x20
	mov	x1, x22
	bl	_krb5_warn
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_slave_dead
	mov	w0, #1
	b	LBB0_4
LBB0_18:
	ldp	x9, x8, [sp, #24]
	add	x1, x8, #4
	sub	x2, x9, #4
	mov	x0, x23
	bl	_krb5_storage_read
	mov	x0, x23
	bl	_krb5_storage_free
	add	x0, sp, #24
	bl	_krb5_storage_from_data
	cbz	x0, LBB0_21
; %bb.19:
	mov	x22, x0
Lloh17:
	adrp	x8, _FOR_YOU@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FOR_YOU@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_krb5_store_int32
	mov	x0, x22
	bl	_krb5_storage_free
	ldr	w1, [x19, #16]
	add	x2, x19, #12
	add	x3, sp, #24
	mov	x0, x20
	bl	_krb5_write_priv_message
	mov	x22, x0
	add	x0, sp, #24
	bl	_krb5_data_free
	cbz	w22, LBB0_22
; %bb.20:
Lloh20:
	adrp	x2, l_.str.7@PAGE
Lloh21:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_16
LBB0_21:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_krb5_warnx
	b	LBB0_17
LBB0_22:
	mov	x0, x19
	bl	_slave_seen
	mov	w0, #0
	str	x21, [x19]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"slave %s in sync already at version %ld"

	.comm	_SLAVE_F_DEAD,4,2               ; @SLAVE_F_DEAD
l_.str.1:                               ; @.str.1
	.asciz	"sending complete log to fresh slave %s"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.2:                               ; @.str.2
	.asciz	"send_diffs: failed to find previous entry"

l_.str.3:                               ; @.str.3
	.asciz	"slave %s (version %lu) out of sync with master (first version in log %lu), sending complete database"

l_.str.4:                               ; @.str.4
	.asciz	"syncing slave %s from version %lu to version %lu"

l_.str.5:                               ; @.str.5
	.asciz	"send_diffs: krb5_data_alloc"

l_.str.6:                               ; @.str.6
	.asciz	"send_diffs: krb5_storage_from_data"

	.comm	_FOR_YOU,4,2                    ; @FOR_YOU
l_.str.7:                               ; @.str.7
	.asciz	"send_diffs: krb5_write_priv_message"

	.no_dead_strip	_send_diffs
.subsections_via_symbols
