	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_copy
_test_copy:                             ## @test_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_2:
	leaq	-36(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_krb5_cc_new_unique
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_4:
	movl	-36(%rbp), %esi
	movl	-28(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_cc_initialize
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_6:
	leaq	-32(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_krb5_cc_new_unique
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_8:
	movl	-36(%rbp), %esi
	movl	-32(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_cc_copy_cache
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_10:
	movl	-32(%rbp), %esi
	leaq	-40(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_cc_get_principal
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_12:
	movl	-28(%rbp), %esi
	movl	-40(%rbp), %edx
	movl	%ebx, %edi
	callq	_krb5_principal_compare
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_14:
	movl	-28(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movl	-40(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movl	-36(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	movl	-32(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_cc_destroy
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lha@SU.SE"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_parse_name"

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

L_.str.3:                               ## @.str.3
	.asciz	"krb5_cc_initialize"

L_.str.4:                               ## @.str.4
	.asciz	"krb5_cc_gen_new: %s"

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

L_.str.6:                               ## @.str.6
	.asciz	"krb5_cc_get_principal"

	.comm	_FALSE,8,3                      ## @FALSE
L_.str.7:                               ## @.str.7
	.asciz	"p != p2"

	.no_dead_strip	_test_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_copy
_test_copy:                             ; @test_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #20
	bl	_krb5_parse_name
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
	add	x3, sp, #28
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	str	x21, [sp]
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	ldr	w1, [sp, #28]
	ldr	w2, [sp, #20]
	mov	x0, x19
	bl	_krb5_cc_initialize
	cbz	x0, LBB0_6
; %bb.5:
	mov	x2, x0
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_6:
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_krb5_cc_new_unique
	cbz	x0, LBB0_8
; %bb.7:
	mov	x2, x0
	str	x20, [sp]
Lloh8:
	adrp	x3, l_.str.4@PAGE
Lloh9:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_8:
	ldp	w2, w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_copy_cache
	cbz	x0, LBB0_10
; %bb.9:
	mov	x2, x0
Lloh10:
	adrp	x3, l_.str.5@PAGE
Lloh11:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_10:
	ldr	w1, [sp, #24]
	add	x2, sp, #16
	mov	x0, x19
	bl	_krb5_cc_get_principal
	cbz	x0, LBB0_12
; %bb.11:
	mov	x2, x0
Lloh12:
	adrp	x3, l_.str.6@PAGE
Lloh13:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_12:
	ldp	w2, w1, [sp, #16]
	mov	x0, x19
	bl	_krb5_principal_compare
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.13:
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_14:
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [sp, #16]
	mov	x0, x19
	bl	_krb5_free_principal
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_krb5_cc_destroy
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_krb5_cc_destroy
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lha@SU.SE"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_parse_name"

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

l_.str.3:                               ; @.str.3
	.asciz	"krb5_cc_initialize"

l_.str.4:                               ; @.str.4
	.asciz	"krb5_cc_gen_new: %s"

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

l_.str.6:                               ; @.str.6
	.asciz	"krb5_cc_get_principal"

	.comm	_FALSE,8,3                      ; @FALSE
l_.str.7:                               ; @.str.7
	.asciz	"p != p2"

	.no_dead_strip	_test_copy
.subsections_via_symbols
