	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kt_copy                        ## -- Begin function kt_copy
	.p2align	4, 0x90
_kt_copy:                               ## @kt_copy
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdx), %rbx
	movq	8(%rdx), %r12
	movq	_context@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_krb5_kt_resolve
	movl	(%r13), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rsi
	movq	%rbx, %rcx
	jmp	LBB0_2
LBB0_3:
	leaq	-80(%rbp), %rdx
	movq	%r12, %rsi
	callq	_krb5_kt_resolve
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r14
	callq	_krb5_kt_close
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rsi
	movq	%r12, %rcx
LBB0_2:
	xorl	%eax, %eax
	callq	_krb5_warn
LBB0_29:
	movl	$1, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-76(%rbp), %rdx
	callq	_krb5_kt_start_seq_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r13), %edi
	movq	_keytab_string@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	jmp	LBB0_28
LBB0_7:
	movq	_verbose_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	leaq	-56(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	callq	_krb5_kt_next_entry
	testq	%rax, %rax
	jne	LBB0_27
## %bb.10:
	leaq	-96(%rbp), %r14
	leaq	-56(%rbp), %r15
	jmp	LBB0_11
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	-52(%rbp), %rdi
	leaq	-92(%rbp), %rsi
	callq	_compare_keyblock
	testl	%eax, %eax
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_krb5_kt_free_entry
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_krb5_kt_free_entry
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	movq	%r15, %rdx
	leaq	-76(%rbp), %rcx
	callq	_krb5_kt_next_entry
	testq	%rax, %rax
	jne	LBB0_27
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	-48(%rbp), %esi
	leaq	-72(%rbp), %rdx
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_krb5_warn
	movq	$0, -72(%rbp)
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movl	-52(%rbp), %esi
	leaq	-64(%rbp), %rdx
	callq	_krb5_enctype_to_string
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	%rax, %rsi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_krb5_warn
	movq	$0, -64(%rbp)
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %r8d
	movq	%r14, %r9
	callq	_krb5_kt_get_entry
	testq	%rax, %rax
	je	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_KRB5_KT_NOTFOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_verbose_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movl	-56(%rbp), %r8d
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	movq	%r15, %rdx
	callq	_krb5_kt_add_entry
	movq	%rax, %rbx
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_krb5_kt_free_entry
	testq	%rbx, %rbx
	je	LBB0_19
	jmp	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movl	-56(%rbp), %r8d
	leaq	L_.str.6(%rip), %rsi
	callq	_krb5_warnx
	jmp	LBB0_18
LBB0_21:
	movl	(%r13), %edi
	movq	-72(%rbp), %r8
	movq	-64(%rbp), %r9
	movl	-56(%rbp), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.7(%rip), %rdx
	movq	%rax, %rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_krb5_warn
	movl	(%r13), %edi
	leaq	-56(%rbp), %rsi
	callq	_krb5_kt_free_entry
	jmp	LBB0_26
LBB0_25:
	movl	(%r13), %edi
	movq	-72(%rbp), %r8
	movq	-64(%rbp), %r9
	movl	-56(%rbp), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.9(%rip), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_krb5_warn
LBB0_26:
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
LBB0_27:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	leaq	-76(%rbp), %rdx
	callq	_krb5_kt_end_seq_get
LBB0_28:
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	callq	_krb5_kt_close
	movl	(%r13), %edi
	movl	-80(%rbp), %esi
	callq	_krb5_kt_close
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resolving src keytab `%s'"

L_.str.1:                               ## @.str.1
	.asciz	"resolving dst keytab `%s'"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_kt_start_seq_get %s"

	.comm	_keytab_string,4,2              ## @keytab_string
	.comm	_verbose_flag,8,3               ## @verbose_flag
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"copying %s to %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"krb5_unparse_name"

L_.str.5:                               ## @.str.5
	.asciz	"krb5_enctype_to_string"

L_.str.6:                               ## @.str.6
	.asciz	"entry with different keyvalue already exists for %s, keytype %s, kvno %d"

	.comm	_KRB5_KT_NOTFOUND,8,3           ## @KRB5_KT_NOTFOUND
L_.str.7:                               ## @.str.7
	.asciz	"%s: fetching %s/%s/%u"

L_.str.8:                               ## @.str.8
	.asciz	"copying %s, keytype %s, kvno %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s: adding %s/%s/%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kt_copy                        ; -- Begin function kt_copy
	.p2align	2
_kt_copy:                               ; @kt_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	ldp	x20, x19, [x2]
Lloh0:
	adrp	x27, _context@GOTPAGE
Lloh1:
	ldr	x27, [x27, _context@GOTPAGEOFF]
	ldr	w0, [x27]
	sub	x2, x29, #84
	mov	x1, x20
	bl	_krb5_kt_resolve
	mov	x1, x0
	ldr	w0, [x27]
	cbz	x1, LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_krb5_warn
	b	LBB0_28
LBB0_2:
	add	x2, sp, #88
	mov	x1, x19
	bl	_krb5_kt_resolve
	mov	x21, x0
	ldr	w0, [x27]
	ldur	w1, [x29, #-84]
	cbz	x21, LBB0_4
; %bb.3:
	bl	_krb5_kt_close
	ldr	w0, [x27]
	str	x19, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_krb5_warn
	b	LBB0_28
LBB0_4:
	add	x2, sp, #84
	bl	_krb5_kt_start_seq_get
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	ldr	w0, [x27]
Lloh6:
	adrp	x8, _keytab_string@GOTPAGE
Lloh7:
	ldr	x8, [x8, _keytab_string@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_krb5_warn
	b	LBB0_27
LBB0_6:
Lloh11:
	adrp	x28, _verbose_flag@GOTPAGE
Lloh12:
	ldr	x28, [x28, _verbose_flag@GOTPAGEOFF]
	ldr	x8, [x28]
	cbz	x8, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_fprintf
LBB0_8:
	ldr	w0, [x27]
	ldur	w1, [x29, #-84]
	add	x20, sp, #72
	add	x2, sp, #72
	add	x3, sp, #84
	bl	_krb5_kt_next_entry
	cbnz	x0, LBB0_26
; %bb.9:
	orr	x20, x20, #0x4
	add	x8, sp, #56
	orr	x21, x8, #0x4
Lloh18:
	adrp	x22, _KRB5_KT_NOTFOUND@GOTPAGE
Lloh19:
	ldr	x22, [x22, _KRB5_KT_NOTFOUND@GOTPAGEOFF]
Lloh20:
	adrp	x23, l_.str.8@PAGE
Lloh21:
	add	x23, x23, l_.str.8@PAGEOFF
Lloh22:
	adrp	x24, l_.str.5@PAGE
Lloh23:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh24:
	adrp	x25, l_.str.4@PAGE
Lloh25:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_compare_keyblock
	cbz	w0, LBB0_22
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #56
	bl	_krb5_kt_free_entry
	ldr	w0, [x27]
	add	x1, sp, #72
	bl	_krb5_kt_free_entry
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #48]
	bl	_free
	ldr	x0, [sp, #40]
	bl	_free
	ldr	w0, [x27]
	ldur	w1, [x29, #-84]
	add	x2, sp, #72
	add	x3, sp, #84
	bl	_krb5_kt_next_entry
	cbnz	x0, LBB0_26
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27]
	ldr	w1, [sp, #80]
	add	x2, sp, #48
	bl	_krb5_unparse_name
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x0
	ldr	w0, [x27]
	mov	x2, x25
	bl	_krb5_warn
	str	xzr, [sp, #48]
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x27]
	ldr	w1, [sp, #76]
	add	x2, sp, #40
	bl	_krb5_enctype_to_string
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x0
	ldr	w0, [x27]
	mov	x2, x24
	bl	_krb5_warn
	str	xzr, [sp, #40]
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x27]
	ldr	w1, [sp, #88]
	ldp	w4, w2, [sp, #76]
	ldr	w3, [sp, #72]
	add	x5, sp, #56
	bl	_krb5_kt_get_entry
	cbz	x0, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldp	x3, x2, [sp, #40]
	ldr	w8, [sp, #72]
	str	x8, [sp]
	mov	x1, x23
	bl	_fprintf
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x27]
	ldr	w1, [sp, #88]
	add	x2, sp, #72
	bl	_krb5_kt_add_entry
	mov	x26, x0
	ldr	w0, [x27]
	add	x1, sp, #72
	bl	_krb5_kt_free_entry
	cbz	x26, LBB0_12
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x27]
	ldp	x3, x2, [sp, #40]
	ldr	w4, [sp, #72]
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_krb5_warnx
	b	LBB0_11
LBB0_23:
	ldr	w0, [x27]
	ldp	x9, x8, [sp, #40]
	ldr	w10, [sp, #72]
	stp	x9, x10, [sp, #16]
	stp	x19, x8, [sp]
Lloh31:
	adrp	x2, l_.str.7@PAGE
Lloh32:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_krb5_warn
	ldr	w0, [x27]
	add	x1, sp, #72
	bl	_krb5_kt_free_entry
	b	LBB0_25
LBB0_24:
	ldr	w0, [x27]
	ldp	x9, x8, [sp, #40]
	ldr	w10, [sp, #72]
	stp	x9, x10, [sp, #16]
	stp	x19, x8, [sp]
Lloh33:
	adrp	x2, l_.str.9@PAGE
Lloh34:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x1, x26
	bl	_krb5_warn
LBB0_25:
	ldr	x0, [sp, #48]
	bl	_free
	ldr	x0, [sp, #40]
	bl	_free
LBB0_26:
	ldr	w0, [x27]
	ldur	w1, [x29, #-84]
	add	x2, sp, #84
	bl	_krb5_kt_end_seq_get
LBB0_27:
	ldr	w0, [x27]
	ldur	w1, [x29, #-84]
	bl	_krb5_kt_close
	ldr	w0, [x27]
	ldr	w1, [sp, #88]
	bl	_krb5_kt_close
LBB0_28:
	mov	w0, #1
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resolving src keytab `%s'"

l_.str.1:                               ; @.str.1
	.asciz	"resolving dst keytab `%s'"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_kt_start_seq_get %s"

	.comm	_keytab_string,4,2              ; @keytab_string
	.comm	_verbose_flag,8,3               ; @verbose_flag
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"copying %s to %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"krb5_unparse_name"

l_.str.5:                               ; @.str.5
	.asciz	"krb5_enctype_to_string"

l_.str.6:                               ; @.str.6
	.asciz	"entry with different keyvalue already exists for %s, keytype %s, kvno %d"

	.comm	_KRB5_KT_NOTFOUND,8,3           ; @KRB5_KT_NOTFOUND
l_.str.7:                               ; @.str.7
	.asciz	"%s: fetching %s/%s/%u"

l_.str.8:                               ; @.str.8
	.asciz	"copying %s, keytype %s, kvno %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s: adding %s/%s/%u"

.subsections_via_symbols
